Skip to content

Is there a reason uninstall doesn't take depth? #477

Description

@a-olguin

I use gitman in a project of projects where several repos also use gitman to handle their dependencies, and this all works well.

However, for reasons at least one of those dependency projects uses location=. and routes dependency checkouts to different subdirectories through the name field of the gitman yaml.

This was fine until I went to uninstall my top level repo during cleanup and discovered that it infinitely recursed on the problematic dependency. I tried adding the depth flag to stop the recursion and see that it is unrecognized for uninstall. I see that in the implementation we use get_dependencies which can take a depth, and so I think see a clear way to wire depth through the arg parser down to the delete command, but want to make sure there wasn't a subtlety in the project I didn't appreciate before I make a PR.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions