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

enable preparer interface to pre operations #964

Closed
wants to merge 1 commit into from

Conversation

developer-guy
Copy link
Collaborator

fixes #539 also duplicates #951

PTAL @imjasonh

@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2023

Codecov Report

Merging #964 (e4881ae) into main (2b470fc) will decrease coverage by 0.40%.
The diff coverage is 0.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #964      +/-   ##
==========================================
- Coverage   52.42%   52.02%   -0.40%     
==========================================
  Files          43       43              
  Lines        3325     3350      +25     
==========================================
  Hits         1743     1743              
- Misses       1353     1377      +24     
- Partials      229      230       +1     
Impacted Files Coverage Δ
pkg/commands/publisher.go 38.46% <0.00%> (-7.00%) ⬇️
pkg/publish/default.go 50.00% <0.00%> (-4.93%) ⬇️
pkg/publish/multi.go 48.00% <0.00%> (-18.67%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@imjasonh imjasonh 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 so far! Honestly this is a smaller change than I expected! 🎉

pkg/publish/publish.go Show resolved Hide resolved
pkg/publish/multi.go Show resolved Hide resolved
pkg/publish/default.go Show resolved Hide resolved
return err
}

if err := remote.CheckPushPermission(tag, d.keychain, d.t); err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

This isn't going to handle d.insecure, unfortunately... 🤔

@github-actions
Copy link

This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Keep fresh with the 'lifecycle/frozen' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check for push permissions before building
3 participants