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

Feature: support git sha256 repository #2781

Open
juju4 opened this issue Mar 2, 2025 · 0 comments
Open

Feature: support git sha256 repository #2781

juju4 opened this issue Mar 2, 2025 · 0 comments
Labels

Comments

@juju4
Copy link

juju4 commented Mar 2, 2025

Related to

Web-Backend (APIs)

Impact

nice to have

Missing Feature

Currently not working. tested on 2.12.4-c0551d5-1738565637 with a repository on forgejo/gitea (go-gitea/gitea#13794 (comment))
In an ansible task template, a run will give

1:56:50 PM  Cloning into 'repository_2_3'...
1:56:51 PM  Warning: Permanently added '[git.example.com]:2222' (RSA) to the list of known hosts.
1:56:51 PM  Get current commit hash
1:56:51 PM  Get current commit message
1:56:51 PM  Failed to update task commit

and stalled there until stopped
Git cli is working fine (2.43.0)
https://github.com/semaphoreui/semaphore/blob/develop/db_lib/CmdGitClient.go#L126
That seems to use git cli so should work.
But from https://github.com/semaphoreui/semaphore/blob/develop/go.mod#L9, it seems go-git is used which does not support sha256 yet (opened issue go-git/go-git#706)

quick survey of repo tools with sha256

Implementation

go-git dependency likely

Design

No response

@juju4 juju4 added the feature label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant