Skip to content

Scan for vcs repos and save, ignore feature, add-from-fs #25

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

Open
tony opened this issue Jan 27, 2016 · 2 comments
Open

Scan for vcs repos and save, ignore feature, add-from-fs #25

tony opened this issue Jan 27, 2016 · 2 comments

Comments

@tony
Copy link
Member

tony commented Jan 27, 2016

Allow scanning for repos with a find/ag.

$ vcspull scan [path]  # prompt to merge into config (creating backup first) or create new

Should allow ignore dirs/patterns. Be fast, leverage https://github.com/ggreer/the_silver_searcher if in PATH.

@pirhoo
Copy link

pirhoo commented Nov 25, 2016

This would be awesome! In the meantime, I made this:
https://gist.github.com/pirhoo/9f1f42ed73c929e1e19101356482daeb

@tony tony changed the title Scan for vcs repos and save, ignore feature Scan for vcs repos and save, ignore feature, add-from-fs May 10, 2025
@tony
Copy link
Member Author

tony commented May 10, 2025

Actually - rather than write a python script, plan to add command to /home/d/work/python/vcspull that can:

  • Feature request: command to add new repository #333: add (can be ran in various ways, e.g. vcspull add my-repo to add my-repo, or vcspull add my-repo <url> to add ./my-repo with repo of `, or have a dir passed to it via flag
  • this: add-from-fs (scans for git repos and adds them to current manifest)

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

No branches or pull requests

2 participants