Skip to content

Commit

Permalink
replace Nexus with index-based yaml refs
Browse files Browse the repository at this point in the history
  • Loading branch information
adwk67 committed Jan 23, 2025
1 parent 0243c3e commit d4e3b32
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 25 deletions.
14 changes: 7 additions & 7 deletions extra/completions/_stackablectl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extra/completions/stackablectl.elv

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions extra/completions/stackablectl.fish

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion extra/completions/stackablectl.nu

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/stackable-cockpit/src/platform/operator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ pub enum ChartSourceType {
/// OCI registry
OCI,

/// Nexus repositories: resolution (dev, test, stable) is based on the version and thus may be operator-specific
/// index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus may be operator-specific
Repo,
}

Expand Down
2 changes: 1 addition & 1 deletion rust/stackablectl/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ All notable changes to this project will be documented in this file.
### Added

- Add new argument `--release` that allows installing a specific version of a demo or stack ([#340]).
- Add new argument `--chart-source` so that operator charts can be pulled either from an OCI registry (the default) or from a Nexus repository ([#344]).
- Add new argument `--chart-source` so that operator charts can be pulled either from an OCI registry (the default) or from a index.yaml-based repository ([#344]).

### Removed

Expand Down
6 changes: 3 additions & 3 deletions rust/stackablectl/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,15 @@ pub enum ChartSourceTypeArg {
#[default]
OCI,

/// Nexus repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific
/// index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific
Repo,
}

impl From<ChartSourceTypeArg> for ChartSourceType {
/// Resolves the enum used by clap/arg-resolution to the core type used in
/// stackable-cockpit. For the (Nexus-)repo case this core type cannot be
/// stackable-cockpit. For the (index.yaml-based) repo case this core type cannot be
/// decorated with meaningful information as that would be operator-specific
/// i.e. we cannot resolve *which* Nexus repo to use until we have inspected
/// i.e. we cannot resolve *which* (index.yaml-based) repo to use until we have inspected
/// the operator version. Hence just a simple mapping.
fn from(cli_enum: ChartSourceTypeArg) -> Self {
match cli_enum {
Expand Down
Loading

0 comments on commit d4e3b32

Please sign in to comment.