Fossil SCM
Small cosmetic tweaks to the mirrortogithub doc on this branch to work better with the skin.
Commit
cabbf1ca54d453b90de7a8a1b950f24e21f85d0998456521eecd82ac6d22a623
Parent
d9debe90ab6bc86…
1 file changed
+7
-10
+7
-10
| --- www/mirrortogithub.md | ||
| +++ www/mirrortogithub.md | ||
| @@ -11,19 +11,19 @@ | ||
| 11 | 11 | your project with various things like a README file. Answer "no" to |
| 12 | 12 | everything. You want a completely blank project. GitHub will then |
| 13 | 13 | supply you with a URL for your project that will look something |
| 14 | 14 | like this: |
| 15 | 15 | |
| 16 | - https://github.com/username/project.git | |
| 16 | + https://github.com/username/project.git | |
| 17 | 17 | |
| 18 | 18 | 3. Back on your workstation, move to a checkout for your Fossil |
| 19 | 19 | project and type: |
| 20 | 20 | |
| 21 | 21 | <blockquote> |
| 22 | 22 | <pre> |
| 23 | - $ fossil git export /path/to/git/repo --autopush \ | |
| 24 | - https://<font color="orange">username</font>:<font color="red">password</font>@github.com/username/project.git | |
| 23 | + $ fossil git export /path/to/git/repo --autopush \ | |
| 24 | + https://<font color="orange">username</font>:<font color="red">password</font>@github.com/username/project.git | |
| 25 | 25 | </pre> |
| 26 | 26 | </blockquote> |
| 27 | 27 | |
| 28 | 28 | In place of the <code>/path/to...</code> argument above, put in |
| 29 | 29 | some directory name that is <i>outside</i> of your Fossil checkout. If |
| @@ -58,20 +58,20 @@ | ||
| 58 | 58 | mirrored on GitHub. |
| 59 | 59 | |
| 60 | 60 | 6. Whenever you update your project, simply run this command to update |
| 61 | 61 | the mirror: |
| 62 | 62 | |
| 63 | - $ fossil git export | |
| 63 | + $ fossil git export | |
| 64 | 64 | |
| 65 | 65 | Unlike with the first time you ran that command, you don’t need |
| 66 | 66 | the remaining arguments, because Fossil remembers those things. |
| 67 | 67 | Subsequent mirror updates should usually happen in a fraction of |
| 68 | 68 | a second. |
| 69 | 69 | |
| 70 | 70 | 7. To see the status of your mirror, run: |
| 71 | 71 | |
| 72 | - $ fossil git status | |
| 72 | + $ fossil git status | |
| 73 | 73 | |
| 74 | 74 | ## Notes: |
| 75 | 75 | |
| 76 | 76 | * Unless you specify --force, the mirroring only happens if the Fossil |
| 77 | 77 | repo has changed, with Fossil reporting "no changes", because Fossil |
| @@ -142,29 +142,26 @@ | ||
| 142 | 142 | ## <a id='ex1'></a>Example GitHub Mirrors |
| 143 | 143 | |
| 144 | 144 | As of this writing (2019-03-16) Fossil’s own repository is mirrored |
| 145 | 145 | on GitHub at: |
| 146 | 146 | |
| 147 | -> | |
| 148 | -<https://github.com/drhsqlite/fossil-mirror> | |
| 147 | +> <https://github.com/drhsqlite/fossil-mirror> | |
| 149 | 148 | |
| 150 | 149 | In addition, an official Git mirror of SQLite is available: |
| 151 | 150 | |
| 152 | -> | |
| 153 | -<https://github.com/sqlite/sqlite> | |
| 151 | +> <https://github.com/sqlite/sqlite> | |
| 154 | 152 | |
| 155 | 153 | The Fossil source repositories for these mirrors are at |
| 156 | 154 | <https://www2.fossil-scm.org/fossil> and <https://www2.sqlite.org/src>, |
| 157 | 155 | respectively. Both repositories are hosted on the same VM at |
| 158 | 156 | [Linode](https://www.linode.com). On that machine, there is a |
| 159 | 157 | [cron job](https://linux.die.net/man/8/cron) |
| 160 | 158 | that runs at 17 minutes after the hour, every hour that does: |
| 161 | 159 | |
| 162 | -> | |
| 163 | 160 | /usr/bin/fossil sync -u -R /home/www/fossil/fossil.fossil |
| 164 | 161 | /usr/bin/fossil sync -R /home/www/fossil/sqlite.fossil |
| 165 | 162 | /usr/bin/fossil git export -R /home/www/fossil/fossil.fossil |
| 166 | 163 | /usr/bin/fossil git export -R /home/www/fossil/sqlite.fossil |
| 167 | 164 | |
| 168 | 165 | The initial two "sync" commands pull in changes from the primary |
| 169 | 166 | Fossil repositories for Fossil and SQLite. The last two lines |
| 170 | 167 | export the changes to Git and push the results up to GitHub. |
| 171 | 168 |
| --- www/mirrortogithub.md | |
| +++ www/mirrortogithub.md | |
| @@ -11,19 +11,19 @@ | |
| 11 | your project with various things like a README file. Answer "no" to |
| 12 | everything. You want a completely blank project. GitHub will then |
| 13 | supply you with a URL for your project that will look something |
| 14 | like this: |
| 15 | |
| 16 | https://github.com/username/project.git |
| 17 | |
| 18 | 3. Back on your workstation, move to a checkout for your Fossil |
| 19 | project and type: |
| 20 | |
| 21 | <blockquote> |
| 22 | <pre> |
| 23 | $ fossil git export /path/to/git/repo --autopush \ |
| 24 | https://<font color="orange">username</font>:<font color="red">password</font>@github.com/username/project.git |
| 25 | </pre> |
| 26 | </blockquote> |
| 27 | |
| 28 | In place of the <code>/path/to...</code> argument above, put in |
| 29 | some directory name that is <i>outside</i> of your Fossil checkout. If |
| @@ -58,20 +58,20 @@ | |
| 58 | mirrored on GitHub. |
| 59 | |
| 60 | 6. Whenever you update your project, simply run this command to update |
| 61 | the mirror: |
| 62 | |
| 63 | $ fossil git export |
| 64 | |
| 65 | Unlike with the first time you ran that command, you don’t need |
| 66 | the remaining arguments, because Fossil remembers those things. |
| 67 | Subsequent mirror updates should usually happen in a fraction of |
| 68 | a second. |
| 69 | |
| 70 | 7. To see the status of your mirror, run: |
| 71 | |
| 72 | $ fossil git status |
| 73 | |
| 74 | ## Notes: |
| 75 | |
| 76 | * Unless you specify --force, the mirroring only happens if the Fossil |
| 77 | repo has changed, with Fossil reporting "no changes", because Fossil |
| @@ -142,29 +142,26 @@ | |
| 142 | ## <a id='ex1'></a>Example GitHub Mirrors |
| 143 | |
| 144 | As of this writing (2019-03-16) Fossil’s own repository is mirrored |
| 145 | on GitHub at: |
| 146 | |
| 147 | > |
| 148 | <https://github.com/drhsqlite/fossil-mirror> |
| 149 | |
| 150 | In addition, an official Git mirror of SQLite is available: |
| 151 | |
| 152 | > |
| 153 | <https://github.com/sqlite/sqlite> |
| 154 | |
| 155 | The Fossil source repositories for these mirrors are at |
| 156 | <https://www2.fossil-scm.org/fossil> and <https://www2.sqlite.org/src>, |
| 157 | respectively. Both repositories are hosted on the same VM at |
| 158 | [Linode](https://www.linode.com). On that machine, there is a |
| 159 | [cron job](https://linux.die.net/man/8/cron) |
| 160 | that runs at 17 minutes after the hour, every hour that does: |
| 161 | |
| 162 | > |
| 163 | /usr/bin/fossil sync -u -R /home/www/fossil/fossil.fossil |
| 164 | /usr/bin/fossil sync -R /home/www/fossil/sqlite.fossil |
| 165 | /usr/bin/fossil git export -R /home/www/fossil/fossil.fossil |
| 166 | /usr/bin/fossil git export -R /home/www/fossil/sqlite.fossil |
| 167 | |
| 168 | The initial two "sync" commands pull in changes from the primary |
| 169 | Fossil repositories for Fossil and SQLite. The last two lines |
| 170 | export the changes to Git and push the results up to GitHub. |
| 171 |
| --- www/mirrortogithub.md | |
| +++ www/mirrortogithub.md | |
| @@ -11,19 +11,19 @@ | |
| 11 | your project with various things like a README file. Answer "no" to |
| 12 | everything. You want a completely blank project. GitHub will then |
| 13 | supply you with a URL for your project that will look something |
| 14 | like this: |
| 15 | |
| 16 | https://github.com/username/project.git |
| 17 | |
| 18 | 3. Back on your workstation, move to a checkout for your Fossil |
| 19 | project and type: |
| 20 | |
| 21 | <blockquote> |
| 22 | <pre> |
| 23 | $ fossil git export /path/to/git/repo --autopush \ |
| 24 | https://<font color="orange">username</font>:<font color="red">password</font>@github.com/username/project.git |
| 25 | </pre> |
| 26 | </blockquote> |
| 27 | |
| 28 | In place of the <code>/path/to...</code> argument above, put in |
| 29 | some directory name that is <i>outside</i> of your Fossil checkout. If |
| @@ -58,20 +58,20 @@ | |
| 58 | mirrored on GitHub. |
| 59 | |
| 60 | 6. Whenever you update your project, simply run this command to update |
| 61 | the mirror: |
| 62 | |
| 63 | $ fossil git export |
| 64 | |
| 65 | Unlike with the first time you ran that command, you don’t need |
| 66 | the remaining arguments, because Fossil remembers those things. |
| 67 | Subsequent mirror updates should usually happen in a fraction of |
| 68 | a second. |
| 69 | |
| 70 | 7. To see the status of your mirror, run: |
| 71 | |
| 72 | $ fossil git status |
| 73 | |
| 74 | ## Notes: |
| 75 | |
| 76 | * Unless you specify --force, the mirroring only happens if the Fossil |
| 77 | repo has changed, with Fossil reporting "no changes", because Fossil |
| @@ -142,29 +142,26 @@ | |
| 142 | ## <a id='ex1'></a>Example GitHub Mirrors |
| 143 | |
| 144 | As of this writing (2019-03-16) Fossil’s own repository is mirrored |
| 145 | on GitHub at: |
| 146 | |
| 147 | > <https://github.com/drhsqlite/fossil-mirror> |
| 148 | |
| 149 | In addition, an official Git mirror of SQLite is available: |
| 150 | |
| 151 | > <https://github.com/sqlite/sqlite> |
| 152 | |
| 153 | The Fossil source repositories for these mirrors are at |
| 154 | <https://www2.fossil-scm.org/fossil> and <https://www2.sqlite.org/src>, |
| 155 | respectively. Both repositories are hosted on the same VM at |
| 156 | [Linode](https://www.linode.com). On that machine, there is a |
| 157 | [cron job](https://linux.die.net/man/8/cron) |
| 158 | that runs at 17 minutes after the hour, every hour that does: |
| 159 | |
| 160 | /usr/bin/fossil sync -u -R /home/www/fossil/fossil.fossil |
| 161 | /usr/bin/fossil sync -R /home/www/fossil/sqlite.fossil |
| 162 | /usr/bin/fossil git export -R /home/www/fossil/fossil.fossil |
| 163 | /usr/bin/fossil git export -R /home/www/fossil/sqlite.fossil |
| 164 | |
| 165 | The initial two "sync" commands pull in changes from the primary |
| 166 | Fossil repositories for Fossil and SQLite. The last two lines |
| 167 | export the changes to Git and push the results up to GitHub. |
| 168 |