diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2008-02-08 03:47:14 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2008-02-08 03:47:14 +0000 |
commit | d8906ef89c19f4cea2c0c518a4fb44157637480f (patch) | |
tree | 33a653b008424cf29bdee2554e48df83080dd152 /RepSys/commands/co.py | |
parent | 56a69b1bce8e89c97317eae95bc09f2e7de8c1d2 (diff) | |
download | mgarepo-d8906ef89c19f4cea2c0c518a4fb44157637480f.tar mgarepo-d8906ef89c19f4cea2c0c518a4fb44157637480f.tar.gz mgarepo-d8906ef89c19f4cea2c0c518a4fb44157637480f.tar.bz2 mgarepo-d8906ef89c19f4cea2c0c518a4fb44157637480f.tar.xz mgarepo-d8906ef89c19f4cea2c0c518a4fb44157637480f.zip |
Initial work on the support of the binary files repository
It introduces a command "upload" to explicitly upload tarballs to the
repository and update the list on svn (the file SOURCES/sources). Also a
"del" command, to remove the reference to the file in the sources file. An
another "up", to pull possibly new tarballs from the binaries repository.
The command sync will automatically mark the new files that should go the
binaries repository. They should be uploaded with ci.
With the current code, packages can have tarballs gradually migrated as
tarballs of newer versions will appear.
In this implementation markrelease is required to be run in the same
machine of the repository (or at least should have direct fs access to it),
as it works by performing plain "cp"
Diffstat (limited to 'RepSys/commands/co.py')
-rw-r--r-- | RepSys/commands/co.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/RepSys/commands/co.py b/RepSys/commands/co.py index 830b7e7..f0b916a 100644 --- a/RepSys/commands/co.py +++ b/RepSys/commands/co.py @@ -16,6 +16,9 @@ repository. Options: -r REV Revision to checkout -o Do not use the mirror (use official server) + -S Do not download sources from the binaries repository + -C Do not check integrity of files fetched from the binary + repository -h Show this message Examples: @@ -29,6 +32,10 @@ def parse_options(): parser.add_option("-r", dest="revision") parser.add_option("-o", dest="use_mirror", default=True, action="store_false") + parser.add_option("-S", dest="use_binrepo", default=True, + action="store_false") + parser.add_option("-C", dest="binrepo_check", default=True, + action="store_false") opts, args = parser.parse_args() if len(args) not in (1, 2): raise Error, "invalid arguments" |