/[adm]/puppet/deployment/mgagit/templates/git-post-receive-hook
ViewVC logotype

Log of /puppet/deployment/mgagit/templates/git-post-receive-hook

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3461 - (view) (download) (annotate) - [selected]
Modified Sun Apr 27 12:20:34 2014 UTC (9 years, 11 months ago) by colin
File length: 10503 byte(s)
Diff to previous 3448
mgagit: Add new mail headers to the i18n mails.

Revision 3448 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 21 19:47:51 2014 UTC (9 years, 11 months ago) by colin
File length: 10462 byte(s)
Diff to previous 3418 , to selected 3461
mgagit: Send a second email about any i18n changes to the i18n-reports ML.

After sending the original email, we send a second email to i18n-reports
detailing any i18n changes.

The method of determining if any changes affect i18n is to look for a
folder (or folders) called '.tx' in the tree. If such folders exist,
then any changes in their parent folders are considered to be relevent
for i18n.

Revision 3418 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 10 10:33:27 2014 UTC (10 years, 1 month ago) by colin
File length: 7305 byte(s)
Diff to previous 3417 , to selected 3461
mgagit: Use a 5 second timeout to notify alamut.

This keeps the stall time on a push to something sensible should there be
a problem.

Revision 3417 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 10 10:28:58 2014 UTC (10 years, 1 month ago) by colin
File length: 7294 byte(s)
Diff to previous 3414 , to selected 3461
mgagit: Python typo

Revision 3414 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 10 10:07:42 2014 UTC (10 years, 1 month ago) by colin
File length: 7293 byte(s)
Diff to previous 3412 , to selected 3461
mgagit: Use the full repo name + .git suffix when informing remote side.

Revision 3412 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 10 09:25:52 2014 UTC (10 years, 1 month ago) by colin
File length: 7284 byte(s)
Diff to previous 3408 , to selected 3461
alamut: Remove rsyncing from git.

Add in notification of the 'on-the-pull' system for mirroring
in post-commit hook.

Revision 3408 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 9 13:56:44 2014 UTC (10 years, 1 month ago) by colin
File length: 7076 byte(s)
Diff to previous 3389 , to selected 3461
mgagit: Avoid unnecessary quotes.

Revision 3389 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 4 14:54:24 2014 UTC (10 years, 2 months ago) by colin
File length: 7089 byte(s)
Diff to previous 3388 , to selected 3461
mgagit: Make sure to strip the single quotes that surround the modifed date.

Revision 3388 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 4 14:50:36 2014 UTC (10 years, 2 months ago) by colin
File length: 7078 byte(s)
Diff to previous 3387 , to selected 3461
mgagit: Fix last-modified file write.

Revision 3387 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 4 14:07:02 2014 UTC (10 years, 2 months ago) by colin
File length: 7034 byte(s)
Diff to previous 3386 , to selected 3461
mgagit: Some trivial pylint tidyups

Revision 3386 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 4 13:50:49 2014 UTC (10 years, 2 months ago) by colin
File length: 7041 byte(s)
Diff to previous 3384 , to selected 3461
mgagit: Attempt to write out a last-modified file for cgit.

This means the Last Modified column in cgit will show the date of the last commit
not the date of the last push (which can be completely unrelated, especially when
doing rebases or forced pushes and fixups etc.)

Note: If we stop using rsync for replication then this can be removed and replaced
with a different hook on the receiving side.

Revision 3384 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 22 13:31:11 2013 UTC (10 years, 3 months ago) by colin
File length: 6482 byte(s)
Diff to previous 3382 , to selected 3461
mgagit: Match multiple bug references on a single line

Revision 3382 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 14 21:17:18 2013 UTC (10 years, 3 months ago) by colin
File length: 6491 byte(s)
Diff to previous 3380 , to selected 3461
mgagit: Suppress the 'Bug links:' section when posting comment to bugzilla.

It is only suppressed when a single bug is referenced. If multiple bugs are referenced
(including external bug trackers) then it will be included.

mga#11987

Revision 3380 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 14 21:05:06 2013 UTC (10 years, 3 months ago) by colin
File length: 6152 byte(s)
Diff to previous 3359 , to selected 3461
Attempt to notify bugzilla when bugs are referenced in commits mga#11987

Revision 3359 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 7 10:16:42 2013 UTC (10 years, 5 months ago) by colin
File length: 3773 byte(s)
Diff to previous 3358 , to selected 3461
mgagit: Fix post-receive mailer.

 * Fix python path
 * Fix .git suffix stripping from repo shortname
 * Remove left over debug printing

Revision 3358 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 7 09:37:24 2013 UTC (10 years, 5 months ago) by colin
File length: 3801 byte(s)
Diff to previous 3354 , to selected 3461
mgagit: Keep the post commit stuff out of /usr/local/bin

Revision 3354 - (view) (download) (annotate) - [select for diffs]
Added Sun Oct 6 22:41:25 2013 UTC (10 years, 5 months ago) by colin
File length: 3784 byte(s)
Diff to selected 3461
mgagit: Add new templates for generationg per-commit notification emails.

This uses the git multimail project from upstream revision 3fcd7bffef
which is the master revision at the time of writing.

It also includes a monkey-patched version which we will use which adds
the ability to include links to the gitweb/cgit URL and also links
to any supported bugtracker.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.30