goaljobs.git
11 years agoVersion 0.2.
Richard W.M. Jones [Wed, 9 Oct 2013 12:08:10 +0000 (13:08 +0100)]
Version 0.2.

11 years agoUpdate TODO.
Richard W.M. Jones [Wed, 9 Oct 2013 12:07:40 +0000 (13:07 +0100)]
Update TODO.

11 years agodocs: Document how to use onrun + memory_set.
Richard W.M. Jones [Wed, 9 Oct 2013 12:07:31 +0000 (13:07 +0100)]
docs: Document how to use onrun + memory_set.

11 years agoRemove NOTES file, no longer up to date.
Richard W.M. Jones [Wed, 9 Oct 2013 12:07:10 +0000 (13:07 +0100)]
Remove NOTES file, no longer up to date.

11 years agodebug: Print the name of goals that run, and goals required.
Richard W.M. Jones [Tue, 8 Oct 2013 18:03:33 +0000 (19:03 +0100)]
debug: Print the name of goals that run, and goals required.

11 years agoFix comment.
Richard W.M. Jones [Tue, 8 Oct 2013 17:43:28 +0000 (18:43 +0100)]
Fix comment.

11 years agogoaljobs: Forgot to close the .goaljobs-memory file!
Richard W.M. Jones [Mon, 7 Oct 2013 10:39:49 +0000 (11:39 +0100)]
goaljobs: Forgot to close the .goaljobs-memory file!

11 years agomailx: Fix missing to address on command line.
Richard W.M. Jones [Fri, 4 Oct 2013 07:29:14 +0000 (08:29 +0100)]
mailx: Fix missing to address on command line.

11 years agogoaljobs_config: Fix typo @MAILX -> @MAILX@.
Richard W.M. Jones [Thu, 26 Sep 2013 21:37:03 +0000 (22:37 +0100)]
goaljobs_config: Fix typo @MAILX -> @MAILX@.

11 years agoImplement goalloc.
Richard W.M. Jones [Thu, 26 Sep 2013 13:40:33 +0000 (14:40 +0100)]
Implement goalloc.

11 years agoImplement: onfail, onsuccess, onrun, log_program_output, mailto.
Richard W.M. Jones [Thu, 26 Sep 2013 13:33:54 +0000 (14:33 +0100)]
Implement: onfail, onsuccess, onrun, log_program_output, mailto.

These allow comprehensive error handling and logging.

11 years agogoaljobs: sh: ~tmpdir default should be true not false.
Richard W.M. Jones [Mon, 23 Sep 2013 17:46:09 +0000 (18:46 +0100)]
goaljobs: sh: ~tmpdir default should be true not false.

11 years agobuild: Add rules for building text version of manual page.
Richard W.M. Jones [Sat, 21 Sep 2013 11:30:43 +0000 (12:30 +0100)]
build: Add rules for building text version of manual page.

11 years agoFix spec file.
Richard W.M. Jones [Fri, 20 Sep 2013 16:17:40 +0000 (17:17 +0100)]
Fix spec file.

11 years agoLots of documentation.
Richard W.M. Jones [Fri, 20 Sep 2013 16:12:35 +0000 (17:12 +0100)]
Lots of documentation.

11 years agosh: Add optional ?tmpdir parameter to control tmpdir creation.
Richard W.M. Jones [Fri, 20 Sep 2013 14:01:14 +0000 (15:01 +0100)]
sh: Add optional ?tmpdir parameter to control tmpdir creation.

11 years agoGenerate ocamldoc, multiple documentation fixes.
Richard W.M. Jones [Fri, 20 Sep 2013 14:00:56 +0000 (15:00 +0100)]
Generate ocamldoc, multiple documentation fixes.

11 years agoUpdate TODO.
Richard W.M. Jones [Fri, 20 Sep 2013 13:19:28 +0000 (14:19 +0100)]
Update TODO.

11 years agoshout/shlines: Echo the output from these commands as it happens.
Richard W.M. Jones [Fri, 20 Sep 2013 13:19:09 +0000 (14:19 +0100)]
shout/shlines: Echo the output from these commands as it happens.

11 years agoUpdate TODO.
Richard W.M. Jones [Thu, 19 Sep 2013 09:22:08 +0000 (10:22 +0100)]
Update TODO.

11 years agogoaljobs: Allow --package to specify OCaml packages.
Richard W.M. Jones [Thu, 19 Sep 2013 09:21:51 +0000 (10:21 +0100)]
goaljobs: Allow --package to specify OCaml packages.

11 years agoPass a suspension to 'require'.
Richard W.M. Jones [Wed, 18 Sep 2013 15:21:26 +0000 (16:21 +0100)]
Pass a suspension to 'require'.

11 years agoFix curl return codes.
Richard W.M. Jones [Wed, 18 Sep 2013 10:20:52 +0000 (11:20 +0100)]
Fix curl return codes.

11 years agoRun all periodic jobs scheduled at the same time in series.
Richard W.M. Jones [Tue, 17 Sep 2013 22:30:18 +0000 (23:30 +0100)]
Run all periodic jobs scheduled at the same time in series.

11 years agoOn goal failure, exit with correct error message and error code.
Richard W.M. Jones [Tue, 17 Sep 2013 17:15:24 +0000 (18:15 +0100)]
On goal failure, exit with correct error message and error code.

11 years agoImplement 'directory_exists' function.
Richard W.M. Jones [Tue, 17 Sep 2013 17:15:06 +0000 (18:15 +0100)]
Implement 'directory_exists' function.

11 years agoThe Memory: Don't create empty file on first write.
Richard W.M. Jones [Tue, 17 Sep 2013 17:14:27 +0000 (18:14 +0100)]
The Memory: Don't create empty file on first write.

This would cause all writes to fail the first time.

11 years agogoaljobs: Remove temporary files properly.
Richard W.M. Jones [Tue, 17 Sep 2013 17:14:03 +0000 (18:14 +0100)]
goaljobs: Remove temporary files properly.

11 years agoAdd periodic jobs using 'every' keyword.
Richard W.M. Jones [Tue, 17 Sep 2013 17:13:43 +0000 (18:13 +0100)]
Add periodic jobs using 'every' keyword.

11 years ago-l/--goals option should exit after listing goals.
Richard W.M. Jones [Tue, 17 Sep 2013 11:31:59 +0000 (12:31 +0100)]
-l/--goals option should exit after listing goals.

11 years agoexample: Remove code which is now implicitly generated.
Richard W.M. Jones [Tue, 17 Sep 2013 11:31:17 +0000 (12:31 +0100)]
example: Remove code which is now implicitly generated.

11 years agoImplement persistent Memory.
Richard W.M. Jones [Tue, 17 Sep 2013 11:17:23 +0000 (12:17 +0100)]
Implement persistent Memory.

11 years agoRun sh/shout/shlines in a temporary directory.
Richard W.M. Jones [Tue, 17 Sep 2013 11:17:03 +0000 (12:17 +0100)]
Run sh/shout/shlines in a temporary directory.

11 years agoconfigure: Add quotes in error message.
Richard W.M. Jones [Tue, 17 Sep 2013 11:16:36 +0000 (12:16 +0100)]
configure: Add quotes in error message.

11 years agoImplement // and quote.
Richard W.M. Jones [Tue, 17 Sep 2013 11:16:14 +0000 (12:16 +0100)]
Implement // and quote.

These are just wrappers around Filename functions from the stdlib.

11 years agoImplement url_exists, file_contains_string, url_contains_string.
Richard W.M. Jones [Tue, 17 Sep 2013 11:15:23 +0000 (12:15 +0100)]
Implement url_exists, file_contains_string, url_contains_string.

The URL functions use the external 'curl' program.

11 years agoRename config.ml -> goaljobs_config.ml to avoid conflicting module names.
Richard W.M. Jones [Tue, 17 Sep 2013 11:13:32 +0000 (12:13 +0100)]
Rename config.ml -> goaljobs_config.ml to avoid conflicting module names.

It would be useful to allow user scripts to use the module
name 'Config'.

11 years agoCommand line parsing, the concept of publishing goals.
Richard W.M. Jones [Mon, 16 Sep 2013 17:38:14 +0000 (18:38 +0100)]
Command line parsing, the concept of publishing goals.

11 years agoWrite 'goaljobs' script (wrapper around the compiler).
Richard W.M. Jones [Mon, 16 Sep 2013 15:20:52 +0000 (16:20 +0100)]
Write 'goaljobs' script (wrapper around the compiler).

11 years agoUpdate NOTES.
Richard W.M. Jones [Mon, 16 Sep 2013 14:46:43 +0000 (15:46 +0100)]
Update NOTES.

11 years agobuild: Get 'make install' working.
Richard W.M. Jones [Mon, 16 Sep 2013 13:36:20 +0000 (14:36 +0100)]
build: Get 'make install' working.

Add a spec file.

11 years agoexamples: Remove generated files when doing 'make clean'.
Richard W.M. Jones [Mon, 16 Sep 2013 13:12:17 +0000 (14:12 +0100)]
examples: Remove generated files when doing 'make clean'.

11 years agoAdd COPYING and README files.
Richard W.M. Jones [Mon, 16 Sep 2013 13:11:27 +0000 (14:11 +0100)]
Add COPYING and README files.

11 years agoFirst published version.
Richard W.M. Jones [Sun, 15 Sep 2013 20:39:12 +0000 (21:39 +0100)]
First published version.

11 years agoInitial revision.
Richard W.M. Jones [Sun, 15 Sep 2013 20:36:01 +0000 (21:36 +0100)]
Initial revision.