fritteli / gentoo-overlay

https://gittr.ch/linux/gentoo-overlay
GNU General Public License v2.0
24 stars 7 forks source link

gitlab-shell-2.2.0 failure #3

Closed Kami-no closed 9 years ago

Kami-no commented 9 years ago

$ git push /usr/share/gitlab-shell/lib/gitlab_net.rb:122:in read': No such file or directory - /usr/share/gitlab-shell/.gitlab_shell_secret (Errno::ENOENT) from /usr/share/gitlab-shell/lib/gitlab_net.rb:122:insecret_token' from /usr/share/gitlab-shell/lib/gitlab_net.rb:96:in post' from /usr/share/gitlab-shell/lib/gitlab_net.rb:27:inallowed?' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:63:in validate_access' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:24:inexec' from /usr/share/gitlab-shell/bin/gitlab-shell:16:in `

' fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

$ git pull /usr/share/gitlab-shell/lib/gitlab_net.rb:122:in read': No such file or directory - /usr/share/gitlab-shell/.gitlab_shell_secret (Errno::ENOENT) from /usr/share/gitlab-shell/lib/gitlab_net.rb:122:insecret_token' from /usr/share/gitlab-shell/lib/gitlab_net.rb:96:in post' from /usr/share/gitlab-shell/lib/gitlab_net.rb:27:inallowed?' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:63:in validate_access' from /usr/share/gitlab-shell/lib/gitlab_shell.rb:24:inexec' from /usr/share/gitlab-shell/bin/gitlab-shell:16:in `

' fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

No problems with 2.0.1

PS: which repo is the freshest?

fritteli commented 9 years ago

Okay, I've added an ebuild for gitlab-shell-2.3.1 and installed that on my server. Now I'm seeing the same problem. I'm going to investigate ...

fritteli commented 9 years ago

I deleted the ebuild for 2.2.0 and fixed the one for 2.3.1; it now generates a random token that is stored in the .gitlab_shell_secret file. It works for me, so please test it.