When something breaks, the first question you ask is what changed?
Now you know.
- Java 1.6 (or above)
- Maven
1. Create a config file that defines the files / folders you wish to monitor for changes:
datadir: c:\myOSRecorderDB
notification:
- method: smtp
server: smtp.mymailserver.org
port: 25
sender: osRecorder@mymailserver.org
recipients: [me@mymailserver.org]
fileset:
- name: MyWatchlist
include:
- C:\myfiles\*
exclude:
- C:\myfiles\TOPSECRET\*
2. Run OSRecorder once to ensure your config was valid and the datadir (Basically OSRecorder's git repo) is created successfully:
$ java -jar OSRecorder.jar -v -c myconfig.yml
3. Schedule OSRecorder to run at your chosen interval (not every 5 seconds silly!).
Please do! Go on, don't be shy.
- Create an Issue that clearly describes:
- the problem you are trying to solve
- an outline of your proposed solution
- Wait a little while for any feedback
- Fork osRecorder into your very own GitHub repository
- Create a topic branch with a name corresponding to the issue number
from step 1 e.g #XXX:
$ git clone git@github.com/wave2/osrecorder.git my-osrecorder-repo$ cd my-osrecorder-repo$ git checkout -b osrecorder-XXX
- Commit your changes and include the issue number in your
commit message:
$ git commit -am "[#XXX] Added something cool"
- Push your changes to the branch:
$ git push origin osrecorder-XXX
- Send a Pull request including the issue number in the subject
Copyright © 2008-2012 Wave2 Limited. All rights reserved. Licensed under BSD License.