vitessio / website

vitess.io website and other project management related content
https://vitess.io
Apache License 2.0
47 stars 187 forks source link

automatically update generated docs on vitess merge #1602

Open ajm188 opened 9 months ago

ajm188 commented 9 months ago

now that most of the stuff in reference/progams is generated via cobra (and soon all? 🤞) it would be awesome if, whenever a PR is merged into the vitess codebase in main or any release-* branch, we automatically triggered a job to regenerate the docs and open a PR on the website, linking back to the triggering PR (for minimizing diffs we can figure out a way to filter only changes where more than the SHA metadata changed, or we can decide to not care)

ajm188 commented 9 months ago

oh sick:

$ git diff --shortstat
 156 files changed, 220 insertions(+), 38 deletions(-)
$ git diff -I"^commit:.*$" --shortstat
 22 files changed, 64 insertions(+), 8 deletions(-)
ajm188 commented 6 months ago

bot sync seems to not be working. looking at the repo i am seeing branches pushed but no actual commits on those branches (i.e. there is no difference between main at the time the branch was cut and that branch). i am looking into why