Project

General

Profile

Feature #3077

Feature #3076: migrate to new (2018-03) server "host2.osmocom.org"

migrate git / cgit / gitosis to new server

Added by laforge over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/19/2018
Due date:
% Done:

100%

Spec Reference:

Description

We want to switch from gitosis to gitolite while doing this.

I've started with a docker container and docker-compose.yml and have already migrated the configuration from gitosis to gitolite.

There's a script to update the git repos later via rsync when doing the actual migration / switch-over.


Checklist

  • gitosis -> gitolite
  • cgit
  • test git+ssh access
  • test http clone access
  • test cgit / web access (ensure same urls!)
  • restriction to public repos
  • source/about/commit filters
  • persistent cache in some /external volume

History

#1 Updated by laforge over 1 year ago

  • Checklist item gitosis -> gitolite set to Done

#2 Updated by laforge over 1 year ago

  • Status changed from New to In Progress

#3 Updated by laforge over 1 year ago

  • Checklist item test git+ssh access added
  • Checklist item test http clone access added
  • Checklist item test cgit / web access (ensure same urls!) added

#4 Updated by laforge over 1 year ago

  • Checklist item restriction to public repos added
  • Checklist item source/about/commit filters added
  • Checklist item persistent cache in some /external volume added
  • % Done changed from 40 to 30

cgit configuration is a bit more tricky. As is the restriction to public repositories.

#5 Updated by laforge over 1 year ago

  • Checklist item cgit set to Done
  • Checklist item test cgit / web access (ensure same urls!) set to Done
  • Checklist item source/about/commit filters set to Done
  • Checklist item persistent cache in some /external volume set to Done

#6 Updated by laforge over 1 year ago

  • Checklist item test git+ssh access set to Done
  • % Done changed from 30 to 70
  • git+ssh has been migrated to new server
    • tcpproxy on old machine is forwarding requests
    • gitosis has been migrated to gitolite
  • cgit has been migrated
    • nginx reverse proxy is forwarding requests
    • only public repositories exposed on cgit, like before
  • cgit external cache is used

Pending: git-daemon for anonymous git access over port 9418

#7 Updated by laforge over 1 year ago

  • Checklist item restriction to public repos set to Done

#8 Updated by laforge over 1 year ago

  • % Done changed from 70 to 90

git-daemon for public read-only access also migrated now.

#9 Updated by laforge over 1 year ago

  • Status changed from In Progress to Resolved

http clone access wasn't working before migration either.

#10 Updated by laforge over 1 year ago

  • Checklist item test http clone access set to Done
  • % Done changed from 90 to 100

http + https clone is working after migration

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)