-
Notifications
You must be signed in to change notification settings - Fork 64
Repo structure suggestion #134
Comments
Is this because users want to search for formula using github rather than an optimized search engine e.g. Running
Would it be better to lean users towards something like the search engine as implemented on https://crates.io/ instead? That might be a good solution to provide users a way to search against fish-food. |
I couldn't find the reason for the structure when I went searching. My thoughts were around maintainers for the apps in the repository. I didn't think of end users using it so much as those who need to maintain their apps. My personal experience (just 1 person) is that many files in one directory become a pain. For example, when I want to edit a formula, in homebrew, it can be a pain. Try this, clone the homebrew Formula repo and then open it in visual studio code. Then try to edit something. Take the formula maintainers experience for a spin. This is where I've run into annoyances. |
I found some very interesting data from a github engineer in a comment on cocoapods and having a flat file directory structure, similar to homebrew/fish-food: CocoaPods/CocoaPods#4989 (comment)
If anyone has data/docs/source code on how cargo indexes their repository, that would be much appreciated, otherwise I'll have to carve out some time and have a look into this. |
The CDN piece here isn't necessarily important considering that gofish doesn't host the package's release assets itself (though it might be something I would consider doing in the future), but homebrew uses bintray to host pre-compiled bottles so bintray is their effective CDN. The takeaways from that thread are:
|
It looks like the original issue around traversing a directory with thousands of files on github's UI has since been resolved. Moving the rest of the repository discussion over to #130. Thanks @mattfarina for your suggestions! |
Homebrew has run into a problem where you can't even view the formula listing on GitHub. Running ls is even a bad idea. Alternatively, the folks working on rust also use an index on GitHub but found a different structure that's worth looking at. See https://github.com/rust-lang/crates.io-index
The text was updated successfully, but these errors were encountered: