mainSavannah Administration - Support: sr #110931, Hide problematic commit on...

 
 

sr #110931: Hide problematic commit on `emacs/nongnu.git`

Submitter:  Stefan Monnier <monnier>
Submitted:  Wed 06 Sep 2023 09:01:07 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  carlc
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Sep 2023 02:15:43 AM UTC, comment #3: 

Looks good in my tests, thank you.

Stefan Monnier <monnier>
Wed 06 Sep 2023 11:03:16 PM UTC, comment #2: 


comment #1:

> I'll just check on IRC in case someone is around to "supervise"


Nobody was, so I've now done this:

root@vcs2:/net/vcs/git/emacs/nongnu.git# date; echo b1c16e50e93c662a12c49ac8f18b607656238361 > shallow; date
Wed Sep  6 19:00:42 EDT 2023
Wed Sep  6 19:00:42 EDT 2023
-rw-r--r--   1 root emacs    41 Sep  6 19:00 shallow
root@vcs2:/net/vcs/git/emacs/nongnu.git# cat shallow
b1c16e50e93c662a12c49ac8f18b607656238361
root@vcs2:/net/vcs/git/emacs/nongnu.git#

Corwin Brust <carlc>
Site Administrator
Wed 06 Sep 2023 10:51:34 PM UTC, comment #1: 

I'll take a look in a few minutes.  I'll just check on IRC in case someone is around to "supervise", since I'm newish :)

Corwin Brust <carlc>
Site Administrator
Wed 06 Sep 2023 09:01:07 PM UTC, original submission:  

In the `emacs/nongnu.git` repository (more specifically in its `externals/coffee-mode`, there is an unfortunate commit that triggers Git's `zeroPaddedFilemode` checks during `fsck`.  Nowadays, Git also performs this check during `clone`, so when people try to clone `nongnu.git` the `clone` operation will usuall fail with an error like:

    error: object 2699d230e3b592ae42506d7b5c969a7ac6a4593c:
    zeroPaddedFilemode: contains zero-padded file modes

The usual solution of rewriting this commit is currently impractical, but we found an alternative which is to hide the offending commit by making that branch "shallow".

For this reason, we need someone to go on `git.savannah.gnu.org` into the `emacs/nongnu.git` directory and create a file named `shallow` which contains the line below:

    b1c16e50e93c662a12c49ac8f18b607656238361

(no space, just hexadecimal characters with a terminating newline).  This should (according to my tests) have the effect that fetching from that branch will stop at that revision, thus skipping the next commit (which the one with the problem) as well as all the subsequent ones.

Stefan Monnier <monnier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by carlc (Posted a comment)
  • -email is unavailable- added by monnier (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-09-07 carlc StatusReady For Test Done
        Open/ClosedOpen Closed
    2023-09-06 carlc StatusNone Ready For Test
    2023-09-06 carlc Assigned toNone carlc

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code