8000 Ability to pass the `norestore` flag to the `docfx metadata` cli command · Issue #10419 · dotnet/docfx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Ability to pass the norestore flag to the docfx metadata cli command #10419
Closed
@bronumski

Description

@bronumski

We use a build script for our dotnet projects that handles build, test, docs etc and allows our repos to be as agnostic as possible to a lot of what happens during the build. The issue I am facing is that when running docfx meta doxfx.json it looks for packages to restore. This causes a down stream issue because it effects the nuget pack step which explicitly avoids restoring packages (--no-restore --no-build ). To avoid this the docfx.config files in each repo need to have the noRestore flag set to true in the metadata section which is leaking build knowledge into each repository.

It would be nice to pass a --noRestore (or better still --no-restore) flag in the command line similar to the --disableGitFeatures, --disableDefaultFilter flags which mimic the related config values.

< 4CFA /div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0