Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Announcing cbvcs

(1/3) > >>

dushara:
Hi all,

Just wanted to let you know about a version control plugin that I'm working on. At the moment it only supports git 1.7 (needs to be installed) but the grand plan is to support other 'back-ends' as well.

It's not yet feature complete, but feel free to have a play with it and come up with suggestions/ patches whatever.

Missing features:
1. Can't rename files
2. Can't revert changes
3. No Branching or tags yet
4. Can't initialise (start tracking) a project
5. And other things I can't think of at the moment :-)

Available features:
1. Add files
2. Remove files
3. Commit changes (on a single file, folder or whole project)

I've only worked on a Linux box (lucid) with 10.05 so YMMV with the Windows version.

It's available in source form at http://code.google.com/p/cbvcs/

Have fun!
D

Cryogen:
 Hi there,

I had a play with this on Windows. It fails to compile for lack of "vcstrackermap.h". It's included in two places and you use a VcsTrackerMap object which appears to require it. It's included in the project but showing as missing. I checked your google repo. but the file isn't there, either.

Thanks.

dushara:
Hi Thanks for trying it out.

I've added the missing files.

D

Cryogen:
 
 Hi dushara,

Thanks for that. It now compiles and runs smoothly. I couldn't find a stand-alone git exe for Windows and don't have ready access to a git repo. so I can't comment on the git functionality but I can say that it compiles and runs correctly, it appears in Help/Plugins and the Plugin manager and the git commands appear in the project menu. I've added a Windows project file and made some changes to bring it into line with the usual way of doing things, so your unix project is now the "-unix" version. I have used the normal paths in the Windows project so it creates its output files in the standard places. Check the project properties and build post-compile options. The same thing should be done for the unix verson but, since my VMs have been trashed and I haven't restore them yet, I haven't done that to avoid creating problems for you. I also added a pre-compiled header for Windows builds. These are some of the things that usually need to be done before a plug-in is added to the contrib collection.

Attached are the changed and new files. You might like to add some details to manifest.xml at the appropriate time.

Thanks for your efforts. Keep it up.

Cryo.

dushara:
Hi Cryogen,

I'll integrate your changes soon. When I looked at the rename feature, I realised that I need to rework the design a bit. Now I've also started adding unit tests to make sure the changes I make aren't going to introduce any bugs. So anyway the long and short of it is, it will take me a bit of time to get the next version pushed through to the project page.

BTW have you seen msys (git http://code.google.com/p/msysgit/)?

Dushara

Navigation

[0] Message Index

[#] Next page

Go to full version