Mne-python: Accidentally pushed backport to upstream

Created on 9 May 2020  路  19Comments  路  Source: mne-tools/mne-python

Oops, I accidentally pushed to the maint/0.20 branch in upstream instead of my fork. Sorry about that. Should I revert? It's only a few changes so maybe it's less effort if someone quickly reviews the commit (https://github.com/mne-tools/mne-python/commit/cb52773ea13bb94e533e372668bc536d5a2cdaf8)? In any case, this won't happen again (I don't know why I didn't track the branch on my fork).

All 19 comments

yes it's fine to keep this commit. No harm done here.

>

Would it be OK to make a new release sometime next week?

@larsoner the floor is yours

Yep, we can cut a 0.20.4, probably Monday

thanks @larsoner !

>

To prevent such things from happening, we should consider enabling protected branches. WDYT?

https://help.github.com/en/github/administering-a-repository/about-protected-branches

(I, for one, am totally in favor of making use of this feature.)

You mean merging requires e.g. at least one positive review? Yes, why not - if it doesn't make other things more complicated.

There's quite a few options there, I _thought_ one could also disable direct pushs to certain branches; but maybe this is only possible indirectly by requiring a positive review. At any rate, I think it's worthwhile checking this out (no pun intended!)

Yes, disabling direct pushes to upstream might be a good solution, because we should always go through our forks.

On a slightly related note, what about the https://github.com/mne-tools/mne-python/tree/old_max_power_ori branch in upstream? Shouldn't that also be located in a fork? @wmvanvliet

it means I won't be able to push hot fixes anymore :)

let's see how often issues occur before adding new rules

it means I won't be able to push hot fixes anymore :)

Well. You shouldn't introduce bugs that require a hotfix in the first place! Think about that! 馃槈馃槄馃檲

it means I won't be able to push hot fixes anymore :)

I think you could still push a hotfix to your fork and merge a hotfix PR yourself. Probably we should either require an approving review or protect the branches, but not both (so that @agramfort can still get his hotfix fix)

I'd vote for protected branches instead of review.

I vote for "this was necessary for the last 10 years" so let's not create rules
for every case otherwise you'll end up with the judicial system we have in
modern countries :)

On a slightly related note, what about the https://github.com/mne-tools/mne-python/tree/old_max_power_ori branch in upstream? Shouldn't that also be located in a fork?

Indeed that shouldn't be there. I've moved it to my fork, @wmvanvliet feel free to copy it over to yours if need be. However right now @britta-wstnr and I are working on fixing all the orientation computations and such so I doubt we'll need it.

0.20.4 released

while we're cleaning up old branches, upstream/guidelines is about 7000 commits behind upstream/master (diverged in 2015, but doesn't appear to have any unique commits). OK if I kill it?

if it says "0 ahead" then yes please kill it, it doesn't contain anything we don't already have

Thanks @larsoner!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

erfpak7 picture erfpak7  路  5Comments

sappelhoff picture sappelhoff  路  6Comments

Mehrabkhazraei picture Mehrabkhazraei  路  7Comments

SophieHerbst picture SophieHerbst  路  4Comments

hoechenberger picture hoechenberger  路  6Comments