Skip to content

Engine CLI 404#1607

Closed
paigehargrave wants to merge 1 commit intodocker:masterfrom
paigehargrave:Engine-CLI-404-redirect
Closed

Engine CLI 404#1607
paigehargrave wants to merge 1 commit intodocker:masterfrom
paigehargrave:Engine-CLI-404-redirect

Conversation

@paigehargrave
Copy link

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@GordonTheTurtle
Copy link

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "Engine-CLI-404-redirect" git@github.com:paigehargrave/cli.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@paigehargrave
Copy link
Author

@thaJeztah - PTAL - thank you!

@paigehargrave paigehargrave force-pushed the Engine-CLI-404-redirect branch from 2d311a4 to 7a474eb Compare January 8, 2019 21:06
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments below; also looks like this is missing a sign-off, which is needed to make CI pass (see the comments that @GordonTheTurtle left), and we'll need the commits squashed after review.

description: "The daemon command description and usage"
keywords: "container, daemon, runtime"
redirect_from:
- /v1.11/engine/reference/commandline/daemon/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain this redirect? Because the archive still exists at this location; https://docs.docker.com/v1.11/engine/reference/commandline/daemon/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our policy is to document all currently supported versions, plus the most recently EOL'd version (to support upgrades from that version), therefore we are removing all docs content for versions old than 17.03 to reduce the associated maintenance burden and customer confusion. These pages account for < 0.75% of current site traffic and are already not indexed by search engine. However out of an abundance of caution we are implementing a handful of redirects for the most popular pages within this <0.75%. This PR implements those redirect for those pages.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have we tested if this actually works? Because I think it won't;

Also, once the "current" docs will be archived, possibly this redirect will now become;

/v18.09/v1.11/engine/reference/commandline/daemon/

Which will become a maintenance nightmare (also; what about version /v1.12/, /v1.13/)?

Would it be an alternative to, once we decide to no longer publish archives for a specific version, to replace an archive /vYY.MM/* to redirect to / ? (or show a landing-page, informing the user that that specific archive is no longer published?)

description: "The run command description and usage"
keywords: "run, command, container"
redirect_from:
- /v1.11/engine/reference/commandline/run/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same answer as above.

Signed-off-by: Paige Hargrave <paige.hargrave@docker.com>

Engine CLI 404

Add redirect for v1.11 version of this page

Add redirect from v1.11 page

Add redirects from v1.7 and v1.11 pages

Signed-off-by: Paige Hargrave <paige.hargrave@docker.com>
@codecov-io
Copy link

Codecov Report

Merging #1607 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1607   +/-   ##
=======================================
  Coverage   55.38%   55.38%           
=======================================
  Files         283      283           
  Lines       19305    19305           
=======================================
  Hits        10692    10692           
  Misses       7919     7919           
  Partials      694      694

@JustinINevill
Copy link

We believe we can accomplish the same outcome in a more simple way. @paigehargrave can you go ahead and close this?

@paigehargrave
Copy link
Author

Closing this based on previous conversations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants