On 3/31/2015 11:48 AM, luqman ulkhair wrote: > Thanks Gora,Can you please tell me should I checkout trunk or > branch?How does the development process work in asf?
In terms of commits, we almost always commit first to trunk, then backport to any branches that will also receive the change. I personally tend to do most of my actual development work in the stable release branch, which is currently branch_5x ... then I will make a patch and make sure it applies successfully to trunk before running precommit and actually committing. I do things this way because I'm almost always doing work that will affect the next minor release. For work that will not be backported into the stable branch, it makes a lot of sense to start with trunk. By developing and testing in the stable branch first, I am more likely to find problems that could affect current users. If comprehensive testing of the change is done in trunk, there might be subtle bugs that only appear when the change is backported. If my changes are going to break things when applying the patch to a different branch than it was developed on, I'd much rather have that happen in trunk than the stable branch. I think that most of the time an end-user should be developing on the stable branch just like I do, because it's the most up-to-date code that's closest to the version they're actually running. Some parts of trunk are wildly different than the stable branch. Thanks, Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org