Skip to content

Update skeleton - #39

Merged
JonoYang merged 14 commits into
mainfrom
update-skeleton
Sep 8, 2021
Merged

Update skeleton#39
JonoYang merged 14 commits into
mainfrom
update-skeleton

Conversation

@JonoYang

@JonoYang JonoYang commented Sep 3, 2021

Copy link
Copy Markdown
Member

This PR addresses #31 #33 #34 #37 #38

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Create copyright statement from holder information

Signed-off-by: Jono Yang <jyang@nexb.com>
    * 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 <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Replace all references to `tmp` with `venv`

Signed-off-by: Jono Yang <jyang@nexb.com>
    * Add --init option to configure.bat
    * Update help text in configure and configure.bat

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Update README.rst

Signed-off-by: Jono Yang <jyang@nexb.com>
@JonoYang
JonoYang force-pushed the update-skeleton branch 2 times, most recently from 8f17516 to 51981b3 Compare September 4, 2021 00:53
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Update README.rst with instructions for post-initialization usage

Signed-off-by: Jono Yang <jyang@nexb.com>
def get_license_keys(self):
try:
keys = LICENSING.license_keys(self.license_expression, unique=True, simple=True)
except license_expression.ExpressionParseError:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@pombredanne

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.

@JonoYang

JonoYang commented Sep 7, 2021

Copy link
Copy Markdown
Member Author

The usage instructions should be moved to the docs directory rather than being placed in README.rst

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

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?

Comment thread README.rst Outdated
Comment thread configure.bat Outdated
if "%1" EQU "--init" (
set "NO_INDEX= "
)
if "%1" EQU "--python" (

Copy link
Copy Markdown
Member

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

Comment thread 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.

Copy link
Copy Markdown
Member

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

pombredanne and others added 2 commits September 7, 2021 19:42
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
    * Replace references to scancode-toolkit repo with links to the skeleton repo

    * Remove --python option from configure.bat

Signed-off-by: Jono Yang <jyang@nexb.com>
@JonoYang
JonoYang merged commit 8583d7f into main Sep 8, 2021
@JonoYang
JonoYang deleted the update-skeleton branch September 8, 2021 16:45
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