On 06.01.14 13:32, Kristján Valur Jónsson wrote:

Hi, I just wanted to discuss our practices on BitBucket.

While the repo is still private, we who have access should probably stick to some guidelines.

1)Commit comments should include ticket references, so that we get proper cross-references: https://confluence.atlassian.com/display/BITBUCKET/Mark+up+comments%2C+issues%2C+and+commit+messages and https://confluence.atlassian.com/display/BITBUCKET/Resolve+issues+automatically+when+users+push+code In particular, when a commit is pertaining to a ticket, use the _“re #34”_ syntax or equivalent. This should cause a link to the changeset to be automatically added to the issue.

2)Python 3 support: IMHO, contributors should be responsible themselves for porting changes/fixes to the other branches, much as is the case for cPython development. For a change made in 2.7-slp, that change should be /grafted/ to 3.2-slp. 3.2-slp should then be „merged“ into 3.3-slp. (once we drop 3.2-slp, we will graft directly to 3.3-slp) 3.2 is still VS2008 and should be compilable and testable by all. If we don‘t do this, we run the risk of divergence. I have been doing synchronization sessions from time to time trying to port stuff over, but it is easy to lose track, and it shouldn‘t be the responsibility of one person to keep our branch tree in sync.

3)All fixes/changes should be accompanied by a unittest by now.

4)We /should/ probaby try to write the unittests in a 2/3 neutral mode (i.e. use from __future__ import print_statement). This will allow us to diff the unittests between branches more easily and thus discover any discrepancy. They should really be the same. Running the _/same/_ unittests in different branches should then help us ensure that point 2) is adhered to above.

Thoughts?


I just tried graft for the first time, and I see how it replays patches exactly.
What is best to do for 2.8: merge or graft?

I started merging, then reverted and tried graft.
Confused - merge is probably better here?

cheers - Chris

--
Christian Tismer             :^)   <mailto:[email protected]>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* http://starship.python.net/
14482 Potsdam                :     PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to