monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone: ff2479d5335244db41908629a1


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: ff2479d5335244db41908629a1f8b28247294519
Date: Fri, 18 Feb 2011 20:54:40 +0100 (CET)

revision:            ff2479d5335244db41908629a1f8b28247294519
date:                2011-02-15T07:07:34
author:              Richard Levitte <address@hidden>
branch:              net.venge.monotone
changelog:
* extra/README: New file, documenting the extra/ directory.  Some of the
  documentation was moved from ...
* contrib/README: ... here.

manifest:
format_version "1"

new_manifest [df1c1f2ee886b3b1a0ca36ebb031684c4d5c9f26]

old_revision [909ad7b8486d79eb97462a1918a42867cb0b56a0]

add_file "extra/README"
 content [956a47ac0801770b80fb73d8ec3b8d9757c6da46]

patch "contrib/README"
 from [ae0c22f6e14507960ff42ab224de495e0bec3675]
   to [58de9aa4c8ce37943b2f04248472937090a687f8]
============================================================
--- contrib/README	ae0c22f6e14507960ff42ab224de495e0bec3675
+++ contrib/README	58de9aa4c8ce37943b2f04248472937090a687f8
@@ -6,7 +6,6 @@ See individual files for licenses.
 
 See individual files for licenses.
 
-  -- monotone.bash_completion: command line completion code for bash.
   -- monotone.zsh_completion: command line completion code for zsh.
 
   -- monotone.el, monotone-nav.el: An Emacs interface.
@@ -25,10 +24,6 @@ See individual files for licenses.
      For a manual, do `perl Notify.pl --man'.
      To get a help text, do `perl Notify.pl --help'.
 
-  -- mtn-cleanup: A Perl script for returning a workspace to its pristine state
-     with the minimum of change (i.e. missing files are restored, changed files
-     are reverted and new files are removed).
-
   -- Monotone.pm: A Perl module to access a 'mtn automate stdio' subprocess.
 
   -- monoprof.sh: A simple monotone profiling script.
@@ -67,14 +62,6 @@ See individual files for licenses.
      command sequences.  The lua code should be copied to a monotonerc file
      for use.
 
-  -- monotone-mail-notify.lua: a mail notification script which offers an
-     individual per-branch recipient configuration with a syntax similar
-     to the one found in ~/.monotone/read-permissions.
-     It writes out details of each revision received to files which are then
-     picked up by the monotone-mail-notify.sh script which requires bash,
-     source-highlight and mime-construct to build nicely structured emails
-     with summaries of the revision and its diffs.
-
   -- ciabot_monotone_hookversion.lua / ciabot_monotone_hookversion.py:
      Two scripts that work together to send commit notifications to
      http://CIA.cv/.  The main configuration is done in the file
@@ -89,22 +76,3 @@ See individual files for licenses.
      notifiers.  After a pull, it will display what branches are being
      filled with new revisions, and how many.  Easy to include from your
      monotonerc.
-
-  -- dump-test-logs.sh: Dump the detailed logs for all tests with an
-     unexpected outcome to stdout.  This is intended for use in super-
-     automated build environments, e.g. the Debian build daemons, where
-     the easiest way to recover detailed test logs for a failed build
-     is to embed them in the overall 'make' output.  Run, with no
-     arguments, from the top level of a monotone build tree.
-
-  -- get_passphrase_from_file.lua: This creates a version of the function
-     get_passphrase() that reads passphrases from a file in the monotone
-     configuration directory called "passphrases".  This is useful for
-     automated startup of servers.
-
-  -- authorize_remote_automate.lua: This is a server hook to authenticate
-     remote automate operations, either by matching a key identity with
-     patterns in the file remote-automate-permissions, or matching the
-     command with a configured list of safe remote automate commands
-     (configured through the variable ARA_safe_commands, which can be set
-     up anywhere before this hook is loaded).
============================================================
--- /dev/null	
+++ extra/README	956a47ac0801770b80fb73d8ec3b8d9757c6da46
@@ -0,0 +1,68 @@
+This directory has all kinds of extra scripts, lua hooks and whatnot.
+They are all shown to work with the help of tests in $TOP/test/extra.
+
+The files are divided in subdirectories:
+
+- bin/
+  These are scripts that are used together with mtn.  They should be
+  installed in a directory bin/ (usually /usr/bin or /usr/local/bin).
+- building/
+  These are scripts and other files that can be used while building
+  monotone, for example for packaging.  These should really not be
+  installed anywhere, just distributed with the rest of the source.
+- shell/
+  Special scripts to be used by different shells, such as completion
+  packages.
+- mtn-hooks/
+  Lua hooks to be used from monotone.  Typically, you can add the
+  following two lines to your 'monotonerc' and then have a selection
+  of these hooks in the directory 'hooks.d' under your configuration
+  directory:
+
+	includedirpattern(get_confdir() .. "/hooks.d","*.conf")
+	includedirpattern(get_confdir() .. "/hooks.d","*.lua")
+
+Some files have extra documentation here:
+
+- bin/mtn-cleanup: A Perl script for returning a workspace to its
+  pristine state with the minimum of change (i.e. missing files are
+  restored, changed files are reverted and new files are removed).
+
+- building/dump-test-logs.sh: Dump the detailed logs for all tests
+  with an unexpected outcome to stdout.  This is intended for use in
+  super-automated build environments, e.g. the Debian build daemons,
+  where the easiest way to recover detailed test logs for a failed
+  build is to embed them in the overall 'make' output.  Run, with no
+  arguments, from the top level of a monotone build tree.
+
+- mtn-hooks/authorize_remote_automate.lua: This is a server hook to
+  authenticate remote automate operations, either by matching a key
+  identity with patterns in the file remote-automate-permissions, or
+  matching the command with a configured list of safe remote automate
+  commands (configured through the variable ARA_safe_commands, which
+  can be set up anywhere before this hook is loaded).
+
+- mtn-hooks/get_passphrase_from_file.lua: This creates a version of
+  the function get_passphrase() that reads passphrases from a file in
+  the monotone configuration directory called "passphrases".  This is
+  useful for automated startup of servers.
+
+- mtn-hooks/monotone-mail-notify.lua: a mail notification script which
+  offers an individual per-branch recipient configuration with a
+  syntax similar to the one found in ~/.monotone/read-permissions.  It
+  writes out details of each revision received to files which are then
+  picked up by the script monotone-mail-notify which requires bash,
+  source-highlight and mime-construct to build nicely structured
+  emails with summaries of the revision and its diffs.
+
+- shell/monotone.bash_completion.in: command line completion code for
+  bash.  It's not complete in itself, but the following creates a
+  correct bash completion file for your current monotone (this is
+  what's done with make):
+
+	( sed -e '/address@hidden@]$/,$d' \
+	      < monotone.bash_completion.in
+	  perl monotone_gen_bash_completion_table.pl
+	  sed -e '1,/address@hidden@]$/d' \
+	      < monotone.bash_completion.in
+	) > monotone.bash_completion

reply via email to

[Prev in Thread] Current Thread [Next in Thread]