Repository navigation
Closed
Description
Comparing current output from DejaCode:
about_resource: django_rest_hooks-1.5.0-py2.py3-none-any.whl
attribute: true
checksum_md5: 7e37315a6572c6771ba6877392fb18ed
checksum_sha1: 4007c278d712146a6e07acea505afe1ef4ea5941
copyright: Copyright (c) 2016 Zapier Inc.
description: Add webhook subscriptions to your Django app.
download_url: https://pypi.python.org/packages/95/b3/53614fb7dc59fe86f54cdb5366d35f2efea20c54c66a828aa69e8070cc70/django_rest_hooks-1.5.0-py2.py3-none-any.whl#md5=7e37315a6572c6771ba6877392fb18ed
homepage_url: https://github.com/zapier/django-rest-hooks
license_expression: isc
licenses:
- file: isc.LICENSE
key: isc
name: ISC License
name: django-rest-hooks
notice_file: django_rest_hooks-1.5.0-py2.py3-none-any.whl.NOTICE
notice_url: https://github.com/zapier/django-rest-hooks/blob/master/LICENSE.md
owner: Zapier
version: 1.5.0
To the output generated by aboutcode-toolkit About().dumps() version 3.2.2:
about_resource: django_rest_hooks-1.5.0-py2.py3-none-any.whl
attribute: yes
checksum_md5: 7e37315a6572c6771ba6877392fb18ed
checksum_sha1: 4007c278d712146a6e07acea505afe1ef4ea5941
copyright: Copyright (c) 2016 Zapier Inc.
description: >-
Add webhook subscriptions to your Django app.
download_url:
- https://pypi.python.org/packages/95/b3/53614fb7dc59fe86f54cdb5366d35f2efea20c54c66a828aa69e8070cc70/django_rest_hooks-1.5.0-py2.py3-none-any.whl#md5=7e37315a6572c6771ba6877392fb18ed
homepage_url:
- https://github.com/zapier/django-rest-hooks
license_expression: isc
licenses:
- file: isc.LICENSE
key: isc
name: ISC License
name: django-rest-hooks
notice_file: django_rest_hooks-1.5.0-py2.py3-none-any.whl.NOTICE
notice_url:
- https://github.com/zapier/django-rest-hooks/blob/master/LICENSE.md
owner:
- Zapier
redistribute: yes
track_changes: yes
version: 1.5.0
Why are the following field displayed as list: download_url, homepage_url, notice_url, owner?
Also, why the indent for license is - while it's - for other list type field?
Lastly, the field ordering looks alphabetical, is this wanted?
Activity
chinyeungli commentedon Oct 25, 2018
for the
-vs-, I have no idea why is this as I didn't do any formatting as I'm just usingsaneyaml.dump(about_data)to dump the data, and that's why it's in alphabetical order. I will investigate a bit. In addition, I was thinking it's possible to have multiple download_urls for the same component/package, but I think this is a super rare case that user wants to include more than one url. I will fix that later.#349 Partial fixes
chinyeungli commentedon Nov 15, 2018
re the ordering:
perhaps the correct ordering ought to be
about_resourcenameversion<-- if anyand the rest is the order from the mapping.config file (if any); otherwise alphabetical order.
#349 Update owner from ListField to StringField
Fixed #349
merge the fixes from #349
#349 - fix test code
#349 Another try to fix the tests for python 3.x
tdruez commentedon Nov 15, 2018
@chinyeungli the changes looks good.
I would suggested to migrate the
contactfield to aStringFieldin place of currentListFieldhttps://github.com/nexB/aboutcode-toolkit/blob/develop/src/attributecode/model.py#L739
Current output: