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

Web application on GitHub Pages to show organization lint results #199

Open
discombobulateme opened this issue Jan 21, 2021 · 7 comments
Open

Comments

@discombobulateme
Copy link

Issue Report

Our OSPO at SauceLabs created this web application: Check-My-Repo that daily shows the repolinter results about our public repository health

This is our repository

One feature that we added is the verification of Changelog.md or releases tag to consider this rule passed or not, but so far, only for GitHub

I am not sure how to integrate or partner up with repolinter, but we would love to keep contributing, as it is the base of our project :)

@willnorris
Copy link
Member

Very cool... just tried quickly running it over Twitter's repos, and seems to have worked well: https://twitter.github.io/check-my-repo/. It does only grab the first page of 100 repos, and it might be nice to allow specifying a custom repolinter config file. If/when I've got some time, I may try sending over some patches. But this is really cool and helpful.

To your specific question, I'm also not sure the best way to integrate this into repolinter. Maybe we add a list of related projects to the readme?

@discombobulateme
Copy link
Author

Hi @willnorris thank you for such a fast feedback! I understand the 100 pagination is the Octokit (GitHub api) limit, but maybe not...
Repolinter is in the 1st and last lines of the readme surely <3
I can hop in if I am able to develop something else :)

@willnorris
Copy link
Member

The 100 per page limit is enforced by the GitHub API. You have to make subsequent calls to get the additional pages of results. The ghapi python library has a helper to do this for you... I've not used the octokit library much, so not sure if it has something similar.

And as for readme reference, I meant linking in the other direction... Adding a section on the main repolinter readme, linking back to checky-my-repo and any other related projects. 😄

@discombobulateme
Copy link
Author

😅 oh thank you
I was not paying attention to pagination as it was not needed so far, but I will add it into my next steps list :)

@discombobulateme
Copy link
Author

Dear all, @willnorris & @caniszczyk

It took me a while, but FINALLY check-my-repo version 2.0 is released :)

Several changes were made, including dealing with pagination, as requested 🥳
It is automated by default, so now all that is needed is to fork the repo, enable actions and setup gh-pages to be the deployment page. Like... less than 10seconds thing.

I would really really love if you could implement it and give your feedback to continue improving it :)

@caniszczyk
Copy link
Member

caniszczyk commented May 19, 2021 via email

@discombobulateme
Copy link
Author

Hi @caniszczyk oh thank you 🥰
If I understand your question correctly, YES. Is does checks all the repositories under a user or an organization (it detects it automatically) :)

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

No branches or pull requests

3 participants