forked from walterdejong/synctool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangelog
220 lines (181 loc) · 7.85 KB
/
Changelog
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
April 2012:
- fixed issue with dsh-pkg, multiple packages on command line
- Jurriaan Saathof contributed nagios script check_synctool.pl
- released as version 5.2
October 2011:
- added hostid:filename for uniquely identifying weird hosts
- fix for bug regarding redefinition of group 'all'
- fix for bug with output to stderr not showing the nodename
- fix for problem where multiple nodes have the same hostname: hostid file
- released as version 5.1
September 2011:
- small fixes (see git log)
- Werner Maier contributed synctool-check
It keeps timestamps so you can see when a node was last updated
- bugfix: the comma-separated list of nodes or groups was not working
correctly; this problem was fixed
August 8th 2011:
- released as version 5.0
July 2011:
- I was on a vacation
June 2011:
- added new 'hostname:' qualifier to synctool.conf
- for new files: create base directory if it did not yet exist
- added synctool-pkg / dsh-pkg for package management
- config parameter 'ignore' supports wildcards
May 2011:
- added contributions by Onno Zweers:
- synctool-diff patches
- tasks/functions shell scripting library
- a script that cleans dirs but also has whitelisting capability
- checksum performance gain when there is no match
- bugfix for running a single task
- options -1, --single, --diff, --ref can be given multiple times on a
single command-line to handle multiple files
- 'synctool-config --nodename' displays my nodename
Which comes in handy when scripting .post scripts
- dumped synctool_core for synctool_overlay, which has much cleaner code
and supports having multiple overlay dirs, which are merged together
in memory
- .post scripts for directories are now run _in_ that directory rather than
in the parent dir. So the current working dir has changed
- .post scripts for directories are run at the very end after making changes
to all files. This shouldn't break anything unless you have (weird)
dependancies over multiple directories with .post scripts
- fixed possible bug for on_update where quotation was lost for the command
- added new config parameters for overlaydir, deletedir, tasksdir, scriptdir
- added new config parameter require_extension (default: yes)
- added new config parameter backup_copies (default: yes)
- added new config parameter full_path (default: no)
- full_path can be set from cmdline using -F and/or --fullpath
- $masterdir can be used in the config file to reference parameter 'masterdir'
- synctool-ssh/dsh now has option '-o' for passing additional options to ssh
- possible bugfix for symlink mode on platforms where it matters
- added documentation in html format
- upload creates the repository (sub)directory if needed
17 April 2011:
- use '-e' to erase .saved files: patch by Werner Maier
- added the synctool-ping / dsh-ping command
14 March 2011:
- fixed bug when ignoring files by name were not being ignored
reported by Werner Maier
- dsh and dcp now accept option -q, --quiet, but these are
ignored and do not really trim down the output
- released as version 4.7.1
22 December 2010:
- release as version 4.7
13 November 2010:
- added contributed synctool-diff script by Onno Zweers
9 November 2010:
- guard against common but dangerous typo's on command-line
like "-diff" instead of "--diff"
23 Sep 2010:
- bugfix: issue with dsh and --aggregate
17 Sep 2010:
- fixed typo in variable name for catching a Broken Pipe exception
14 Sep 2010:
- strip multiple slashes of filenames given on the command-line
11 Sep 2010:
- use subprocess.Popen() rather than os.popen() / os.system()
if the subprocess module is available
6 Sep 2010:
- Tim Dittler contributed a bash_completion file
12 Aug 2010:
- synctool_master do not print python stack trace for perfectly normal
conditions like 'Broken pipe', 'Keyboard Interrupt'
9 Aug 2010:
- removed usage of Python class "set" since older Pythons do not have it
6 Aug 2010:
- put 'binaries' under $masterdir/sbin/ so that clients automatically
receive up to date synctool with every run (!)
28 Jul 2010:
- released version 4.6.1 (bugfixes)
25 Jul 2010:
- bugfix for not running .post scripts on directories when a subdirectory
also had a .post script ready to run. Fix contributed by Charles Lane
- option --single allows trailing slash on argument for directories
15 Jul 2010:
- added contributed debian control files needed for making .deb packages
14 Jul 2010:
- release version 4.6
10 Jul 2010:
- groups 'all' and 'none' are now built-in
9 Jul 2010:
- bugfix: it's OK when a node is no group at all
7 Jul 2010:
- check getopt extra arguments: Python getopt is not the GNU getopt
- added new config keyword 'group' for defining compound groups
31 May 2010:
- improved upload: it finds the most optimal reference file if it exists
(still minor issue with typed subdirs and non-existent target file)
28 May 2010:
- print message when no valid nodes are given in nodeset
- synctool-config -l[f] was broken, now fixed
23 Feb 2010:
- option '--download' does an md5 checksum of the downloaded file
- release version 4.5
29 Jan 2010:
- added new option '--check-update' to check for newer versions
- added new option '--version' to display current version number
- added new option '--download' to download the latest version
- added new options '--upload' and '--suffix' for pulling files into the
repository
- bugfix for issues with buffered I/O in synctool_master/aggr/ssh
26 Jan 2010:
- bugfix: '--single' did not work for directories
- added new option '--ref' to show what file synctool uses from the repository
22 Jan 2010:
- bugfix for configurations where the master node is being managed with
synctool as well
- released as 4.4
9 Oct 2009:
- enhancement: better handling of filenames containing spaces for dsh and dcp
- enhancement: added -a option to dsh
- enhancement: added -v option to synctool-config
- enhancement: added --prefix to synctool-config
- bugfix: since version 4 it would not detect changes on directory entries
- bugfix: since version 4 it would not run on_update / .post scripts
for updated directories
- bugfix: --single did not trigger an update in the directory
- enhancement: when running .post scripts or on_update commands,
change the working directory to the relevant directory
- bugfix: diff flushes the output buffer so that the lines do not get mixed up
when using synctool_master
- bugfix: option --unix did not behave well in all cases
- bugfix: locally run commands also produce output with nodename in front
- enhancement: better support for tiered setups via option --no-nodename
- code cleanup: use True/False
- contrib: synctool-upgradechk script checks for availability of new release
- enhancement: central logging at master node
- enhancement: specify logfile in synctool.conf, "--log" is deprecated
- released as 4.3
5 Sep 2009:
- added synctool-scp or dcp command to easily copy files to all nodes
using scp
- released as 4.2
31 Aug 2009:
- small bugfix: chown+chmod required two update runs, now done in the same
run
- small bugfix: the order of the output messages would be incorrect when
running an external command. The fix is to flush output before running
an external command
- released as 4.1
26 Aug 2009:
- synctool_master.py replaces wrapper scripts
- synctool-config helps creation of handy scripts
- level of parallelism is configurable through 'numproc' setting
- included synctool-ssh or 'dsh' command
- synctool and dsh can be run on a subset of groups or even on
individual nodes
- output can be condensed by using synctool-aggr or '-a' option
- on_update actions can also be put into '.post' scripts
- fully rewritten internals of treewalk and file selection mechanism
- released as 4.0
12 Sep 2008:
- files must have underscored group extension
(NB. This breaks backwards compatibility!)
- directories can have group extensions, too
- release as 3.0
06 Feb 2007:
- fixed bug in path_isfile() ; it checked for a directory (!) rather than a file
- released as 2.3.0