Page MenuHomeSoftware Heritage

Archive git.fsfe.org (Gitea)
Open, WishlistPublic

Description

At the Free Software Foundation Europe (FSFE), we use a git.fsfe.org (based on Gitea) to host all our code and websites. This includes a full archive of the commits to fsfe.org which definitely has some historical value ;)

How could this be achieved? I learnt that there is no connector from Gitea to Software Heritage, but perhaps there is some automatic scanner for the public repos we host.

Unfortunately we do not have the resources (mostly regarding Go skills) to come up with a patch for Gitea's code, but I would be happy to assist, test, and give feedback!

PS: @zack asked me to file a feature request for my inquiry here. If I did not sort/label my request correctly, please feel free to edit.

Event Timeline

mxmehl triaged this task as Wishlist priority.Mar 13 2020, 12:55 PM
mxmehl created this task.
mxmehl created this object in space S1 Public.
olasd added a subscriber: olasd.Mar 13 2020, 1:25 PM

Hi!

Thanks for submitting this request. There's a good chance that this can be the same lister as gogs: T1721.

There's a public Repository API: https://git.fsfe.org/api/v1/repos/search, so I guess the only thing missing is a lister on our side.

This looks like a cross between GitHub and GitLab's APIs, shouldn't be too hard for someone to quickly implement it in our codebase.

olasd added a comment.Mar 13 2020, 1:26 PM

Unfortunately, try.gogs.io's API is hidden behind auth so I can't confirm that the responses actually have the same shape between gogs and gitea.

zack updated the task description. (Show Details)Mar 24 2020, 1:40 PM
zack added a subscriber: zack.

I've add multiple looks to the proposed gitea lister.
This looks fine to me, i've accepted it but not completely.
If some other team member could do a second pass, that'd be neat.

Cheers,