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

Update skeleton #39

Merged
merged 14 commits into from
Sep 8, 2021
Merged

Update skeleton #39

merged 14 commits into from
Sep 8, 2021

Conversation

JonoYang
Copy link
Member

@JonoYang JonoYang commented Sep 3, 2021

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

    * 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]>
    * Update README.rst

Signed-off-by: Jono Yang <[email protected]>
@JonoYang JonoYang force-pushed the update-skeleton branch 2 times, most recently from 8f17516 to 51981b3 Compare September 4, 2021 00:53
    * 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:
Copy link
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
Copy link
Member Author

JonoYang commented Sep 7, 2021

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

Copy link
Member

@pombredanne pombredanne left a 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?

README.rst Outdated Show resolved Hide resolved
configure.bat Outdated
if "%1" EQU "--init" (
set "NO_INDEX= "
)
if "%1" EQU "--python" (
Copy link
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

# 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
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 <[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]>
@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