-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangelog
264 lines (158 loc) · 6.05 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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
@ Tue Apr 12 21:31:31 EEST 2011
Plz notice that this is the last version in python2
The next version of piryncd would be only in python3
Pyinotify.py updated to 0.9.1 (20110405)
Added ssh port parameter for synchronize of ssh
(Feature request by Fred Warren)
Removed trailing slash (/) requirement for source & destination path
Added Pyinotify.py version3 for pirsyncd.Py3k
@Wed Sep 8 20:45:52 EEST 2010
OptionParser epilog changed to description
Rsync + pyinotify exclude pattern has been added
@Tue Sep 7 20:18:26 EEST 2010
Pyinotify has been updated in version 0.9.0 (20100604)
Rsync option "--safe-links" has been added
@Wed Aug 4 14:31:48 EEST 2010
Rename PIrsyncD to pirsyncd
Print banner at start (version)
Rename PIrsyncD.v3 to pirsyncd.Py3k (for python version 3)
Added epilogue (short description) at -h (or --help)
@Sat Jul 24 12:27:28 EEST 2010
Rewrite code for duplicate inode events, using python dictionary
Added option to run PIryncD in foreground
Added code for mirroring in first run, without looking inode events.
Scoring 7.35 with pylint (better code styling)
Redifind global variables (errors may occured, plz notify me).
@Fri Mar 26 00:29:25 EET 2010
Added Counter variable for inode events (not from command line)
Added code to disable duplicate inode events
@Wed Mar 17 18:17:21 EET 2010
Added Python version 3 based PIrsyncD file: PIrsyncD.v3
Fixing Python Code Styling using pylint (score 7.09)
Small code fixes
@Wed Mar 10 18:47:15 EET 2010
Added functionality to run multiple instances of PIrsyncD
Based on Jeff Templon & Jan Just Keijser's patch
Better examples
Better usage message
@Thu Mar 4 23:12:16 EET 2010
Added python regular expression module (import re),
for argument validation.
Added functionality to rsync over a destination rsync server
Based on Jeff Templon's patch
(Suggested by Jeff Templon <templon AT nikhef DOT nl>)
Fallback solution if rsync functionality is failed
Better examples
Better usage message
Changed --host argument from IP value to hostname
TODO file Reviewed
Main program is now 285 lines of actul code always on a KISS philosophy
@Fri Feb 19 12:40:40 EET 2010
Added variable to define the rsync version (parameter: --rsync_v2)
(Suggestion by Jeff Templon <templon AT nikhef DOT nl>)
Rewrite of INSTALL file.
@Mon Feb 15 21:20:22 EET 2010
Disabling Checking Destination Directory when --host is set
Add rsync append functionality
Better examples
(Suggestions by Jeff Templon <templon AT nikhef DOT nl>)
@Sat Jan 2 18:57:32 EET 2010
Added Disable Logging/Debugging Functionality with
./PIrsyncD --nolog &
./PIrsyncD --nodebug
Better debugging information (pyinotify events, rsync command)
@Wed Dec 30 22:52:49 EET 2009
Added Debug Logging Functionality
(this is extremely useful for debugging pyinotify events)
default file: /tmp/.PIrsyncDebug
try --help to see more
Added Automatically Learning/Watching functionality for better recursive
synchronization process
@Sun Nov 15 18:30:45 EET 2009
Add Max-Size & Min-Size exclude functionality
Remove Usage Examples from --help
Add --examples for Usage Examples
minor code fixes
@Sat Nov 14 20:02:36 EET 2009
update pyinotify.py to latest stable version 0.8.8 (02-Nov-2009)
Add rsync partial functionality
@Wed Sep 2 08:07:28 EEST 2009
update pyinotify.py to latest git version
Add rsync log ability. Very usefull to monitor the rsync process.
Change rsync arguments: " -azqx --delete-after"
@Sun Aug 23 17:19:06 PDT 2009
This version has a lot of changes and a lot of code rewrites.
You should try this: ./PIrsyncD -h
Change command line arguments parsing from getopt to optparse
Better examples
Better usage
Better help
Check host argument to a valid IP adress (socket module)
Add functionality to stop PIrsyncD
Add functionality to check if PIrsyncD is running
Better exceptions messages (error handling)
Define rsync command before mirroring
@Tue Aug 18 16:29:03 EEST 2009
Add host argument (--host) to rsync over a destination server
(needs passwordless connection)
Better examples with --help
define rsync command after parsing arguments
@Fri Jul 24 12:13:25 EEST 2009
The list of inotify events on current version is this:
IN_ATTRIB
IN_CLOSE_WRITE
IN_CREATE
IN_DELETE
IN_MODIFY
IN_MOVED_TO
IN_MOVED_FROM
IN_DELETE_SELF
From this version, PIrsyncD can hanlde options and arguments.
The -s & -d bypass the default values
Add Usage function
PIrsyncD [ -s <source> ] [ -d <destination> ] [ -h <help> ] [ -v <version> ]
-h --help This is the only help you can get!
-s --source This is the source (watched) directory,
(default value: /tmp/data/).
-d --destination This is the destination (to sync) directory,
(default value: /tmp/data2/).
-v --version Print version and exit
examples:
./PIrsyncD -h
./PIrsyncD -v
./PIrsyncD
./PIrsyncD -s /tmp/data -d /tmp/data2
@Wed Jul 15 10:43:50 EEST 2009
With the use of subprocess module there is no need of the
locking mechanism to avoid multiple rsyncs.
The inotify events are simple queue to a kernel stack
and then rsync just sychronize the directories just with the diffs.
Add IN_ATTRIB inotify event
Change the default delay from 1sec to 0sec
@Tue Jul 14 23:17:11 EEST 2009
Check for pyinotify module at start
Inotify Events:
IN_CLOSE_WRITE
IN_CREATE
IN_DELETE
IN_MODIFY
IN_MOVED_FROM
IN_MOVED_TO
Change os.system command with subprocess module
Add an exception when rsync command fails
Change the default delay from 5sec to 1sec
@Tue Jul 14 16:26:20 EEST 2009
Rsync directories at the begging of PIrsyncD
Remove lockfile when PIrsyncD starts (maybe PIrsyncD crashed or killed)
Add IN_DELETE inotify to events
Add an expection for add.watch
Add a variable (freq) for delay reading inotify events
@Mon Jul 13 22:53:18 EEST 2009
Add IN_CREATE along with IN_CLOSE_WRITE events as triggers
Improve failsafe mechanism to avoid multiple rsync threads
@Mon Jul 13 20:56:04 EEST 2009
Configuration check
@Mon Jul 13 12:03:09 EEST 2009
Failsafe locking mechanism to avoid multiple rsync
@Sun Jul 12 22:49:43 EEST 2009
Python Inotify Rsync Daemon