Inviting testers for Git forge usecases

Didn’t mean it as a problem, but a nice-to-have feature, and Forgejo does support that feature, so :+1:

Note that the post refers to Depends-on/Blocks feature only, and how you can interface with it. In this context “Comment interface” refers to is it possible to add dependencies/blockers via comments like Depends-on/Blocked-by, etc.? My experimentation in the example link (in the now updated post) shows that that didn’t work.

Similar to the above comment, it’s about Depends-on/Blocks context.

1 Like

Ah, I see! I thought these were things that you felt blocked use of that Forege. Carry on!

1 Like

Some typos aside - here’s our initial comparison study from Fedora Infrastructure on GitLab and Forgejo.

  1. GitLab notes[1]
  2. Forgejo notes[2]

As the situation evolves, we will likely get more user stories by the time you read these.

Chances are that there are already more user stories to look into and compare.


  1. https://fedora-arc.readthedocs.io/en/latest/dist-git-comparison/gitlab.html ↩︎

  2. https://fedora-arc.readthedocs.io/en/latest/dist-git-comparison/forgejo.html ↩︎

2 Likes

Thanks @t0xic0der for compiling this. I don’t have access to the gitlab instance, but I would like to review a few points which seem off.

#3 push and merge access to all packages (forgejo)

Let’s assume that all packages are under the same organization like they currently are in s.fp.o. Then under organization you can create teams and grant more fine-grained control

Example screenshot

#4 able to use Packit (forgejo)

Gitea and forgejo has good parity on their API with Github, so it is not hard to alter them to support them.

#5 easy access links to Koji, Bodhi, and Koschei

The badge approach seems the most portable, but also forgejo can have plugin, so it could be possible to create a dedicated UI element for these. This would also make other features like orphaning more easy to integrate.

#7 Depends-on/Blocks

With regards to the usage of labels, that misses the mark. Let’s say an issues is both depends on X and blocks Y, than it has relates-to for both issues and has labels blocked + blocks, how do we know which issue it is blocking or depending. Theoretically you could crate labels blocks-X but that becomes unmanageable and clogs the label section.

Thankfully both gitlab and forgejo support dedicated relationship of blocking and dependencies which are accessible via API. Unfortunately this feature is proprietary on Gitlab. Forgejo on the other hand supports it out-of-the-box.

#29 CI compatible with Github Actions

The comparison is a bit more nuanced. Both GH Actions and Gitlab have reusable/template workflows that run pre-defined workflows. But GH Actions also has Actions, i.e. independent components that you can use to build up a workflow, e.g. actions/checkout, actions/setup-python, etc., which most importantly can be centrally defined in a single repo.

Forgejo actions have a similar structure, so I would say only that one would be capable of making compatible GH Actions.

#35 tree of the Depends-on and Blocks bugs

Neither of them have, but it would be a reasonable RFE for forgejo. You can get the list of either depends-on or blocks bugs from the api and plot it externally, but we would need to make sure it is always up-to-date with the status of the bugs, so it should be handled natively.

#37 able to sync a fork with the upstream with a button click (forgejo)

Last time I’ve deployed a gitea repo, I remember having had a sync button as well as a schedule and webhook integration.

Amazing!! Thank you for publishing this!

1 Like

@lecris thanks for your perspective on things.

I will go back to the investigation to see if I can find some supporting documentation about the requested features. As with the purpose of this thread, your comment will be accounted for in the final call and my report (while representing the Fedora Infra side of the investigation) will bear no overriding effect. It is after all for the @council to make the decision.

Could you please explore other points as well? TIA.

I’m not sure how to get access to the GitLab test instance, so I can’t comment on that one yet.

On the forgejo test instance, I was finally able to create an empty repo, but I can’t push to it, as neither SSH nor HTTPS push work :frowning: HTTPS push requires username / password but it doesn’t accept those for my stg account, and SSH push (after adding my public key to my account) doesn’t work at all, it just hangs forever.

@dkirwan Hey there, could you please look into this?

@decathorpe, please try setting your username and password from the settings menu in Forgejo. I do not think the staging FAS username and password work for HTTPS Git operations. @ryanlerch, please feel free to correct me if I am mistaken.

You can access the gitlab instance here: https://gitlab-gitlab-system.apps.fedora.cj14.p1.openshiftapps.com/

Its not hooked into FAS unfortunately, but you have the ability to sign up. Once completed can you reply back to me with the username created so I or one of the others may approve the account.

2 Likes

You don’t have to change your password, just create a new token under /user/settings/applications and user username:token@repourl

Thanks - I created a new token, and was able to use HTTPS push with username “decathorpe” and password “<token>” … SSH still doesn’t work.

1 Like

SSH will not work as the GitLab instance is in different network than rest of the Fedora Infrastructure and the SSH port is not open there. Same for Forgejo.

I added a ticket template for GitLab account approval to Fedora Infrastructure issue tracker.

So next time you need your testing account approval, just create a new ticket and in Types choose gitlab_testing_request.

I’m also working on article for Fedora Magazine, which should help with onboarding people and provide a guide for creating accounts on testing instances.

Is it possible for networking to open the firewall to the test hosts specifically for a limited time while we’re trying this out?

The decision to not configure SSH was made on purpose. It complicates the deployment significantly. Both solutions support push over HTTPS, for GitLab use a registered username: password and create an access token for Forgejo.

1 Like

Added git-forge-future

Hello,

I was curious about customized Labels that I could create to use on a repository (or globally on all my repos), but I cannot find such an option. I only can select between two sets of Labels when creating the repository and cannot find a way to edit them or change them later.
I think I would need this feature.

Thanks for info.

EDITED:
Found it.

I assume that SSH access will be configured when GitLab/Forgejo are implemented as a replacement for pagure though? HTTPS-only would be a major downgrade.

2 Likes

Definitely, it is only limitation for testing instance. It will definitely support SSH on actual dist-git deployment.

3 Likes

The ARC documentation has been updated Dist Git Comparison — ARC notes documentation and we have caught up with the 80 user stories proposed so far. Please go ahead and review the newly added changes to ensure that your usecase is correctly represented. As always, please use this thread for notifying us of the changes and use this Fedora ARC channel to talk about them.

3 Likes