Skip to content
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

Add scaffolding for new porter archive command #625

Merged
merged 2 commits into from
Sep 17, 2019

Conversation

jeremyrickard
Copy link
Contributor

This adds the scaffolding for the new Porter archive command. It's currently hidden, but I wanted to open a PR that introduced it so we could figure out if these options/command experience are correct.

This adds the scaffolding for the new Porter archive command. It's currently hidden, but I wanted to open a PR that introduced it so we could figure out if these options/command experience are correct.
Copy link
Member

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

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

Looks good, just one change to set precedent for others on how to break up PRs like this in the future.

// any referenced images locally (if needed), export them to individual layers, generate a bundle.json and
// then generate a gzipped tar archive containing the bundle.json and the images
func (p *Porter) Archive(opts ArchiveOptions) error {
return nil
Copy link
Member

Choose a reason for hiding this comment

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

Would you return an error saying "not implemented yet" just so that someone playing with canary doesn't wonder?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep! I set the cmds themselves to Hidden: true but I think this is also a good idea. Happy to write up some contributing guidelines related to breaking up PRs / cmd reviews if you'd like after this.

Copy link
Member

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

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

🚀

@carolynvs carolynvs merged commit 715e758 into getporter:master Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants