Skip to content

Commit

Permalink
Add homepage links for *new* packages in release notes
Browse files Browse the repository at this point in the history
We already had the package names for updates of existing packages link
to the packages' homepage, but forgot (?) to do this for new packages.
I've also added a few missing links retroactively
  • Loading branch information
fingolfin committed Dec 15, 2022
1 parent c105ecd commit 9a875fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,9 @@ affect some users directly.

#### New packages redistributed with GAP

- **classicpres** 1.22: Classical Group Presentations, by Alexander Hulpke, Eamonn O'Brien, Charles Leedham-Green, Madeleine Whybrow, Giovanni de Franceschi
- **StandardFF** 0.9.4: Standard finite fields and cyclic generators, by Frank Lübeck
- **UGALY** 4.0.3: Universal Groups Acting LocallY, by Khalil Hannouch, Stephan Tornier
- [**classicpres**](http://www.math.colostate.edu/~hulpke/classicpres) 1.22: Classical Group Presentations, by Alexander Hulpke, Eamonn O'Brien, Charles Leedham-Green, Madeleine Whybrow, Giovanni de Franceschi
- [**StandardFF**](https://www.math.rwth-aachen.de/~Frank.Luebeck/gap/StandardFF) 0.9.4: Standard finite fields and cyclic generators, by Frank Lübeck
- [**UGALY**](https://gap-packages.github.io/UGALY) 4.0.3: Universal Groups Acting LocallY, by Khalil Hannouch, Stephan Tornier

#### Updated packages redistributed with GAP

Expand Down
8 changes: 4 additions & 4 deletions dev/releases/generate_package_release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ def main(old_json_file, new_json_file):
for p in sorted(added):
pkg = new_json[p]
name = pkg["PackageName"]
home = new["PackageWWWHome"]
desc = pkg["Subtitle"]
vers = pkg["Version"]
authors = [x["FirstNames"]+" "+x["LastName"] for x in pkg["Persons"] if x["IsAuthor"]]
authors = ", ".join(authors)
print(f"- **{name}** {vers}: {desc}, by {authors}")
print(f"- [**{name}**]({home}) {vers}: {desc}, by {authors}")
print()

#
Expand All @@ -75,9 +76,8 @@ def main(old_json_file, new_json_file):
print(f"""
#### Updated packages redistributed with GAP
The GAP {new_gap_version} distribution contains {len(new_json)}
packages, of which {len(updated)} have been updated since GAP
{old_gap_version}. The full list of updated packages is given below:
The GAP {new_gap_version} distribution contains {len(new_json)} packages, of which {len(updated)} have been
updated since GAP {old_gap_version}. The full list of updated packages is given below:
""".lstrip())
for p in sorted(updated):
old = old_json[p]
Expand Down

0 comments on commit 9a875fd

Please sign in to comment.