Skip to content

Avoid dirtying the tree when removing dev-deps #202

@Manishearth

Description

@Manishearth

cargo workspaces publish, when publishing crates with cyclic dev deps, will helpfully remove the dev-dependencies section before publishing.

Unfortunately, this leads to a "dirty" publish, which gets included in the cargo VCS info file. It would be nice if we had an option to make commits each time it dirties the tree.

Note that removing dev-deps will also trigger a lockfile change (which I believe also dirties the tree?), so the step should probably be "remove dev deps", "regen lockfile" (probably by running cargo package), "make a commit", and then "publish".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions