I thought Taylor mentioned this on the INFRA JIRA issue, but there is a branch named "asf-site" in the incubator-gossip repository. This is what git-pubsub is configured to pull HTML content from and publish it to your website on git-push:

https://git1-us-west.apache.org/repos/asf?p=incubator-gossip.git;a=shortlog;h=refs/heads/asf-site

A "common" approach would be have another branch which hosts some project which can generate your website (a Jekyll project is common, but not the only option). From this Jekyll project, you can generate HTML, and then commit it to the asf-site branch and push that branch.

Concretely, here's an example of how we make this work in Apache Accumulo[1]. There is a branch named "gh-pages" which contains our Jekyll project. We provide a Git commit-hook[2] which you can install locally which will automatically build and commit your latest commit on gh-pages to the asf-site branch. Then, you can just push both the gh-pages and asf-site branch. I'm not sure what other kind of automation people have here, but the possibilities are endless.

[1] http://accumulo.apache.org/source#website
[2] https://git-wip-us.apache.org/repos/asf?p=accumulo.git;a=blob_plain;f=_devtools/git-hooks/post-commit;hb=gh-pages

Sree V wrote:
got it.closed the jira.
what is `git pubsub setup for the gossip website` ?how do i use it to develop 
gossip website ?

Thanking you.
With Regards
Sree

     On Monday, June 20, 2016 10:00 AM, Josh Elser<[email protected]>  wrote:


  Ditto to what Taylor already said on that issue. Please close that issue
as invalid. Thanks!

Sree V wrote:
Hi Edward/Team,
I created jira, https://issues.apache.org/jira/browse/INFRA-12139
requesting apache infrastructure to create svn branch and enable pubsub,for our 
gossip website.


Thanking you.
With Regards
Sree



Reply via email to