-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hey, awesome idea, super cool project!
The main friction I have using git-fetch-file is the install process -- it'd be nice to have a documented/standard pattern for bootstrapping git-fetch-file from a local repo, instead of requiring the user to globally install.
I'm imagining something like this: user downloads a repo, which would look something like this:
3rdparty/git-fetch-file.py
setup.sh
README
.git-remote-files
...
This way I could tell the user to simply run ./setup.sh after checking out the repo and it'd set up git-fetch-file for that repo -- and it'd be completely self-contained to that repo. As a bonus, when they git fetch-file pull, to update the other deps in the repo, they'd also get the latest version of git-fetch-file.py (because it could itself be listed in .git-remote-files!)
Taking this a step further -- you could provide a script to initialize this structure for new repos, so setting up git-fetch-file on a new repo would be as simple as
curl https://raw.githubusercontent.com/andrewmcwattersandco/git-fetch-file/refs/heads/main/bootstrap.sh | sh