On Wed, 02 Nov 2011 19:20:57 +0100, Colomban wrote: >> So I take this as a 'yes, turn it into something more similar to the >> old SVN commit mails with diff, size-limited and a link to the web >> repo'. >> Will do this soon and announce it before and after. > >Just wanted to say: looking forward to it :)
Sorry for the big delay but finally good news: see attachment. Last week I worked on the topic and failed to get any post-* commit hook ro be executed in the mirror repositories. I guess the hooks aren't run when the repo is updated using 'git remote update'. But I found another solution which I actually like better as we do not need to rely on the mirror repos to get commit mails from the main repo: We already have setup the post-receive commit hook in Github which updates the mirror repos. When this script gets called we already get a list of commits the corresponding push contained. And then I wrote a script which takes a commit hash and then asks the Github API for more details about this commit. The script then generates a commit mail like the one in the attachment. Basically the mail is formatted like the old SF SVN commit mails but it's just a template. What do you think? If we agree to change the commit mails to this format, I'd deploy the script soon. And in a further step, I'd like to conserve the post-receive commit script and the new script to generate the mail in a GIT repo so it's more obvious what happens and why. Any objections on creating a repository like geany/infrastructure or something like this? Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc
--- Begin Message ---Branch: refs/heads/master Author: Colomban Wendling <b...@herbesfolles.org> Committer: Colomban Wendling <b...@herbesfolles.org> Date: Sat, 14 Jan 2012 03:40:11 Commit: 73bc824c8291f8940a9b9f7949515e1f0cb0d147 https://github.com/geany/geany/commit/73bc824c8291f8940a9b9f7949515e1f0cb0d147 Log Message: ----------- Restore line breaking preference's adjustment in Glade file It got removed by accident in commit c85b89afdd880b7a6aac42f953bab83d3938a4a3 "Port more of the Project properties dialog to Glade" Modified Paths: -------------- data/geany.glade Modified: data/geany.glade 8 files changed, 8 insertions(+), 0 deletions(-) =================================================================== @@ -3,6 +3,13 @@ <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy toplevel-contextual --> <object class="GtkAccelGroup" id="accelgroup1"/> + <object class="GtkAdjustment" id="adjustment1"> + <property name="lower">3</property> + <property name="upper">1000</property> + <property name="value">72</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> <object class="GtkAdjustment" id="adjustment10"> <property name="lower">1</property> <property name="upper">99</property> @@ -2802,6 +2809,7 @@ <property name="secondary_icon_activatable">False</property> <property name="primary_icon_sensitive">True</property> <property name="secondary_icon_sensitive">True</property> + <property name="adjustment">adjustment1</property> <property name="climb_rate">1</property> <property name="numeric">True</property> </object> This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
--- End Message ---
pgpSaCsfzclaG.pgp
Description: PGP signature
_______________________________________________ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel