-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Discussed in https://github.com/orgs/eclipse-oomph/discussions/67
Originally posted by joeshannon February 13, 2024
Hi,
We have configuration in our git clone tasks to add additional ref spec to a particular origin (for Gerrit purposes), it looks like:

A couple of weeks ago developers started noticing that the "Fetch from Gerrit..." option was not available anymore for newly provisioned workspaces. In the new git clones, only the first fetch refspec is added to the git repository config file instead of both of them. To be explicit, the relevant section in the config file looks like:
[remote "origin"]
url = ssh://gerrit:29418/repo
fetch = +refs/heads/*:refs/remotes/origin/*
pushurl = ssh://gerrit:29418/repo
push = HEAD:refs/for/main
Instead of:
[remote "origin"]
url = ssh://gerrit:29418/repo
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = refs/notes/*:refs/notes/*
pushurl = ssh://gerrit:29418/repo
push = HEAD:refs/for/main
I noted that there have been some changes to the git Oomph plugins recently so was wondering how we might achieve the previous behaviour?
Metadata
Metadata
Assignees
Labels
No labels