Git-point: Show License File

Created on 18 Jul 2017  路  4Comments  路  Source: gitpoint/git-point

We could add a new part called " XXX License" where source and readme is placed already.

For example "MIT License"

Onclick should then open the License file

assigned enhancement

Most helpful comment

I would take a look at this to when I come back from my holiday, is that okay @andrewda

All 4 comments

I like it! This would require using the developer preview for the GitHub API, but I think there are enough things we want to add now that need it (e.g. reactions) that we should add the headers.

Docs for licenses API: https://developer.github.com/v3/licenses/

To get a repo's license, we just add the license preview header to our repository request and it shows up.

We can get this from the GraphQL repository object: https://developer.github.com/v4/reference/object/repository/

I would take a look at this to when I come back from my holiday, is that okay @andrewda

I will finish this at the end of October hopefully.
At 27th im getting my internet and then i will start coding until my fingers burn 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gulien picture gulien  路  5Comments

TautFlorian picture TautFlorian  路  5Comments

arthurdenner picture arthurdenner  路  3Comments

umarmughal picture umarmughal  路  4Comments

JayBizzle picture JayBizzle  路  4Comments