aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/binrepo.py
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-25 18:24:00 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-25 18:24:00 +0000
commit0ae727f14c7d564844dd0b0ac41c37943f9fcf9d (patch)
tree0eceb3ef4d4c46f1443b4bf3cf523a6dc9fb6ce6 /MgaRepo/binrepo.py
parentdcfc80655d393f99a03d966af92b15c853f2d71a (diff)
downloadmgarepo-0ae727f14c7d564844dd0b0ac41c37943f9fcf9d.tar
mgarepo-0ae727f14c7d564844dd0b0ac41c37943f9fcf9d.tar.gz
mgarepo-0ae727f14c7d564844dd0b0ac41c37943f9fcf9d.tar.bz2
mgarepo-0ae727f14c7d564844dd0b0ac41c37943f9fcf9d.tar.xz
mgarepo-0ae727f14c7d564844dd0b0ac41c37943f9fcf9d.zip
don't set uses-binrepo svn property as every package is using binrepo
Diffstat (limited to 'MgaRepo/binrepo.py')
-rw-r--r--MgaRepo/binrepo.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/MgaRepo/binrepo.py b/MgaRepo/binrepo.py
index 1af5d6b..238f64c 100644
--- a/MgaRepo/binrepo.py
+++ b/MgaRepo/binrepo.py
@@ -18,7 +18,6 @@ DEFAULT_TARBALLS_REPO = "/tarballs"
BINARIES_DIR_NAME = "SOURCES"
BINARIES_CHECKOUT_NAME = "SOURCES-bin"
-PROP_USES_BINREPO = "mdv:uses-binrepo"
PROP_BINREPO_REV = "mdv:binrepo-rev"
BINREPOS_SECTION = "binrepos"
@@ -57,8 +56,6 @@ def svn_root(target):
return info["Repository Root"]
def enabled(url):
- #TODO use information from url to find out whether we have a binrepo
- # available for this url
use = config.getbool("global", "use-binaries-repository", False)
return use
@@ -223,7 +220,6 @@ def import_binaries(topdir, pkgname):
rev = svn.commit(bindir, log=log)
else:
rev = svn.import_(bintopdir, topurl, log=log)
- svn.propset(PROP_USES_BINREPO, "yes", topdir)
svn.propset(PROP_BINREPO_REV, str(rev), topdir)
update.join()
svn.add(sources_path(topdir))
@@ -349,7 +345,6 @@ def upload(path, message=None):
pass
if not os.path.exists(bindir):
create_package_dirs(bintopdir)
- svn.propset(PROP_USES_BINREPO, "yes", topdir)
svn.commit(topdir, log="%s: created binrepo structure" % silent)
download(topdir, show=False)
for path in paths: