Skip to content

Conversation

@LRWeber
Copy link
Member

@LRWeber LRWeber commented Jun 5, 2019

The scraper/github/util.py script doesn't appear to be used anywhere anymore.

https://github.com/LLNL/scraper/blob/49bad7c09677b5c45ddf22b3ccd2444bf5c1322e/scraper/github/util.py#L6

The only thing in it was this license info dictionary/translator. All of this info is now readily provided by GitHub's newer GraphQL API. (See https://developer.github.com/v4/object/license/, specifically name, spdxId, url)

@LRWeber
Copy link
Member Author

LRWeber commented Jun 5, 2019

Nevermind, I found the reference.
https://github.com/LLNL/scraper/blob/49bad7c09677b5c45ddf22b3ccd2444bf5c1322e/scraper/code_gov/models.py#L492

We may, however, want to consider some re-writing so that we aren't manually duplicating what the API provides.

@LRWeber LRWeber closed this Jun 5, 2019
@LRWeber LRWeber deleted the deprecated-github-util branch June 5, 2019 21:54
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