Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring Conan (or individual) Cataloger Globs #1854

Open
fi0rini opened this issue May 30, 2023 · 2 comments
Open

Configuring Conan (or individual) Cataloger Globs #1854

fi0rini opened this issue May 30, 2023 · 2 comments
Labels
enhancement New feature or request needs-research

Comments

@fi0rini
Copy link

fi0rini commented May 30, 2023

What would you like to be added:
configuring individual catalogers with globs. specifically conan is where this issue came up for building and managing different platforms.

in config we could have.

conan-cataloger:
    globs: ["conan-*.lock"]

Why is this needed:
this is needed because with conan for example there are windows 64, linux 64, and additional possible profiles with windows 64 with varying vs code versions (2013,2015,2017, etc.) so when conan.lock is generated the file will be renamed to be conan-win64.lock or conan-linux64.lock etc.

Additional context:
Current conan cataloger only looks for conan.lock and so with different lock file names for different conan profiles arent being discovered because their filenames have deviated . So adding a glob or convention specific to a project would be necessary to find all the lock files for each profile.

@fi0rini fi0rini added the enhancement New feature or request label May 30, 2023
@tgerla tgerla added this to OSS Jun 1, 2023
@tgerla
Copy link
Contributor

tgerla commented Jul 6, 2023

Hi @fi0rini, thanks for the suggestion. We are a little hesitant to allow the globs to be fully configurable at runtime. We need to do some more investigation and research around the implications of detaching the set of globs from Syft itself.

For this particular problem with Conan, would it make sense for us to add the -win64.lock, -linux64.lock, etc, to the cataloger itself?

@tgerla tgerla moved this to Awaiting Response in OSS Jul 6, 2023
@tgerla
Copy link
Contributor

tgerla commented Jul 6, 2023

Notes for @anchore/tools: We'll add this to the backlog and do some investigation into Conan's lockfiles and see if we can broaden our matching here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-research
Projects
Status: Backlog
Development

No branches or pull requests

2 participants