phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Commit Emails

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
User avatar MichaelC
Website Team
Website Team
Posts: 855
Joined: Thu Jan 28, 2010 6:29 pm

Re: Commit Emails

Postby MichaelC » Sat Mar 10, 2012 1:31 pm

callumacrae wrote:git-commit-notifier splits them up.


I was just coming on to ask david for that file.
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.

User avatar DavidIQ
Extensions Team Leader
Extensions Team Leader
Posts: 1065
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Commit Emails

Postby DavidIQ » Sat Mar 17, 2012 2:05 am

That file is a RubyGems file:

Code: Select all

#!/usr/local/bin/ruby
#
# This file was generated by RubyGems.
#
# The application 'git-commit-notifier' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'rubygems'

version = ">= 0"

if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
  version = $1
  ARGV.shift
end

gem 'git-commit-notifier', version
load Gem.bin_path('git-commit-notifier', 'git-commit-notifier', version)

How deep does the rabbit hole go... :geek:
Image

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: Commit Emails

Postby Oleg » Sat Mar 17, 2012 4:48 am

Do a `locate git-commit-notifier` and get the other one.

Or look here: https://github.com/bitboxer/git-commit-notifier

User avatar MichaelC
Website Team
Website Team
Posts: 855
Joined: Thu Jan 28, 2010 6:29 pm

Re: Commit Emails

Postby MichaelC » Sat Mar 17, 2012 10:38 am

Oleg wrote:Do a `locate git-commit-notifier` and get the other one.

Or look here: https://github.com/bitboxer/git-commit-notifier


Ah ok, I'll fork that and do some work on putting it in one email.
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: Commit Emails

Postby Oleg » Sat Mar 17, 2012 10:57 am

It's funny that the whole advertised purpose of that program is to generate one email per commit.

It might be easier to toss it entirely and just cobble together the appropriate commands in a shell script.

User avatar DavidIQ
Extensions Team Leader
Extensions Team Leader
Posts: 1065
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Commit Emails

Postby DavidIQ » Sun Mar 18, 2012 1:50 am

Oleg wrote:It's funny that the whole advertised purpose of that program is to generate one email per commit.

It might be easier to toss it entirely and just cobble together the appropriate commands in a shell script.

Maybe it's just miss-configured? Looks like version 0.9.2 is what we're using.
Image

User avatar MichaelC
Website Team
Website Team
Posts: 855
Joined: Thu Jan 28, 2010 6:29 pm

Re: Commit Emails

Postby MichaelC » Sun Mar 18, 2012 9:50 am

DavidIQ wrote:
Oleg wrote:It's funny that the whole advertised purpose of that program is to generate one email per commit.

It might be easier to toss it entirely and just cobble together the appropriate commands in a shell script.

Maybe it's just miss-configured? Looks like version 0.9.2 is what we're using.


Repo Description:
Sends HTML email commit messages splitting commits that were pushed in one step. Changes are highlighted per word.
Unknown Bliss
psoTFX wrote:I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"

No unsolicited PMs please except for quotes.


Return to “General Development Discussion”

Who is online

Users browsing this forum: Ger and 5 guests