Bintray-API
view release on metacpan or search on metacpan
# Optional params
publish => 0, # Publish on upload
explode => 0, # Upload an exploded archive
);
# Update details
$version->update(
details => {
desc => 'version description',
labels => [qw(foo bar)],
},
);
# Sign
$version->sign( passphrase => '...' );
# Publish
$version->publish();
# Discard
$version->discard();
# Attributes
my $attributes = $version->get_aatributes();
$version->set_attributes( attributes => [...] );
$version->update_attributes( attributes => [...] );
SEARCH
## Init Search object
my $search = $btray->search();
# Search Repos
@results = $search->repos(
name => 'myrepo', # // either name or desc is required
desc => 'maven repo',
);
# Search Packages
@results = $search->packages(
name => '...',
desc => '...',
repo => '...',
subject => '...', # // User or Org
);
# Search files
@results = $search->files(
name => '...',
sha1 => '...',
repo => '...',
);
# Search Users or Organizations
@results = $search->users( name => '...' );
BUGS AND LIMITATIONS
Please report any bugs or feature requests at
https://github.com/mithun/perl-bintray-api/issues
AUTHOR
Mithun Ayachit mithun@cpan.org
LICENSE AND COPYRIGHT
Copyright (c) 2014, Mithun Ayachit. All rights reserved.
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself. See perlartistic.
( run in 2.115 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )