Comment 3 for bug 1078454

Revision history for this message
RJ Roos (i-rj-0) wrote : Re: [Bug 1078454] Re: git hashes don't fit in eventum_issue_checkin columns

Hi,

Unfortunately not. I did hack something together in bash but can't
find that code anywhere :-(

Regards,
Robbert-Jan

On 26/10/2014 10:16, Elan Ruusamäe wrote:
> do you have eventum git hook script available somewhere?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1078454
>
> Title:
> git hashes don't fit in eventum_issue_checkin columns
>
> Status in Eventum:
> Fix Released
>
> Bug description:
> I'd like to write a git scm hook for eventum. It seems doable when
> linking to viewgit. My problem is the columns isc_old_version and
> isc_new_version are only 32 characters wide while git hashes are 40
> characters.
>
> This query solves that problem:
>
> alter table eventum_issue_checkin
> modify column isc_old_version varchar(40) default null,
> modify column isc_new_version varchar(40) default null;
>
> Is it possible to include it in a feature update as a database patch?
>
> Thanks,
> Robbert-Jan
>
> PS: If there is any progress on my scm hook I'll let you know.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/eventum/+bug/1078454/+subscriptions