Which is the official gwt source code repo to be tracked for changes?
The git way is here – https://gwt.googlesource.com/gwt/
The old svn way is here – http://code.google.com/p/google-web-toolkit/source/list
Currently the git one is always updated slower than svn one. Is there any other?
If you want the latest changes, including those under review look at https://gwt-review.googlesource.com ( but changes/fixes exist as code branches (find the branch ref via the gerrit review URL) ).
If you want the latest master code, then it is in SVN (for now!) but will move to Git in the future.
Thomas Broyer wrote:
Addendum: I actually contributed 2 fixes to 2.5.0, so can comment a bit on the process (I won’t say I understand it fully though – more on that below).
Here was my path:
Found the issue that I had on Google Code, created a patch, submitted the patch via Google Code. http://code.google.com/p/google-web-toolkit/issues/detail?id=7513 http://code.google.com/p/google-web-toolkit/issues/detail?id=7863 – Huzzah, I thought, the night before Christmas and I gave something back to GWT.
After delivering my gift, I found out this is not how to submit code these days. (see the link at the very bottom which Thomas Broyer pointed me to). So, I then checked out the git version of the project (not SVN), created a branch with my changes: https://gwt-review.googlesource.com/#/c/1540/ – this is how it works with Gerrit.
I screwed up some code formatting, so I had to amend the commit with the change (this is how you make a fix in Gerrit – I did not know this and submitted a new commit which was the wrong way – Thomas kindly and patiently pointed me on the right path).
Once the code was reviewed and passed muster, it was Accepted and then Abandoned! Yes, Abandoned. I believe what Abandoned means here is that the branch with the change is abandoned since the code is merged in to the master branch. That confused me as well. 🙂 (EDIT: actually, I’m wrong here – it is abandoned because it was not merged into the git repo. I suspect this is because the git repo mirrors SVN – so you cannot merge changes into it! – great writeup on gerrit process here: http://qt-project.org/wiki/Gerrit-Introduction )
As I said, if you want the absolute latest changes, you can get all the code branches from https://gwt.googlesource.com/gwt (as I said earlier. 🙂 ). If there is a particular fix you need you can probably rebase that onto the master branch yourself.
Now, what I don’t understand is why the googlecode repo is still open. It was quite confusing and frustrating to submit a patch there only to find out I needed to do it all again with Gerrit (fortunately they were tiny changes). I suspect keeping the googlecode repo alive is a legacy thing.
Finally, as to why the SVN was merged before the Git master I do not know – perhaps ask on the contributor list ( https://groups.google.com/forum/?fromgroups=#!forum/google-web-toolkit-contributors ). It may well be the case that SVN is still the the source and Git master feeds from SVN (as some projects do when they transition).
Also, be patient – the GWT steering committee is new and have already done great work but have a lot more to do. It is fantastic that Google has passed control of releases over to them as the steering committee has some really great people on it.
Here is the official word on code contributions:
https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/fmHDlsnfdEQ/discussion