Skip to content

Revert "Merge pull request #11143 from maxnoe/unix_time_ptp" - #11251

Merged
pllim merged 2 commits into
astropy:masterfrom
taldcroft:time-revert-11143
Jan 15, 2021
Merged

pllim merged 2 commits into
astropy:masterfrom
taldcroft:time-revert-11143

Conversation

@taldcroft

Copy link
Copy Markdown
Member

This reverts commit ec98320, reversing
changes made to 9603143.

Description

This pull request is to revert #11143 as part of fixing #11245.

I did this with the following since the GitHub Revert button failed:

git revert -m 1 ec98320

But maybe @pllim knows the best way to do this?

This reverts commit ec98320, reversing
changes made to 9603143.
@taldcroft taldcroft added time Affects-dev PRs and issues that do not impact an existing Astropy release labels Jan 14, 2021
@taldcroft taldcroft added this to the v4.3 milestone Jan 14, 2021
@taldcroft
taldcroft requested a review from mhvk January 14, 2021 20:46
@pllim

pllim commented Jan 14, 2021

Copy link
Copy Markdown
Member

I don't think I have reverted in this repo before, but if the diff looks good to you, then it worked. 😸

@pllim

pllim commented Jan 14, 2021

Copy link
Copy Markdown
Member

p.s. Is the diff for the change log missing?

@mhvk

mhvk commented Jan 14, 2021

Copy link
Copy Markdown
Contributor

Looks good apart from what @pllim noted: the changelog entry somehow was missed. How bizarre!

@maxnoe

maxnoe commented Jan 14, 2021

Copy link
Copy Markdown
Member

He reverted the commit, not the pr. The changelog every is in another commit, since it requires knowing the pr number.

@pllim

pllim commented Jan 14, 2021

Copy link
Copy Markdown
Member

Hmmm, I thought -m 1 ec98320 would revert the whole PR merge...

@pllim

pllim commented Jan 14, 2021

Copy link
Copy Markdown
Member

That PR only has 1 commit and git revert 36c0f603f9916100837406c0e3a4934c3685f462 doesn't grab the change log either. 🤯

@taldcroft

Copy link
Copy Markdown
Member Author

The changelog every is in another commit, since it requires knowing the pr number.

Slightly OT, but check out this gem to get the PR number (most of the time) before you make the PR.
https://github.com/astropy/astropy-procedures/blob/master/next_pr_number.py

@taldcroft

Copy link
Copy Markdown
Member Author

That's really really weird. I confirm also that reverting the single commit doesn't catch the change log as well. Maybe there was some kind of conflict and it just silently ignores it??

Anyway I manually fixed the changelog with another commit.

@mhvk mhvk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You're surely right about there being some conflict, but very odd that git reversion does not at least warn about that! Anyway, it looks all good now, so approving.

@maxnoe

maxnoe commented Jan 15, 2021 •

Copy link
Copy Markdown
Member

The test failure seems unrelated. It would be easier to merge this before #11249, because then I don't have to fix the tests for comparing unix_tai with unix_ptp

@pllim
pllim merged commit fad2853 into astropy:master Jan 15, 2021
@pllim

pllim commented Jan 15, 2021

Copy link
Copy Markdown
Member

Merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Affects-dev PRs and issues that do not impact an existing Astropy release no-changelog-entry-needed time

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants