generated from canonical/starbase
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Changes for RK042 - Support for Pro Rocks in Rockcraft - 30/01/25 #616
Merged
tigarmo
merged 51 commits into
canonical:feature/pro-sources
from
clay-lake:feature/pro-sources
Feb 5, 2025
Merged
Changes for RK042 - Support for Pro Rocks in Rockcraft - 30/01/25 #616
tigarmo
merged 51 commits into
canonical:feature/pro-sources
from
clay-lake:feature/pro-sources
Feb 5, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These environment variables may be set if the integration tests are run inside a snapped IDE or terminal.
Signed-off-by: Dariusz Duda <[email protected]> Co-authored-by: Tiago Nobrega <[email protected]> Co-authored-by: Michael DuBelko <[email protected]>
This class will hold the implementation that is valid for all non-snap recipe types. For now it's just the previous CharmRecipe - the next commit will do the generalization work.
Subclasses must provide the name of the artifact (charm, rock, etc) and the launchpad object that wraps the utility to manipulate recipes.
Signed-off-by: Dariusz Duda <[email protected]>
* refactor: add _StandardRecipe base class This class will hold the implementation that is valid for all non-snap recipe types. For now it's just the previous CharmRecipe - the next commit will do the generalization work. * refactor: generalize _StandardRecipe Subclasses must provide the name of the artifact (charm, rock, etc) and the launchpad object that wraps the utility to manipulate recipes. --------- Co-authored-by: Alex Lowe <[email protected]>
build(deps) replace pytest-freezegun with pytest-freezer
Since 3.12.8, argparse 'choices' are no longer quoted. Ref: python/cpython#11776 --------- Co-authored-by: Alex Lowe <[email protected]>
The implementation comes from Charmcraft. This commit has the code changes to make the command craft-tool-agnostic, plus some general test and linting fixes and improvements.
This also adds an utility function, get_recipe_class(), so that client code can be a bit more agnostic on the concrete recipe types (with the notable exception of Snaps).
Snap recipes support defining 'architectures', but charm and rocks don't. Since the remote-build service always passes this parameter, accept it but fail with a good message if the value is not None.
Signed-off-by: Callahan Kovacs <[email protected]>
* chore: bring latest ruff config from starbase * style: autoformat * style(tests): fix linting issues in tests * style(tests): fix linting issues in docs * style: fix linting issues in main code * style: autoformat
Signed-off-by: Dariusz Duda <[email protected]> Co-authored-by: Alex Lowe <[email protected]>
Signed-off-by: Callahan Kovacs <[email protected]> Co-authored-by: Alex Lowe <[email protected]>
Signed-off-by: Callahan Kovacs <[email protected]>
Signed-off-by: Callahan Kovacs <[email protected]>
This ensures each platform is built in its own build environment. Signed-off-by: Callahan Kovacs <[email protected]>
Signed-off-by: Callahan Kovacs <[email protected]>
Signed-off-by: Dariusz Duda <[email protected]>
Signed-off-by: Dariusz Duda <[email protected]>
…nical#611) build(deps): update canonical/setup-lxd action to v0.1.2 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Callahan <[email protected]>
…nical#615) Signed-off-by: Callahan Kovacs <[email protected]>
build(deps): update bugfixes Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…into feature/pro-sources
…aft-application into feature/pro-sources
This reverts commit 812fad1.
…talled services. Missing addition.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/pro-sources #616 +/- ##
=======================================================
- Coverage 90.47% 90.37% -0.11%
=======================================================
Files 65 67 +2
Lines 3781 4175 +394
Branches 414 480 +66
=======================================================
+ Hits 3421 3773 +352
- Misses 288 306 +18
- Partials 72 96 +24 ☔ View full report in Codecov by Sentry. |
Hey, @canonical/starcraft-reviewers @tigarmo Could I get this merged in? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tox
?Updates to complete feature set fot RK042 - Support for Pro Rocks in Rockcraft.