``` $ repoman full --xmlparse --verbose --without-mask RepoMan scours the neighborhood... Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/repoman", line 44, in <module> repoman_main(sys.argv[1:]) File "/usr/lib64/python3.4/site-packages/repoman/main.py", line 116, in repoman_main vcs_settings, mydir, env) File "/usr/lib64/python3.4/site-packages/repoman/scanner.py", line 152, in __init__ self.changed.scan() File "/usr/lib64/python3.4/site-packages/repoman/modules/vcs/changes.py", line 57, in scan self._scan() File "/usr/lib64/python3.4/site-packages/repoman/modules/vcs/git/changes.py", line 35, in _scan "git diff-index --name-only " File "/usr/lib64/python3.4/site-packages/repoman/_subprocess.py", line 69, in __init__ proc = subprocess.Popen(args, stdout=subprocess.PIPE) File "/usr/lib64/python3.4/subprocess.py", line 859, in __init__ restore_signals, start_new_session) File "/usr/lib64/python3.4/subprocess.py", line 1457, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: b'git' ERROR: Build failed: exit code 1 ``` version: app-portage/repoman-2.3.0-r1
While the vcs's are plugin modules, yeah, it should at least dep on git. I don't think I need to rev bump the existing release for this do I.
hmm, I've been looking over the code... How is it you have a git checkout without git installed? Was dev-vcs/git uninstalled/depcleaned after getting the repo checkout? Is there a .git directory at the root of the tree as indicated by it selecting git as the repo vcs? If there are bugs in the repo vcs type detection, I'd like to know that to fix them.
(In reply to Brian Dolbec from comment #2) > hmm, I've been looking over the code... > > How is it you have a git checkout without git installed? > > Was dev-vcs/git uninstalled/depcleaned after getting the repo checkout? > > Is there a .git directory at the root of the tree as indicated by it > selecting git as the repo vcs? > > If there are bugs in the repo vcs type detection, I'd like to know that to > fix them. It happened on a docker-based CI server, which apparently checked-out the code and then run an image without git installed.
repoman support has been removed per bug 835013. Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.