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

[QUESTION] How "verbose" should the normalized version be? #13

Open
myrne opened this issue Apr 8, 2013 · 1 comment
Open

[QUESTION] How "verbose" should the normalized version be? #13

myrne opened this issue Apr 8, 2013 · 1 comment
Labels

Comments

@myrne
Copy link
Contributor

myrne commented Apr 8, 2013

For example, the code currently sets the "_id" field. A concatenation of name and version.

It also adds all optional dependencies to dependencies. I have no experience with the "semantics" of optional dependencies, but it's certainly verbose.

People fields (author and such) are expanded to {name,email,url} objects. Handy when coding, but maybe less appropriate as a canonical version.

Normalization code like this might have two actually use cases: One for easy consumption by computers, one for fixing a human's mistake, but keeping the JSON somewhat humane.

@myrne
Copy link
Contributor Author

myrne commented Apr 8, 2013

It may be an argument for a "humanize-package-data" module or so.

@darcyclarke darcyclarke changed the title How "verbose" should the normalized version be? [QUESTION] How "verbose" should the normalized version be? Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants