Server side hook denies push

30 views
Skip to first unread message

Mahathi Vempati

unread,
Jan 14, 2020, 3:58:39 AM1/14/20
to sage-devel
So, I committed some code and was attempting to push it to the sage server when I got this message. How do I find what hook in remote denied my push and why it is being denied? 

```
remote: FATAL: W refs/heads/u/Tinkidinki/have_the_sage_version_number_present_on_every_page_of_the_documentation sage gh-Tinkidinki DENIED by fallthru
remote: error: hook declined to update refs/heads/u/Tinkidinki/have_the_sage_version_number_present_on_every_page_of_the_documentation
To trac.sagemath.org:sage.git
 ! [remote rejected]       HEAD -> u/Tinkidinki/have_the_sage_version_number_present_on_every_page_of_the_documentation (hook declined)
error: failed to push some refs to 'g...@trac.sagemath.org:sage.git'
```

(Cross-posting from the Zulip server because I believe the google groups are more active?)

Thank you
Mahathi

Dima Pasechnik

unread,
Jan 14, 2020, 4:14:27 AM1/14/20
to sage-devel


On Tue, 14 Jan 2020, 08:58 Mahathi Vempati, <maha...@gmail.com> wrote:
So, I committed some code and was attempting to push it to the sage server when I got this message. How do I find what hook in remote denied my push and why it is being denied? 

```
remote: FATAL: W refs/heads/u/Tinkidinki/have_the_sage_version_number_present_on_every_page_of_the_documentation sage gh-Tinkidinki DENIED by fallthru
remote: error: hook declined to update refs/heads/u/Tinkidinki/have_the_sage_version_number_present_on_every_page_of_the_documentation
To trac.sagemath.org:sage.git
 ! [remote rejected]       HEAD -> u/Tinkidinki/have_the_sage_version_number_present_on_every_page_of_the_documentation (hook declined)
error: failed to push some refs to 'g...@trac.sagemath.org:sage.git'
```

how do you authenticate to git server?
Usually you would upload an ssh key.


(Cross-posting from the Zulip server because I believe the google groups are more active?)

Thank you
Mahathi

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/75de2ba6-bed2-4222-878f-968a2ac08a02%40googlegroups.com.

Mahathi Vempati

unread,
Jan 14, 2020, 5:31:35 AM1/14/20
to sage-...@googlegroups.com
yes, I authenticated with an ssh key. 
Is this an authentication issue? I had assumed there was some issue with my code that a hook was not letting pass. 

Dima Pasechnik

unread,
Jan 14, 2020, 5:45:55 AM1/14/20
to sage-devel
On Tue, Jan 14, 2020 at 10:31 AM Mahathi Vempati <maha...@gmail.com> wrote:
>
> yes, I authenticated with an ssh key.
> Is this an authentication issue? I had assumed there was some issue with my code that a hook was not letting pass.

It seems that you never had any git branches successfully
pushed to trac.sagemath.org
- so it could be authentication problem.
T
he branch should start from "u/gh-Tinkidinki/" it seems, given that
your username is gh-Tinkidinki.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CADusGCy71p%3D0a2oxr95ojBe3pM7WhnY6DyRD-t3R8RV6F3TtYQ%40mail.gmail.com.

Mahathi Vempati

unread,
Jan 14, 2020, 10:51:11 AM1/14/20
to sage-...@googlegroups.com
That worked, yes. 
Thank you!

Reply all
Reply to author
Forward
0 new messages