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

DOC: hardcode contributors for 0.24.x releases #25662

Conversation

jorisvandenbossche
Copy link
Member

xref #24949 (comment)

The actual contributors are not picked up by our .. contributors:: sphinx extension, as the commit authors area lost in the backporting process using MeeseeksDev.

@jorisvandenbossche jorisvandenbossche added this to the 0.24.2 milestone Mar 11, 2019
@jorisvandenbossche
Copy link
Member Author

@TomAugspurger are you OK with this? In that case, will do the same for 0.24.2 as well.

@TomAugspurger
Copy link
Contributor

Yeah, good for now.

Back when we backported manually, we passed the -x flag to include "cherry picked from"...
Does anyone know if this is what let GitHub retain the author information?
See 7bfed01

@Carreau is possible to configure meeseeksdev to include -x in the args at https://github.com/MeeseeksBox/MeeseeksDev/blob/77bac5daf0f9b2505bcdbe59dd0f1c75ceb36e64/meeseeksdev/meeseeksbox/commands.py#L434 (maybe there are downsides to that)?

@jorisvandenbossche
Copy link
Member Author

jorisvandenbossche commented Mar 11, 2019

It's not the -x from backporting manually that did the trick before, I think. It is just because we were directly cherry-picking, which preserves the commit author (although it change the commit committer).

Here, the problem comes from going through a PR on github. Eg the commit in #25663 still has correctly chris-b1 as the commit author (since the commit itself is just a cherry-pick). But when merging that PR, the PR author becomes the commit author of the squashed merged commit (and this is GitHub doing that, I think).

I opened scientific-python/MeeseeksDev#35 before as a possible solution.

Another solution might be that we don't squash backport PRs, but just merge them with a merge commit or with rebase and merge. But, then we always need to remember doing that for backport PRs, which is also error prone.

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Mar 11, 2019 via email

@jorisvandenbossche
Copy link
Member Author

Personally, I think that GitHub should automatically do the "Co-authored-by" thing when squashing a PR that has multiple commit authors .. but that's a change outside our reach.

@codecov
Copy link

codecov bot commented Mar 11, 2019

Codecov Report

Merging #25662 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #25662      +/-   ##
==========================================
- Coverage   91.29%   91.29%   -0.01%     
==========================================
  Files         173      173              
  Lines       52961    52961              
==========================================
- Hits        48350    48349       -1     
- Misses       4611     4612       +1
Flag Coverage Δ
#multiple 89.86% <ø> (ø) ⬆️
#single 41.74% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/util/testing.py 88.98% <0%> (-0.1%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c4fa3c9...7ed570a. Read the comment docs.

@codecov
Copy link

codecov bot commented Mar 11, 2019

Codecov Report

Merging #25662 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #25662      +/-   ##
==========================================
- Coverage   91.29%   91.29%   -0.01%     
==========================================
  Files         173      173              
  Lines       52961    52961              
==========================================
- Hits        48350    48349       -1     
- Misses       4611     4612       +1
Flag Coverage Δ
#multiple 89.86% <ø> (ø) ⬆️
#single 41.73% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/util/testing.py 88.98% <0%> (-0.1%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c4fa3c9...b6e394f. Read the comment docs.

* Roman Yurchak
* h-vetinari
* jbrockmendel
* Jeremy Schendel
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess a whitespace issue here.

@Carreau
Copy link
Contributor

Carreau commented Mar 11, 2019 via email

@jorisvandenbossche jorisvandenbossche merged commit feeba90 into pandas-dev:master Mar 11, 2019
@jorisvandenbossche jorisvandenbossche deleted the doc-whatsnew-contributors branch March 11, 2019 16:51
meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Mar 11, 2019
thoo added a commit to thoo/pandas that referenced this pull request Mar 11, 2019
* upstream/master: (110 commits)
  DOC: hardcode contributors for 0.24.x releases (pandas-dev#25662)
  DOC: restore toctree maxdepth (pandas-dev#25134)
  BUG: Redefine IndexOpsMixin.size, fix pandas-dev#25580. (pandas-dev#25584)
  BUG: to_csv line endings with compression (pandas-dev#25625)
  DOC: file obj for to_csv must be newline='' (pandas-dev#25624)
  Suppress incorrect warning in nargsort for timezone-aware DatetimeIndex (pandas-dev#25629)
  TST: fix incorrect sparse test (now failing on scipy master) (pandas-dev#25653)
  CLN: Removed debugging code (pandas-dev#25647)
  DOC: require Return section only if return is not None nor commentary (pandas-dev#25008)
  DOC:Remove hard-coded examples from _flex_doc_SERIES (pandas-dev#24589) (pandas-dev#25524)
  TST: xref pandas-dev#25630 (pandas-dev#25643)
  BUG: Fix pandas-dev#25481 by fixing the error message in TypeError (pandas-dev#25540)
  Fixturize tests/frame/test_mutate_columns.py (pandas-dev#25642)
  Fixturize tests/frame/test_join.py (pandas-dev#25639)
  Fixturize tests/frame/test_combine_concat.py (pandas-dev#25634)
  Fixturize tests/frame/test_asof.py (pandas-dev#25628)
  BUG: Fix user-facing AssertionError with to_html (pandas-dev#25608) (pandas-dev#25620)
  DOC: resolve all GL03 docstring validation errors (pandas-dev#25525)
  TST: failing wheel building on PY2 and old numpy (pandas-dev#25631)
  DOC: Remove makePanel from docs (pandas-dev#25609) (pandas-dev#25612)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants