Project

General

Profile

Actions

Bug #6249

closed

rudderify ncf-hook does not work on first run

Added by Vincent MEMBRÉ almost 10 years ago. Updated over 9 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

Actions #1

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from New to In progress
Actions #2

Updated by Vincent MEMBRÉ almost 10 years ago

  • 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
Actions #3

Updated by Vincent MEMBRÉ almost 10 years ago

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

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

Actions #4

Updated by François ARMAND almost 10 years ago

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

Actions #5

Updated by Vincent MEMBRÉ over 9 years ago

  • Category changed from System integration to Web - Technique editor
Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

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

Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF