Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sha256 repositories #421

Open
kimsondrup opened this issue Nov 7, 2023 · 1 comment
Open

Add support for sha256 repositories #421

kimsondrup opened this issue Nov 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kimsondrup
Copy link

kimsondrup commented Nov 7, 2023

Right now there is no support for sha256 repositories so the following example fails

ssh soft repo create hello-sha256
echo "# hello-sha256" >> README.md
git init --object-format=sha256
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin ssh://soft/hello-sha256
git push -u origin main
fatal: the receiving end does not support this repository's hash algorithm
fatal: the remote end hung up unexpectedly
Error: something went wrong

Error from log

2023-11-07 10:34:58 ERRO ssh: failed to handle git service service=git-receive-pack err="exit status 128" repo=hello-sha256

I would like soft-serve to also support sha256 repositories 🙏

@kimsondrup
Copy link
Author

Right now both Gitea and GitLab is working on sha256 support so to me it seems fitting for soft-serve to also have support for this in the future.

@kimsondrup kimsondrup changed the title Add support for sha256 repository Add support for sha256 repositories Nov 7, 2023
@aymanbagabas aymanbagabas added the enhancement New feature or request label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants