Reply
Thread Tools
bongo's Avatar
Posts: 291 | Thanked: 124 times | Joined on Feb 2006 @ Trier, Germany
#1
Hi,

sometimes I use my laptop to develop apps and sometimes my desktop computer, both running with ubuntu. Now I want to move my work from one computer to the other. How would you solve this problem? My idea was an external drive and some vmware solution. Or maybe a subversion repo?
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#2
Subversion hosted on a Garage project, perhaps?
 
bongo's Avatar
Posts: 291 | Thanked: 124 times | Joined on Feb 2006 @ Trier, Germany
#3
Originally Posted by GeneralAntilles View Post
Subversion hosted on a Garage project, perhaps?
That's a good idea for real apps
I ported dia to os2008 so maybe I will open this project on maemo garage. But what about experimenting (playing ) with code? And if I install new libs to the sdk I have to do this on both systems.

Last edited by bongo; 2008-09-10 at 22:42.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#4
Use bazaar or any other distributed serverless SCC.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
frethop's Avatar
Posts: 283 | Thanked: 60 times | Joined on Nov 2005 @ It's dark in here. I hear laughing.
#5
I run my work back and forth between work and home sometimes. It works, but you need a large flash or hard drive. The newest VMware image (0.7) is almost 8GB and with a persistent drive space file, I'm often up over 10 GB. That takes a while to copy both ways; I end up using a portable HD.

Subversion would work for project storage. However, I often have settings I want to transfer -- Eclipse configs or the specific setup of supporting software. That could go into an SVN repo...I guess.

I'm rooting to a qemu image of a dev environment, like there is for VMware. I've heard rumblings that one is being worked on. That would be the closest to a portable SDK.
 

The Following User Says Thank You to frethop For This Useful Post:
bongo's Avatar
Posts: 291 | Thanked: 124 times | Joined on Feb 2006 @ Trier, Germany
#6
I'm sorry but I updated my last post a few minutes later and extended the problem. How to take care of multiple sdks and synchronize them?
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#7
I use Unison for large amounts of data, supports merging too. Never tried with scratchbox though (probably tricky with all those links).
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
bongo's Avatar
Posts: 291 | Thanked: 124 times | Joined on Feb 2006 @ Trier, Germany
#8
Man, I've to wait a few seconds before posting
You answer very fast.

@frethop
did you create your own image or did you download something?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#9
When I develop code on more than one computer I use 'git' (distributed version control) to synch them. I make each module a git repo.
Say I start with some Debian package and I unpack the source. Then I cd down into the top dir of the unpacked source and do
Code:
git init
git add .
git commit -m"Put version x.y of abcd under git"
Then I hack away. And I use 'git' (with git add, git commit etc.) to keep my work under version control. This even lets me import newer versions of what I started with and still keep my changes.

Then, when I want to work on the other (or third) computer:
Code:
git clone user@machine:path-to-where-the.git-dir-is
It only needs an ssh server installed.
Then I can hack away at the second computer. If I have instead done more work on the first computer I can just do (on the second computer):
Code:
git pull
If I do work on the second computer I must tell where to pull from when I pull back to the first one:
Code:
git pull user@machine:path-to-where-the.git-dir-is
And so on. Google for git documentation, there are good tutorials out there. I find it to be much faster, simpler and more flexible (and takes less space) than starting to mess about with SVN repositories and the like.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
frethop's Avatar
Posts: 283 | Thanked: 60 times | Joined on Nov 2005 @ It's dark in here. I hear laughing.
#10
Originally Posted by bongo View Post
@frethop
did you create your own image or did you download something?
You can get a premade image from

http://maemovmware.garage.maemo.org/

It's got lots of goodies and is kept very current. The current version comes with Diablo, ESbox and Pluthon Eclipse plugins, Python, C++ bindings, PC connectivity and the latest Maemo software (to quote from the Web site).
 
Reply

Tags
development, portable, sdk


 
Forum Jump


All times are GMT. The time now is 08:38.