NAME
Ubuntu::Releases - List Ubuntu releases
VERSION
This document describes version 0.02 of Ubuntu::Releases (from Perl distribution Ubuntu-Releases), released on 2014-08-16.
SYNOPSIS
use Ubuntu::Releases;
my $res = list_ubuntu_releases(detail=>1);
# raw data is in $Ubuntu::Releases::data;
DESCRIPTION
This module contains list of Ubuntu releases. Data source is currently at: https://github.com/sharyanto/gudangdata (table/ubuntu_release).
FUNCTIONS
list_ubuntu_releases(%args) -> [status, msg, result, meta]
Ubuntu releases.
REPLACE ME
Arguments ('*' denotes required arguments):
code_name => str
Only return records where the 'code_name' field equals specified value.
code_name.contains => str
Only return records where the 'code_name' field contains specified text.
code_name.in => array
Only return records where the 'code_name' field is in the specified values.
code_name.is => str
Only return records where the 'code_name' field equals specified value.
code_name.isnt => str
Only return records where the 'code_name' field does not equal specified value.
code_name.max => str
Only return records where the 'code_name' field is less than or equal to specified value.
code_name.min => str
Only return records where the 'code_name' field is greater than or equal to specified value.
code_name.not_contains => str
Only return records where the 'code_name' field does not contain specified text.
code_name.not_in => array
Only return records where the 'code_name' field is not in the specified values.
code_name.xmax => str
Only return records where the 'code_name' field is less than specified value.
code_name.xmin => str
Only return records where the 'code_name' field is greater than specified value.
detail => bool (default: 0)
Return array of full records instead of just ID fields.
By default, only the key (ID) field is returned per result entry.
fields => array
Select fields to return.
kernelver => str
Only return records where the 'kernelver' field equals specified value.
kernelver.contains => str
Only return records where the 'kernelver' field contains specified text.
kernelver.in => array
Only return records where the 'kernelver' field is in the specified values.
kernelver.is => str
Only return records where the 'kernelver' field equals specified value.
kernelver.isnt => str
Only return records where the 'kernelver' field does not equal specified value.
kernelver.max => str
Only return records where the 'kernelver' field is less than or equal to specified value.
kernelver.min => str
Only return records where the 'kernelver' field is greater than or equal to specified value.
kernelver.not_contains => str
Only return records where the 'kernelver' field does not contain specified text.
kernelver.not_in => array
Only return records where the 'kernelver' field is not in the specified values.
kernelver.xmax => str
Only return records where the 'kernelver' field is less than specified value.
kernelver.xmin => str
Only return records where the 'kernelver' field is greater than specified value.
q => str
Search.
random => bool (default: 0)
Return records in random order.
reldate => date
Only return records where the 'reldate' field equals specified value.
reldate.in => array
Only return records where the 'reldate' field is in the specified values.
reldate.is => date
Only return records where the 'reldate' field equals specified value.
reldate.isnt => date
Only return records where the 'reldate' field does not equal specified value.
reldate.max => date
Only return records where the 'reldate' field is less than or equal to specified value.
reldate.min => date
Only return records where the 'reldate' field is greater than or equal to specified value.
reldate.not_in => array
Only return records where the 'reldate' field is not in the specified values.
reldate.xmax => date
Only return records where the 'reldate' field is less than specified value.
reldate.xmin => date
Only return records where the 'reldate' field is greater than specified value.
result_limit => int
Only return a certain number of records.
result_start => int (default: 1)
Only return starting from the n'th record.
sort => str
Order records according to certain field(s).
A list of field names separated by comma. Each field can be prefixed with '-' to specify descending order instead of the default ascending.
supdate_desktop => date
Only return records where the 'supdate_desktop' field equals specified value.
supdate_desktop.in => array
Only return records where the 'supdate_desktop' field is in the specified values.
supdate_desktop.is => date
Only return records where the 'supdate_desktop' field equals specified value.
supdate_desktop.isnt => date
Only return records where the 'supdate_desktop' field does not equal specified value.
supdate_desktop.max => date
Only return records where the 'supdate_desktop' field is less than or equal to specified value.
supdate_desktop.min => date
Only return records where the 'supdate_desktop' field is greater than or equal to specified value.
supdate_desktop.not_in => array
Only return records where the 'supdate_desktop' field is not in the specified values.
supdate_desktop.xmax => date
Only return records where the 'supdate_desktop' field is less than specified value.
supdate_desktop.xmin => date
Only return records where the 'supdate_desktop' field is greater than specified value.
supdate_server => date
Only return records where the 'supdate_server' field equals specified value.
supdate_server.in => array
Only return records where the 'supdate_server' field is in the specified values.
supdate_server.is => date
Only return records where the 'supdate_server' field equals specified value.
supdate_server.isnt => date
Only return records where the 'supdate_server' field does not equal specified value.
supdate_server.max => date
Only return records where the 'supdate_server' field is less than or equal to specified value.
supdate_server.min => date
Only return records where the 'supdate_server' field is greater than or equal to specified value.
supdate_server.not_in => array
Only return records where the 'supdate_server' field is not in the specified values.
supdate_server.xmax => date
Only return records where the 'supdate_server' field is less than specified value.
supdate_server.xmin => date
Only return records where the 'supdate_server' field is greater than specified value.
version => str
Only return records where the 'version' field equals specified value.
version.contains => str
Only return records where the 'version' field contains specified text.
version.in => array
Only return records where the 'version' field is in the specified values.
version.is => str
Only return records where the 'version' field equals specified value.
version.isnt => str
Only return records where the 'version' field does not equal specified value.
version.max => str
Only return records where the 'version' field is less than or equal to specified value.
version.min => str
Only return records where the 'version' field is greater than or equal to specified value.
version.not_contains => str
Only return records where the 'version' field does not contain specified text.
version.not_in => array
Only return records where the 'version' field is not in the specified values.
version.xmax => str
Only return records where the 'version' field is less than specified value.
version.xmin => str
Only return records where the 'version' field is greater than specified value.
with_field_names => bool
Return field names in each record (as hash/associative array).
When enabled, function will return each record as hash/associative array (field name => value pairs). Otherwise, function will return each record as list/array (field value, field value, ...).
Return value:
Returns an enveloped result (an array).
First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (result) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information.
(any)
SEE ALSO
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Ubuntu-Releases.
SOURCE
Source repository is at https://github.com/sharyanto/perl-Ubuntu-Releases.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Ubuntu-Releases
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.