Edward, et al,

Anyone have a preference on the name of the branch for the Jekyll project that Sree has put together?

Josh Elser wrote:
Sorry, Sree, I thought you were a committer already :). Too many names
to keep track of.

You can either just do one pull-request for the jekyll project (like you
did already), or you can also do a pull-request for the generated-HTML
to the asf-site branch.

Accumulo called their jekyll-source branch "gh-pages" so that Github
would auto-render it and be all pretty. Gossip can call it whatever it
wants. I only mentioned what Accumulo does as a concrete example with
documentation+workflow.

Will comment on your pull-request directly.

Sree V wrote:
Still figuring out the 'git hook', Josh.

I created the initial base and this is the pull request for
it.https://github.com/apache/incubator-gossip/pull/5

Would someone with commit privileges create 'site-src' branch and push
to github, please ?So, I can create a pull request for it. Let me
know, otherwise.

'site-src' more descriptive than 'gh-pages' ?


Thanking you.
With Regards
Sree

On Tuesday, June 21, 2016 8:06 PM, Josh Elser<[email protected]>
wrote:


I like Jekyll a lot. I just didn't want to sway you into thinking you
had to use it or that it was the only option.

Also: I already sent you the link to the commit hook, Sree.

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:
Thank you for the details, Josh.
I will take the same approach.I will use the jekyll for now, unless
you recommend another.
Please send the 'git commit hook', to install on my local.


Thanking you.
With Regards
Sree

On Monday, June 20, 2016 3:57 PM, Josh Elser<[email protected]>
wrote:


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