Skip to content

Conversation

sarataha
Copy link
Member

Closes #1907

What changed?

Why was this change made?

How was this change implemented?

How did you validate the change?

Release notes

Documentation Changes

@sarataha sarataha added bug Something isn't working team/pesto labels Nov 23, 2022
@sarataha sarataha changed the title Use /v1/charts/list in CLI Use /v1/charts/list in CLI Nov 23, 2022
@sarataha sarataha force-pushed the cli-profile-listing-endpoint branch from 3433af0 to 9344919 Compare November 23, 2022 23:33
@sarataha sarataha force-pushed the cli-profile-listing-endpoint branch 2 times, most recently from cd85130 to c3de052 Compare November 24, 2022 00:57
@sarataha sarataha force-pushed the cli-profile-listing-endpoint branch from c3de052 to 31ede5c Compare November 24, 2022 01:09
@sarataha sarataha marked this pull request as ready for review November 24, 2022 10:47
@sarataha sarataha requested a review from foot November 24, 2022 10:47
@@ -773,6 +773,7 @@ message RepositoryChart {
// This is the available versions in reverse semver order.
repeated string versions = 2;
string layer = 3;
RepositoryRef repository = 4;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't need this I don't think?

Copy link
Member Author

@sarataha sarataha Nov 25, 2022

Choose a reason for hiding this comment

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

I added it at first because it was needed in add.go when calling GetProfile 🤔

Copy link
Collaborator

Choose a reason for hiding this comment

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

Gotcha! Yeah I stripped that bit actually 👍

@@ -38,7 +38,13 @@ func (s *ProfilesSvc) Add(ctx context.Context, r ProfilesRetriever, gitProvider
return fmt.Errorf("failed to get default branch: %w", err)
}

helmRepo, version, err := s.discoverHelmRepository(ctx, r, GetOptions{
// FIXME: should come from flags
Copy link
Collaborator

Choose a reason for hiding this comment

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

Lets add some flags to fix this too!

Copy link
Collaborator

@foot foot left a comment

Choose a reason for hiding this comment

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

🔥 !

@sarataha sarataha merged commit e92ee7d into main Nov 28, 2022
@sarataha sarataha deleted the cli-profile-listing-endpoint branch November 28, 2022 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team/pesto
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CLI] gitops 'profile subcommand' is still using legacy profiles end-point
2 participants