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 option to sign tags. #6

Merged
merged 2 commits into from
Jan 2, 2018
Merged

Add option to sign tags. #6

merged 2 commits into from
Jan 2, 2018

Conversation

Californian
Copy link
Contributor

@Californian Californian commented Nov 30, 2017

Also added standard .gitignore files for Python and vim.

The test for Python 3.3 does not pass, but that appears to be because of an upstream issue checking out a required package.

A test to check that signatures are actually made has not been written, but it has been verified manually. I can add a test later, but it is a bit involved (it would require adding gpg to the Dockerfile and generating a signature in the test setup) and I do not currently have time for that.

Closes GH-5

Copy link
Collaborator

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I recently realized that this is needed and there's no git config setting to always sign commits so 👍 for adding this.

@@ -183,7 +185,7 @@ def add_path(cls, path):
pass

@classmethod
def tag(cls, name, message):
def tag(cls, sign, name, message):
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should raise an error when sign is true that it's not supported.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 fixed.

@ekohl ekohl requested a review from c4urself December 1, 2017 10:25
@Californian
Copy link
Contributor Author

Bumping in case it got lost in your inbox @c4urself. Thanks!

@ekohl ekohl merged commit 658e3ab into c4urself:master Jan 2, 2018
@ekohl
Copy link
Collaborator

ekohl commented Jan 2, 2018

Thanks @Californian!

@c4urself do you want to do a release? I'm not sure I have permissions to do so.

@c4urself
Copy link
Owner

c4urself commented Jan 2, 2018

yep -- will try to get a release out this week. it would be nice if you also get the permissions, not sure what you need for that?

@ekohl
Copy link
Collaborator

ekohl commented Jan 2, 2018

My username on pypi is the same as my github. You should be able to log in on pypi, go to the bump2version package and select the roles tab. There you can add me as an owner or maintainer. https://pypi.python.org/pypi?:action=role_form&package_name=bump2version should be the direct URL.

@c4urself
Copy link
Owner

c4urself commented Jan 2, 2018

Done.

florisla pushed a commit that referenced this pull request Jan 19, 2021
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.

4 participants