RFC Split the repo based on the projects in the repo
See original GitHub issueRight now the huggingface_repo
includes three projects;
huggingface_hub
: which is the core library used by integration libraries andapi-inference-community
api-inference-community
which handes integration with some of the third party librarieshuggingface_widgets
which is located under thejs
folder and hosts the code for the inference widgets
The three projects require different dev environments, have different development styles, and follow different release cycles.
This request for comment is for us to see if it would make sense to separate the repo into three different repositories.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:14 (14 by maintainers)
Top Results From Across the Web
RFC: Splitting the library into packages - Discuss - ProseMirror
RFC : Splitting the library into packages ; It feels cleaner to have the library core entirely detached from further incidental complexity.
Read more >[RFC] Change to repo manifest format - Google Groups
So there is no difference. However, if a change touches 2 or more projects, and they are interrelated, the first project submits, and...
Read more >rfcs/0001-monorepo.md at main · carbon-design-system/rfcs
Carbon is currently split up into a variety of projects that are ... The repo itself will be bootstrapped using a combination of...
Read more >rfc:dvcs - PHP
This RFC aims to provide information helpful in choosing one of the proposed decentralized version control systems (DVCS). Current Situation.
Read more >Split a repository in two | Bitbucket Cloud - Atlassian Support
A code repository typically has multiple directories. For example, you could have separated your project's features into appropriately named directories ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I personally have no opinion on this suggestion, as I do not routinely work with these projects but thought I would share my experience.
In my experience, lots of individual repos scales poorly as an org grows. Having fewer, bigger repos, increases the likelihood that the repo will be well maintained (as it is less liklely to get abandoned without intention, and generally has more eyes on it), offers an easier path for code sharing (local files/ local symlinks are far easier to maintain and utilise than cross-repository ones), makes enforcing code and quality standards easier and, in particular, makes sharing CI easier.
I don’t think there are any inherent problems with multi-language mono-repos, whether custom tooling is used to support that or not.
I also think there are better mechanisms for importing dependencies than relying on the entire repo. Package repositories, both public and private, exist to address that problem.
+1 for the split! ❤️
Not directly related to splitting the repo, but I think this could be a good opportunity to sort of refresh the Hub product docs. Instead of a list of questions (i.e, How can I do this? Can I do that?), I think it would be nice to give it a little more narrative/structure and focus more on user goals instead of more granular/narrow questions.