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

Add config entry to disable for repo #892

Open
davwheat opened this issue Apr 25, 2021 · 4 comments
Open

Add config entry to disable for repo #892

davwheat opened this issue Apr 25, 2021 · 4 comments

Comments

@davwheat
Copy link

I use Upptime (open source status page) which continuously updates graph images to show response time for my services.

imgbot is constantly attempting to optimise these whenever they're updated, wasting your computational time.

I'd love a simple enabled key in the JSON config to entirely disable imgbot for a single repo.

@selul
Copy link
Contributor

selul commented Sep 2, 2021

@davwheat when you install the app, you have the option to enable on which repositories you want imgbot to run, removing the ones that you don't need.

Will it work for your usecase?

@davwheat
Copy link
Author

davwheat commented Sep 2, 2021

Yes, I suppose. I do enjoy having it on by-default for new repos when I create them. Changing to "Select repositories" would mean I'd have to manually enable it when I have new repositories.

@GrigoreMihai
Copy link
Contributor

@davwheat To entirely disable a repository you will have to remove that repository from the app settings in the "Select repositories" option, having a key in .imgbotconfig will only allow us to skip the repository from optimization, but github will still send events to the app when the repository is updated. Also we now have an option to remove a repository from optimization from your account here: https://imgbot.net/ for the paid plans that have a limited number of private repositories which should help users manage their account. I do not think that the flag in .imgbotconfig will help to much considering the things mentioned above, let me know what you think ?

@davwheat
Copy link
Author

davwheat commented Oct 27, 2021

I explained why I did not wish to use the Select Repositories option above, and I don't have a paid plan, so these suggestions are particularly useful to me.

All I wanted to do was save you processing time and money. It doesn't have any effect on me personally, whether this feature exists or not.

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

No branches or pull requests

3 participants