aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-08-05 08:34:58 +0000
committerFlorent Villard <warly@mandriva.com>2006-08-05 08:34:58 +0000
commitbe324c8031430610211b3bb487c23181fa786104 (patch)
tree9954e97aef87972fcf8e6f892febdbf33529aa29 /bin
parentec5f2d09810dc3e6f9ee0504b8dc4f2fbd35377c (diff)
downloadmga-youri-core-be324c8031430610211b3bb487c23181fa786104.tar
mga-youri-core-be324c8031430610211b3bb487c23181fa786104.tar.gz
mga-youri-core-be324c8031430610211b3bb487c23181fa786104.tar.bz2
mga-youri-core-be324c8031430610211b3bb487c23181fa786104.tar.xz
mga-youri-core-be324c8031430610211b3bb487c23181fa786104.zip
added user option to repository and check creation
Diffstat (limited to 'bin')
-rwxr-xr-xbin/youri-upload.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/youri-upload.in b/bin/youri-upload.in
index 3534be3..9a8c962 100755
--- a/bin/youri-upload.in
+++ b/bin/youri-upload.in
@@ -209,6 +209,7 @@ eval {
$repository = create_instance(
'Youri::Repository',
test => $test,
+ user => $options{user},
verbose => $verbose > 0 ? $verbose - 1 : 0,
targets => [ keys %targets ],
$config->get_section($repository_id)
@@ -240,6 +241,7 @@ foreach my $id (@{$target{checks}}) {
'Youri::Upload::Check',
id => $id,
test => $test,
+ user => $options{user},
verbose => $verbose > 0 ? $verbose - 1 : 0,
$config->get_section($id)
);