Difference between revisions of "Repository"

From gem5
Jump to: navigation, search
(Initial page about the repo.)
 
(remove link to deprecated contributing page.)
 
(32 intermediate revisions by 8 users not shown)
Line 1: Line 1:
The M5 Repository uses the [http://selenic.com/mercurial Mercurial] (a.k.a hg) revision control system.
+
The gem5 repository is accessible at https://gem5.googlesource.com
  
The documentation on [http://selenic.com/mercurial Mercurial's] website and the [http://hgbook.red-bean.com/ hg-book] are both excellent resources for learning about the revision control system.  We promise that it is worth taking 30 minutes to read some of the documentation to get you started.  You may even decide that you really like hg and want to use it in your own projects.  We do!
+
Clone it with:
  
We also highly encourage you to read about [http://www.selenic.com/mercurial/wiki/index.cgi/MqExtension Mercurial Queues (MQ)] as they're a great way to follow the changes that occur in the repository while keeping your own changes separate. A good introduction is also included in chapter 12 of the hg book http://hgbook.red-bean.com/hgbookch12.html.
+
git clone https://gem5.googlesource.com/public/gem5
  
The [http://www.selenic.com/mercurial/wiki/index.cgi/PatchbombExtension patchbomb] extension is a great way to share patches with other users.  It adds the <tt>hg email</tt> command which allows you to send a set of changesets (or mq patches) to the m5 developer's mailing list!
+
There is also an official read-only GitHub mirror at: https://github.com/gem5/gem5
  
To quickly get started, you can get a copy of the m5sim.org repository for your use by using the following command
+
The main method for contributing code to gem5 is via our Gerrit code review website: https://gem5-review.googlesource.com
<pre>
 
% hg clone http://repo.m5sim.org/m5
 
</pre>
 
  
To see what files are modified from the last committed revision
+
The CONTRIBUTING file https://gem5.googlesource.com/public/gem5/+/master/CONTRIBUTING.md documents on how to contribute to gem5.
<pre>
 
% hg status
 
</pre>
 
  
To see diffs of the outstanding changes
+
The MAINTAINERS file https://gem5.googlesource.com/public/gem5/+/master/MAINTAINERS explains who are the subsystem maintainers. You may add them to reviews that touch a given subsystem.
<pre>
+
 
% hg diff
+
More general Git and Gerrit information:
</pre>
+
 
 +
* https://git-scm.com/book
 +
* https://gerrit-review.googlesource.com/Documentation/index.html

Latest revision as of 05:13, 3 March 2018

The gem5 repository is accessible at https://gem5.googlesource.com

Clone it with:

git clone https://gem5.googlesource.com/public/gem5

There is also an official read-only GitHub mirror at: https://github.com/gem5/gem5

The main method for contributing code to gem5 is via our Gerrit code review website: https://gem5-review.googlesource.com

The CONTRIBUTING file https://gem5.googlesource.com/public/gem5/+/master/CONTRIBUTING.md documents on how to contribute to gem5.

The MAINTAINERS file https://gem5.googlesource.com/public/gem5/+/master/MAINTAINERS explains who are the subsystem maintainers. You may add them to reviews that touch a given subsystem.

More general Git and Gerrit information: