Mercurial > kallithea
annotate docs/usage/backup.rst @ 5725:05a85a6cecba
graph: detect git branches and colourise them properly without rainbow effect (Issue #188)
This is based on research and patches by Andrew Shadura.
When using Git, only commits pointed to by branch references have their
branches set. In general, there's no way in Git to find out which branch
a commit belongs to, so we can try to deduce that from the merge topology.
In other words, if we know the branch name, we know it's a different colour
than any different branch. If we don't (it is None), we guesstimate the first
parent is probably on the same branch. The relevant part of the code before
2da0dc09 used a similar, yet simpler, algorithm.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 22 Feb 2016 21:07:47 +0100 |
parents | fbbe80e3322b |
children |
rev | line source |
---|---|
1104
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 .. _backup: |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 |
2095 | 3 ==================== |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
3224
diff
changeset
|
4 Backing up Kallithea |
1104
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 ==================== |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 Settings |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 -------- |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
3224
diff
changeset
|
11 Just copy your .ini file, it contains all Kallithea settings. |
1104
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 |
5433
fbbe80e3322b
docs: consistent spacing around headings
Mads Kiilerich <madski@unity3d.com>
parents:
4955
diff
changeset
|
13 |
1104
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 Whoosh index |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 ------------ |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 |
4955
4e6dfdb3fa01
docs: English and consistency corrections
Michael V. DePalatis <mike@depalatis.net>
parents:
4192
diff
changeset
|
17 The Whoosh index is located in the ``data/index`` directory where you installed |
4e6dfdb3fa01
docs: English and consistency corrections
Michael V. DePalatis <mike@depalatis.net>
parents:
4192
diff
changeset
|
18 Kallithea, i.e., the same place where the ini file is located |
1104
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 Database |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 -------- |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 |
4192
e73a69cb98dc
Rename some strings examples and commands in documentation
Bradley M. Kuhn <bkuhn@sfconservancy.org>
parents:
3224
diff
changeset
|
24 When using sqlite just copy kallithea.db. |
1104
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
25 Any other database engine requires a manual backup operation. |
af371e206ec5
added backup to docs
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
26 |
4955
4e6dfdb3fa01
docs: English and consistency corrections
Michael V. DePalatis <mike@depalatis.net>
parents:
4192
diff
changeset
|
27 A database backup will contain all gathered statistics. |