Content-Length: 288107 | pFad | https://github.com/internetarchive/openlibrary/pull/9483

B9 Read edition identifiers from file by jimchamp · Pull Request #9483 · internetarchive/openlibrary · GitHub
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

Read edition identifiers from file #9483

Merged

Conversation

jimchamp
Copy link
Collaborator

@jimchamp jimchamp commented Jun 24, 2024

Closes #9234

When get_edition_config() is called, configured edition identifiers are now read from a new, version-controlled file.

This change does not affect the /config/edition object, meaning that changes to the versioned file will not trigger an update to the /config/edition object.

Marked as Needs: Special Deploy This PR will need a non-standard deploy to production because
/config/edition.yml should be updated to remove identifiers after this is moved to production.

Technical

Testing

Screenshot

Stakeholders

@mekarpeles mekarpeles self-assigned this Jun 26, 2024
@mekarpeles
Copy link
Member

As part of this PR, we should deprecate https://github.com/internetarchive/openlibrary/blob/master/openlibrary/plugins/openlibrary/pages/config_edition.page and remove it from the repo

@jimchamp jimchamp added the Needs: Special Deploy This PR will need a non-standard deploy to production label Jun 26, 2024
@jimchamp
Copy link
Collaborator Author

As part of this PR, we should deprecate https://github.com/internetarchive/openlibrary/blob/master/openlibrary/plugins/openlibrary/pages/config_edition.page and remove it from the repo

Removed by af72a03

@mekarpeles mekarpeles merged commit c5de996 into internetarchive:master Jun 27, 2024
4 checks passed
@jimchamp jimchamp deleted the 9234/feature/new-identifier-source branch August 19, 2024 17:54
Freso added a commit to Freso/openlibrary that referenced this pull request Aug 26, 2024
This is taking the same steps applied to editions[1] and authors[2] and
applying it to works. `get_work_config()` is currently not used for
anything, probably because we’re still waiting for an actual interface
to edit the Work identifiers[3], so this is more a preliminary step to
ensure that Works will be handled in the same way that Editions and
Authors are. (And to allow for PRs to add Work identifiers while waiting
for that UI.)

[1] internetarchive#9234
    internetarchive#9483
[2] internetarchive#9666
    internetarchive#9769
[3] internetarchive#3430
Freso added a commit to Freso/openlibrary that referenced this pull request Aug 27, 2024
This is taking the same steps applied to editions[1] and authors[2] and
applying it to works. `get_work_config()` is currently not used for
anything, probably because we’re still waiting for an actual interface
to edit the Work identifiers[3], so this is more a preliminary step to
ensure that Works will be handled in the same way that Editions and
Authors are. (And to allow for PRs to add Work identifiers while waiting
for that UI.)

[1] internetarchive#9234
    internetarchive#9483
[2] internetarchive#9666
    internetarchive#9769
[3] internetarchive#3430
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Special Deploy This PR will need a non-standard deploy to production
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Open Library to use checked in source for adding New Identifiers
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/internetarchive/openlibrary/pull/9483

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy