William Stein <wst...@gmail.com> writes: > On Sun, Mar 18, 2012 at 5:45 AM, Jeroen Demeyer <jdeme...@cage.ugent.be> > wrote: >> On 2012-03-17 14:39, Keshav Kini wrote: >>> If you instead tell people to base >>> their patches on the stable release >> I certainly don't want this. >> >>> Why do patches need to be based on the latest dev release? > > What do you mean by this question? Is it rhetorical? > > If I based http://trac.sagemath.org/sage_trac/ticket/10281 on Sage-4.8 > instead of a recent beta, it would be totally impossible to apply my > patch (or merge my branch) into Jereon's current development branch, > because parts of it had to be totally rewritten to take into account > that somebody added "slice functionality" to vector_integer_dense > after sage-4.8 was released, which significantly impacts how my code > has to be implemented.
Yes, it would be totally impossible to apply your patch into Jeroen's current development branch, because it would be conflicting with someone's patch X. So you should rebase your patch on that patch X, not on Jeroen's dev release. If Jeroen decides that patch X is broken and removes it from the next dev release, you are currently (according to the requirement that you rebase patches on the latest dev release) expected to undo your rebasing of your own patch. Why should you? The patch still conflicts with X, and either you must rebase on X or X must rebase on you, and that doesn't change no matter what Jeroen does with his dev releases. (Assuming that patch X, or your patch, isn't going to languish as needs_work for a long time.) If this seems nonsensical to you, it is probably because Jeroen rarely removes patches from his dev releases, i.e. they are 99% based on the previous dev version anyway. So why not go all the way, and heal the broken history while you're at it? -Keshav ---- Join us in #sagemath on irc.freenode.net ! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org