Skip to content

Conversation

maciaszczykm
Copy link
Member

Summary

Labels

Test Plan

Checklist

  • If required, I have updated the Plural documentation accordingly.
  • I have added tests to cover my changes.
  • I have added a meaningful title and summary to convey the impact of this PR to a user.
  • I have added relevant labels to this PR to help with categorization for release notes.

Copy link

linear bot commented Aug 13, 2025

@maciaszczykm maciaszczykm added the enhancement New feature or request label Aug 13, 2025
if err != nil {
return fmt.Errorf("could not parse console url: %w", err)
}
digestURL := fmt.Sprintf("%s://%s/ext/v1/digests?id=%s", parsedConsoleURL.Scheme, parsedConsoleURL.Host, service.ID)
Copy link
Member

Choose a reason for hiding this comment

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

don't fetch the digest first, it's superfluous since you're always downloading the tarball

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, okay. At first I thought that it might be required argument. It's deleted now.

@maciaszczykm
Copy link
Member Author

maciaszczykm commented Aug 18, 2025

@michaeljguarino I have added a check if target directory is empty, but perhaps you would prefer different behavior here. Maybe we should display confirmation message if target dir is not empty? Or maybe introduce some flag or generate prefix?

Edit: Updated default dir to ./serviceName-tarball.

@maciaszczykm maciaszczykm force-pushed the marcin/prod-3870-add-plural-cd-services-tarball-command branch from 733f030 to f78b876 Compare August 18, 2025 10:54
@maciaszczykm maciaszczykm marked this pull request as ready for review August 18, 2025 11:25
@michaeljguarino michaeljguarino merged commit e7ea708 into main Aug 18, 2025
12 checks passed
@michaeljguarino michaeljguarino deleted the marcin/prod-3870-add-plural-cd-services-tarball-command branch August 18, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants