patchupdate.py: Also list dependencies for each patchset in patchinstall.sh.

This commit is contained in:
Sebastian Lackner
2015-08-11 07:43:35 +02:00
parent 288c9a031d
commit 8f49524c86
2 changed files with 97 additions and 0 deletions

View File

@@ -682,6 +682,13 @@ def generate_script(all_patches):
lines.append("# Patchset %s\n" % patch.name)
lines.append("# |\n")
# List dependencies (if any)
if len(patch.depends):
lines.append("# | This patchset has the following dependencies:\n")
lines.append("# | *\t%s\n" % "\n# | \t".join(textwrap.wrap(
", ".join([all_patches[j].name for j in sorted(patch.depends)]), 120)))
lines.append("# |\n")
# List all bugs fixed by this patchset
if any([bugid is not None for bugid, bugname in patch.fixes]):
lines.append("# | This patchset fixes the following Wine bugs:\n")