question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RFC Split the repo based on the projects in the repo

See original GitHub issue

Right now the huggingface_repo includes three projects;

  • huggingface_hub: which is the core library used by integration libraries and api-inference-community
  • api-inference-community which handes integration with some of the third party libraries
  • huggingface_widgets which is located under the js 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.

cc @julien-c @LysandreJik @osanseviero @Narsil

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

4reactions
pngwncommented, Mar 10, 2022

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.

2reactions
stevhliucommented, Mar 15, 2022

+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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found