* Re: [ELPA] Getting zeroPaddedFilemode: contains zero-padded file modes?
2018-06-21 23:38 [ELPA] Getting zeroPaddedFilemode: contains zero-padded file modes? Mats Lidell
2018-06-21 23:54 ` Noam Postavsky
@ 2018-06-22 0:32 ` Paul Eggert
1 sibling, 0 replies; 4+ messages in thread
From: Paul Eggert @ 2018-06-22 0:32 UTC (permalink / raw)
To: Mats Lidell, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
It's a known problem in the ELPA repository; see:
https://debbugs.gnu.org/22690
This particular issue is not serious corruption; it's only the use of a
deprecated format.
I installed the attached patch into ELPA to try to give advice about
this glitch. Perhaps similar warnings need to be put into the source of
ELPA packages (I didn't check). Also, I suspect that this URL:
https://savannah.gnu.org/git/?group=emacs
should have similar advice, but only maintainers can change that page
and I'm not a maintainer.
[-- Attachment #2: 0001-Warn-about-transfer.fsckObjects.patch --]
[-- Type: text/x-patch, Size: 2185 bytes --]
From 9edaf982859a30d37dda2029953d852f287c514d Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 21 Jun 2018 17:27:23 -0700
Subject: [PATCH] Warn about transfer.fsckObjects
---
README | 6 ++++--
packages/ada-mode/ada-mode.texi | 7 +++++--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/README b/README
index a1d6fd30d..4318bad3a 100644
--- a/README
+++ b/README
@@ -267,7 +267,7 @@ packages/ directory. You can then add that directory, e.g. with:
** To deploy the package repository as a remotely-accessible archive:
- git clone .../elpa
+ git -c fetch.fsckObjects=false clone .../elpa
(cd elpa; git clone .../emacs) #If you want to generate :core packages.
mkdir build
cd build
@@ -278,7 +278,9 @@ packages/ directory. You can then add that directory, e.g. with:
This deploys the packages to the staging/ directory (sibling of "build").
Unlike "make", this makes a full copy of the packages, tars up
-multi-file packages, and doesn't byte-compile any files.
+multi-file packages, and doesn't byte-compile any files. The
+fetch.fsckObjects setting works around a glitch in the ELPA repository
+<https://debbugs.gnu.org/22690>.
** To access a deployed archive
diff --git a/packages/ada-mode/ada-mode.texi b/packages/ada-mode/ada-mode.texi
index 05e6e77c3..b6ca48f14 100755
--- a/packages/ada-mode/ada-mode.texi
+++ b/packages/ada-mode/ada-mode.texi
@@ -2254,16 +2254,19 @@ Gnu ELPA via git:
@example
cd /Projects
-git clone git://git.savannah.gnu.org/emacs/elpa.git
+git -c fetch.fsckObjects=false clone git://git.savannah.gnu.org/emacs/elpa.git
@end example
If you have an Emacs Savannah developer account, you can use:
@example
cd /Projects
-git clone <login>@@git.savannah.gnu.org/emacs/elpa.git
+git -c fetch.fsckObjects=false clone <login>@@git.savannah.gnu.org/emacs/elpa.git
@end example
+The @samp{fetch.fsckObjects} setting works around a
+@url{https://debbugs.gnu.org/22690, glitch in the ELPA repository}.
+
@file{build/Makefile} contains targets for copying Ada mode source to
the elpa workspace, and for building the elpa archive there.
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread