Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update PackageInfo.g for GAP 4.14 #41

Merged
merged 2 commits into from
Nov 17, 2024

Conversation

ThomasBreuer
Copy link
Contributor

  • some components are now optional
  • there are new components
  • some statements were outdated

- some components are now optional
- there are new components
- some statements were outdated
@ThomasBreuer
Copy link
Contributor Author

Once the update is merged, a new release of the package is needed, and the new version should become part of GAP 4.14, see gap-system/gap/issues/5818.

PackageInfo.g Outdated
## # these are compulsory, the strings can be encoded in UTF-8 or latin1,
## # 'LastName' is mandatory.
## # 'FirstNames' is optional from GAP 4.14 on, was mandatory before.
## # The strings can be encoded in UTF-8 or latin1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not really true anymore either: if the text is not UTF-8, it will be displayed incorrectly on e.g. the website and other places. Because there is no magic way for us to detect different encodings...

In practice I would say everything should use UTF-8 encoding.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting.

In fact nothing is said about the encoding in the section "The PackageInfo.g File" of the GAP Reference Manual.
The (undocumented!) function DefaultPackageBannerString explicitly converts some HTML encoded lowercase umlauts to the right strings for the current GAP session, because some PackageInfo.g seem to use this (or did this in the past).

I will update the current pull request.
And in the long run, the abovementioned manual section should be improved accordingly.

Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.09%. Comparing base (1a47a2c) to head (228e0e3).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   62.09%   62.09%           
=======================================
  Files           3        3           
  Lines         153      153           
=======================================
  Hits           95       95           
  Misses         58       58           

@fingolfin fingolfin merged commit 4f9eb0e into gap-packages:master Nov 17, 2024
@ThomasBreuer ThomasBreuer deleted the TB_PackageInfo branch November 18, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants