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

feature - allow defining path for clone point #2

Closed
rholmboe opened this issue Feb 21, 2020 · 3 comments
Closed

feature - allow defining path for clone point #2

rholmboe opened this issue Feb 21, 2020 · 3 comments

Comments

@rholmboe
Copy link

would have the option of cloning objects in sgit to subfolder.

something like following

sgit repo add --path subfolder/ <name> <url> <rev>

where --path defaults to ./

if nestling repos is utilized, closest root folder should be cloned first

sgit repo add --path repo/ subrepo https://git.example.com/subrepo.git master
sgit repo add --path . repo https://git.example.com/repo.git master

in above case, repo.git should be cloned first, since subrepo.git is dependant on it path-wise locally.

non-allowed characters or paths should be /../ anywhere in the path, working outside initialized folder shouldn't be allowed.

@holmboe
Copy link
Contributor

holmboe commented Mar 1, 2022

I think this feature is invalid since sgit repo subcommand was removed in #27 ?

@Grokzen
Copy link
Collaborator

Grokzen commented Mar 1, 2022

@holmboe The feature per say can still be applied but the part where we do this from the cli should be removed and replaced with just defining this within the configuration file instead.

@Grokzen
Copy link
Collaborator

Grokzen commented Nov 21, 2022

Closing this in favor of the rewritten task #7

@Grokzen Grokzen closed this as completed Nov 21, 2022
@holmboe holmboe closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2023
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

3 participants