-
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
chore(merge): merge '2.9.0' into 'main' #376
Commits on Jul 3, 2024
-
feat: docs url composition for parts
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 7fff65b - Browse repository at this point
Copy the full SHA 7fff65bView commit details -
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for f1942fd - Browse repository at this point
Copy the full SHA f1942fdView commit details -
feat: add a method to enable craft-parts Features (#362)
The correct location to add craft-parts Features is a bit tricky: - it must happen soon enough that things that happen early have the correct features enabled. For example, building the default command groups takes into account whether overlays are enabled; - it must happen late enough that the craft-cli logging support has already been set-up. Therefore, provide a method that Application subclasses can override to enable their features, and the Application itself takes care of calling it at the correct time.
Configuration menu - View commit details
-
Copy full SHA for 9ba1d2a - Browse repository at this point
Copy the full SHA 9ba1d2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02509d6 - Browse repository at this point
Copy the full SHA 02509d6View commit details -
fix: don't raise CraftValidationErrors in validators
The (new) rule is this: in validators, always raise the types that Pydantic expects (ValueErrors, AssertionErrors, TypeError, and subclasses of these). This allows Pydantic to capture all errors and group them into a single ValidationError, which we can then convert into a single CraftValidationError in from_yaml_data(). This provides a more uniform UI for the reporting of validation errors on the project.
Configuration menu - View commit details
-
Copy full SHA for 04edc9b - Browse repository at this point
Copy the full SHA 04edc9bView commit details -
fix: normalize validation errors
Ensure that each error message starts with a lowercase letter.
Configuration menu - View commit details
-
Copy full SHA for da6d517 - Browse repository at this point
Copy the full SHA da6d517View commit details -
fix: use from_yaml_data() for create BuildPlanner
This way the validation errors get correctly translated and converted into CraftValidationErrors.
Configuration menu - View commit details
-
Copy full SHA for aa548ed - Browse repository at this point
Copy the full SHA aa548edView commit details -
feat: add a way to set doc urls for models
This is mainly used for validation errors: when a CraftBaseModel fails to be created due to Pydantic validation errors, the link to that specific model class is added to the error message shown to the user.
Configuration menu - View commit details
-
Copy full SHA for 495ed86 - Browse repository at this point
Copy the full SHA 495ed86View commit details -
fix: ensure provider is available before launching
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
Configuration menu - View commit details
-
Copy full SHA for 6b7284f - Browse repository at this point
Copy the full SHA 6b7284fView commit details -
build(deps): use proper versions for -cli and -parts
Now that the 'rockcraft' work branch has been merged and released we can fix the version constraint for craft-cli and craft-parts.
Configuration menu - View commit details
-
Copy full SHA for ccfe498 - Browse repository at this point
Copy the full SHA ccfe498View commit details
Commits on Jul 4, 2024
-
ci: add workflow to automate releases
This workflow is similar to starbase's current one, with a few differences: - It uses self-hosted runners; - It uses Trusted Publishers to publish to PyPI; - It constrains the artifacts that are attached to the GH release.
Configuration menu - View commit details
-
Copy full SHA for 0115c28 - Browse repository at this point
Copy the full SHA 0115c28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69cd16b - Browse repository at this point
Copy the full SHA 69cd16bView commit details -
ci: fix checkout of tag in release workflow
This is a partial revert of 0115c28; apparently actions/checkout's "fetch-tags" property is broken and gives errors at checkout time. Ref: actions/checkout#1467
Configuration menu - View commit details
-
Copy full SHA for 1d60b50 - Browse repository at this point
Copy the full SHA 1d60b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42fc135 - Browse repository at this point
Copy the full SHA 42fc135View commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ccffe6f - Browse repository at this point
Copy the full SHA ccffe6fView commit details