[llvm-bugs] [Bug 43761] New: Can't push to github

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 22 10:12:04 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43761

            Bug ID: 43761
           Summary: Can't push to github
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

see https://reviews.llvm.org/D67772 :

I'm getting

$ llvm/utils/git-svn/git-llvm push -n
Traceback (most recent call last):
  File "llvm/utils/git-svn/git-llvm", line 39, in <module>
    import github
ImportError: No module named github

now. Are there docs on what I need to do to be able to commit using this script
now?


Alternatively I tried pushing via git directly but couldn't get that to work
either:

$ git push origin mylocalbranch:master
Enumerating objects: 13, done.
Counting objects: 100% (13/13), done.
Delta compression using up to 24 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 657 bytes | 657.00 KiB/s, done.
Total 7 (delta 6), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (6/6), completed with 6 local objects.
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: You're not authorized to push to this branch. Visit
https://help.github.com/articles/about-protected-branches/ for more
information.
To https://github.com/llvm/llvm-project.git
 ! [remote rejected]         gnmergerev -> master (protected branch hook
declined)
error: failed to push some refs to 'https://github.com/llvm/llvm-project.git'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191022/5e0c2439/attachment-0001.html>


More information about the llvm-bugs mailing list