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

conda-deny list output in structured format like CSV #34

Closed
fhoehle opened this issue Feb 6, 2025 · 3 comments · Fixed by #38
Closed

conda-deny list output in structured format like CSV #34

fhoehle opened this issue Feb 6, 2025 · 3 comments · Fixed by #38
Labels
enhancement New feature or request

Comments

@fhoehle
Copy link

fhoehle commented Feb 6, 2025

A structured output of conda-deny list would be very useful in scenarios where the output is used in written internal documentation.

CSV output example:

"bzip2","1.0.8-h99b78c6_7","osx-arm64","bzip2-1.0.6"
"ca-certificates","2025.1.31-hf0a4a13_0","osx-arm64","ISC"
"ncurses","6.5-h5e97a16_3","osx-arm64","X11 AND BSD-3-Clause"
@pavelzw
Copy link
Member

pavelzw commented Feb 6, 2025

Would json be okay as well? This would be a more versatile output format; you could then use a magic jq command to create a csv or markdown table of your preferred format

@fhoehle
Copy link
Author

fhoehle commented Feb 7, 2025

Would json be okay as well? This would be a more versatile output format; you could then use a magic jq command to create a csv or markdown table of your preferred format

In my scenario there is more Office365 interaction with the generated output than programatic access.
See above added CSV output.

@pavelzw
Copy link
Member

pavelzw commented Feb 7, 2025

So conda-deny list --json and conda-deny list --csv would probably be the nicest api for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants