#!/usr/bin/python -u
-import sys, os
+import sys, os, os.path
import re
import time
import tempfile
except:
print "ERROR: provide a tagfile name (eg. onelab, onelab-k27, planetlab)"
return
- tagfile = "%s-tags.mk" % tagfile
+ # mmh, sounds wrong to blindly add the extension
+ # if in a build directory, guess from existing files
+ if os.path.isfile (tagfile):
+ pass
+ elif os.path.isfile ("%s-tags.mk" % tagfile):
+ tagfile="%s-tags.mk" % tagfile
+ else:
+ tagfile = "%s-tags.mk" % tagfile
print '----'
print '----'
print ' * to', second, m.repository.gitweb()
print '{{{'
- os.system("diff -u %s %s" % (tmpfile, specfile))
+ os.system("diff -u %s %s | sed -e 's,%s,[[previous version]],'" % (tmpfile, specfile,tmpfile))
print '}}}'
os.unlink(tmpfile)
Module.html_dump_footer()
else:
# if we provide, say a b c d, we want to build (a,b) (b,c) and (c,d)
- for (f,t) in zip ( args[:-1], args [1:]):
- release_changelog(options, f,t)
+ # remember that the changelog in the twiki comes latest first, so
+ # we typically have here latest latest-1 latest-2
+ for (tag_to,tag_from) in zip ( args[:-1], args [1:]):
+ release_changelog(options, tag_from,tag_to)
####################
###
linux-2.6-BRANCH := rhel6
-linux-2.6-GITPATH := git://git.onelab.eu/linux-2.6.git@linux-2.6-32-27
+linux-2.6-GITPATH := git://git.onelab.eu/linux-2.6.git@32
# help out spec2make on f8 and centos5, due to a bug in rpm
# ditto on f16 for spec2make.py - tmp hopefully
ifeq "$(DISTRONAME)" "$(filter $(DISTRONAME),f8 f16 centos5)"
endif
kernel-DEVEL-RPMS += elfutils-libelf-devel
-madwifi-GITPATH := git://git.onelab.eu/madwifi.git@madwifi-4132-4
+madwifi-GITPATH := git://git.onelab.eu/madwifi.git@master
iptables-GITPATH := git://git.onelab.eu/iptables.git@iptables-1.4.10-5
# we use the stock iproute2 with 2.6.32, since our gre patch is not needed anymore with that kernel
# note that this should be consistently reflected in pl_getKexcludes in build.common
pyopenssl-GITPATH := git://git.onelab.eu/pyopenssl.git@pyopenssl-0.9-2
###
pyaspects-GITPATH := git://git.onelab.eu/pyaspects.git@pyaspects-0.4.1-2
-ejabberd-GITPATH := git://git.onelab.eu/ejabberd.git@ejabberd-2.1.6-2
+ejabberd-GITPATH := git://git.onelab.eu/ejabberd.git@master
omf-GITPATH := git://git.onelab.eu/omf.git@omf-5.3-11
oml-GITPATH := git://git.onelab.eu/oml.git@oml-2.6.1-1
###
-sfa-GITPATH := git://git.onelab.eu/sfa.git@sfa-2.0-4
+sfa-GITPATH := git://git.onelab.eu/sfa.git@sfa-2.0-6
sface-GITPATH := git://git.onelab.eu/sface.git@sface-0.9-0
nodeconfig-GITPATH := git://git.onelab.eu/nodeconfig.git@nodeconfig-5.0-5
bootmanager-GITPATH := git://git.planet-lab.org/bootmanager.git@lxcbuild
ejabberd-GITPATH := git://git.planet-lab.org/ejabberd.git@ejabberd-2.1.6-2
omf-GITPATH := git://git.onelab.eu/omf.git@omf-5.3-11
###
-sfa-GITPATH := git://git.planet-lab.org/sfa.git@sfa-2.0-4
+sfa-GITPATH := git://git.planet-lab.org/sfa.git@sfa-2.0-6
nodeconfig-GITPATH := git://git.planet-lab.org/nodeconfig.git@nodeconfig-5.0-5
pypcilib-GITPATH := git://git.planet-lab.org/pypcilib.git@pypcilib-0.2-10
pyplnet-GITPATH := git://git.planet-lab.org/pyplnet.git@pyplnet-4.3-11
bootstrapfs-GITPATH := git://git.planet-lab.org/bootstrapfs.git@bootstrapfs-2.0-13
myplc-GITPATH := git://git.planet-lab.org/myplc.git@myplc-5.0-19
# locating the right test directory - see make tests_gitpath
-tests-GITPATH := git://git.planet-lab.org/tests.git@tests-5.0-32
+tests-GITPATH := git://git.planet-lab.org/tests.git@tests-5.0-34
ejabberd-GITPATH := git://git.planet-lab.org/ejabberd.git@ejabberd-2.1.6-2
omf-GITPATH := git://git.onelab.eu/omf.git@omf-5.3-11
###
-sfa-GITPATH := git://git.planet-lab.org/sfa.git@sfa-2.0-4
+sfa-GITPATH := git://git.planet-lab.org/sfa.git@sfa-2.0-6
sface-GITPATH := git://git.planet-lab.org/sface.git@sface-0.9-0
nodeconfig-GITPATH := git://git.planet-lab.org/nodeconfig.git@nodeconfig-5.0-5
bootmanager-GITPATH := git://git.planet-lab.org/bootmanager.git@lxcbuild