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
Development Team
Development Team
Posts: 889
Joined: Thu Jan 28, 2010 6:29 pm

Re: Commit Emails

Post by MichaelC »

callumacrae wrote:git-commit-notifier splits them up.
I was just coming on to ask david for that file.
Formerly known as 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
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Commit Emails

Post by DavidIQ »

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

Post by Oleg »

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

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

User avatar
MichaelC
Development Team
Development Team
Posts: 889
Joined: Thu Jan 28, 2010 6:29 pm

Re: Commit Emails

Post by MichaelC »

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.
Formerly known as 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

Post by Oleg »

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
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Commit Emails

Post by DavidIQ »

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
Development Team
Development Team
Posts: 889
Joined: Thu Jan 28, 2010 6:29 pm

Re: Commit Emails

Post by MichaelC »

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.
Formerly known as 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.

Post Reply