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

Ability to strip configured prefix off of all local directory clone folder names #83

Open
fredcooke opened this issue Aug 10, 2021 · 0 comments
Assignees

Comments

@fredcooke
Copy link
Collaborator

In a large shared git organisation such as in a large company or any multi-tenant organisation with prefixes separating one set of repos from another (along with group/team access permissions) the prefix is configured in branchout and is already stripped from repo names when using them to define which group folder to be placed into and indeed what to name that folder, and there are existing tests that cover that.

In other parts of some related systems the prefix is also stripped and ditto inside the pom.xml of Java projects it's not used in the artifactId, either.

So my assertion is that it would be cleaner and result in shorter more meaningful paths to have something like this:

~/projects/projectName/groupName/naturalName

Rather than the status quo which is something like this:

~/projects/projectName/groupName/companyName-divisionName-projectName-groupName-naturalName

which as you can see, quickly gets unwieldy in the real world.

I understand that some people would prefer to keep the directory matching the physical repo name rather than the project name, and that this is the status quo, and that therefore this change should be implemented as an optional and opt-in behaviour that leaves current behaviour intact unless explicitly configured.

@fredcooke fredcooke self-assigned this Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant