git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wiki formatting
[build.git]
/
module-tools.py
diff --git
a/module-tools.py
b/module-tools.py
index
b2db88e
..
a1b628d
100755
(executable)
--- a/
module-tools.py
+++ b/
module-tools.py
@@
-1257,6
+1257,9
@@
def release_changelog(options, buildtag_old, buildtag_new):
return
tagfile = "%s-tags.mk" % tagfile
return
tagfile = "%s-tags.mk" % tagfile
+ print '----'
+ print '----'
+ print '----'
print '= build tag %s to %s =' % (buildtag_old, buildtag_new)
print '== distro %s (%s to %s) ==' % (tagfile, buildtag_old, buildtag_new)
print '= build tag %s to %s =' % (buildtag_old, buildtag_new)
print '== distro %s (%s to %s) ==' % (tagfile, buildtag_old, buildtag_new)
@@
-1264,19
+1267,18
@@
def release_changelog(options, buildtag_old, buildtag_new):
build.init_module_dir()
first = build.get_modules(tagfile)
build.init_module_dir()
first = build.get_modules(tagfile)
- print '* from', buildtag_old, build.repository.gitweb()
+ print '
* from', buildtag_old, build.repository.gitweb()
build = Build("build@%s" % buildtag_new, options)
build.init_module_dir()
second = build.get_modules(tagfile)
build = Build("build@%s" % buildtag_new, options)
build.init_module_dir()
second = build.get_modules(tagfile)
- print '* to', buildtag_new, build.repository.gitweb()
+ print '
* to', buildtag_new, build.repository.gitweb()
diff, new_modules, removed_modules = modules_diff(first, second)
def get_module(name, tag):
diff, new_modules, removed_modules = modules_diff(first, second)
def get_module(name, tag):
- print name, tag
if not tag or tag == "trunk":
return Module("%s" % (module), options)
else:
if not tag or tag == "trunk":
return Module("%s" % (module), options)
else:
@@
-1292,9
+1294,9
@@
def release_changelog(options, buildtag_old, buildtag_new):
m.init_module_dir()
if m.repository.type == "svn":
m.init_module_dir()
if m.repository.type == "svn":
- print '* from', first, m.repository.url()
+ print '
* from', first, m.repository.url()
else:
else:
- print '* from', first, m.repository.gitweb()
+ print '
* from', first, m.repository.gitweb()
specfile = m.main_specname()
(tmpfd, tmpfile) = tempfile.mkstemp()
specfile = m.main_specname()
(tmpfd, tmpfile) = tempfile.mkstemp()
@@
-1305,9
+1307,9
@@
def release_changelog(options, buildtag_old, buildtag_new):
specfile = m.main_specname()
if m.repository.type == "svn":
specfile = m.main_specname()
if m.repository.type == "svn":
- print '* to', second, m.repository.url()
+ print '
* to', second, m.repository.url()
else:
else:
- print '* to', second, m.repository.gitweb()
+ print '
* to', second, m.repository.gitweb()
print '{{{'
os.system("diff -u %s %s" % (tmpfile, specfile))
print '{{{'
os.system("diff -u %s %s" % (tmpfile, specfile))