Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSort by Name #85
Sort by Name #85
Comments
This comment has been minimized.
This comment has been minimized.
|
I'm currently working on refactoring the entire list. I will create a grep command to order the list alphabetically or it can be done in JavaScript too. Please tell me which one you are comfortable in. I would recommend that using gawk is much more efficient, but since grep and bash are bundled with Git on windows and they are preinstalled on Linux and Mac, using them is the first choice here. But I would like to hear your opinion too. |
This comment has been minimized.
This comment has been minimized.
|
You're basically talking about an automated solution to the issue I pointed out? I'm okay with however this gets done, but I believe it should be done. I'm sure the owner of the repo would be okay with you making a script to do that. |
This comment has been minimized.
This comment has been minimized.
|
@claudiobernasconi Automation script is still far but I have sorted the list manually now and the pull request which contains the changes is |
This comment has been minimized.
This comment has been minimized.
|
I like the idea of automating this somewhow so the list is alphabetical. With that said, I'm not sure exactly how this would work. Unless it was some sort of action that could be run on each PR... I don't know... The problem is, that new contributors are NOT going to be able to put every new channel in alphabetically into the list... and I don't want to have to do it manually for each new PR. |
This comment has been minimized.
This comment has been minimized.
|
@ErikCH you don't have to worry about it. The script is mostly non-interactive which means you don't have to interact with it to get the basic tasks done. The contributor would just need to create a "new.md" file and in that file write all the new entries under the correct heading. The script will match the corresponding heading and add the new entries in that section. I can understand your concerns, but you don't have to worry about anything. I am following UGU(User Group Universality) principals here which are considered best practices for CLI tools. |
This comment has been minimized.
This comment has been minimized.
|
We can run sorting script in each PR with Github Actions and update the contents of the readme.md file automatically. |
It might be useful to sort the channels by name (within a category). I believe the current order is random and does not offer any benefit to alphabetical order.
What are your opinions on this? I'd create a PR if that is what you'd like to have.