Arepa
view release on metacpan or search on metacpan
trailing backslash in the builder path, that builder would not be
able to compile any package, and give really strange errors)
- A lot of refactoring and internal improvements
0.81 Fri Aug 20 14:26:09 CEST 2010
- Fix MANIFEST file and other minor packaging bugs
0.80 Fri Aug 20 14:05:34 CEST 2010
- Rewrote the whole web UI in Mojolicious instead of CGI::Application
- Encode packager name correctly
- Add information about the remote repository synchronization status
(see web_ui:check_remote_repo configuration key)
- Add a button to easily synchronize the remote repository
- When approving all packages, honour the comments, priority and
section for each package
- Add an option to see (and import) uploader GPG keys on the web UI
- Add createdistribution command to arepa-admin
- Improve the installation instructions considerably
- Minor improvements in administration tasks
- Deprecate web_ui:cgi_base_url, not needed anymore
- Add a new configuration key, web_ui:public_url, which will be used
for the RSS feeds and other "public URL" needs
- Make the Arepa::BuilderFarm tests more reliable, they should always
lib/Arepa/Repository.pm view on Meta::CPAN
distribution already has. It returns 1 on success, or 0 on failure.
=item sign_distribution($dist_name)
Signs the C<Release> file for a single distribution (with codename
C<$dist_name>). It returns if GPG returned error status zero.
=item sync_remote
Syncs the local repository to the remote location, if available in the config.
Returns if the synchronisation worked (needs the C<rsync> command) or false if
there wasn't any remote repository location in the config.
=item is_synced
Returns if the local repository is synced with the remote repository. It
returns false if there's no remote repository location in the config.
=back
=head1 SEE ALSO
lib/Arepa/Web/Repository.pm view on Meta::CPAN
}
}
sub sync {
my ($self) = @_;
$self->_only_if_admin(sub {
if ($self->config->key_exists('repository:remote_path')) {
my $cmd = "sudo -H -u arepa-master arepa sync";
if (system("$cmd >/dev/null") != 0) {
$self->_add_error("Couldn't synchronize the repository with the command '$cmd'");
}
}
if ($self->_error_list) {
$self->vars(errors => [$self->_error_list]);
$self->render('error');
}
else {
$self->redirect_to('home');
}
});
( run in 0.247 second using v1.01-cache-2.11-cpan-0d8aa00de5b )