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

take the authormap trick from pip for release notes #2324

Closed
RonnyPfannschmidt opened this issue Mar 21, 2017 · 7 comments
Closed

take the authormap trick from pip for release notes #2324

RonnyPfannschmidt opened this issue Mar 21, 2017 · 7 comments
Labels
status: help wanted developers would like help from experts on this topic type: infrastructure improvement to development/releases/CI structure

Comments

@RonnyPfannschmidt
Copy link
Member

as per https://github.com/pypa/pip/blob/master/tasks/generate.py#L12
git can use a authormap to generate release notes,
we should use something similar to fix up our own mapping

@RonnyPfannschmidt RonnyPfannschmidt added type: infrastructure improvement to development/releases/CI structure task status: help wanted developers would like help from experts on this topic labels Mar 21, 2017
@RonnyPfannschmidt
Copy link
Member Author

@nicoddemus i believe #2397 solves this one, correct?

@nicoddemus
Copy link
Member

#2397 was about generating release notes, but that pip task you refer to actually is about generating an AUTHORS file automatically.

@RonnyPfannschmidt
Copy link
Member Author

i see, thanks

@recursivelycurious
Copy link

@RonnyPfannschmidt is this still an open issue? Looking for a good first time contribution.

@nicoddemus
Copy link
Member

@RonnyPfannschmidt you still think this would be useful? TBH I'm not sure it is worth doing...

@recursivelycurious great that you are looking for first contributions. We sometimes mark issues with the easy label which are good candidates for a first contribution. 👍

@nicoddemus
Copy link
Member

@RonnyPfannschmidt still think this is worth doing? Here are a few reasons why I think this is not worth it:

  1. Currently we don't have any overhead; people submitting PRs just add their names and there's very small chance of conflicts (contrary to the CHANGELOG which would cause conflicts all the time);
  2. One needs a separate map of "git commit authors" to real user names (see pip's mailmap file). It is common for users to have slightly different names in different computers or even wanting a different name in the AUTHORS file than the one they use for commits; and we will probably only remember that at the time of release, so we will have to go "hunting" for the name of authors with problematic commits at that time. For example, there might be commits made by me authored as "Bruno Oliveira", "Bruno S. Oliveira", "bruno", and so on, and we need to map all of those to "Bruno Oliveira".
  3. The history already contains commits with incorrect authors, we need to go back and map these.

@RonnyPfannschmidt
Copy link
Member Author

valid concerns, i'll agree - thanks for bringing the details up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted developers would like help from experts on this topic type: infrastructure improvement to development/releases/CI structure
Projects
None yet
Development

No branches or pull requests

3 participants