Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584786 - repoman-2.3.0_rc1-r1 fails to detect git repository with separate git dir
Summary: repoman-2.3.0_rc1-r1 fails to detect git repository with separate git dir
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: portage-2.3.0
  Show dependency tree
 
Reported: 2016-06-01 17:45 UTC by Ulrich Müller
Modified: 2017-01-23 20:04 UTC (History)
0 users

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 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").