installation
I guess in the readme
git clone https://git.km3net.de/km3py/km3irf
should be
git clone git clone git@git.km3net.de:km3py/km3irf.git
the former gives some error.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
Actually both should work. What error do you get?
░ tamasgal@silentbox:tmp main ● ஃ v1.8.5 ░ 00:08:32 > git clone https://git.km3net.de/km3py/km3irf Cloning into 'km3irf'... warning: redirecting to https://git.km3net.de/km3py/km3irf.git/ remote: Enumerating objects: 539, done. remote: Counting objects: 100% (87/87), done. remote: Compressing objects: 100% (50/50), done. remote: Total 539 (delta 38), reused 78 (delta 33), pack-reused 452 Receiving objects: 100% (539/539), 1.03 MiB | 866.00 KiB/s, done. Resolving deltas: 100% (250/250), done.
Edited by Tamas Gal- Author
/pbs/home/h/heijboer/tmp(0)>git clone https://git.km3net.de/km3py/km3irf Cloning into 'km3irf'... error: RPC failed; result=22, HTTP code = 422 fatal: The remote end hung up unexpectedly /pbs/home/h/heijboer/tmp(128)>
that's in lyon. Actually on my own machine it works.
Edited by Aart Heijboer That's weird. I think it's your setup... It works at least for me in Lyon CC too:
░ tgal@cca001:/sps/km3net/users/tgal/tmp ░ 00:31:52 > git clone https://git.km3net.de/km3py/km3irf Cloning into 'km3irf'... warning: redirecting to https://git.km3net.de/km3py/km3irf.git/ remote: Enumerating objects: 539, done. remote: Counting objects: 100% (87/87), done. remote: Compressing objects: 100% (50/50), done. remote: Total 539 (delta 38), reused 78 (delta 33), pack-reused 452 Receiving objects: 100% (539/539), 1.03 MiB | 9.91 MiB/s, done. Resolving deltas: 100% (250/250), done. ░ tgal@cca001:/sps/km3net/users/tgal/tmp ░ 00:31:55 >
Which git version are you using? It might be that you need to put
.git
at the end, for whatever reason I don't see a redirect in your output.░ tgal@cca001:/sps/km3net/users/tgal/tmp ░ 00:31:55 > git --version git version 2.30.1 ░ tgal@cca001:/sps/km3net/users/tgal/tmp ░ 00:33:49 > which git /pbs/software/centos-7-x86_64/git/2.30.1/bin/git
Edited by Tamas Gal- Author
okay, I get 1.8.3.1. (guess you get the newer version via km3net_soft_env/2.1)
( yeah, found this https://stackoverflow.com/questions/32533379/git-error-rpc-failed-result-22-http-code-404 and indeed adding .git helps ).
never mind, then... thanks.
- Aart Heijboer closed
closed
- Tamas Gal reopened
reopened
- Tamas Gal created branch
9-installation
to address this issuecreated branch
9-installation
to address this issue - Tamas Gal mentioned in merge request !23 (merged)
mentioned in merge request !23 (merged)
I updated the installation instructions here: !23 (merged)
@msmirnov feel free to review and merge
- Mikhail Smirnov mentioned in commit a8d053cb
mentioned in commit a8d053cb
- Mikhail Smirnov closed with merge request !23 (merged)
closed with merge request !23 (merged)
- Maintainer
Thanks @tgal . But actually everything was fine. I also didn't have any problems in Lyon
/pbs/home/m/msmirnov(0)>git clone https://git.km3net.de/km3py/km3irf Cloning into 'km3irf'... warning: redirecting to https://git.km3net.de/km3py/km3irf.git/ remote: Enumerating objects: 544, done. remote: Counting objects: 100% (92/92), done. remote: Compressing objects: 100% (55/55), done. remote: Total 544 (delta 39), reused 78 (delta 33), pack-reused 452 Receiving objects: 100% (544/544), 1.03 MiB | 7.85 MiB/s, done. Resolving deltas: 100% (251/251), done.
the
.git
ending is "mandatory" for the HTTP protocol but newer versions of git offer a redirect, since there are many people who simply copy the HTTP address without.git
, which would point to the correct one.You can also see this in your output as a "warning":
warning: redirecting to https://git.km3net.de/km3py/km3irf.git/