Feature request: command to add new repository
See original GitHub issueCurrently when using this tool one has to edit the config file and then run the vcspull
command (maybe with filter on the new repo name) to get the new checkout.
I would propose to add some sort of command where you can do something like vcspull add <repoUrl>
which will then generate an entry similar to:
<folder>:
<repoName>: '<repoUrl>'
in the existing config. <folder> would be the folder from which the call is executed Obviously if the <folder> already exist it should just add an entry to that block. The <repoName> should be extractable from the <repoUrl>, if not it needs to be passed in the call.
Once this config update was done vcspull
should be able to run its normal “checkout/update” logic on that new entry to create it.
That way you can add a new entry in the vcspull config and get the checkout right away.
Any thoughts on this?
Best regards Segaja
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:22 (16 by maintainers)
Top GitHub Comments
@tony who knows, if you bring the current
master
codebase into the new structure (like moving the current “sync” code into its own file and proposing the structure and invocation) I might pick up the idea of this issue here and add the new command myself.Working on the generator script in python got me enjoying python again, so if you don’t mind i could implement this “add” feature myself.
Noted
Agreed
I agree with this sentiment. Next release will move the sync behavior to
vcspull sync