Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412883 - app-portage/layman: please support setting GIT_DIR per-overlay
Summary: app-portage/layman: please support setting GIT_DIR per-overlay
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-21 09:29 UTC by Michał Górny
Modified: 2016-01-02 01:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-04-21 09:29:59 UTC
Right now, layman stores all clone/checkout data in the overlay tree. This has two disadvantages. Firstly, operations on VCS internal data pollute the filesystem thus making Portage operations slower. Secondly, if one has a quite small filesystem for it, git will quickly fill it.

It would be great if it were possible for layman to use separate directory for VCS internal data, and other one for the checkout. For example, in git this could be done with GIT_DIR envvar or --git-dir= option.

I guess this could be easily enabled per-user using git_addopts if it supported a placeholder for repository name.