summaryrefslogtreecommitdiffstats
path: root/src/syrep.ggo
blob: d6edb526e3a7e82cd30adb6ccde3013ad0af375a (plain)
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
65
66
67
68
69
# $Id$

#  This file is part of syrep.
#
#  syrep is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#  
#  syrep is distributed in the hope that it will be useful, but WITHOUT
#  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
#  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
#  License for more details.
#  
#  You should have received a copy of the GNU General Public License
#  along with syrep; if not, write to the Free Software Foundation,
#  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

purpose "Synchronize Repositories"
package "syrep"

option "verbose" v "Enable verbose operation" flag off
option "local-temp" T "Use temporary directory inside repository" flag off
option "ignore-origin" - "Don't warn if snapshot not local in update, merge, makepatch" flag off
option "compress" z "Compress snapshots or patches" flag off

option "list" - "List a repository snapshot" flag off
 option "show-deleted" - "list: Show deleted entries of repository snapshot" flag off
 option "show-by-md" - "list: Show files by message digests" flag off
 option "show-times" - "list: Show first and last seen times" flag off
 option "sort" - "list: sort chronologically" flag off

option "info" - "Show information about a repository or snapshot" flag off
option "history" - "Show history of a repository or snapshot" flag off
option "dump" - "Show a structure dump of a repository or snapshot" flag off

option "update" - "Update a repository snapshot" flag off
 option "snapshot" S "update: Use the specified snapshot file instead of the one contained in the repository" string no
 option "cache" C "update: Use the specified cache file instead of the one contained in the repository" string no
 option "no-cache" - "update: Don't use a message digest cache" flag off
 option "no-purge" - "update: Don't pruge obsolete entries from cache after update run" flag off
 option "ro-cache" - "update: Use read only cache" flag off
 option "progress" p "update: Show progress" flag off
 option "check-dev" - "update: Honour stat() st_dev field" flag off

option "diff" - "Show difference between two repositories or snapshots" flag off
 option "sizes" s "diff: show file sizes to copy (works online on repositories)" flag off
 option "human-readable" H "diff: show sizes human readable" flag off

option "merge" - "Merge a snapshot or a repository into a repository" flag off
 option "question" q "merge: Ask a question before each action" flag off
 option "prune-empty" P "merge: Prune empty directories" flag off
 option "keep-trash" - "merge: Don't empty trash" flag off
 option "check-md" - "merge: Check message digest of file before deleting or replacing" flag off
 option "always-copy" - "merge: Always copy instead of hard linking" flag off
 option "always-replace" - "merge: Always replace existing files" flag off

option "makepatch" - "Make a patch against the specified repository" flag off
 option "output-file" o "makepatch: Write output to specified file instead of STDOUT" string no
 option "include-all" - "makepatch: Include files in patch which do exist on the other side under a different name" flag off

option "extract" - "Extract the context of a snapshot or patch" flag off
 option "output-directory" D "extract: Write output to specified directory" string no

option "cleanup" - "Remove syrep info from repository" flag off
 option "cleanup-level" l "cleanup: 1 - just remove temporary data and trash (default); 2 - remove MD cache as well; 3 - remove all syrep data" int default="1" no

option "forget" - "Forget old snapshot entries" flag off
 option "remember" R "forget: information of how many days to remeber" int default="180" no