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

[#707] Filter snapshots by node's commit hash #708

Merged
merged 5 commits into from
Sep 5, 2023

Conversation

krendelhoff2
Copy link
Member

Description

Problem: The setup wizard can download snapshots from a provider with metadata, but it doesn't filter these by Octez version. This can cause issues in case a snapshot has been created with an Octez version that is incompatible with the one being used.

Solution: Filter by node's commit hash.

Related issue(s)

Resolves #

Related changes (conditional)

  • I checked whether I should update the README

  • I checked whether native packaging works, i.e. native binary packages
    can be successfully built.

Stylistic guide (mandatory)

Copy link
Contributor

@pasqu4le pasqu4le left a comment

Choose a reason for hiding this comment

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

Overall LGTM, just one comment

baking/src/tezos_baking/tezos_setup_wizard.py Outdated Show resolved Hide resolved
Problem: The setup wizard can download snapshots from a provider
with metadata, but it doesn't filter these by Octez version.
This can cause issues in case a snapshot has been created
with an Octez version that is incompatible with the one being used.

Solution: Filter by node's commit hash.
@krendelhoff2 krendelhoff2 force-pushed the krendelhoff/#707-filter-snapshots branch from 1033e3a to 0fc18fa Compare September 5, 2023 07:39
Problem: New stable release have to made, so rc-related
changes should be reverted.

Solution: Revert them.
Copy link
Contributor

@pasqu4le pasqu4le left a comment

Choose a reason for hiding this comment

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

LGTM except for one thing: the version in baking/pyproject.toml also needs to be updated (twice)

Problem: New stable release have to be made, thus
release number should be bumped.

Solution: Bump it.
Problem: New stable release was prepared, thus we
should return to the previuos state.

Solution: Revert changes made for v17.3-3.
Problem: We have to make a new release, so
release version should be bumped.

Solution: Bump it.
@krendelhoff2 krendelhoff2 force-pushed the krendelhoff/#707-filter-snapshots branch from 6d217a5 to 3ef9288 Compare September 5, 2023 11:23
@pasqu4le pasqu4le enabled auto-merge September 5, 2023 12:08
@pasqu4le pasqu4le merged commit 567dc9c into master Sep 5, 2023
1 check passed
@pasqu4le pasqu4le deleted the krendelhoff/#707-filter-snapshots branch September 5, 2023 12:11
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