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

chore(release): document release steps, update metadata for new repo home #140

Merged
merged 8 commits into from
Feb 22, 2017

Conversation

TheKevJames
Copy link
Owner

@TheKevJames TheKevJames commented Feb 14, 2017

Fixes #130

This technically touches code (setup.py), so we should wait until CI works again before merging this

@TheKevJames TheKevJames requested a review from goanpeca February 14, 2017 07:37
RELEASE.rst Outdated

1. Update the :code:`CHANGELOG.rst` with the new version.
2. Bump the version number in :code:`setup.py`.
3. Tag that commit with the version number (:code:`git tag x.y.z`).

Choose a reason for hiding this comment

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

It is a very common practice to store the __version__ on the init of the main module, otherwise users cannot introspect this info

https://github.com/coveralls-clients/coveralls-python/blob/master/coveralls/__init__.py#L5

so we could do something like that https://github.com/spyder-ide/qtawesome/blob/master/setup.py#L13

Or we could use versioneer

Copy link
Owner Author

Choose a reason for hiding this comment

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

Good idea.

So far, this PR just describes the process that had been followed before we took over. Let's collect all our ideas for changing the process going forward. Some things that come to mind:

  • The __version__ thing you mentioned.
  • Creating eggs (see the NOTE in the new RELEASE.rst)
  • Doing all this on CI, maybe kicked off by a tag

Any other thoughts?

Choose a reason for hiding this comment

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

Yes, we should not create eggs at all, eggs are deprecated stuff. We should stick to wheels and tarred sources.

Doing all this on CI, maybe kicked off by a tag

We could, the win is minimal as this is not a common process (making releases)

Either way we should automate the changelog creation. I built a tool for that, and we are already using it in several projects. https://github.com/spyder-ide/loghub/

Choose a reason for hiding this comment

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

LGTM otherwise, we can continue on another PR

Copy link
Owner Author

Choose a reason for hiding this comment

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

Auto-changleogs is a good idea. Personally, I've been using the conventional-changelog format since it seems to be gaining popularity as a standard and tools like clog for the generation, but any option works well here.

I'd also appreciate if we switched to strict semver rather than the varying tags that have been used so far.

@goanpeca goanpeca added this to the 1.2 milestone Feb 14, 2017
@goanpeca
Copy link

We need a more diligent use of labels and milestones, which also make the changelog generation process much much easier

@coveralls
Copy link

coveralls commented Feb 22, 2017

Coverage Status

Changes Unknown when pulling 0c376b0 on add-release-info into ** on master**.

@goanpeca
Copy link

@TheKevJames please disable the super annoying messages from coveralls!

@TheKevJames
Copy link
Owner Author

Done! Also set a failing threshold on coveralls (-1% on a commit, for now).

@TheKevJames TheKevJames merged commit ce0cf20 into master Feb 22, 2017
@TheKevJames TheKevJames deleted the add-release-info branch February 22, 2017 18:49
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.

3 participants