Project

General

Profile

Actions

Bug #6249

closed

rudderify ncf-hook does not work on first run

Bug #6249: rudderify ncf-hook does not work on first run

Added by Vincent MEMBRÉ almost 11 years ago. Updated almost 11 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

At first ncf technique creation, ncf hooks tries to commit ncf_techniques forlder but failed in its check since command to check ncf_techniques existence fails:

git ls-tree -r master --name-only | grep -c "${CATEGORY_PATH}" 

This return exit status 1 (grep does not find CATEGORY_PATH and that is what we want)

Just adding '|| true' at the end works

Updated by Vincent MEMBRÉ almost 11 years ago Actions #1

  • Status changed from New to In progress

Updated by Vincent MEMBRÉ almost 11 years ago Actions #2

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/621

Updated by Vincent MEMBRÉ almost 11 years ago Actions #3

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

Applied in changeset packages:rudder-packages|commit:925a88e6f6296c65662424f565bcd078eb454ac1.

Updated by François ARMAND almost 11 years ago Actions #4

Applied in changeset packages:rudder-packages|commit:6313b6210d25dbee0b0200ea792a0ec5036d39f3.

Updated by Vincent MEMBRÉ almost 11 years ago Actions #5

  • Category changed from System integration to Web - Technique editor

Updated by Vincent MEMBRÉ almost 11 years ago Actions #6

This bug has been fixed in Rudder 2.11.8 and 3.0.2 which were were released today.

Updated by Vincent MEMBRÉ almost 11 years ago Actions #7

  • Status changed from Pending release to Released
Actions

Also available in: PDF Atom