-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] Improved readme and all contributors #3481
Conversation
Generated by 馃毇 Danger |
I finally found a program, that kind of works to record screens/single windows under wayland: https://github.com/HasinduLanka/screencorder Here's my try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks great :)
There's also the old file https://github.com/pmd/pmd/blob/master/docs/pages/pmd/projectdocs/credits.md |
Co-authored-by: Cl茅ment Fournier <clement.fournier76@gmail.com>
I've now added the first 100 github contributors with the following script (maybe it's useful for others):
This API only provides the first top 100 contributors (see also https://github.com/pmd/pmd/graphs/contributors) |
Better screencast: pmd-demo.mp4 |
It seems, that only gifs work in README.md files, although you can upload videos in comments (https://github.blog/2021-05-13-video-uploads-available-github/) For creating the screencast, I used gnome and https://github.com/EasyScreenCast/EasyScreenCast With ffmpeg, it can be converted into mp4: Or into a high quality gif (http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html):
|
36372e2
to
ee713c2
Compare
We should probably do this for pmd7, but not for pmd6
I guess, it makes sense to add the bot (https://allcontributors.org/docs/en/bot/overview) in order to easily add new contributors. We have however older contributors (https://github.com/pmd/pmd/blob/master/docs/pages/pmd/projectdocs/credits.md) which we need to migrate.... If the list is too big in README.md, we might move it into CONTRIBUTORS.md
The new demo is simple and basic... at least a moving picture
Removed it. TODOs:
|
Just noticed: The readme in the pmd7 branch already has the new logo : https://github.com/pmd/pmd/blob/pmd/7.0.x/README.md |
Here are the scriptlets I used to get the "issue"-contributors from github: # download the issues... page 1 to 35, 100 per page
for page in $(seq 1 35); do
curl \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/pmd/pmd/issues?per_page=100&page=${page}&direction=asc&state=all" > pmd-issues-${page}.json
done
# extract the users
for page in $(seq 1 35); do
jq -r '.[].user.login' pmd-issues-${page}.json >> pmd-issues-users.txt
done
# remove duplicates
sort pmd-issues-users.txt | uniq > pmd-issues-users-uniq.txt
# collect already added contributors
jq -r '.contributors[].login' .all-contributorsrc > contributors-users.txt
sort contributors-users.txt | uniq > contributors-users-uniq.txt
# contributors, that are already in .all-contributorsrc but additionally created bugs
comm -1 -2 contributors-users-uniq.txt pmd-issues-users-uniq.txt
# new contributors, who only created bugs
comm -1 -3 contributors-users-uniq.txt pmd-issues-users-uniq.txt
npm i
export PRIVATE_TOKEN=...
# Add new "bug" contributors:
for i in $(comm -1 -3 contributors-users-uniq.txt pmd-issues-users-uniq.txt); do
echo $i;
npx all-contributors add $i bug
sleep 0.5
done How many contributors?
|
* Fix layout * Reorganize old sections * Add link from index.md
[doc] Improved readme and all contributors pmd#3481
Describe the PR
I tried to improve our README. And also add all-contributors (https://allcontributors.org/) (but without the bot yet).
Resources used:
Preview: https://github.com/adangel/pmd/blob/improved-readme/README.md
Preview credits: https://github.com/adangel/pmd/blob/improved-readme/docs/pages/pmd/projectdocs/credits.md
Much more colorful 馃槃
Questions, suggestions: