whyrusleeping / gx

A package management tool
MIT License
1.88k stars 110 forks source link

DVCS config field. #92

Open whyrusleeping opened 8 years ago

whyrusleeping commented 8 years ago

I've wanted gx to have closer integration with git (and others) for quite a while. I think the best way to do this would be to have a "DVCS" field in the config that contains some fields like:

"DVCS": {
    "type": "git",
    "path": "github.com/whyrusleeping/gx"
}

More fields I can imagine would involve automatic hooks, like a post-publish hook that automatically commits something like "gx publish version 1.4.5".

jbenet commented 8 years ago
whyrusleeping commented 8 years ago

eh, it could be. but its going to be more annoying. Everything that uses it will have to split it out, and that likely means lots of shell tools will have to learn how to do that.

jbenet commented 8 years ago

fair enough