Skip to content

typos identified by github.com/crate-ci/typos#3031

Open
Alex-Jordan wants to merge 1 commit into
openwebwork:WeBWorK-2.21from
Alex-Jordan:typos
Open

typos identified by github.com/crate-ci/typos#3031
Alex-Jordan wants to merge 1 commit into
openwebwork:WeBWorK-2.21from
Alex-Jordan:typos

Conversation

@Alex-Jordan

Copy link
Copy Markdown
Contributor

These are typos identified by github.com/crate-ci/typos, except not typos in lib. Except a few that are in lib that I either already had on my typos branch, or that are connected to a typo in templates and can only be fixed at the same time.

@Alex-Jordan

Copy link
Copy Markdown
Contributor Author

github.com/crate-ci/typos identifies 1185 typos in lib. I'm sure some of them are false positives, but I would not be surprised if around 1000 of them are legit. I'll save that for some other time. Or anyone else, feel free to try this tool. I'll be offline for a few weeks now.

Comment thread doc/Artistic
Comment on lines 127 to +129
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is a typo in the original license, https://perlfoundation.org/artistic-license-10.html, and should not be fixed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should we upgrade to Artistic License 2.0? (https://opensource.org/licenses) Among other changes, it did correct that misspelling. Either way, I will remove this change from both this PR and the pg one once I get a chance to.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Upgrading the license is not an easy thing. Since the Artistic License 1.0 doesn't give the option to use any future versions of the license, this would require consent from all authors (or some time window to give authors time to disagree). We have discussed issues around upgrading licenses, but unlike the GPL 2.0+ which gives us the option to use any later versions of the license, the Artistic License doesn't and there would need to be some great benefit to go through the process to upgrade.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hmm. The WeBWorK Project holds copyright, and can release version 2.21 using whatever licenses it wants to. If the concern is that past contributors did not give consent to some other license, the thing is that they gave consent to TWP to hold copyright over that content. I guess we developers should not decide, but I do hold that TWP can decide to make a change without much fuss. It would not invalidate old licenses applied to old versions. But it could be a reset starting with a certain version of webwork2/pg.

@somiaj

somiaj commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

I looked over the typos. Most are just comments/output text and look fine. A few did change some typos in variable names. In this case they appear to have found all cases, because it looks like the variable names were consistently spelled wrong in the code. Though I didn't do any testing and some should be done to ensure that code changes didn't break anything (initial look is most likely not).

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