Evaggelos Balaskas's logs

My 127.0.0.1 on the web

PIrsyncD new version: 20100724

PIrsyncD stands for: Python Inotify Rsync Daemon.

Description:
This is an attempt of writing a daemon to watch a directory for kernel’s inotify events and then execute an rsync command to synchronize two different directories (local or remote). This is a poor man’s mirroring or an alternative (not so) real data replication mechanism and it is based on Pyinotify.

PIrsyncD

A lot of changes over the past couple releases

From ChangeLog:

  • 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).

plz try ./PIrsyncD –help to see more

Get the latest version of PIrsyncD v20100724

Add a comment(60 views)




python code styling

Κατά το οπενfest είχα την τύχη να γνωρίσω τα παιδιά του tas python. Έτσι λοιπόν και μετά το σχόλιο του Λεβεντέας Δημήτρης ότι γράφω “καλό” κώδικα, μου υπέδειξε και μου διευκρίνισε μερικά πράγματα γύρω από το python code styling. (φίλε σε ευχαριστώ πολύ για τις παρατηρήσεις σου). Με αρκετή υπομονή και την χρήση του pylint ξεκίνησα λοιπόν να βελτιώνω την εικόνα του κώδικα του PIrsyncD. Άλλες 46 γραμμές λοιπόν προστέθηκαν ώστε πλέον να είμαστε στις 434 γραμμές (από 17 γραμμές που είχε η πρώτη έκδοση!) στην έκδοση: 20100317

1 comment(295 views)




PIrsyncD new version: 20100310

PIrsyncD stands for: Python Inotify Rsync Daemon.

Description:
This is an attempt of writing a daemon to watch a directory for kernel’s inotify events and then execute an rsync command to synchronize two different directories (local or remote). This is a poor man’s mirroring or an alternative (not so) real data replication mechanism and it is based on Pyinotify.

PIrsyncD

A lot of changes over the past couple releases

From ChangeLog:

  • Added functionality to run multiple instances of PIrsyncD (Based on Jeff Templon & Jan Just Keijser’s patch)
  • Added functionality to rsync over a destination rsync server (Based on Jeff Templon & Jan Just Keijser’s patch)
  • Added python regular expression module (import re), for argument validation.
  • Fallback solution if rsync functionality is failed
  • Changed –host argument from IP value to hostname
  • TODO file Reviewed
  • Better examples
  • Better usage message

Thanks Jeff Templon < templon AT nikhef DOT nl > and Jan Just Keijser < janjust AT nikhef DOT nl > for your feedback on PIrsyncD.

plz try ./PIrsyncD –help to see more

Get the latest version of PIrsyncD v20100310

Add a comment(255 views)




PIrsyncD new version: 20100219

PIrsyncD stands for: Python Inotify Rsync Daemon.

Description:
This is an attempt of writing a daemon to watch a directory for kernel’s inotify events and then execute an rsync command to synchronize two different directories (local or remote). This is a poor man’s mirroring or an alternative (not so) real data replication mechanism and it is based on Pyinotify.

PIrsyncD

From ChangeLog:

  • Added variable to define the rsync version (parameter: –rsync_v2)
  • Rewrite of INSTALL file (to meet better the minimal requirements)
  • Checking of the destination directory is now disabled when –host is set.
  • rsync append functionality was added.
  • Better examples were provided.

All the above were suggested by Jeff Templon < templon AT nikhef DOT nl >
Thanks Jeff for your feedback on PIrsyncD.

plz try ./PIrsyncD –help to see more

Get the latest version of PIrsyncD v20100219

Add a comment(278 views)




PIrsyncD new version: 20100102

PIrsyncD

From ChangeLog:

  • This release adds the ability to Disable Logging and Debbuging functionality
  • Also has better debugging information (pyinotify events and rsync command)

plz try ./PIrsyncD –help to see more

Get the latest version of PIrsyncD v20100102

btw: BitBucket rocks!!!

Add a comment(281 views)




Valid XHTML 1.0 Transitional