Comments on example command
python ggd.py
Install a ggd shell script and use instead ggd install …?
ucsc.human.b38.cpg
The underlying URL of the formula uses slashes to separate components. Why use dots here? Consider instead ucsc/human/b38/cpg.
human
Common names are ambiguous. Use binomial names instead?
b38
Use the full name GRCh38 instead?
source.species.genomebuild.name
Perhaps this format could optionally include the GitHub username and repo to support installing formula from non-arq5x/ggd-recipes locations.
user/repo/source/species/genomebuild/name
Yep, good points!
- I will make it an executable Python script. Just haven't gotten to it yet.
- Worth considering, though I was fearful of confusion with real directories.
- I see your point. This requires some thought...
- The --cookbook option (no examples yet) allows for this.
The --cookbook option (no examples yet) allows for this.
I've found with Homebrew that its nice to include the cookbook in the identifier. For example, brew install homebrew/science/abyss fetches the formula https://github.com/Homebrew/homebrew-science/blob/master/abyss.rb.
Worth considering, though I was fearful of confusion with real directories.
It's really nice to be able to paste from the terminal/command line into the browser location without having to change all the dots to slashes, which gets old really fast.
I like that, but it is a bit too restrictive IMHO. It still assumes github as a base. The --cookbook allows things like:
--cookbook file:///path/to/recipes
--cookbook http://shaun.io/recipes
That said, if just /foo/bar/recipe are given on the CL, it could assume a github base by default.
Yes, that's what brew does too.
That said, if just /foo/bar/recipe are given on the CL, it could assume a github base by default.
Yes, and if a full URL is given, use that, which allows for an arbitrary non-GitHub base.
Yep, thanks much for the feedback!
@sjackman I agree with you and switched to slashes instead of periods to define the hierarchy.