Difference between revisions of "Git"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Add a Git project service page, mainly copied from the SVN one)
 
(Fixing the repo URL)
 
(6 intermediate revisions by 3 users not shown)
Line 2: Line 2:
url=https://github.com/scummvm|
url=https://github.com/scummvm|
purpose=Store the project's source code, keeping the development history and allowing collaborative work.|
purpose=Store the project's source code, keeping the development history and allowing collaborative work.|
maintainer=Max Horn ([[User:Fingolfin|Fingolfin]]), Eugene Sandulenko ([[User:Sev|Sev]])
maintainer=Eugene Sandulenko ([[User:Sev|Sev]])
}}
}}


=Retrieving the code=
=Retrieving the code=
The main repository is located at
  https://github.com/scummvm/scummvm.git
If you are using command line git, the command to get the repository is:
  git clone https://github.com/scummvm/scummvm.git
Refer to github help documentation on where to obtain git client for your OS.


=Keeping updated=
=Keeping updated=
* You can [https://github.com/scummvm browse] the Git repositories through HTTP.
* You can [https://github.com/scummvm browse] the Git repositories through HTTP.
* For every push:
* For every push:
** A mail with the commit(s) diff(s) is sent to the [[Mailing lists#scummvm-cvs-logs|scummvm-cvs-logs mailing list]].
** A mail with the commit(s) diff(s) is sent to the [[Mailing lists#scummvm-git-logs|scummvm-git-logs mailing list]].
** The CIA bot notifies the [[IRC Channel]] with the summary of the commit(s).
** The CIA bot notifies the [[IRC Channel]] with the summary of the commit(s).
** The [http://twitter.com/scummvm ScummVM Twitter channel] is notified. (TODO: has to be updated?)
** The [http://twitter.com/scummvm ScummVM Twitter channel] is notified. (TODO: has to be updated?)
Line 17: Line 27:
* Before you write/submit code, you must read about our [[Code Formatting Conventions]]. Patches which do not follow them will be rejected or at least delayed until they are cleaned up to comply to them.
* Before you write/submit code, you must read about our [[Code Formatting Conventions]]. Patches which do not follow them will be rejected or at least delayed until they are cleaned up to comply to them.
* If you have write access to our repository, you are expected to have read and to comply to the [[Commit Guidelines]].
* If you have write access to our repository, you are expected to have read and to comply to the [[Commit Guidelines]].
* You may also find the [[Git tips]] page useful.


=Repository Statistics=
=Repository Statistics=
Our commit logs are fed to several freely available statistics tools:
Our commit logs are fed to several freely available statistics tools:
* [https://sourceforge.net/project/stats/detail.php?group_id=37116&ugn=scummvm&type=svn SourceForge Subversion Activity Statistics]
* [https://www.openhub.net/p/113 openhub project analysis] nice graphs and devs activity
* [http://fisheye3.cenqua.com/browse/scummvm/ FishEye SVN statistics]
* [https://github.com/scummvm/scummvm/graphs/contributors GitHub Activity Statistics]
* [http://fisheye1.cenqua.com/browse/scummvm/ FishEye CVS statistics] prior to Feb 6th, 2006
* [http://cia.vc/stats/project/ScummVM CIA SVN statistics], current development
* [http://www.ohloh.net/projects/113 ohloh project analysis] nice graphs and devs activity
* [http://www.koders.com/info.aspx?c=ProjectInfo&pid=GGWGLGR5Z5XF9MGEE816ZHSGTB Koders statistics]

Latest revision as of 20:55, 6 April 2022

Git Project Service
URL(s) https://github.com/scummvm
Purpose Store the project's source code, keeping the development history and allowing collaborative work.
Maintainer(s) Eugene Sandulenko (Sev)

Retrieving the code

The main repository is located at

 https://github.com/scummvm/scummvm.git

If you are using command line git, the command to get the repository is:

 git clone https://github.com/scummvm/scummvm.git

Refer to github help documentation on where to obtain git client for your OS.

Keeping updated

Committing

  • Before you write/submit code, you must read about our Code Formatting Conventions. Patches which do not follow them will be rejected or at least delayed until they are cleaned up to comply to them.
  • If you have write access to our repository, you are expected to have read and to comply to the Commit Guidelines.
  • You may also find the Git tips page useful.

Repository Statistics

Our commit logs are fed to several freely available statistics tools: