Fork me on GitHub
#perun
<
2016-06-03
>
martinklepsch11:06:48

I was thinking about this too. The task docs might be handy, alternative would be to have some kind of mini tutorial for all tasks but these will get outdated and I'm also not sure how useful that would be since they usually require a bit of context.

martinklepsch12:06:40

@juhoteperi: the issue with the github wiki based approach: how do we trigger a rebuild of the site?

martinklepsch12:06:14

@juhoteperi: but that would be in defined intervals not "on-change", right? I want a service that does programmatic code edits to a codebase and commits them to a repo

juhoteperi12:06:40

Doesn't matter, the interval can be 15 sec or what ever

juhoteperi12:06:30

Wiki is available in git repo but I'm not sure if any CI supports that directly

juhoteperi12:06:05

Though there is a webhook which is called when wiki is updated

juhoteperi12:06:01

One option would be to have docs on separate repo and link to edit page: https://github.com/hashobject/perun/edit/master/README.md

juhoteperi12:06:23

Not sure how this works for ppl without commit rights, but IIRC it provides option to create PR?

martinklepsch13:06:06

y, was just thinking that putting it into the website repo might be better. Wikis also have these fancy links we'd need to parse and a bunch of other stuff

martinklepsch13:06:51

this would also simplify the rebuilding stuff

podviaznikov18:06:16

So it’ seems like github send webhooks for each wiki update. And wiki is available as git repo (https://help.github.com/articles/adding-and-editing-wiki-pages-locally/). So we can setup Heroku integration (or something else), that will receive hook, checkout code, build site and deploy it

podviaznikov18:06:28

It seems like it can be doable based on push to wiki

juhoteperi18:06:27

Yeah, it is possible but required custom software, at Heroku or somewhere