要跟踪更改的官方gwt源代码库是什么?
git的方法在这里- https://gwt.googlesource.com/gwt/
旧的svn方式在这里- http://code.google.com/p/google-web-toolkit/source/list
目前,git one的更新速度总是比svn one慢。还有其他的吗?
发布于 2013-01-28 05:05:58
如果您想要最新的更改,包括那些正在审查的更改,请查看https://gwt-review.googlesource.com (但更改/修复以代码分支的形式存在(通过gerrit审查URL找到分支ref ) )。
如果您想要最新的主代码,那么它在SVN中(目前!)但将来会迁移到Git。
Thomas Broyer wrote
我想我们的想法是等到迁移到Git完成。目前,Git repo仍然是SVN repo (git-svn)的镜像,后者是Google内部Perforce的镜像。为了完成移动,我们将重写历史以删除所有大文件(预构建的插件和api检查器引用jars),以便所有贡献者都必须重新同步他们的Git存储库。因此,在同一时间,SVN和Rietveld仍然可以,尽管“不推荐”。
附录:我实际上为2.5.0贡献了两个修复,所以我可以对这个过程发表一点评论(我不会说我完全理解它-下面会有更多)。
这是我的道路:
正如我所说的,如果你想要最新的变化,你可以从https://gwt.googlesource.com/gwt获得所有的代码分支(正如我之前所说的。:) )。如果您需要某个特定的修复,您可以自己将其重新设置到主分支上。
现在,我不明白的是为什么googlecode repo仍然是开放的。在那里提交一个补丁,结果发现我需要用Gerrit重新做一次(幸运的是,这些都是很小的变化),这是非常令人困惑和沮丧的。我怀疑保留googlecode代码库是一件遗留下来的事情。
最后,关于为什么SVN被合并到Git master之前,我不知道--也许可以在贡献者列表( https://groups.google.com/forum/?fromgroups=#!forum/google-web-toolkit-contributors )上问一下。情况很可能是,SVN仍然是SVN的源代码和Git主提要(就像一些项目在过渡时所做的那样)。
此外,要有耐心- GWT指导委员会是新成立的,已经做了很好的工作,但还有很多工作要做。谷歌将发布的控制权交给了他们,因为指导委员会有一些非常优秀的人参与其中,这真是太棒了。
以下是代码贡献的官方说法:https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/fmHDlsnfdEQ/discussion
Gerrit Crash Course
In case you’re not familiar with Gerrit already, here are a few beginner steps to get started with:
Going to https://gwt.googlesource.com/ or https://gwt-review.googlesource.com/ you should be able to see the “gwt” project. You should also be able to anonymously check this out by simply running “git clone https://gwt.googlesource.com/gwt”.
Further, you should be able to go to https://gwt-review.googlesource.com/ and sign in using your Google Account. Once signed in you should be able to comment and code review existing issues like the sample issue I created at https://gwt-review.googlesource.com/#/c/1020/.
Finally, to actually create an issue is slightly more involved, but most of the steps only need to be done once:
Complete a Contributor Agreement: go to https://gwt-review.googlesource.com, click “Settings” and then “Agreements”, and follow the instructions. If you previously submitted an individual CLA electronically via Google Code, please do so again via Gerrit (sorry!). If you previously submitted a corporate CLA and Gerrit does not reflect this already, please email me privately and I’ll check with Google’s Open Source Program Office to get this resolved.
Setup your HTTP Password: Still under Settings, go to “HTTP Password” and click “Obtain Password” and follow the steps to get your HTTP Password and/or to setup your .netrc file.
Setup your Gerrit commit-msg hook (optional, but recommended): Gerrit provides a commit hook at https://gwt-review.googlesource.com/tools/hooks/commit-msg to automatically add Change-Id lines to your commits. Download this and add it to your checkout’s .git/hooks directory (e.g., “curl -o .git/hooks/commit-msg https://gwt-review.googlesource.com/tools/hooks/commit-msg && chmod +x .git/hooks/commit-msg”).
Make a change and commit it locally using git (e.g., edit a file foo and then run “git commit -m ‘my first change’ foo”).
Push the commit to Gerrit for review: git push origin HEAD:refs/for/master.
Further details can be found in the Git and Gerrit documentations:
http://git-scm.com/documentation
https://gerrit-review.googlesource.com/Documentation/index.html
发布于 2013-03-15 10:15:56
我刚刚接触到了新的Official GWT Project站点,它是为开源社区而建的。
网站状态更新-
GWT Git repo: https://gwt.googlesource.com/
GWT Gerrit code review: https://gwt-review.googlesource.com/
Old Google Code project: http://code.google.com/p/google-web-toolkit/
https://stackoverflow.com/questions/14555644
复制