Skip to content

chore: Fix spelling/wording via codespell#4651

Closed
larseggert wants to merge 3 commits into
ietf-tools:mainfrom
larseggert:codespell
Closed

chore: Fix spelling/wording via codespell#4651
larseggert wants to merge 3 commits into
ietf-tools:mainfrom
larseggert:codespell

Conversation

@larseggert

Copy link
Copy Markdown
Collaborator

No description provided.

@codecov

codecov Bot commented Oct 26, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4651 (10ea6a4) into main (69c0f4d) will decrease coverage by 0.00%.
The diff coverage is 80.64%.

❗ Current head 10ea6a4 differs from pull request most recent head d6a5c49. Consider uploading reports for the commit d6a5c49 to get more accurate results

@@            Coverage Diff             @@
##             main    #4651      +/-   ##
==========================================
- Coverage   88.41%   88.40%   -0.01%     
==========================================
  Files         296      296              
  Lines       39730    39730              
==========================================
- Hits        35126    35125       -1     
- Misses       4604     4605       +1     
Impacted Files Coverage Δ
ietf/api/views.py 89.06% <ø> (ø)
ietf/doc/models.py 90.81% <ø> (ø)
ietf/doc/templatetags/ietf_filters.py 87.38% <ø> (ø)
ietf/doc/utils.py 88.58% <ø> (ø)
ietf/doc/views_charter.py 88.82% <ø> (ø)
ietf/doc/views_search.py 89.23% <ø> (ø)
ietf/ietfauth/urls.py 100.00% <ø> (ø)
ietf/liaisons/forms.py 91.19% <ø> (ø)
ietf/meeting/helpers.py 90.17% <ø> (ø)
ietf/meeting/models.py 84.68% <ø> (ø)
... and 24 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

),
migrations.CreateModel(
name='Whitelisted',
name='Allowlisted',

@rjsparks rjsparks Oct 26, 2022

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Making this change in the 0001_initial migration will have no effect on the production database. This file should be left alone to allow the migration system to work properly.

What needs to happen instead is a change to the model (and it's associated admin and resource files) and create a new migration that will make the change to the data.

@rjsparks rjsparks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This really should be split into two PRs.

It is not a chore just fixing spelling as advertised - it is a change to the models and the api.

Please create one PR that changes the mailinglists models (and the related changes that requires, including the new migration it needs). This one should be labeled a feat: (Even though it's a breaking change for anyone depending on the v1 api, we've already decided we won't treat that as something that bumps our major version number).

Please use a separate PR for the changes that do not affect the database and api. This one can be a chore.

Consider breaking the changes that affect settings, code and text shown to users apart from changes that only affect comments if that's not too hard to do. It would make looking for anything outside the repository that needs to be changed to follow along simpler.

larseggert added a commit to larseggert/datatracker that referenced this pull request Nov 24, 2022
larseggert added a commit to larseggert/datatracker that referenced this pull request Nov 25, 2022
Second part of replacement of ietf-tools#4651

@rjsparks, I probably need to revert some things here, and I also
still need to add that new migration - how do I do that?
rjsparks pushed a commit that referenced this pull request Nov 28, 2022
larseggert added a commit to larseggert/datatracker that referenced this pull request Nov 29, 2022
@larseggert

Copy link
Copy Markdown
Collaborator Author

Closing in favor of #4794 and #4797.

@larseggert larseggert closed this Dec 1, 2022
@larseggert larseggert deleted the codespell branch December 1, 2022 16:00
rjsparks added a commit that referenced this pull request Dec 2, 2022
* Handle single-word author names

* Some i18n names, e.g., "शिला के.सी." have a dot at the end that is
also part of the ASCII, e.g., "Shilaa Kesii." That trailing dot breaks
extract_authors(). Avoid this issue by stripping the dot from the
ASCII.

* Honorifics need to be part of the extracted ASCII name (e.g., "Lady Garcia")

* feat: stop supporting pre-tzaware migration database dumps. (#4782)

* feat: stop supporting pre-tzaware migration database dumps.

* chore: remove unnecessary env variable

* chore: Use `codespell` to fix typos in comments. (#4794)

First part of replacement of #4651

* feat: Only show IPR search form when not showing search results  (#4793)

* feat: Only show IPR search form when not showing search results

Put it into a collapsible that is only expanded by default when not
showing search results.

Fixes #4569

* Don't use example target name

* fix: Don't show reorder UI fixtures unless user can reorder (#4785)

Fixes #4773

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>

* chore: Update deps and fix resulting HTML validation issues (#4790)

* ci: add missing build matrix config for test-playwright-legacy step

* Single-letter last names exist (e.g., "Carolina de la O")

* Align regex with others

* Fix extraction of very long author names

* Need to be more general

* Add comment

* Also handle i18n names with trailing semicolons

* Name suffixes need to be part of the extracted author names

* Handle i18n names with embedded commas

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants