Sorry - I really don't like website being hidden on a branch.

Why?

* It's non-obvious and one more thing to remember (or forget, or explain)
* Primary reason for branching (in my view) is lifecycle, and here the two have very similar versioning and release lifecycles: master for both will be relevant to master of codebase, where eg v0.12.0 will be relevant to last release of 0.12.0 and what is live; there will be times we want to update what is live with something more reason relevant to that version, but we'll do that by pushing to 0.12, and we can release (publish) that immediately unlike code, but what we _can't_ assume for both is that master can always be published, because we may have added unreleased features to docs for both site and guide; with site in a `website` branch we will have to have branches there eg `website_0.12` alongside `0.12` of guide * PRs become more difficult, remembering which branch to open them against and merge against * PRs become even more difficult if adding a feature which goes onto both the site and into the docs (which we should do more of), we add to one branch, switch branches add to the other, then open PRs for both branches * Ideally they converge to use the same technology (not both gitbook and markdown) so if in the same project they can share themes and utils etc; if in different branches we have to cherry-pick between branches (always opening and reviewing 2 identical PRs!)

My ideal would be different subdirs but if they really need to be separate then we could do a different project (resolves reasons 1 2 3 and improves 4 and 5)

Best
Alex


On 26/10/2017 14:04, Richard Downer wrote:
All,

Following on from Thomas's gitbook work[1] - now merged[2] - it means that
the brooklyn-docs `master` branch does not contain the public website (just
the documentation).

In those threads it was discussed that most branches would remove the
website, and a separate branch would be used to store the public website (a
bit like how GitHub pages used a `gh-pages` branch for a repository's
publis website). I'm assuming that the acceptance and merging of gitbooks
is passive consensus of this concept too.

Therefore, I've created a new branch in the Apache brooklyn-docs repo
called `website`, which is taken from `master` immediately prior to the
merge of the gitbook conversion.

If anybody disagrees with this passive consensus approach and thinks that
this branch is a bad idea, then please feel free to speak up. After all,
source control means that things can always be undone :-)

Expect a forthcoming PR on the `website` branch to remove the documentation
files and leave just the website files (like the opposite of Thomas's PR).

Richard.

[1]
https://lists.apache.org/thread.html/760a3e2fdefaff8d8ac4ea3f98a45060fbaa0d886fa57c8f44e4742e@%3Cdev.brooklyn.apache.org%3E
[2] https://github.com/apache/brooklyn-docs/pull/222

---------- Forwarded message ----------
From: <[email protected]>
Date: 26 October 2017 at 13:50
Subject: [brooklyn-docs] Git Push Summary
To: [email protected]


Repository: brooklyn-docs
Updated Branches:
   refs/heads/website [created] e1d08e53c


Reply via email to