[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trouble writing to the emacs repo
From: |
João Távora |
Subject: |
Trouble writing to the emacs repo |
Date: |
Fri, 04 Jan 2019 22:50:42 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
I'm having trouble pushing some changes to the Emacs repo. Half an hour
ago, the server wasn't even responding to "git fetch". Now it does but
pushing results in this:
Enumerating objects: 15, done.
Counting objects: 100% (15/15), done.
Delta compression using up to 4 threads
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 1.16 KiB | 1.16 MiB/s, done.
Total 10 (delta 8), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository
database ./objects
remote: fatal: failed to write object
error: remote unpack failed: unpack-objects abnormal exit
To git.sv.gnu.org:/srv/git/emacs.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'address@hidden:/srv/git/emacs.git'
Known problem?
João
PS: trying to push these two patches that fix two Flymake bugs, if
anyone can install them
>From 8dd840bddf10303303987777e4e1aa3a11727687 Mon Sep 17 00:00:00 2001
From: John Shahid <address@hidden>
Date: Fri, 4 Jan 2019 21:28:35 +0000
Subject: [PATCH 1/2] Unbreak Flymake's diagnostics buffer when revisiting
source
Fixes: bug#33881
Copyright-paperwork-exempt: yes
* lisp/progmodes/flymake.el (flymake-show-diagnostics-buffer):
Set flymake--diagnostics-buffer-source before reverting.
---
lisp/progmodes/flymake.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 50a9880a14..14940844a4 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1332,9 +1332,9 @@ flymake-show-diagnostics-buffer
(target (or (get-buffer name)
(with-current-buffer (get-buffer-create name)
(flymake-diagnostics-buffer-mode)
- (setq flymake--diagnostics-buffer-source source)
(current-buffer)))))
(with-current-buffer target
+ (setq flymake--diagnostics-buffer-source source)
(revert-buffer)
(display-buffer (current-buffer)))))
--
2.20.0
>From 2dfdb1e0fabd9147cc1b2f2fdb5e01337515094c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= <address@hidden>
Date: Fri, 4 Jan 2019 22:45:29 +0000
Subject: [PATCH 2/2] Fix Flymake tests for GCC 8.2.0
Fixes: bug#33872
"Now you have two problems..."
* lisp/progmodes/flymake-cc.el (flymake-cc--make-diagnostics):
Adjust regexp.
---
lisp/progmodes/flymake-cc.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/flymake-cc.el b/lisp/progmodes/flymake-cc.el
index e8069f5c17..524521d7db 100644
--- a/lisp/progmodes/flymake-cc.el
+++ b/lisp/progmodes/flymake-cc.el
@@ -58,13 +58,13 @@ flymake-cc--make-diagnostics
(cl-loop
while
(search-forward-regexp
- "^\\(In file included from
\\)?<stdin>:\\([0-9]+\\):\\([0-9]+\\):\n?\\(.*\\): \\(.*\\)$"
+ "^\\(In file included from
\\)?<stdin>:\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?:\n?\\(.*\\): \\(.*\\)$"
nil t)
for msg = (match-string 5)
for (beg . end) = (flymake-diag-region
source
(string-to-number (match-string 2))
- (string-to-number (match-string 3)))
+ (and (match-string 3) (string-to-number (match-string
3))))
for type = (if (match-string 1)
:error
(assoc-default
--
2.20.0
- Trouble writing to the emacs repo,
João Távora <=