aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands/getsrpm.py
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-08-17 20:49:53 +0000
committerNicolas Vigier <boklm@mageia.org>2011-08-17 20:49:53 +0000
commite458930e64f2ab297da5d2b4bf778d274df04487 (patch)
tree36938c6f2ddf4c9186946d8971f4010140294fdc /MgaRepo/commands/getsrpm.py
parent3223fb996e434a464f0b35f714c242094c224674 (diff)
downloadmgarepo-e458930e64f2ab297da5d2b4bf778d274df04487.tar
mgarepo-e458930e64f2ab297da5d2b4bf778d274df04487.tar.gz
mgarepo-e458930e64f2ab297da5d2b4bf778d274df04487.tar.bz2
mgarepo-e458930e64f2ab297da5d2b4bf778d274df04487.tar.xz
mgarepo-e458930e64f2ab297da5d2b4bf778d274df04487.zip
remove old options
Diffstat (limited to 'MgaRepo/commands/getsrpm.py')
-rw-r--r--MgaRepo/commands/getsrpm.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/MgaRepo/commands/getsrpm.py b/MgaRepo/commands/getsrpm.py
index 0642c85..1d437d4 100644
--- a/MgaRepo/commands/getsrpm.py
+++ b/MgaRepo/commands/getsrpm.py
@@ -24,7 +24,6 @@ Options:
-p Use files in pristine/ directory
-v VER Use files from the version specified by VER (e.g. 2.2.1-2cl)
-r REV Use files from current directory, in revision REV (e.g. 1001)
- -R REV Use binrepo files from current directory, in revision REV (e.g. 1001)
-t DIR Put SRPM file in directory DIR when done (default is ".")
-P USER Define the RPM packager inforamtion to USER
-s FILE Run script with "FILE TOPDIR SPECFILE" command
@@ -33,8 +32,6 @@ Options:
-T FILE Template to be used to generate the %changelog
-M Do not use the mirror (use the main repository)
-h Show this message
- -S Do not download sources from the binary repository
- --check Check integrity of files fetched from the binary repository
--strict Check if the given revision contains changes in REPPKGURL
Examples:
@@ -42,7 +39,7 @@ Examples:
mgarepo getsrpm -l python
mgarepo getsrpm http://foo.bar/svn/cnc/snapshot/python
mgarepo getsrpm -p http://foo.bar/svn/cnc/releases/8cl/python
- mgarepo getsrpm -r 1001 -R 101 file:///svn/cnc/snapshot/python
+ mgarepo getsrpm -r 1001 file:///svn/cnc/snapshot/python
"""
def mode_callback(option, opt, val, parser, mode):
@@ -79,11 +76,6 @@ def parse_options():
parser.add_option("-n", dest="revname", action="store_true")
parser.add_option("-l", dest="svnlog", action="store_true")
parser.add_option("-T", dest="template", type="string", default=None)
- parser.add_option("-R", dest="binrev", type="string", default=None)
- parser.add_option("-S", dest="use_binrepo", default=True,
- action="store_false")
- parser.add_option("--check", dest="binrepo_check", default=False,
- action="store_true")
parser.add_option("-M", "--no-mirror", action="callback",
callback=disable_mirror)
parser.add_option("--strict", dest="strict", default=False,