-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update skeleton #39
Update skeleton #39
Conversation
Signed-off-by: Jono Yang <[email protected]>
Signed-off-by: Jono Yang <[email protected]>
* Create copyright statement from holder information Signed-off-by: Jono Yang <[email protected]>
* This is used for the case where we are starting off a project and have not yet generated requirements files Signed-off-by: Jono Yang <[email protected]>
Signed-off-by: Jono Yang <[email protected]>
* Replace all references to `tmp` with `venv` Signed-off-by: Jono Yang <[email protected]>
* Add --init option to configure.bat * Update help text in configure and configure.bat Signed-off-by: Jono Yang <[email protected]>
Signed-off-by: Jono Yang <[email protected]>
Signed-off-by: Jono Yang <[email protected]>
* Update README.rst Signed-off-by: Jono Yang <[email protected]>
8f17516
to
51981b3
Compare
Signed-off-by: Jono Yang <[email protected]>
51981b3
to
9c78ddb
Compare
* Update README.rst with instructions for post-initialization usage Signed-off-by: Jono Yang <[email protected]>
def get_license_keys(self): | ||
try: | ||
keys = LICENSING.license_keys(self.license_expression, unique=True, simple=True) | ||
except license_expression.ExpressionParseError: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran into an issue with the license_expression library throwing an ExpressionParseError
when I ran the bootstrap.py
script without scancode-toolkit
installed. The license expression for this package was the classifier strings that contain the license. The LICENSING object would balk at the symbol License
. My initial reaction to this is to return a list that only contains unknown
, but I am not sure if this would be the best thing to do.
The usage instructions should be moved to the docs directory rather than being placed in README.rst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM... super clean! 👍
I have just a few nits for your consideration... nand you may want to move the docs in its own directory outside of the README?
configure.bat
Outdated
if "%1" EQU "--init" ( | ||
set "NO_INDEX= " | ||
) | ||
if "%1" EQU "--python" ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this stage this can be removed entirely IMHO
etc/scripts/fix_thirdparty.py
Outdated
# ScanCode is a trademark of nexB Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text. | ||
# See https://github.com/nexB/scancode-toolkit for support or download. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to switch the URLs to skeleton
Signed-off-by: Philippe Ombredanne <[email protected]>
* Replace references to scancode-toolkit repo with links to the skeleton repo * Remove --python option from configure.bat Signed-off-by: Jono Yang <[email protected]>
This PR addresses #31 #33 #34 #37 #38