Project

General

Profile

Actions

Bug #17036

closed

Change the Makefile command to find all plugin folder

Added by Félix DALLIDET about 1 year ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

It is currently:

find -maxdepth 2 -mindepth 1 -name "build.conf" -printf '%h\n' | cut -c3- | xargs echo

But it does not work with CIS since it has multiple layer of makefile in it with the build.conf being in deeper depth

I think we could run instead:

find . -path ./src -prune -o -name "build.conf" -printf '%P\n' | cut -d "/" -f1 | xargs echo

Which assume ./src will always be excluded, and that all plugin will always have their makefile in the first folder layer, which is currently the case.

Actions #1

Updated by Félix DALLIDET about 1 year ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET about 1 year ago

  • Assignee changed from Félix DALLIDET to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/266
Actions #3

Updated by Félix DALLIDET about 1 year ago

  • Status changed from In progress to Pending release
Actions #4

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF