Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Man support #14

Merged
merged 20 commits into from
Feb 29, 2024
Merged

Man support #14

merged 20 commits into from
Feb 29, 2024

Commits on Jun 2, 2017

  1. Add a script to generate man pages from cobra commands.

    Use the generate.sh script instead of md2man directly.
    Update Dockerfile for generating man pages.
    
    Signed-off-by: Daniel Nephin <dnephin@docker.com>
    dnephin authored and Tibor Vass committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    891740e View commit details
    Browse the repository at this point in the history
  2. Remove old cli framework.

    Also consolidate the leftover packages under cli.
    Remove pkg/mflag.
    Make manpage generation work with new cobra layout.
    Remove remaining mflag and fix tests after rebase with master.
    
    Signed-off-by: Daniel Nephin <dnephin@docker.com>
    dnephin authored and Tibor Vass committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    357f26d View commit details
    Browse the repository at this point in the history
  3. Move api/client -> cli/command

    Using
      gomvpkg
         -from github.com/docker/docker/api/client
         -to github.com/docker/docker/cli/command
         -vcs_mv_cmd 'git mv {{.Src}} {{.Dst}}'
    
    Signed-off-by: Daniel Nephin <dnephin@docker.com>
    dnephin authored and Tibor Vass committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    7b32646 View commit details
    Browse the repository at this point in the history
  4. Read long description from a file.

    Signed-off-by: Daniel Nephin <dnephin@docker.com>
    dnephin authored and Tibor Vass committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    12670c0 View commit details
    Browse the repository at this point in the history
  5. Add example for device-cgroup-rule to man

    Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
    mlaventure authored and Tibor Vass committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    5f4920e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3ef3474 View commit details
    Browse the repository at this point in the history
  7. Add missing dependencies to vendor, and fix generation imports

    Signed-off-by: Daniel Nephin <dnephin@docker.com>
    dnephin committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    51917b7 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2017

  1. Disable adding [flags] to UseLine in man pages

    Signed-off-by: Daniel Nephin <dnephin@docker.com>
    dnephin committed Nov 20, 2017
    Configuration menu
    Copy the full SHA
    524adae View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2018

  1. Refactor content_trust cli/flags handling

    Remove the global variable used. Allows easier unit testing.
    
    Signed-off-by: Vincent Demeester <vincent@sbr.pm>
    vdemeester authored and dnephin committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    9d26ab2 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2018

  1. Merge pull request #929 from vdemeester/trust-no-global-var

    Refactor content_trust cli/flags handling
    thaJeztah authored Mar 9, 2018
    Configuration menu
    Copy the full SHA
    d55bb8e View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2018

  1. man: obey SOURCE_DATE_EPOCH when generating man pages

    Previously our man pages included the current time each time they were
    generated. This causes an issue for reproducible builds, since each
    re-build of a package that includes the man pages will have different
    times listed in the man pages.
    
    To fix this, add support for SOURCE_DATE_EPOCH (which is a standardised
    packaging environment variable, designed to be used specifically for
    this purpose[1]). spf13/cobra doesn't support this natively yet (though
    I will push a patch for that as well), but it's simpler to fix it
    directly in docker/cli.
    
    [1]: https://reproducible-builds.org/specs/source-date-epoch/
    
    Signed-off-by: Aleksa Sarai <asarai@suse.de>
    cyphar committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    2635ccf View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Remove containerizedengine package dependency from docker/cli/command…

    … this removes a whole lot of dependencies from people depending on docker/cli…
    
    Signed-off-by: Vincent Demeester <vincent@sbr.pm>
    vdemeester committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    98cc7dc View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2018

  1. Merge pull request #1306 from cyphar/obey-source_date_epoch

    man: obey SOURCE_DATE_EPOCH when generating man pages
    vdemeester authored Nov 29, 2018
    Configuration menu
    Copy the full SHA
    da2b4a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2019

  1. Introduce functional arguments to NewDockerCli for a more stable API.

    Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
    silvin-lubecki committed Jan 28, 2019
    Configuration menu
    Copy the full SHA
    22ad637 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1633 from silvin-lubecki/refactor-docker-cli-cons…

    …truction
    
    Introduce functional arguments to NewDockerCli for a more stable API.
    vdemeester authored Jan 28, 2019
    Configuration menu
    Copy the full SHA
    36c00b3 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

  1. man-pages: fix missing manual title in heading

    This was set in our manually written markdowns, but not in the man pages
    generated through Cobra.
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    3c98406 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2801 from thaJeztah/fix_missing_manual_entry

    man-pages: fix missing manual title in heading
    silvin-lubecki authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    ca0d6b2 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Import man/generate.go with history from docker/cli

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    5090452 View commit details
    Browse the repository at this point in the history
  2. add man support

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    be388bf View commit details
    Browse the repository at this point in the history
  3. test: "attach" and "buildx dial-stdio" cmds for testing

    Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
    crazy-max committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    4ecc2f2 View commit details
    Browse the repository at this point in the history