Opened 9 years ago

Closed 9 years ago

#2048 closed defect (implemented)

Make repository syncing from cupani to jepsonii smarter

Reported by: Sebastian Owned by: weasel
Priority: Medium Milestone:
Component: Company Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We currently sync all git repositories from cupani to jepsonii, but instead we should only sync those listed in /srv/git.torproject.org/projects.list on cupani. Also, we should make sure that don't exist on cupani/aren't listed in its projects.list file anymore are removed on jepsonii, as well.

Child Tickets

Change History (2)

comment:1 Changed 9 years ago by weasel

Status: newneeds_review

we only sync changed repositories now.

If a repository does not have git-daemon-ok set we sync an empty dir to jepsonii, i.e. we kill anything on jepsonii when somebody pushes to it next time.

If you remove repositories, you have to manually clean up jepsonii too.

comment:2 Changed 9 years ago by Sebastian

Resolution: implemented
Status: needs_reviewclosed

Looks good, thanks.

Note: See TracTickets for help on using tickets.