[Mageia-sysadm] [343] don't set uses-binrepo svn property as every package is using binrepo
root at mageia.org
root at mageia.org
Tue Jan 25 19:24:00 CET 2011
Revision: 343
Author: boklm
Date: 2011-01-25 19:24:00 +0100 (Tue, 25 Jan 2011)
Log Message:
-----------
don't set uses-binrepo svn property as every package is using binrepo
Modified Paths:
--------------
build_system/mgarepo/trunk/MgaRepo/binrepo.py
Modified: build_system/mgarepo/trunk/MgaRepo/binrepo.py
===================================================================
--- build_system/mgarepo/trunk/MgaRepo/binrepo.py 2011-01-25 18:14:00 UTC (rev 342)
+++ build_system/mgarepo/trunk/MgaRepo/binrepo.py 2011-01-25 18:24:00 UTC (rev 343)
@@ -18,7 +18,6 @@
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 @@
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 @@
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 @@
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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110125/ee55a839/attachment.html>
More information about the Mageia-sysadm
mailing list