aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands
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
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')
-rw-r--r--MgaRepo/commands/co.py11
-rw-r--r--MgaRepo/commands/getsrpm.py10
2 files changed, 1 insertions, 20 deletions
diff --git a/MgaRepo/commands/co.py b/MgaRepo/commands/co.py
index 6c8f0c7..0a111e2 100644
--- a/MgaRepo/commands/co.py
+++ b/MgaRepo/commands/co.py
@@ -19,12 +19,8 @@ Options:
-d The distribution branch to checkout from
-b The package branch
-r REV Revision to checkout
- -R REV binrepo revision to checkout
- -S Do not download sources from the binaries repository
- -L Do not make symlinks of the binaries downloaded in SOURCES/
-s Only checkout the SPECS/ directory
-M Do not use the mirror (use the main repository)
- --check Check integrity of files fetched from the binary repository
-h Show this message
Examples:
@@ -38,13 +34,6 @@ Examples:
def parse_options():
parser = OptionParser(help=HELP)
parser.add_option("-r", dest="revision")
- parser.add_option("-R", dest="binrev")
- 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("-L", dest="binrepo_link", default=True,
- action="store_false")
parser.add_option("--distribution", "-d", dest="distro", default=None)
parser.add_option("--branch", "-b", dest="branch", default=None)
parser.add_option("-s", "--spec", dest="spec", default=False,
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,