Gitea: [Feature] for doctor framewrok

Created on 19 Jan 2020  路  3Comments  路  Source: go-gitea/gitea

let gitea repair hooks based on current binary executing path & app.ini settings ...

kinproposal

Most helpful comment

CLI currently has the following commands which would resynch keys and hooks, maybe doctor would alert user that they would need to run the following?

    gitea admin regenerate hooks
    gitea admin regenerate keys

All 3 comments

I think this is what Resynchronize pre-receive, update and post-receive hooks of all repositories. does?

CLI currently has the following commands which would resynch keys and hooks, maybe doctor would alert user that they would need to run the following?

    gitea admin regenerate hooks
    gitea admin regenerate keys

I think it would be cool if the doctor performed all of those functions by itself as part of its diagnostics/repair procedure. Unless there's some reason for not doing that, of course. We could add flags like --repair-all in case we don't want some destructive step to run by default.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonasfranz picture jonasfranz  路  3Comments

cookiengineer picture cookiengineer  路  3Comments

jakimfett picture jakimfett  路  3Comments

thehowl picture thehowl  路  3Comments

jorise7 picture jorise7  路  3Comments