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

chore: Remove unused version handling #312

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

alilleybrinker
Copy link
Collaborator

@alilleybrinker alilleybrinker commented Aug 28, 2024

Relies on #311, merge that first then rebase this.

Ready for review!

Previously (before open sourcing Hipcheck) we'd update the Cargo.toml
file for the Hipcheck crate after releasing a new version to reflect that
we're now working on a pre-release of the next version, and we had special
handling in Hipcheck itself to identify at build time when we were building
one of these pre-release versions and add the commit hash of the repository
itself to Hipcheck's version. This was cool, and the idea was to make it
obvious when you were running a pre-release build of Hipcheck and which
pre-release build you were running.

However, when we transitioned to open source, we changed how releases
happen, and stopped doing the pre-release marking, which means this special
handling code hadn't been used at all since then. What's more, it's an extra
piece of complexity that we've been carrying around. Rather than try to
once again change our release flow, I'm removing the special handling code
since it's unused.

@alilleybrinker alilleybrinker added the type: refactor Changes to code structure that do not impact functionality label Aug 28, 2024
@alilleybrinker alilleybrinker requested a review from a team August 28, 2024 23:25
@alilleybrinker alilleybrinker self-assigned this Aug 28, 2024
@alilleybrinker alilleybrinker requested review from cstepanian and removed request for a team August 28, 2024 23:25
Previously (before open sourcing Hipcheck) we'd update the `Cargo.toml`
file for the Hipcheck crate after releasing a new version to reflect that
we're now working on a pre-release of the _next_ version, and we had special
handling in Hipcheck itself to identify at build time when we were building
one of these pre-release versions and add the commit hash of the repository
itself to Hipcheck's version. This was cool, and the idea was to make it
obvious when you were running a pre-release build of Hipcheck and _which_
pre-release build you were running.

However, when we transitioned to open source, we changed how releases
happen, and stopped doing the pre-release marking, which means this special
handling code hadn't been used at all since then. What's more, it's an extra
piece of complexity that we've been carrying around. Rather than try to
once again change our release flow, I'm removing the special handling code
since it's unused.

Signed-off-by: Andrew Lilley Brinker <[email protected]>
@alilleybrinker alilleybrinker force-pushed the alilleybrinker/remove-unused-version branch from 99d46c4 to 44fa253 Compare August 28, 2024 23:31
@alilleybrinker alilleybrinker requested review from mchernicoff and removed request for cstepanian August 28, 2024 23:31
@mchernicoff mchernicoff merged commit 7a23a93 into main Aug 28, 2024
9 checks passed
@alilleybrinker alilleybrinker deleted the alilleybrinker/remove-unused-version branch August 29, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactor Changes to code structure that do not impact functionality
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants