Skip to content

retire license category reporting - #116

Closed
iamsid2 wants to merge 2 commits into
aboutcode-org:developfrom
iamsid2:retire_license_category_reporting
Closed

retire license category reporting#116
iamsid2 wants to merge 2 commits into
aboutcode-org:developfrom
iamsid2:retire_license_category_reporting

Conversation

@iamsid2

@iamsid2 iamsid2 commented Mar 29, 2019

Copy link
Copy Markdown

Tried to solve issue106
Signed-off-by: iamsid2 shaktimund97@gmail.com

Signed-off-by: iamsid2 <shaktimund97@gmail.com>

@steven-esser steven-esser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have a number of failing tests. Please fix these.

You can run the test suite locally via py.test.

Comment thread src/deltacode/utils.py Outdated
new_categories = set(license.category for license in new_licenses)
old_categories = set(license.category for license in old_licenses)
# new_categories = set(license.category for license in new_licenses)
# old_categories = set(license.category for license in old_licenses)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete these lines instead of adding comments

Comment thread src/deltacode/utils.py Outdated
# delta.update(20, category.lower() + ' added')
# # no license ==> 'Permissive' or 'Public Domain'
# else:
# delta.update(0, category.lower() + ' added')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here, see above comments

Comment thread src/deltacode/utils.py Outdated
# delta.update(10, category.lower() + ' added')
# # 'Permissive' or 'Public Domain' ==> 'Permissive' or 'Public Domain' if not in old_categories
# elif category not in unique_categories:
# delta.update(0, category.lower() + ' added')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above

@iamsid2

iamsid2 commented Mar 30, 2019

Copy link
Copy Markdown
Author

yeah working on it now.

@iamsid2

iamsid2 commented Mar 30, 2019

Copy link
Copy Markdown
Author

Looks like there is a clash between python 3.6 and 2.7 as i have anaconda installed which as python 3.6 as its root

@steven-esser

steven-esser commented Apr 1, 2019

Copy link
Copy Markdown
Contributor

@iamsid2 Currently, DeltaCode uses python2.7. If you install python2.7, it can exist alongside python36 and our configure scripts will be smart enough to use the correct python version.

@steven-esser

Copy link
Copy Markdown
Contributor

Closing due to stagnation.

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

Successfully merging this pull request may close these issues.

2 participants