aspiers / git-deps

git commit dependency analysis tool
GNU General Public License v2.0
297 stars 46 forks source link

$ git: 'deps' is not a git command. See 'git --help'. #121

Open chakpongchung opened 11 months ago

chakpongchung commented 11 months ago

Hi

I am trying to use this project to find the commit dependencies btw two releases in

I ran into the problem as mentioned in the title after installation here: https://github.com/aspiers/git-deps/blob/master/INSTALL.md

OS env:

$ uname -a

Linux kingstonSSD 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Any hint?

chakpongchung commented 11 months ago

@aspiers ^^ for your attention. Is there any updated doc about it somewhere else?

aspiers commented 11 months ago

How did you perform the install? It can't find git-deps anywhere on your $PATH.

chakpongchung commented 11 months ago

I tried option 0 and option 1 here: https://github.com/aspiers/git-deps/blob/master/INSTALL.md

My local path:

$ echo $PATH
/home/tom/.local/bin:/home/tom/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

Is there any CI script guarding the steps are working in certain OS env so I can see how to install?

aspiers commented 11 months ago

Is there any CI script guarding the steps are working in certain OS env so I can see how to install?

Not currently, see #119.

chakpongchung commented 11 months ago

I uploaded my os env which is ubuntu 22.04.2 LTS. Does that play a part? Which option and OS are recommended for a successful installation?

A separate question: what is the high level idea and build blocks in git-deps to detect dependencies btw commits?

aspiers commented 11 months ago

Any OS supporting the right Python and libgit2 versions should work fine.

A separate question: what is the high level idea and build blocks in git-deps to detect dependencies btw commits?

This is explained in the README but if specific bits are not clear then please let me know and I can clarify.

chakpongchung commented 11 months ago

update: I tried option 2 and option 3. Both of them failed on ubuntu 22.04

aspiers commented 11 months ago

Failed how exactly?