[OT] A way to zip up files using versioning

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

[OT] A way to zip up files using versioning

Post by Jorg » Wed May 18, 2005 1:48 pm

Hi Guys,

This might be a bit OT (although I want to ise wxWidgets to write it), but maybe someone here knows a solution or at least a tool that works like this....

I want create / find a tool that can store versioned atom based check-ins into an archive. So the ZIP file will contain multiple copies of the same file. The reason for this is at work I always feel more confident when I make local backups, and I can find back what the changes are between the file revisions (and what files are changed). The checkins are not important enough to store on a shared server, only for local (scheduled or not) backups of my work.

There was one great tool named Keep-It that did just that. Only the developer decided to revamp the tool, and the COM based architecture he used does not work under Windows XP (only NT/2K). It has not been updated since 2003 I think.

My question is, how hard is this to make with wxWidgets? In my opinion the versioning itself should not be too hard as you compare the files, and store all files that differ in the same archive, but with a revision number attached to it like;

somefile.cpp,1 or somefile.cpp,1.1 (for branches)

wxWidgets has built in ZIP capabilities, so the hardest part must be the verification mechanism.

So, is there already a tool that can do this, or how hard will it be to write this ?

Regards,
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb

User avatar
Ryan Norton
Moderator
Moderator
Posts: 1319
Joined: Mon Aug 30, 2004 6:01 pm

Re: [OT] A way to zip up files using versioning

Post by Ryan Norton » Sat May 21, 2005 8:59 pm

Jorg wrote: So, is there already a tool that can do this, or how hard will it be to write this ?
I've never heard of a tool besides the one you mentioned - as for the versioning it really depends. Simple versioning like just increasing it by .1 is easy - but once you do more complicated things like branches it gets tricky.

For WxWikiServer I do some rather complicated versioning stuff - so if you have a question I can answer it.

Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg » Sat May 21, 2005 9:46 pm

Thanks Ryan, I am in pre pre pre planning phase .. I have so much on my mind I need to finish some other stuff first, but it cannot hurt to do some research first right ;-)

Regards,
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb

Post Reply