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

return results as one package per line #94

Closed
kilobyte opened this issue Sep 5, 2018 · 0 comments
Closed

return results as one package per line #94

kilobyte opened this issue Sep 5, 2018 · 0 comments
Assignees

Comments

@kilobyte
Copy link

kilobyte commented Sep 5, 2018

When codesearch's results reference more than a few packages, it tells the user to pull the results via curl instead:

curl -s https://codesearch.debian.net/results/2c649795d6885b96/packages.json | jq -r '.Packages[]'

Alas, the data returned is in a format that requires further parsing. It is tedious to read by humans (one massive line) or via shell scripting/etc. You can use that "jq" tool to convert it, but hardly anyone has that package installed, and it's a pointless extra step.

Thus, could you please return the data as one package per line?

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

No branches or pull requests

2 participants