git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git Monorepo

From
STSandu Turcan <idlsoft@gmail.com>
Date
Mar 4, 2019, 12:42 UTC
Message-ID
<CAEnBgA0=F8rDkUJEy-nUYGuqPMvMW1XwkAg=B8uN9yDTQtzRMA@mail.gmail.com>

At my company we need to be able to manage access to different parts of source code.

We've used separate git repos in the past, but then discovered Mercurial’s narrow extension, which supports sever side filtering.

We all clone one repo, but get different subsets of the source, based on permissions. It’s pretty seamless, and works well. There are some limitations, like not being able to merge files outside your filter, but on balance things are easier to manage.

I'm trying to see if the same can be done with Git. The latest version seems to have some ingredients, like sparse checkout, and blob filtering. They're both meant to address performance AFAIK, but perhaps can also be used as foundation for implementing permissions.

I have some ideas on how this would work, and my company is willing to support the effort, but we'd like to coordinate it with git developers.

There have been a number of attempts to implement a git monorepo over the years, I'm sure it would benefit a lot of people.

Message 1 of 1 in “Git Monorepo”
  1. Sandu TurcanMar 4, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.