Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » github mirror
Re: github mirror [message #42939 is a reply to message #42349] Tue, 15 April 2014 10:02 Go to previous messageGo to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
Mirek,

Sorry for the delay, I have been quite busy lately.

Could you please try the following instructions to set up the sync,
let me know if something is not clear or does not work

1) Deploy Key (https://help.github.com/articles/managing-deploy-keys#deploy-keys)

Create a SSH key for the user that will sync https://help.github.com/articles/generating-ssh-keys

ssh-keygen -t rsa -C "syncupp@ultimatepp.org"
- in upp_id_rsa
- no pass phrase

$ ssh-add ~/.ssh/upp_id_rsa

Go to https://github.com/ultimatepp/upp/settings/keys & paste the pub key

2) git-svn-mirror (https://github.com/alloy/git-svn-mirror)

$ gem install git-svn-mirror

instructions (https://github.com/alloy/git-svn-mirror)
$ mkdir -p /path/to/workbench
$ git-svn-mirror init --from=http://upp-mirror.googlecode.com/svn --to=git@github.com:ultimatepp/upp.git --workbench=/path/to/workbench

It will take quite some time to create the workbench... probably a couple of hours depending on your connection.

3) Update the CRON

Create upp-update in /etc/cron.hourly/ with the following content:
#!/bin/sh
/usr/local/bin/git-svn-mirror update /path/to/workbench >/dev/null 2>&1

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: key software locker
Next Topic: No nightly builds on Ubuntu PPA since May 5th
Goto Forum:
  


Current Time: Sat May 11 11:19:32 CEST 2024

Total time taken to generate the page: 0.02740 seconds