Skip to content

Redundant License Information (GitHub) #38

@LRWeber

Description

@LRWeber

It looks like some amount of license information is manually maintained and provided by scraper/github/util.py.

Complete license listings are readily available from GitHub and seem to make this script redundant.

via the REST API
https://api.github.com/licenses

or via the GraphQL API

{
  licenses() {
    spdxId
    name
    url
  }
}

Perhaps we could re-write scraper/code_gov/models.py and any other relevant code such that we wouldn't have to maintain these hard-coded mappings?

(Suggested in #37 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions