warengonzaga / shortcodes-wp

A WordPress shortcode plugin to automagically display WordPress information. Simple and lightweight, no annoying ads and fancy settings.
GNU General Public License v3.0
4 stars 3 forks source link

automate workflow #13

Open warengonzaga opened 3 years ago

warengonzaga commented 3 years ago

I want to automate things here to make things easier for maintenance.

These are the tasks that need to be done for me to make this project more maintainable.

For contributors, if you can do these things I have 40+ repositories that need this. As an alternative, I'm working on a solution to make this easier for everyone.

ChristofLee commented 3 years ago

I have added https://allcontributors.org/ to my fork of this repo.

It's really easy, see how I added you and I in this issue : https://github.com/ChristofLee/shortcodes-wp/issues/1

Then it creates a PR, and adds info to the README.md.

Please note to make this work I had to rename readme.me => README.md.

It also recommends adding CONTRIBUTING.md.

I think if you install the bot, I may be able to do the rest. Or if you could add me to this repo, I can do it all.

Let me know.

warengonzaga commented 3 years ago

I have added https://allcontributors.org/ to my fork of this repo.

It's really easy, see how I added you and I in this issue : ChristofLee#1

Then it creates a PR, and adds info to the README.md.

Please note to make this work I had to rename readme.me => README.md.

It also recommends adding CONTRIBUTING.md.

I think if you install the bot, I may be able to do the rest. Or if you could add me to this repo, I can do it all.

Let me know.

Alright, saw it... I'll add the bot right now and see it in action. For the contributing.md file I have my own format for that. I'll add the remaining needed files to this repo.

warengonzaga commented 3 years ago

Hi, @ChristofLee I added the bot, you should now be able to try it here in our repository.

ChristofLee commented 3 years ago

@all-contributors please add @WarenGonzaga for code

allcontributors[bot] commented 3 years ago

@ChristofLee

File README.md was not found in the repository (WarenGonzaga/shortcodes-wp).

warengonzaga commented 3 years ago

I'll update the project structure in sec. @ChristofLee

warengonzaga commented 3 years ago

Mentioning #15 here.

warengonzaga commented 3 years ago

@ChristofLee is all contributors have been added?

ChristofLee commented 3 years ago

@all-contributors please add @WarenGonzaga for code

allcontributors[bot] commented 3 years ago

@ChristofLee

I've put up a pull request to add @WarenGonzaga! :tada:

ChristofLee commented 3 years ago

Yes that looks to be working.

You may want to tidy up the Pull Request created by the bot.

Then once it's merged, we can try adding me too.

warengonzaga commented 3 years ago

@ChristofLee can we change the changes of the bot to the dev branch instead?

ChristofLee commented 3 years ago

@WarenGonzaga unfortunately I think the bot only supports merging to the default branch. Maybe we could edit the PR to merge into dev instead?

I don't think I have permissions to make that change.

warengonzaga commented 3 years ago

@all-contributors please add @ChristofLee for code and docs and @WarenGonzaga for docs.

allcontributors[bot] commented 3 years ago

@WarenGonzaga

I've put up a pull request to add @ChristofLee! :tada:

warengonzaga commented 3 years ago

He uses the main branch as a reference. @ChristofLee

warengonzaga commented 3 years ago

I open an issue to the repository of the all-contributors bot. https://github.com/all-contributors/all-contributors/issues/559

warengonzaga commented 3 years ago

Any update on this @ChristofLee?

ChristofLee commented 3 years ago

Hey there @WarenGonzaga, I think we are waiting for an update on your issue you sent to the All Contributors bot.

I don't think there is anything more I can do to help with automating adding contributors to the readme in this case.

The other items you have mentioned here are not really my area of expertise so I was not planning on working on these. However if I find time then I could try work on them.

Sorry if I've missed anything, please let me know if there is something you would like me to action.

warengonzaga commented 3 years ago

Hey there @WarenGonzaga, I think we are waiting for an update on your issue you sent to the All Contributors bot.

I don't think there is anything more I can do to help with automating adding contributors to the readme in this case.

The other items you have mentioned here are not really my area of expertise so I was not planning on working on these. However if I find time then I could try work on them.

Sorry if I've missed anything, please let me know if there is something you would like me to action.

Alright, thanks for the help @ChristofLee! I might add items here and mentioned you. I guess I can handle this at the moment.

ChristofLee commented 3 years ago

@WarenGonzaga I would be interested in "Automate tests for WordPress". In my mind this would be:

What do you think? Did you have something in mind in regards to automated testing? I have done this before with Gitlab and Bitbucket pipelines but not with Github.

Please let me know if this is something you would like to collaborate on.