Project

General

Profile

Actions

User story #8889

closed

Update JGit to version > 4.0 to support pre-commit hook on configuration repository

User story #8889: Update JGit to version > 4.0 to support pre-commit hook on configuration repository

Added by François ARMAND over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Assignee:
Jonathan CLARKE
Category:
System integration
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

For integration needs, it would be handy to have access to git hooks on configuration-repository.

Unfortunatly, JGit doesn't supports them until recently, and even now (jgit 4.2), it supports only three (http://zaunerc.blogspot.fr/2015/11/git-hooks-currently-supported-by-jgit.html): pre-commit, prepare-commit-msg, pre-push

These are not the most usefull for Rudder, but at least they exists.

Exceptionnaly, this feature will be introduced in LTS branch (3.1), because it is low risk, does not impact existing behaviour, and have nothing to do with node config.


Subtasks 3 (0 open3 closed)

User story #8890: Update name of release method (cf-clerk)ReleasedJonathan CLARKEActions
User story #8891: Update dependency name (rudder 3.2)ReleasedJonathan CLARKEActions
User story #8892: Update dependency name (rudder)ReleasedJonathan CLARKEActions

Updated by François ARMAND over 9 years ago Actions #1

  • Category set to System integration
  • Priority changed from N/A to 3
  • Target version set to 3.1.13

Updated by François ARMAND over 9 years ago Actions #2

  • Status changed from New to In progress
  • Assignee set to François ARMAND

Updated by François ARMAND over 9 years ago Actions #3

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-parent-pom/pull/27

Updated by François ARMAND over 9 years ago Actions #4

  • Status changed from Pending technical review to Pending release
  • % Done changed from 50 to 100

Updated by Vincent MEMBRÉ over 9 years ago Actions #5

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.13 and 3.2.6 which were released today.

Updated by Florian Heigl over 9 years ago Actions #6

This is also a feature users might like, is it intended to be used outside of your CI?

Updated by Jonathan CLARKE over 9 years ago Actions #7

Florian Heigl wrote:

This is also a feature users might like, is it intended to be used outside of your CI?

It is not intended to be used in our CI at all :)

The JGit module is a Java library used by the Rudder Scala application to manage the git repository in /var/rudder/configuration-repository. The pre-commit hook referred to is that one - on any and all Rudder installations.

So yes, it is a feature for users :-)

Actions

Also available in: PDF Atom