dss.git
11 years agostring.c: Include stdio instead of cmdline.h.
Andre Noll [Sat, 22 Mar 2008 14:19:27 +0000 (15:19 +0100)]
string.c: Include stdio instead of cmdline.h.

The string helper functions really should not depend on the
command line parser.

11 years agoAdd more source code documentation.
Andre Noll [Sat, 22 Mar 2008 14:06:12 +0000 (15:06 +0100)]
Add more source code documentation.

11 years agodss.c: Make functions and global variables static.
Andre Noll [Sat, 22 Mar 2008 13:43:32 +0000 (14:43 +0100)]
dss.c: Make functions and global variables static.

11 years agoMove snapshot helpers to new file snap.[ch].
Andre Noll [Sat, 22 Mar 2008 13:37:09 +0000 (14:37 +0100)]
Move snapshot helpers to new file snap.[ch].

11 years agoKill unused dss_error_txt.
Andre Noll [Sat, 22 Mar 2008 11:51:18 +0000 (12:51 +0100)]
Kill unused dss_error_txt.

11 years agoMove log_disk_space() to df.c.
Andre Noll [Sat, 22 Mar 2008 11:49:44 +0000 (12:49 +0100)]
Move log_disk_space() to df.c.

11 years agoKill struct edge_snapshot_data.
Andre Noll [Sat, 22 Mar 2008 11:45:28 +0000 (12:45 +0100)]
Kill struct edge_snapshot_data.

Just get the full snapshot list and take the last complete one instead.

11 years agoGet rid of make_err_msg() and log_err_msg().
Andre Noll [Sat, 22 Mar 2008 11:09:40 +0000 (12:09 +0100)]
Get rid of make_err_msg() and log_err_msg().

It's too error-prone to be useful.

11 years agoMakefile: use --detailed-help to produce the man page.
Andre Noll [Sat, 22 Mar 2008 10:01:52 +0000 (11:01 +0100)]
Makefile: use --detailed-help to produce the man page.

11 years agodss.c: Add some more documentation.
Andre Noll [Sat, 22 Mar 2008 10:00:21 +0000 (11:00 +0100)]
dss.c: Add some more documentation.

11 years agodss.ggo: Minor documentation improvements.
Andre Noll [Fri, 21 Mar 2008 22:59:20 +0000 (23:59 +0100)]
dss.ggo: Minor documentation improvements.

11 years agoImplement pre-create and post-create hooks.
Andre Noll [Fri, 21 Mar 2008 22:17:09 +0000 (23:17 +0100)]
Implement pre-create and post-create hooks.

11 years agoFix wait_pro_process().
Andre Noll [Fri, 21 Mar 2008 12:42:02 +0000 (13:42 +0100)]
Fix wait_pro_process().

The old code was racy.

11 years agoDon't check for required options when parsing the command line.
Andre Noll [Fri, 21 Mar 2008 12:19:32 +0000 (13:19 +0100)]
Don't check for required options when parsing the command line.

We want to be able to specify required options in the config file.

11 years agoMerge commit 'remotes/meins/master'
Andre Noll [Thu, 20 Mar 2008 10:35:39 +0000 (11:35 +0100)]
Merge commit 'remotes/meins/master'

Conflicts:

dss.ggo

11 years agodss.ggo: Clarify --daemon help text.
Andre Noll [Thu, 20 Mar 2008 10:34:19 +0000 (11:34 +0100)]
dss.ggo: Clarify --daemon help text.

It _is_ possible to use --daemon also for commands
different from -R.

11 years agoImplement SIGHUP handling.
Andre Noll [Wed, 19 Mar 2008 23:36:44 +0000 (00:36 +0100)]
Implement SIGHUP handling.

11 years agodss.ggo: Fix a typo.
Andre Noll [Wed, 19 Mar 2008 23:36:09 +0000 (00:36 +0100)]
dss.ggo: Fix a typo.

11 years agofix some typos in the documentation, make some options more clear
Sebastian Stark [Wed, 19 Mar 2008 10:32:59 +0000 (11:32 +0100)]
fix some typos in the documentation, make some options more clear

11 years agodss-0.0.3. v0.0.3
Andre Noll [Tue, 18 Mar 2008 23:37:49 +0000 (00:37 +0100)]
dss-0.0.3.

11 years agoREADME: Match reality: There's no more daemon command.
Andre Noll [Tue, 18 Mar 2008 23:37:29 +0000 (00:37 +0100)]
README: Match reality: There's no more daemon command.

11 years agodss.c: Various small improvements and fixes.
Andre Noll [Tue, 18 Mar 2008 23:34:14 +0000 (00:34 +0100)]
dss.c: Various small improvements and fixes.

11 years agoMakefile: Use -include instead of include.
Andre Noll [Tue, 18 Mar 2008 23:16:38 +0000 (00:16 +0100)]
Makefile: Use -include instead of include.

This gets rid of the warning that make spits out if Makefile.deps
does not exist.

11 years agoMakefile: Get rid of the unnamed opts.
Andre Noll [Tue, 18 Mar 2008 22:59:26 +0000 (23:59 +0100)]
Makefile: Get rid of the unnamed opts.

11 years agodss.ggo: Add more documentation, and reformat help text.
Andre Noll [Tue, 18 Mar 2008 22:59:01 +0000 (23:59 +0100)]
dss.ggo: Add more documentation, and reformat help text.

11 years agoFix a couple of bugs and start creating snapshots in the select loop.
Andre Noll [Tue, 18 Mar 2008 22:57:50 +0000 (23:57 +0100)]
Fix a couple of bugs and start creating snapshots in the select loop.

11 years agoImplement the run command.
Andre Noll [Tue, 18 Mar 2008 17:59:25 +0000 (18:59 +0100)]
Implement the run command.

11 years agoBump version to 0.0.2. v0.0.2
Andre Noll [Mon, 17 Mar 2008 09:29:03 +0000 (10:29 +0100)]
Bump version to 0.0.2.

Much better than 0.0.1 but still many features missing, most notably
the "run" command is still non-functional.

11 years agoAdd .gitignore.
Andre Noll [Sun, 16 Mar 2008 21:54:47 +0000 (22:54 +0100)]
Add .gitignore.

11 years agoAdd fd.c and ds.h: functions for computing free disk space.
Andre Noll [Sun, 16 Mar 2008 21:49:50 +0000 (22:49 +0100)]
Add fd.c and ds.h: functions for computing free disk space.

11 years agoImplement signal handling.
Andre Noll [Sun, 16 Mar 2008 19:37:46 +0000 (20:37 +0100)]
Implement signal handling.

11 years agoFix and improve dry run handling.
Andre Noll [Sun, 16 Mar 2008 17:15:11 +0000 (18:15 +0100)]
Fix and improve dry run handling.

With this change, the dry-run option becomes global,
i.e. each command can support this option.

Change the create command such that it prints out the
rsync command it would execute if --dry_run was given.

11 years agoImplement logfile and daemon mode.
Andre Noll [Sun, 16 Mar 2008 16:49:38 +0000 (17:49 +0100)]
Implement logfile and daemon mode.

11 years agoCommand handlers don't need to take any arguments.
Andre Noll [Sun, 16 Mar 2008 16:13:12 +0000 (17:13 +0100)]
Command handlers don't need to take any arguments.

11 years agoGet rid of E_INVALID_COMMAND.
Andre Noll [Sun, 16 Mar 2008 16:07:26 +0000 (17:07 +0100)]
Get rid of E_INVALID_COMMAND.

11 years agodss.c: Fix check for number of non-options.
Andre Noll [Sun, 16 Mar 2008 16:05:01 +0000 (17:05 +0100)]
dss.c: Fix check for number of non-options.

With group options, it's a syntax error to specify any non-options.

11 years agodss.ggo: Reorder options and help text.
Andre Noll [Sun, 16 Mar 2008 16:00:40 +0000 (17:00 +0100)]
dss.ggo: Reorder options and help text.

11 years agoSwitch to gengetopt's group options and add more documentation.
Andre Noll [Sun, 16 Mar 2008 15:38:40 +0000 (16:38 +0100)]
Switch to gengetopt's group options and add more documentation.

11 years agodss.ggo: Change "text" to "details".
Andre Noll [Sun, 16 Mar 2008 13:54:03 +0000 (14:54 +0100)]
dss.ggo: Change "text" to "details".

This instructs gengetopt to generate also the --detailed-help
option, which is nice.

11 years agoInitial git checkin.
Andre Noll [Tue, 11 Mar 2008 20:00:54 +0000 (21:00 +0100)]
Initial git checkin.

Dyadic intervals are so harmonic. Do you feel it?