unable to push a project with core.repositoryformatversion 1 + extension.objectformat sha256 #1

Open
opened 2020-10-30 14:59:10 +01:00 by wanderer · 1 comment
Owner

git is transitioning from sha1 to sha256 as its hash algo of choice.
Gitea is yet to add proper support for it (atm just bails).
Or more accurately - creates a repo (create on push is enabled) and then bails (fails to accept the content).

  • git version: git version 2.29.1.203.g5fcb98f2ff
  • Gitea version: Gitea version 1.14.0+dev-107-g643a0a691 built with GNU Make 4.3, go1.15.3 : bindata, sqlite, sqlite_unlock_notify
~/utils/sha256test on  master
➜  git push -u origin master
fatal: protocol error: unexpected capabilities^{}
fatal: the remote end hung up unexpectedly

Gitea: Internal error
Failed to execute git command: exit status 128
~/utils/sha256test on  master took 2s
➜
`git` is transitioning from `sha1` to `sha256` as its hash algo of choice. Gitea is yet to add proper support for it (atm just bails). Or more accurately - creates a repo (create on push is enabled) and *then* bails (fails to accept the content). - git version: `git version 2.29.1.203.g5fcb98f2ff` - Gitea version: `Gitea version 1.14.0+dev-107-g643a0a691 built with GNU Make 4.3, go1.15.3 : bindata, sqlite, sqlite_unlock_notify` ```bash ~/utils/sha256test on  master ➜ git push -u origin master fatal: protocol error: unexpected capabilities^{} fatal: the remote end hung up unexpectedly Gitea: Internal error Failed to execute git command: exit status 128 ~/utils/sha256test on  master took 2s ➜ ```
wanderer added the
bug
label 2020-10-30 14:59:10 +01:00
Author
Owner

this is still relevant with:

  • git version: git version 2.35.1.601.g478590cbdd
  • Gitea version: Gitea version 1.17.0+dev-176-g397d2ac30 built with GNU Make 4.3, go1.17.7 : netgo, osusergo,bindata, sqlite, sqlite_unlock_notify
this is still relevant with: - git version: `git version 2.35.1.601.g478590cbdd` - Gitea version: `Gitea version 1.17.0+dev-176-g397d2ac30 built with GNU Make 4.3, go1.17.7 : netgo, osusergo,bindata, sqlite, sqlite_unlock_notify`
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: wanderer/sha256test#1
No description provided.