-
Notifications
You must be signed in to change notification settings - Fork 0
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
apps:clone #5
Comments
This could be named |
It's possible to check if an HTTP(S) URL is Git with |
I'm thinking now about calling this This also highlights an interesting thing: there are two classes of things that have a backing Git store in Plushu - repo-backed (apps) and repo-based directories (plugins). They're not unified, because you push apps but pull plugins. (Services/addons is a really interesting intersection of apps and plugins - for the purposes of this classification, they're more like plugins, but they have the directory-backed basis seen with apps.) Merging these would be stupid ("hey, look, I just clobbered the trace plugin by pushing an app with the same name!"), but they can share some common code... |
I'm looking at making a hook for plugins (that will be reused for services) that will check a URL for transports (anybody using the hook should do it ordered) and, if it finds it, outputs its type and creates the directory (other plugins would then see the directory exists and skip their attempt). I might make a similar hook (to accompany the hook in the same plugins) for installing any available transport to the appropriate directories in Other installers (beyond the obvious VCS ones) can be |
Actually, I'm thinking now that the Git install hooks will be part of the main plushu-git plugin. |
So, the thing about this: it is git-specific (it's basically git-receive-app in a can). I don't know of a tool that would allow us to check what the version control system of a remote URL is: if I did, then I would probably use it (and it would probably move
apps:clone
into its own plugin, since it breaks the pattern used by every other command in apps).The text was updated successfully, but these errors were encountered: