Imgbot
Imgbot copied to clipboard
Add config entry to disable for repo
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.
@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?
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.
@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 ?
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.