Repository navigation
Expand file tree
/
Copy pathdownload.php
More file actions
65 lines (52 loc) · 3.29 KB
/
Copy pathdownload.php
File metadata and controls
65 lines (52 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!-- $Id$ -->
<?php
include "inc/header.inc";
?>
<div class="centcolumnpad">
<h2>Transition to pencil-code.org</h2>
<b>Important:</b> from <b>2024</b> we run our repository on our own domain "pencil-code.org", see <a href="/transition.php">instructions for the transition</a>.
Our repository is being mirrored almost instantaneously to GitHub, where GitHub was switched to read-only mode.
<h2>Download</h2>
You might get the code using <em>SVN</em> (recommended) or <em>GIT</em> (for git-experts).
<h3>• Read-only access</h3>
<div class="codescroll"><code>svn checkout https://pencil-code.org/svn/trunk pencil-code</code></div>
<div class="codescroll"><code>git clone https://pencil-code.org/git/ pencil-code</code></div>
No registration is required for read-only access.
<h3>• Write access</h3>
If you want to submit your changes, please register at <a href="https://account.pencil-code.org/">account.pencil-code.org</a> and apply for write access to the "main" repository. Ideally, you would register with the same "USERNAME" and email address as your GitHub account.
<h4>=> SVN:</h4>
<div class="codescroll"><code>svn checkout --username=USERNAME https://pencil-code.org/svn/trunk pencil-code</code></div>
<h4>=> GIT:</h4>
<div class="codescroll"><code>git clone https://USERNAME@pencil-code.org/git/ pencil-code</code></div>
<p>Be sure to use exactly the same email address and username as in your GitHub account:
<div class="codescroll"><code>git config --global user.email "my-primary@email.net"<br>
git config --global user.name "USERNAME"</code></div></p>
<p>To cache your password for #### seconds, you can configure:
<div class="codescroll"><code>git config --global credential.helper 'cache --timeout=####'</code></div></p>
<p>We strongly suggest to trigger an automatic rebase on each pull (to avoid implicit "Merge branch 'master'" commits):
<div class="codescroll"><code>git config --global pull.rebase true</code></div></p>
Our <em>GIT</em> server can show <em>SVN</em> revisions as notes:
<div class="codescroll"><code>git config --add remote.origin.fetch '+refs/svn/map:refs/notes/commits'<br>
git config remote.origin.tagOpt '--tags'<br>
git pull<br>
git log</code></div>
<h2>SVN-GIT translation:</h2>
<form action="https://pencil-code.org/translate.php" method="get">
Translate between SVN revision: <input name="revision" type="text" size="8" maxlength="16"> or GIT hash: <input name="hash" type="text" size="12" maxlength="40"> <input type="submit" value=" - translate - ">
</form>
<h2>Getting an old SVN revision:</h2>
<form action="./obtain.php" method="post">
Select the original source:<br>
<select name="source">
<option value="GH">github.com/pencil-code/pencil-code</option>
<option value="GC">code.google.com/p/pencil-code</option>
</select><br>
and its revision number: <input name="revision" type="text" size="8" maxlength="16"> <input type="submit" value=" - search - ">
</form>
<h2>Stable releases:</h2>
The Pencil Code can also be obtained as a stable <a href="http://github.com/pencil-code/pencil-code/releases">release</a>.<br>
We also provide the stable release <a href="http://norlx51.albanova.se/~brandenb/downloads/pencil-code-r21570.tar.gz">r21570 as TAR.gz archive</a> for direct download.
</div>
<?php
include "inc/footer.inc";
?>