v3.6 -- with some nice new features

12 views
Skip to first unread message

Sitaram Chamarty

unread,
May 10, 2014, 10:33:29 PM5/10/14
to Gitolite Google Groups, gitolite...@googlegroups.com
Hi all,

I just pushed v3.6. (And Milki, I remembered to push the tag too!)

It contains a few interesting changes, the topmost among them being the
one announced in [1] (best viewed in monospace font). Briefly, it's
where the access command can be used to debug or trace rule matching in
case you're not sure why something failed or succeeded.

The only difference from that thread is that this is the default; you
don't have to do anything to the rc file to make this work.

[1]: https://groups.google.com/forum/#!topic/gitolite/mmD2cDEYqdU

There are more interesting changes from v3.5.3; for convenience, I'm
appending the CHANGELOG diff just below the signature line.

As Larry Wall used to say, "have the appropriate amount of fun".

--
sitaram

commit 522cc1fc1af530ef9c82e01d89f11022adf4b355
Author: Sitaram Chamarty <sit...@atc.tcs.com>
Date: Wed May 7 19:23:41 2014 +0530

v3.6

diff --git a/CHANGELOG b/CHANGELOG
index cf012fc..a89528d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,41 @@
+2014-05-09 v3.6 (cool stuff) the access command can now help you debug
+ your rules / understand how a specific access decision was
+ arrived at.
+
+ mirroring: since mirroring is asynchronous (by default
+ anyway), when a 'git push --mirror' fails, you may not
+ know it unless you look in the log file on the server.
+ Now gitolite captures the info and -- if the word 'fatal'
+ appears anywhere within it, it saves the entire output and
+ prints it to STDERR for anyone who reads or writes the
+ repo on the *master* server, until the error condition
+ clears up.
+
+ mirroring: allow 'nosync' slaves -- no attempt to
+ automatically push to these slaves will be made. Instead,
+ you have to manually (or via cron, etc) trigger pushes.
+
+ (backward compat breakage) the old v2 syntax for
+ specifying gitweb owner and description is no longer
+ supported.
+
+ macros now allow strings as arguments (thanks to Jason
+ Donenfeld for the idea/problem).
+
+ the 'info' command can print in JSON format if asked to.
+
+ repo-specific hooks: now you can specify more than one,
+ and gitolite runs all of them in sequence.
+
+ new trigger 'expand-deny-messages' to show more details
+ when access is denied.
+
+ git-annex support is finally in master, yaaay!
+
+ new 'readme' command, modelled after 'desc'. Apparently
+ gitweb can use a README.html file in the *bare* repo
+ directory -- who knew!
+
2013-10-14 v3.5.3 catch undefined groupnames (when possible)

mirroring: async push to slaves
Reply all
Reply to author
Forward
0 new messages