Summary: | git-2.eclass: Add support for submodules in non-bare clones | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hristo Venev <hristo> |
Component: | Eclasses | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | god |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Support for submodules in bare repositories |
Description
Hristo Venev
2013-02-01 20:36:09 UTC
Created attachment 337628 [details, diff]
Support for submodules in bare repositories
Tested with bare repositories and works. Not tested with nonbare repositories.
That's a lot of code with no comments. I'd appreciate if you could elaborate on it a bit more. Especially, how does it work with network activity? Is it possible to use the repo with submodules with EVCS_OFFLINE=1 and no network access? I was going to work on something like this for a long time but never got the time to do it. However, my solution was more like hand-fetching all the submodules into separate bare clones. Also, I see you're using --git-dir a lot there. If it's everywhere, could you instead use 'local GIT_DIR=...' in the src_unpack() func, plus 'export GIT_DIR'? Use git-r3.eclass instead |