Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 584786

Summary: repoman-2.3.0_rc1-r1 fails to detect git repository with separate git dir
Product: Portage Development Reporter: Ulrich Müller <ulm>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 573774    

Description Ulrich Müller gentoo-dev 2016-06-01 17:45:54 UTC
Repoman doesn't recognise a git repository with a separate git dir, for example, cloned like this:

$ git clone --separate-git-dir gentoo.git git+ssh://git@git.gentoo.org/repo/gentoo.git gentoo

When trying to do a commit, I get the following messages:

   $ repoman commit
   [WARNING] No VCS type detected, unable to sign the commit

   RepoMan does a once-over of the neighborhood...

   Note: use --include-dev (-d) to check dependencies for 'dev' profiles

   RepoMan sez: "So, you want to play it safe. Good call."

   RepoMan sez: "Doing nothing is not always good for QA."

   (Didn't find any changed files...)

Note that in such a configuration, .git is not a directory but a regular file (containing a single line "gitdir: /path/to/gitdir.git").