all-contributors / app

🤖 A GitHub App to automate acknowledging contributors to your open source projects
https://allcontributors.org
MIT License
576 stars 150 forks source link

Add the generate command as the @all-contributors command #419

Closed suntong closed 2 years ago

suntong commented 2 years ago

Is your feature request related to a problem? Please describe. There are many occasions that it is desirable to re-generate the whole table from the .all-contributorsrc file.

E.g., to avoid situation like this:

image

Describe the solution you'd like

Provide the @all-contributors generate command which does exactly what all-contributors generate does, to read the contributors list from the .all-contributorsrc file and re-generate the whole contributor tables specified by the files key.

Describe alternatives you've considered

I know there is CLI all-contributors generate command, but that's a big hurdle to jump over, for such a small and common ask.

In the above screenshot situation, all I did was to reorder the Emoji Key ✨ (and Contribution Types) so that they show up in correct order on my site, however, currently it seems impossible to me. Yet,

The needs to reorder the Contribution Types will be very common, especially for cases when people first contribute Bug reports, but later on they contribute code (PR), in which case, I'd like to move code to the forefront.

Please consider

suntong commented 2 years ago

Happens again, for a different reason,

image

Berkmann18 commented 2 years ago

I know there is CLI all-contributors generate command, but that's a big hurdle to jump over, for such a small and common ask.

Why is this a big hurdle?

suntong commented 2 years ago

I'm not a node developer, and I need to have the whole npm thingy just to have such once-in-a-blue-moon situation.

eladrich commented 2 years ago

Looking for the same solution, from my understanding this is also the solution for all-contributors/cli#326

tenshiAMD commented 2 years ago

This should be fixed by https://github.com/all-contributors/app/pull/415. Closing this for now.