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
github mirror [message #42302] Thu, 06 March 2014 08:14 Go to next message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
Hi there,

I really like git as a VCS and github makes it really easy to collaborate on an OSS project.

What do you think about creating a github mirror of ultimatepp ?

I think it could really help making ultimatepp more popular.

I could help setup the mirror. We would only need a server where to put the CRON jobs.

Toughts ?

Re: github mirror [message #42303 is a reply to message #42302] Thu, 06 March 2014 10:12 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
We can do that. It can run on ultimatepp.org.

Mirek
Re: github mirror [message #42304 is a reply to message #42303] Thu, 06 March 2014 10:23 Go to previous messageGo to next message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
How many branch do we need to sync ? (ie release / dev / ...).

Would be good to also sync release tags.

If you can create the ultimatepp account on gh and add me to the team then I can create / test the scripts manually and send them to you when it's ready.
Re: github mirror [message #42307 is a reply to message #42304] Thu, 06 March 2014 11:48 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
As long as your github username matches your username here, done.

ultimatepp.org is running Debian7, so please, prepare crons and apt-get requirements accordingly Smile

Mirek

[Updated on: Thu, 06 March 2014 11:49]

Report message to a moderator

Re: github mirror [message #42308 is a reply to message #42307] Thu, 06 March 2014 11:58 Go to previous messageGo to next message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
Mirek,

I'm vicb on GH.

What's the organization name for u++ ?
Re: github mirror [message #42309 is a reply to message #42308] Thu, 06 March 2014 12:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
vicb added (and victorb removed Smile

Not sure what you mean by Organization name, the repository is 'upp'.

Mirek
Re: github mirror [message #42310 is a reply to message #42309] Thu, 06 March 2014 12:21 Go to previous messageGo to next message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
I think the best would be to create an organization (owned by you).

This is the way used by most OSS project.

You can create an OSS organization for free by clicking on the + icon, top right.
Re: github mirror [message #42332 is a reply to message #42310] Fri, 07 March 2014 19:15 Go to previous messageGo to next message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
After different trials I had some success with git-svn-mirror

It's a ruby gem, could ruby be installed on the server ?

I'm currently pushing the code to https://github.com/ultimatepp/upp do not expect something before half an hour, I'm ~20% (60MB) for now.

I'll set up and test the CRON for a few days on my side and will put the details if I can get everything working.

Cheers,
Vic

[Updated on: Fri, 07 March 2014 19:16]

Report message to a moderator

Re: github mirror [message #42345 is a reply to message #42332] Sat, 08 March 2014 09:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Ruby is already present, it runs redmine (and sometimes crashes the server Wink

Note: while trying to establish organization, I have found this:

https://github.com/search?q=ultimatepp&ref=cmdform

Mirek
Re: github mirror [message #42349 is a reply to message #42332] Sat, 08 March 2014 10:18 Go to previous messageGo to next message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
> https://github.com/search?q=ultimatepp&ref=cmdform

also found but it has not been updated for the last 3 months.

I would be great to add a README.md at the root of the repo as github displays this on the repo page.

I'll try to draft something and share in a gist.

[Updated on: Sat, 08 March 2014 10:19]

Report message to a moderator

Re: github mirror [message #42939 is a reply to message #42349] Tue, 15 April 2014 10:02 Go to previous messageGo to next 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

Re: github mirror [message #43093 is a reply to message #42939] Mon, 05 May 2014 10:42 Go to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
I have the sync running successfully on my machine for a few days.

Mirek, let me know if you need some help to set up the server.

One thing I'd like to do is to add a README.md at the root because it gets
displayed by github.

Is there an easy way to go .tpp -> .md ?
Previous Topic: key software locker
Next Topic: No nightly builds on Ubuntu PPA since May 5th
Goto Forum:
  


Current Time: Thu Mar 28 21:57:48 CET 2024

Total time taken to generate the page: 0.01354 seconds