Revert "Engine reference BUILD tarball contexts mangled"#433
Conversation
|
@thaJeztah PTAL |
|
|
||
| ```bash | ||
| $ docker build http://server/context.tar.gz | ||
| ``` |
There was a problem hiding this comment.
looks like this one should stay :)
|
oh wait, erm, perhaps the fix should be in here, idk |
|
With context of #175 looks like those lines were indeed duplicated, so up to you what's best here; we can carry the change in docker/docker perhaps, or sync? |
|
I think |
|
@thaJeztah @mstanleyjones I'd like to have a discussion on why simple fixes can't live in our repo. Absolutely no publishing of Engine content should be happening that doesn't create a pull request to docker/docker.github.io:master, which will automatically merge with commits that have happened in docker/docker.github.io. So there's certainly no danger of fixes that happen on docker/docker.github.io getting lost or overwritten. It seems we have to choose between one of two maintenance tasks until such time as reference docs are auto-generated:
Right now we are trying to enforce option #2 and I am unconvinced that it's worth it. Thoughts? |
|
If we try to do the first way, there will be style changes in only our repo, and content changes (like updated flags) in only the upstream repo, and I imagine "periodically refreshing |
|
@mstanleyjones I think we can mitigate the reconciliation nightmare with good timing. For example, at the moment where we know we need to publish changes that have originated from |
|
"a reconciliation nightmare" is exactly what we will have with 1.
Not at all. It will conflict, and the person doing the merge will have to look through the history of two repos and attempt to guess at the intent of dozens of changes. It's just not a workable solution.
This is exactly why so many people have raised concerns about the docs existing in two repos. It is very difficult to communicate that to contributors, even internal and frequent contributors can easily forget. However, I still believe reference docs should be generated from the code repos, so we still have the problem of having to check in generated reference docs into a repo where they can be edited, but any edits will be lost as soon as we regenerate the docs. Would it be possible to publish the docs from a non-master branch that refuses all PRs? The publish process would generate the docs, and check them into on the publish branch, so they would never exist in the master branch for someone to accidentally edit. It is much easier to communicate "branch |
|
@dnephin I hear you. We never wanted the docs to exist in two repos. The only reason we allowed anyone to keep docs in their repo after our migration was they intended to eventually auto-generate them. There are possibilities like a "publish" branch, certainly, but I think the correct course of action is, once we have automatically-generated reference files, they are published directly to the docs repo, and remaining docs in |
|
@mstanleyjones
Current source:
|
|
I absolutely agree with @dnephin, and also brought the same point several times. For me it's not acceptable to have reference documentation living in two places for the reasons already mentioned above. When the docs were migrated to this tree, I agreed on temporarily having the reference docs here because I was told that github pages could only deploy content that was on
@johndmulhausen looks like to me you are baiting and switching. |
|
Half of the original issue remains. |
Reverts #175
This removed actual content, and also we don't maintain these docs here, but in
docker/docker.