OLD | NEW |
1 title=Source Code | 1 title=Source Code |
2 | 2 |
3 | 3 |
4 {{repositories The Adblock Plus project consists of multiple repositories. The [
modules](modules) page has a good overview of the most important ones.}} | 4 {{repositories The Adblock Plus project consists of multiple repositories. The [
modules](modules) page has a good overview of the most important ones.}} |
5 | 5 |
6 <h2 id="source">{{mercurial-title Getting the source code from the Mercurial rep
ositories}}</h2> | 6 <h2 id="source">{{mercurial-title Getting the source code from the Mercurial rep
ositories}}</h2> |
7 | 7 |
8 {{mercurial-text The Adblock Plus source code is hosted on our [Mercurial](http:
//mercurial.selenic.com/) server. You can see a list of all repositories through
the [web interface](https://hg.adblockplus.org/).}} | 8 {{mercurial-text The Adblock Plus source code is hosted on our [Mercurial](http:
//mercurial.selenic.com/) server. You can see a list of all repositories through
the [web interface](https://hg.adblockplus.org/).}} |
9 | 9 |
10 {{mercurial-clone Here's how you clone the Adblock Plus for Firefox repository:}
} | 10 {{mercurial-clone Here's how you clone the Adblock Plus for Firefox repository:}
} |
11 | 11 |
12 hg clone -u master https://hg.adblockplus.org/adblockplus/ | 12 hg clone -u master https://hg.adblockplus.org/adblockplus/ |
13 | 13 |
14 {{mercurial-tag Here's how you get the source code for a specific version (e.g.
<fix>Adblock Plus 2.3.1</fix>):}} | 14 {{mercurial-tag Here's how you get the source code for a specific version (e.g.
<fix>Adblock Plus 2.3.1</fix>):}} |
15 | 15 |
16 hg update -r 2.3.1 | 16 hg update -r 2.3.1 |
17 | 17 |
18 ### {{mercurial-bookmarks-title Mercurial bookmarks}} | 18 ### {{mercurial-bookmarks-title Mercurial bookmarks}} |
19 | 19 |
20 {{mercurial-bookmarks-text We are using Mercurial bookmarks for branching. All o
f our repositories have a _master_ bookmark that points to the latest developmen
t version. When cloning a repository, you have to activate that bookmark. If you
ran `hg clone -u master` as shown above, this has already happened. If you clon
ed without the `-u` option, you will need to run `hg update master` once.}} | 20 {{mercurial-bookmarks-text We are using Mercurial bookmarks for branching. All o
f our repositories have a _master_ bookmark that points to the latest developmen
t version. When cloning a repository, you have to activate that bookmark. If you
ran `hg clone -u master` as shown above, this has already happened. If you clon
ed without the `-u` option, you will need to run `hg update master` once.}} |
21 | 21 |
22 ### {{mercurial-documentation Mercurial documentation}} | 22 ### {{mercurial-documentation Mercurial documentation}} |
23 | 23 |
24 * [{{mercurial-quickstart Mercurial quickstart}}](http://mercurial.selenic.com/w
iki/QuickStart) | 24 * [{{mercurial-quickstart Mercurial quickstart}}](https://www.mercurial-scm.org/
wiki/QuickStart) |
25 * [{{mercurial-faq Mozilla's Mercurial FAQ}}](https://developer.mozilla.org/en/M
ercurial_FAQ) | 25 * [{{mercurial-bookmarks Working with Mercurial bookmarks}}](https://www.mercuri
al-scm.org/wiki/Bookmarks) |
26 * [{{mercurial-book Distributed Revision Control with Mercurial (hgbook)}}](http
://hgbook.red-bean.com) | 26 * [{{mercurial-mozilla Mercurial for Mozillians}}](http://mozilla-version-contro
l-tools.readthedocs.org/en/latest/hgmozilla/index.html) |
27 * [{{mercurial-other-tools GUI client and other tools}}](http://mercurial.seleni
c.com/wiki/OtherTools) | 27 * [{{mercurial-book Mercurial: The definite guide (hgbook)}}](http://hgbook.red-
bean.com) |
| 28 * [{{mercurial-other-tools GUI client and other tools}}](https://www.mercurial-s
cm.org/wiki/OtherTools) |
| 29 * [{{mercurial-git Mercurial for Git users}}](https://www.mercurial-scm.org/wiki
/GitConcepts) |
28 | 30 |
29 <h2 id="github">{{github-title Getting the source code from the GitHub mirrors}}
</h2> | 31 <h2 id="github">{{github-title Getting the source code from the GitHub mirrors}}
</h2> |
30 | 32 |
31 {{github-text If you prefer to use Git, you can - we have [GitHub mirrors](https
://github.com/adblockplus/) for most of our public repositories.}} | 33 {{github-text If you prefer to use Git, you can - we have [GitHub mirrors](https
://github.com/adblockplus/) for most of our public repositories.}} |
32 | 34 |
33 {{github-notice **Please note:** We are maintaining the GitHub mirrors to make i
t easier for new contributors to contribute to the Adblock Plus project without
having to learn new tools. For regular contributors, using Mercurial is recommen
ded.}} | 35 {{github-notice **Please note:** We are maintaining the GitHub mirrors to make i
t easier for new contributors to contribute to the Adblock Plus project without
having to learn new tools. For regular contributors, using Mercurial is recommen
ded.}} |
34 | 36 |
35 {{github-clone Here's how you clone the Adblock Plus for Firefox repository from
GitHub:}} | 37 {{github-clone Here's how you clone the Adblock Plus for Firefox repository from
GitHub:}} |
36 | 38 |
37 git clone https://github.com/adblockplus/adblockplus/ | 39 git clone https://github.com/adblockplus/adblockplus/ |
38 | 40 |
39 {{github-tag Here's how you get the source code for a specific version (e.g. <fi
x> Adblock Plus 2.3.1</fix>):}} | 41 {{github-tag Here's how you get the source code for a specific version (e.g. <fi
x> Adblock Plus 2.3.1</fix>):}} |
40 | 42 |
41 git checkout 2.3.1 | 43 git checkout 2.3.1 |
42 | 44 |
43 <h2 id="build">{{build-title Build instructions}}</h2> | 45 <h2 id="build">{{build-title Build instructions}}</h2> |
44 | 46 |
45 {{build-text Most of our repositories have _README.md_ files with build instruct
ions, please refer to those.}} | 47 {{build-text Most of our repositories have _README.md_ files with build instruct
ions, please refer to those.}} |
46 | 48 |
47 <h2 id="documentation">{{code-documentation-title Source code documentation}}</h
2> | 49 <h2 id="documentation">{{code-documentation-title Source code documentation}}</h
2> |
48 | 50 |
49 {{code-documentation-text We have automatically generated [source code documenta
tion](documentation_advanced#code-documentation) for some projects.}} | 51 {{code-documentation-text We have automatically generated [source code documenta
tion](documentation_advanced#code-documentation) for some projects.}} |
OLD | NEW |