Better HN
topnewbestaskshowjobs
Log inSign up

oka

43 karma · joined Sep 24, 2012 (14y ago) · 3 submissions

Submissions

comment 4y ago · link · parent

With x-modules we aim to solve the issues that monorepo introduces keeping the benefits.

Benefits: easy cross-component changes, repeatable builds Issues: huge repositories, lack of code ownership boundaries, complicated versioning for individual products/components

Of course people nowadays rarely use submodules to build a monorepo, but I believe they would like to if submodules would be transparent.

Git X-modules are at early stage and only syncs a ref with a directory now. We'll add an option to pin a particular commit and most interesting - an option to receive module changes as PRs queue that could be individually accepted (and applied alongside with the necessary call site refactorings).

Git X-modules is available for GitHub users now, and we plan to add GitLab and Bitbucket support - both cloud and on-premises. So, we reuse platform's user management to only let repository admins/devs set up the modules - currently via web UI, and via .xmodules files in the future versions.

2.

Show HN: Get rid of Git submodules and never look back (now for GitHub users)(gitmodules.com ↗)

65 points · by oka · 4y ago · 57 comments

3.

SubGit 3.0.0 (SVN/Git Mirror tool) released(subgit.com ↗)

3 points · by oka · 11y ago · discuss