[Bps-public-commit] SD branch, master, updated. 0.70-55-gb3bf66e

Nelson Elhage nelhage at bestpractical.com
Wed Sep 9 23:03:01 EDT 2009


The branch, master has been updated
       via  b3bf66eadbcf68beee54b68a0dceb5e13d2ccf5f (commit)
       via  ac59d47435352183a8e7d6606f50677665b4d7f6 (commit)
      from  0d27c86dee4085b8340211f957ee67631e53b0e9 (commit)

Summary of changes:
 lib/App/SD/CLI/Command/Help/Aliases.pm |   16 +++++++++++++---
 lib/App/SD/CLI/Command/Help/Sync.pm    |    7 +++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit ac59d47435352183a8e7d6606f50677665b4d7f6
Author: Nelson Elhage <nelhage at mit.edu>
Date:   Wed Sep 9 22:43:37 2009 -0400

    Document new alias behavior in 'help aliases'
    
    Signed-off-by: Nelson Elhage <nelhage at mit.edu>

diff --git a/lib/App/SD/CLI/Command/Help/Aliases.pm b/lib/App/SD/CLI/Command/Help/Aliases.pm
index 308a6c5..d8dde3f 100644
--- a/lib/App/SD/CLI/Command/Help/Aliases.pm
+++ b/lib/App/SD/CLI/Command/Help/Aliases.pm
@@ -20,10 +20,20 @@ to you with the alias 'mine':
 
     mine = ticket list -- owner=you\@domain.com status !~closed|rejected
 
-To create aliases that take additional arguments, use the argument
-number prefixed with a '\$' to refer to them, like this:
+By default, any additional arguments to aliases are appended to the
+replacement text, so you can write something like
 
-    ts = ticket show \$1
+    alias tl = ticket list
+
+and
+
+    tl -- owner=you\@domain.com
+
+will work like you expect. In order to do more complicated things with
+arguemnts, you can use the number of an argument, prefixed by a '\$',
+like this:
+
+    ts = ticket show \$1 -s
 
 SD also provides a command for managing aliases: '${cmd}aliases'. If
 given no arguments, the aliases command will print the active aliases

commit b3bf66eadbcf68beee54b68a0dceb5e13d2ccf5f
Author: Nelson Elhage <nelhage at mit.edu>
Date:   Wed Sep 9 22:48:16 2009 -0400

    Document using x509 client certificates with trac.
    
    Signed-off-by: Nelson Elhage <nelhage at mit.edu>

diff --git a/lib/App/SD/CLI/Command/Help/Sync.pm b/lib/App/SD/CLI/Command/Help/Sync.pm
index 5e9fd82..0c18b7d 100644
--- a/lib/App/SD/CLI/Command/Help/Sync.pm
+++ b/lib/App/SD/CLI/Command/Help/Sync.pm
@@ -86,6 +86,13 @@ The RT server is specified as as rt:serveraddress|Queue|Query
 
     ${cmd}clone --from github:miyagawa/remedie
 
+SD uses LWP for HTTP access, so it supports any form of authentication
+LWP can use. For instance, you can push and pull from a remote trac
+that uses x509 client certificates by setting the HTTPS_CERT_FILE and
+HTTPS_KEY_FILE environment variables, and specifying an empty password
+when SD prompts you. For more information, see the documentation for
+LWP and Crypt::SSLeay.
+
 SD also supports naming replicas, so you can push, pull, and publish
 to short, human-friendly names instead of URLs. When a replica is
 initialized, cloned, or published, a [replica "name"] section is created in

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list