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

Allow end users to register trusted GitHub orgs or individuals and pull their tagged plugins #6

Closed
smileBeda opened this issue Jun 30, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@smileBeda
Copy link
Member

Currently the plugin pulls GitHub repos from TukuToi org, if the repo is tagged with classicpress-plugin
Make it possible for an end user to add trusted Orgs/individuals in a simple to use setting, so to pull their repos as well, as long they are tagged appropriately

This feature should:

  • provide a setting, perhaps with select2, to choose from orgs/individuals
  • save that setting and show the choice
  • then pull from those repos as well when enabled

It could be nice to offer the user the option to find orgs/ind without having to search for those, by simply APIing the tags of GitHub and pulling all orgs/ind from that, then offer them as a choice to the user (of course, with adequate "hey do you know what you do" warning)

@smileBeda smileBeda added this to the 1.3.0 milestone Jun 30, 2022
@smileBeda smileBeda self-assigned this Jun 30, 2022
@smileBeda smileBeda added the enhancement New feature or request label Jun 30, 2022
@smileBeda
Copy link
Member Author

smileBeda commented Jul 3, 2022

This is done in 1.3 ready for testing and breaking

@TukuToi/qc whenever you want and feel like attempting some breaking, please download https://github.com/TukuToi/tukutoi-cp-directory-integration/archive/refs/heads/1.3.0.zip, unzip, rename folder to tukutoi-cp-directory-integration, add to your wp/content/plugins and give it a try.

You will need a GitHub Token if you start adding other repos, since the requests will just be too many when you add other external repos.

You can create new issues if problems found or do it in Slack directly.

I myself tested it a couple times and could not spot issues, but as usual, I am not a user...

@smileBeda
Copy link
Member Author

Did not hear back any bugs so I am releasing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant