Some git repositories not syncing to Github
Closed, ResolvedPublic

Description

The kdenlive repository on github hasn't synced for around three months. The latest commit in master is from 2016-10-23, and the Applications/16.12 branch doesn't exist.

Our own cgit shows the 16.12 branch and the last commit in master is from 4 hours ago: https://cgit.kde.org/kdenlive.git

We should check if Propagator is somehow stuck for this repository.

Restricted Application added a subscriber: sysadmin. · View Herald TranscriptJan 10 2017, 12:15 AM
nalvarez assigned this task to bgupta.Jan 10 2017, 12:15 AM

Looks like kdenlive has tags and branches with the same name, which causes Propagator's git push to fail with:

error: src refspec v0.7.7 matches more than one.
error: src refspec v0.8.2 matches more than one.
error: src refspec v0.9 matches more than one.
error: src refspec v0.7.7 matches more than one.
error: src refspec v0.8.2 matches more than one.
error: src refspec v0.9 matches more than one.
error: failed to push some refs to 'git@github.com:kde/kdenlive.git'

You may wish to look at the script at helpers/update-repo-mirror.py in repo-management, which handles pushes to Github style sites (that only support branches and tags, and don't allow other refs to be pushed)

That won't really help, since Propagator uses the exact same logic, adjusted for GitPython's API.

Interesting. Can you point me to the relevant part of the Propagator sources?
Fixing this should be a fairly simple case of keeping the refs/<type>/ bit intact so it would be interesting to know if that isn't the case.

bcooksley changed the visibility from "Custom Policy" to "Public (No Login Required)".Feb 16 2017, 8:32 AM

Making this task public so we don't get duplicates.

bcooksley renamed this task from kdenlive repository not syncing to github to Some git repositories not syncing to Github.Feb 16 2017, 8:33 AM

This should now be sorted.

bgupta closed this task as Resolved.Feb 20 2017, 8:48 AM