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

[MAINTENANCE] move prepare_prior_versions to allow one version at a time #9246

Merged
merged 4 commits into from Jan 18, 2024

Conversation

tyler-hoffman
Copy link
Contributor

@tyler-hoffman tyler-hoffman commented Jan 18, 2024

Migrates prepare_prior_versions to allow just building specific versions. This will be used in a new versioning flow (coming in a subsequent PR) It can also be use for backward compatibility in case we need to rebuild v 0.17 or 0.18.

  • Description of PR changes above includes a link to an existing GitHub issue
  • PR title is prefixed with one of: [BUGFIX], [FEATURE], [DOCS], [MAINTENANCE], [CONTRIB]
  • Code is linted - run invoke lint (uses black + ruff)
  • Appropriate tests and docs have been updated

For more information about contributing, see Contribute.

After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!

Copy link

netlify bot commented Jan 18, 2024

Deploy Preview for niobium-lead-7998 canceled.

Name Link
🔨 Latest commit 9151c5d
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/65a94578eee032000927833b

@ghost
Copy link

ghost commented Jan 18, 2024

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@tyler-hoffman tyler-hoffman changed the title M/v1 131/build single docs version [MAINTENANCE] move prepare_prior_versions to allow one version at a time Jan 18, 2024
@tyler-hoffman tyler-hoffman marked this pull request as ready for review January 18, 2024 15:14
Copy link
Contributor

@billdirks billdirks left a comment

Choose a reason for hiding this comment

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

Amazing what can be simplified by being explicit about versions!
I haven't read this fully yet but have to run a meeting. I'm giving the LGTM since it looks equivalent to me. If there is something you want me to look closely at, let me know.
I realized ignoring whitespace changes made this simpler to review.

@@ -38,71 +56,21 @@ def change_paths_for_docs_file_references(verbose: bool = False) -> None:
print(f"Processed {len(files)} files in change_paths_for_docs_file_references")


def _paths_to_versioned_docs() -> list[pathlib.Path]:
Copy link
Contributor

Choose a reason for hiding this comment

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

Being able to delete all of these is great!

@tyler-hoffman tyler-hoffman added this pull request to the merge queue Jan 18, 2024
Merged via the queue into develop with commit 6881b8f Jan 18, 2024
62 checks passed
@tyler-hoffman tyler-hoffman deleted the m/V1-131/build-single-docs-version branch January 18, 2024 20:29
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.

None yet

2 participants