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

feat: Select versions of demos & stacks #340

Merged
merged 11 commits into from
Dec 18, 2024

Conversation

labrenbe
Copy link
Member

@labrenbe labrenbe commented Dec 5, 2024

Description

Fixes #310.

  • Add the --release <release> argument to demo and stack commands which allows installing from a specific release branch.
  • If --release is not specified the latest release is used.
  • --release dev install from main branch.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Preview Give feedback

Reviewer

Preview Give feedback

Acceptance

Preview Give feedback

Techassi and others added 2 commits December 5, 2024 10:53
Also removes the unused --offline flag. Feel free to ignore that.
@labrenbe labrenbe self-assigned this Dec 5, 2024
@labrenbe labrenbe linked an issue Dec 5, 2024 that may be closed by this pull request
@Techassi Techassi self-requested a review December 5, 2024 14:40
Copy link
Member

@Techassi Techassi left a comment

Choose a reason for hiding this comment

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

Mostly lgtm, a few smaller comments.

Also, please add changelog entries regarding the --offline removal, the addition of --release and make sure to fix pre-commit and rust-doc errors.

rust/stackablectl/src/cli/mod.rs Show resolved Hide resolved
rust/stackablectl/src/cli/mod.rs Show resolved Hide resolved
rust/stackablectl/src/cmds/demo.rs Outdated Show resolved Hide resolved
rust/stackablectl/src/cmds/demo.rs Show resolved Hide resolved
rust/stackablectl/src/constants.rs Show resolved Hide resolved
labrenbe and others added 9 commits December 6, 2024 11:37
Co-authored-by: Techassi <git@techassi.dev>
This add a Deref impl for the List type, which removed the need to call
.inner() to retrieve the IndexMap. Instead IndexMap's methods can now
be used by deref'ing.

Also, the SpecIter trait now consumes self, which removes two superflous
calls to .clone().
@labrenbe labrenbe added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit e3ed80e Dec 18, 2024
24 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Dec 18, 2024
* wip: Add release selection to demo command

Also removes the unused --offline flag. Feel free to ignore that.

* add --release arg to stacks

* Update rust/stackablectl/src/cmds/demo.rs

Co-authored-by: Techassi <git@techassi.dev>

* refactor 'latest_release' and address PR feedback

* refactor 'latest_release' and address PR feedback

* add changelog entry

* add changelog entry

* chore: Restructure changelog

* refactor: Simplify List type

This add a Deref impl for the List type, which removed the need to call
.inner() to retrieve the IndexMap. Instead IndexMap's methods can now
be used by deref'ing.

Also, the SpecIter trait now consumes self, which removes two superflous
calls to .clone().

* chore: Remove unused regex dependency

---------

Co-authored-by: Techassi <git@techassi.dev>
@labrenbe labrenbe deleted the feat/select-version-of-demos-stacks branch December 18, 2024 11: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.

feat: Add ability to select version of demos/stacks
3 participants