You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
README.md: Sort bugs alphabetically instead of by bugzilla bug number.
This commit is contained in:
7
debian/tools/patchupdate.py
vendored
7
debian/tools/patchupdate.py
vendored
@ -426,9 +426,10 @@ def generate_readme(all_patches, fp):
|
||||
all_bugs = []
|
||||
for i, patch in all_patches.iteritems():
|
||||
for (bugid, bugname, description) in patch.fixes:
|
||||
if bugid is not None: all_bugs.append((bugid, bugname, description))
|
||||
for (bugid, bugname, description) in sorted(all_bugs):
|
||||
if description is None: description = bugname
|
||||
if bugid is not None:
|
||||
if description is None: description = bugname
|
||||
all_bugs.append((bugid, bugname, description))
|
||||
for (bugid, bugname, description) in sorted(all_bugs, key=lambda x: x[2]):
|
||||
yield "%s ([Wine Bug #%d](http://bugs.winehq.org/show_bug.cgi?id=%d \"%s\"))" % \
|
||||
(description, bugid, bugid, bugname.replace("\\", "\\\\").replace("\"", "\\\""))
|
||||
|
||||
|
Reference in New Issue
Block a user