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

Detect proprietary toolchain #42

Merged
merged 4 commits into from
Jul 18, 2020

Conversation

cmfcmf
Copy link
Member

@cmfcmf cmfcmf commented Jul 18, 2020

This PR fixes #39 by adding a warning to projects using Padauk's proprietary IDE.
As described in the updated README, the additional API request we need to make per project quickly runs into the rate limit of the GitHub API. You can set a GITHUB_TOKEN environment variable to increase the rate limit when building the docs locally.
Since we don't set a GITHUB_TOKEN variable on netlify, the preview for this PR will not detect the proprietary toolchain.
image

@netlify
Copy link

netlify bot commented Jul 18, 2020

Deploy preview for free-pdk-preview ready!

Built with commit b92a4c7

https://deploy-preview-42--free-pdk-preview.netlify.app

@cpldcpu
Copy link
Member

cpldcpu commented Jul 18, 2020

Right now you are emphasizing the propriertary toolchain. Shouldn't it be the other way around? After all, we also want to promote the OSS toolchain.

What I could imagine:

Level 1: Projects with "free-pdk" topic and no *.PRE/PRJ files
Level 2: Projects without .PRE/.PRJ files
Level 3: Projects based on proprietary toolchin with .PRE/.PRJ

Level 1 could be emphasized (e.g. different color flair,callout or bold tag) and also pushed forward in sorting order somehow.
Level 3 add a non-emphasizing note that it is based on the other toolchain.

@cmfcmf
Copy link
Member Author

cmfcmf commented Jul 18, 2020

Alright, this is how it looks now. Projects are sorted, and the tags are applied like you described.
image

@cpldcpu
Copy link
Member

cpldcpu commented Jul 18, 2020

looks great!

@cpldcpu cpldcpu self-requested a review July 18, 2020 18:41
@cmfcmf cmfcmf merged commit d9a6f0c into free-pdk:production Jul 18, 2020
@cmfcmf cmfcmf deleted the proprietary-toolchain branch July 18, 2020 20:26
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.

Detect Padauk projects that were created with the official IDE and add a note in the project list
2 participants