aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-10-16 13:03:18 +0000
committerFlorent Villard <warly@mandriva.com>2006-10-16 13:03:18 +0000
commitd1a5df25f929c643b035fa4b62fa86a521b4d6ef (patch)
treef6ce62b0258153ca8dcf34b25004f6df38f4746a /lib/Youri
parenta06cd2f6bca0fd4bd35bf2f8cfbb0fa0109f515c (diff)
downloadmga-youri-submit-d1a5df25f929c643b035fa4b62fa86a521b4d6ef.tar
mga-youri-submit-d1a5df25f929c643b035fa4b62fa86a521b4d6ef.tar.gz
mga-youri-submit-d1a5df25f929c643b035fa4b62fa86a521b4d6ef.tar.bz2
mga-youri-submit-d1a5df25f929c643b035fa4b62fa86a521b4d6ef.tar.xz
mga-youri-submit-d1a5df25f929c643b035fa4b62fa86a521b4d6ef.zip
Now the Module is Submit
Diffstat (limited to 'lib/Youri')
-rw-r--r--lib/Youri/Submit/Action/Markrelease.pm6
-rw-r--r--lib/Youri/Submit/Action/Scp.pm12
-rw-r--r--lib/Youri/Submit/Action/Send.pm12
3 files changed, 15 insertions, 15 deletions
diff --git a/lib/Youri/Submit/Action/Markrelease.pm b/lib/Youri/Submit/Action/Markrelease.pm
index c8049db..f386677 100644
--- a/lib/Youri/Submit/Action/Markrelease.pm
+++ b/lib/Youri/Submit/Action/Markrelease.pm
@@ -1,9 +1,9 @@
# $Id: Install.pm 867 2006-04-11 20:34:56Z guillomovitch $
-package Youri::Upload::Action::Markrelease;
+package Youri::Submit::Action::Markrelease;
=head1 NAME
-Youri::Upload::Action::Install - Package installation
+Youri::Submit::Action::Install - Package installation
=head1 DESCRIPTION
@@ -14,7 +14,7 @@ This action plugin ensures installation of new package revisions.
use warnings;
use strict;
use Carp;
-use base qw/Youri::Upload::Action/;
+use base qw/Youri::Submit::Action/;
sub _init {
my $self = shift;
diff --git a/lib/Youri/Submit/Action/Scp.pm b/lib/Youri/Submit/Action/Scp.pm
index d78fd5f..2a1914d 100644
--- a/lib/Youri/Submit/Action/Scp.pm
+++ b/lib/Youri/Submit/Action/Scp.pm
@@ -1,9 +1,9 @@
# $Id: Install.pm 867 2006-04-11 20:34:56Z guillomovitch $
-package Youri::Upload::Action::Scp;
+package Youri::Submit::Action::Scp;
=head1 NAME
-Youri::Upload::Action::Install - Package installation
+Youri::Submit::Action::Install - Package installation
=head1 DESCRIPTION
@@ -14,7 +14,7 @@ This action plugin ensures installation of new package revisions.
use warnings;
use strict;
use Carp;
-use base qw/Youri::Upload::Action/;
+use base qw/Youri::Submit::Action/;
sub _init {
my $self = shift;
@@ -50,15 +50,15 @@ sub run {
my $cmd = "scp -i $self->{_ssh_key} $file $self->{_user}\@$self->{_uphost}:/$dest$base.new";
my $cmd2 = "ssh -i $self->{_ssh_key} $self->{_user}\@$self->{_uphost} \"mv /$dest$base.new /$dest$base\"";
- print "Upload::Action::Scp: doing $cmd\n$cmd2\n" if 1 || $self->{_verbose};
+ print "Submit::Action::Scp: doing $cmd\n$cmd2\n" if 1 || $self->{_verbose};
if (!$self->{_test}) {
if (!system($cmd)) {
if (!system($cmd2)) {
- print "Upload::Action::Scp: upload succeeded!\n";
+ print "Submit::Action::Scp: upload succeeded!\n";
return 1
}
}
- print "Upload::Action::Scp: upload failed!\n";
+ print "Submit::Action::Scp: upload failed!\n";
}
}
=head1 COPYRIGHT AND LICENSE
diff --git a/lib/Youri/Submit/Action/Send.pm b/lib/Youri/Submit/Action/Send.pm
index 0f18766..a2ad16e 100644
--- a/lib/Youri/Submit/Action/Send.pm
+++ b/lib/Youri/Submit/Action/Send.pm
@@ -1,9 +1,9 @@
# $Id: Install.pm 867 2006-04-11 20:34:56Z guillomovitch $
-package Youri::Upload::Action::Send;
+package Youri::Submit::Action::Send;
=head1 NAME
-Youri::Upload::Action::Install - Package installation
+Youri::Submit::Action::Install - Package installation
=head1 DESCRIPTION
@@ -15,7 +15,7 @@ use warnings;
use strict;
use Carp;
use File::Basename;
-use base qw/Youri::Upload::Action/;
+use base qw/Youri::Submit::Action/;
sub _init {
my $self = shift;
@@ -55,15 +55,15 @@ sub run {
my $cmd = "scp -i $self->{_ssh_key} $file $self->{_user}\@$self->{_uphost}:/$dest$base.new";
my $cmd2 = "ssh -i $self->{_ssh_key} $self->{_user}\@$self->{_uphost} \"mv /$dest$base.new /$dest$base\"";
- print "Upload::Action::Send: doing $cmd\n$cmd2\n" if 1 || $self->{_verbose};
+ print "Submit::Action::Send: doing $cmd\n$cmd2\n" if 1 || $self->{_verbose};
if (!$self->{_test}) {
if (!system($cmd)) {
if (!system($cmd2)) {
- print "Upload::Action::Send: upload succeeded!\n";
+ print "Submit::Action::Send: upload succeeded!\n";
return 1
}
}
- print "Upload::Action::Send: upload failed!\n";
+ print "Submit::Action::Send: upload failed!\n";
}
}
=head1 COPYRIGHT AND LICENSE