Skip to content

Comments

Use GPG'd netrc secrets when available#84

Open
endocrimes wants to merge 3 commits intomasterfrom
dani_netrc_gpg
Open

Use GPG'd netrc secrets when available#84
endocrimes wants to merge 3 commits intomasterfrom
dani_netrc_gpg

Conversation

@endocrimes
Copy link
Member

No description provided.


spec.add_dependency 'nap', '>= 0.8', '< 2.0'
spec.add_dependency 'netrc', '0.7.8'
spec.add_dependency 'netrc', '0.10.0'
Copy link
Member

Choose a reason for hiding this comment

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

please use a ~> requirement for this again (it was exact because of a regression)

Copy link
Member Author

Choose a reason for hiding this comment

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

👍 done

out.strip
end

def netrc_path
Copy link
Member

Choose a reason for hiding this comment

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

would this code do better being in the netrcgem itself?

Copy link
Member Author

Choose a reason for hiding this comment

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

~Maybe. It's essentially just an override of Netrc.default_path

Copy link
Member

Choose a reason for hiding this comment

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

it just doesn't feel like a feature that's specific to CocoaPods

Copy link
Member Author

Choose a reason for hiding this comment

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

I tend to agree given that the code for handling GPG exists inside the upstream repo, just not for auto detecting it. I'll see if I can find any reasoning in commits/prs.

Copy link
Member

Choose a reason for hiding this comment

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

this still hasn't been opened as an issue upstream

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.

2 participants