Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#3754 closed defect (fixed)

Github mirror is broken

Reported by: robe Owned by: strk
Priority: blocker Milestone: Website Management, Bots
Component: QA/buildbots Version: 2.3.x
Keywords: Cc:

Description

I don't think the github mirror is working. I committed something today and still hasn't reached github.

It was a patch to fix travis. Anyway I've been playing with travis some more and will put in another ticket and commit to upgrade trunk to 9.5 testing.

Change History (14)

comment:1 by strk, 7 years ago

I'm stuck with the mirror. The problem is that I'm unable to setup a script to re-create the syncrhonization environment, mostly due to authors mapping having changed over time.

I remember I had to deal with this in the (recent) past but I forgot how I did, so if anyone wants to help, what we need is a script to setup git-svn in a way that produces the exact same commit HASHES as the one already in the current mirrors, and from there allows to git svn fetch later revisions.

Attempts to produce such a script are here: https://git.osgeo.org/gogs/postgis/repository-sync-scripts

You'll need to login and to be granted access, please request it here or to me by mail (strk@…)

comment:2 by strk, 7 years ago

For those who can read, I filed a local issue about fixing the script here: https://git.osgeo.org/gogs/postgis/repository-sync-scripts/issues/2

comment:3 by strk, 7 years ago

Resolution: fixed
Status: assignedclosed

https://trac.osgeo.org/postgis/wiki/CodeMirrors should be back working. It's been a bloody adventure to setup the repository-sync-scripts, but now they should allow anyone to setup a local git-svn mechanism, and a mirrorer.

Actually, it would not be bad if someone would want to try it :)

comment:4 by robe, 7 years ago

strk is this still running on your machine? would it make more sense to move to debbie? Was also going to upgrade her to 4GB VM in a bit so she can handle more stuff.

comment:5 by robe, 7 years ago

strk okay I got as far as doing a manual synch on debbie.

I got this error:

Warning: Permanently added 'gitlab.com,52.167.219.168' (ECDSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
git push gitlab --tags
Permission denied (publickey).
fatal: Could not read from remote repository.

Should I create a key for debbie and give you the associated public key?

Also not sure what to do after the make daemon. How the CGI script thing comes into play.

comment:6 by robe, 7 years ago

forgot to mention I created the synch folder on root - /postgis-git-synch

comment:7 by robe, 7 years ago

strk,

Okay as you suggested, I created an account postgis-git-synch and made it the owner of the repo and then su-d in as that to do synch.

I don't think I have a gitlab account to fix the issue and that's the one it's complaining about. I just registered on gitlab using my github account (robe2). You think you can give my account access to the postgis repo on gitlab?

comment:8 by strk, 7 years ago

Regina I made you (robe2) admin for the gitlab mirror. I actually wonder if we should have a postgis-bot account on gitlab for those pushes…

comment:9 by robe, 7 years ago

I like the idea of a postgis bot account. Want to do that so it's not attached to any of us?

comment:10 by strk, 7 years ago

We need a third parent here, or it'll become too traditional

comment:11 by robe, 7 years ago

3rd parent? oh btw not sure how to setup a bot account. I allowed postgis-debbie,for postgis commit (which strangely it allowed), but do I need a unique email to setup a osgeo account?

comment:12 by strk, 7 years ago

yes you need a unique email to setup an osgeo account. Use the psc alias.

comment:13 by strk, 7 years ago

the same (unique email address) probably also applies to github and gitlab accounts

comment:14 by robe, 4 years ago

Milestone: Management 2.0Website Management, Bots

Milestone renamed

Note: See TracTickets for help on using tickets.