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

Proper separator character to license list #6

Open
wipu opened this issue May 24, 2018 · 1 comment · May be fixed by #12
Open

Proper separator character to license list #6

wipu opened this issue May 24, 2018 · 1 comment · May be fixed by #12

Comments

@wipu
Copy link

wipu commented May 24, 2018

Currently the list of licenses is space-separated. The problem with this is that some licenses have spaces in their names.

It would be easier for further processing, if the separator was some character that does not occur in license names. Maybe it would be best, if the user could specify the chraracter as an optional command-line option. This would make the feature backwards compatible and also make it possible to change the character if there are clashes with some (future) license names.

@wipu
Copy link
Author

wipu commented May 31, 2018

I just forked and did this myself. I also modified the output: it's just package_name|license1|license2| ...

It's easier for me, if this tool just concentrates on the concern of licenses and outputs it in an easy-to-parse format, and I can get other package information from the existing dpkg tool.

I didn't create a pull request, since others probably want something different. But feel free to take ideas from my fork. Maybe options for different output formats and separator characters? Then my fork won't be needed anymore.

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