Syn-commodore

Latest version: v1.22.0

Safety actively analyzes 638437 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 13

1.9.0

Summary

We're pleased to announce Commodore v1.9.0. The main new features in this release relate to the component template which we've moved out of the Commodore repository into its own repository at https://github.com/projectsyn/commodore-component-template.

We've refactored the command `component new` to be based on [Cruft], to bring the management of the component and configuration package templates in sync again. Apart from unifying the code to manage component and configuration package templates, this also allows us to introduce new commands `component update` and `component sync` which allow users to manage existing Commodore component repositories.

The command `component update` provides support for updating a component's boilerplate to the latest template version, as well as modifying a component's boilerplate. The command allows users to add or remove many component features. The command allows users to enable or disable golden tests for a component. It also allows users to add test cases to a component, and to remove test cases from a component. Please see the [Commodore CLI documentation] for the full set of supported options for `component update`.

The command `component sync` is primarily intended to be run in a CI pipeline to keep components updated. This command replaces the function of modulesync for keeping component boilerplate updated. We've already set up a GitHub action which executes `component sync` for the same set of components that were previously managed by modulesync in the [component template repository].

Apart from the improved component template handling, this release improves the robustness of handling Git repository author information. We've ensured that Git author information provided in environment variables is used for all Git repositories managed by Commodore. Additionally, we added logic to provide fallback author information for the case where Git can't determine author information at all.

[Cruft]: https://cruft.github.io/cruft/
[component template repository]: https://github.com/projectsyn/commodore-component-template
[Commodore CLI documentation]: https://syn.tools/commodore/reference/cli.html#_component_update

Changes

1.8.0

Summary

We're pleased to announce Commodore v1.8.0. This release deprecates parameter `-r / --repo-directory` for `component compile`. We don't really need the component's Git repository for standalone compilation, so the change tries to find a Git repository containing the component directory, but gracefully degrades if no repository is found. This should improve the ergonomics of `component compile`, especially for components stored in a repository subdirectory.

Additionally, the release also contains updates to the component template which should reduce the amount of manual patching required when using the template to initialize a component which is stored in a repository subdirectory.

Changes

1.7.1

Summary

We're pleased to announce Commodore v1.7.1. This release fixes a UI bug in the new `package sync` command.

Changes

1.7.0

Summary

We're pleased to announce Commodore v1.7.0. This release introduces a new command `package sync`, which can be used to update configuration packages from their cookiecutter templates, for example in a GitHub action.

The command is currently very specifically targeted at updating Commodore configuration packages hosted on GitHub. See the [command documentation](https://syn.tools/commodore/reference/commands.html#_package_sync) for more details.

Changes

1.6.0

Summary

We're pleased to announce Commodore v1.6.0.

This release adds support for fetching new OIDC tokens using the "refresh token" provided by the OIDC provider. This reduces the number of times that Commodore opens a page in the browser to fetch a new OIDC token.

Additionally, we've introduced new commands `commodore inventory show` and `commodore inventory packages`, which complement `commodore inventory components`, but allow users to list the full inventory parameters and the contents of `parameters.packages` respectively.

Changes

1.5.0

Summary

We're pleased to announce Commodore v1.5.0.

This release adds support for specifying dynamic facts on the command line when compiling a catalog for a cluster which hasn't reported any dynamic facts yet. Dynamic facts provided on the command line will be ignored if the Lieutenant API response for the cluster contains field `dynamicFacts`

Changes

Page 4 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.