Hi, As s big bang migration is unlikely I would rather be in favour of improving the groovy script to set a correct revision (https://android.googlesource.com/tools/repo/+/HEAD/docs/manifest-format.md) for all projects not having the default branch "master" (https://android.googlesource.com/tools/repo/+/HEAD/docs/manifest-format.md#Element-default <https://android.googlesource.com/tools/repo/+/HEAD/docs/manifest-format.md#Element-default>). Currently none of the projects specify a custom revision in https://github.com/apache/sling-aggregator/blob/master/default.xml <https://github.com/apache/sling-aggregator/blob/master/default.xml> but all rely on the default "master". I think the necessary adjustments for https://github.com/apache/sling-aggregator/blob/master/collect-sling-repos.groovy <https://github.com/apache/sling-aggregator/blob/master/collect-sling-repos.groovy> should be fairly simple to emit a "revision" attribute per project. Konrad
> On 22. Sep 2021, at 07:00, Carsten Ziegeler <cziege...@apache.org> wrote: > > Hi, > > doesn't work for me either. It seems repo is expecting the default branch to > be master. > > I think we should also avoid such inconsistency and use the same default > branch name for all repos. Having main in some repos and masters in others is > leading to trouble, as we see here. > > Regards > Carsten > > Am 21.09.2021 um 17:56 schrieb Robert Munteanu: >> Hi, >> I can't seem to run 'repo sync' anymore, with the errors below: >> sling-org-apache-sling-thumbnails.git: >> fatal: couldn't find remote ref refs/heads/master >> sling-org-apache-sling-thumbnails.git: sleeping 4.0 seconds before >> retrying >> fatal: couldn't find remote ref refs/heads/master >> sling-org-apache-sling-thumbnails.git: >> fatal: couldn't find remote ref refs/heads/master >> error: Cannot fetch sling-org-apache-sling-thumbnails.git from >> https://github.com/apache/sling-org-apache-sling-thumbnails.git >> I think this is because the repository in question has a 'main' brach >> instead of 'master' >> https://github.com/apache/sling-org-apache-sling-thumbnails >> Does this work for anyone? >> Thanks, >> Robert > > -- > Carsten Ziegeler > Adobe > cziege...@apache.org