all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: emacs-devel@gnu.org
Subject: Trouble writing to the emacs repo
Date: Fri, 04 Jan 2019 22:50:42 +0000	[thread overview]
Message-ID: <874laojav1.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

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 'capitaomorte@git.sv.gnu.org:/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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Unbreak-Flymake-s-diagnostics-buffer-when-revisiting.patch --]
[-- Type: text/x-diff, Size: 1161 bytes --]

From 8dd840bddf10303303987777e4e1aa3a11727687 Mon Sep 17 00:00:00 2001
From: John Shahid <jvshahid@gmail.com>
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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-Fix-Flymake-tests-for-GCC-8.2.0.patch --]
[-- Type: text/x-diff, Size: 1346 bytes --]

From 2dfdb1e0fabd9147cc1b2f2fdb5e01337515094c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= <joaotavora@gmail.com>
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


             reply	other threads:[~2019-01-04 22:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-04 22:50 João Távora [this message]
2019-01-05  1:05 ` Trouble writing to the emacs repo Paul Eggert
2019-01-05  7:09   ` Eli Zaretskii
2019-01-05  8:41     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874laojav1.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.