OSNews.com: Learning CVS Using KDE's Cervisia

OSNews is featuring a detailed guide written by Carlos Leonhard Woelz on how to use CVS, a version control system also used for developing KDE, using KDE's CVS client Cervisia. It is a seven page long well-described article with many screenshots useful to both newbies and experienced users.

Dot Categories: 

Comments

by John (not verified)

who is the editor on this article?

by Anonymous (not verified)

Do you think that it's edited or want to know who submitted it under the alias "Editor"?

by Mambo-Jumbo (not verified)

You do know how the web works for news site entities, right? If you do, then re-read your comment.

Nice article btw.

by kidcat (not verified)

Yup, nice article. It has lots of stuff that The Cervisia Handbook could benefit from :-D

/kidcat

by cwoelz (not verified)

True. I will incorporate the guide before the strings freeze.

by cwoelz (not verified)

Could someone please correct my name to Carlos Woelz, or Carlos Leonhard Woelz? Nobody calls me Leonhard :).

by Navindra Umanee (not verified)

Done. Not sure what happened there.

by SteamedPenguin (not verified)

I took the liberty of taking the 'print' version form OSNews and fixing the markup and making a couple of stylesheets. The print stylesheet should make printing nicer.

I sent a copy to the OSNews people as well.

'hello? this is 1996 we called to see if we can have our made-for-printers Web pages back'

http://steamedpenguin.com/design/CSS/fixingosnews/cervisia.html

by SteamedPenguin (not verified)

Actually, I have to remove this. Sorry lads and lasses

by Eric Laffoon (not verified)

This is really great! Excellent Job Carlos. I'm going to use this to make my life easier by referencing the link to any questions about using CVS on our user list. I think a lot of people assume it's difficult because it's a bit of a new concept to them and developers use it... therefore it must be some kind of black magic. ;-) I was amazed how easy it was to set up my own local CVS repository the first time. I showed my wife how to do it and she started keeping everything in CVS.

The idea of making applications CVS aware is very intriguing! I can imagine koffice files sent as XML and a parse diff routine that tell you this kpread cell has been added, changed or reformatted as well as viewing an annotated kword document. A versioning system could produce distrubuted office computing on a level we only dreamed of. Even more interesting is that as of KDE 3.2 Cervisia is now a combination of the visual interface you see and the underlying cvsservice which communicates via DCOP. We will be working with this in extending Quanta but actually this makes CVS integration much more accessible for any KDE app.

My thanks Carlos. Cervisia with CVS is a great tool for users that often people either don't see the value of or are intimidated by and don't try. I think this tutorial will make a difference for a lot of people.

by AC (not verified)

True. And there are apps like LyX that has been CVS aware for a long time. CVS support really makes writing docs a breeze!

by rizzo (not verified)

How about a tutorial on how to remove Cervisia from Konqueror, since it is not needed by any regular user I know.

That would be really useful.

by cwoelz (not verified)

This tutorial is easy.

1) Uninstall the kdesdk package. (Or better yet, uninstall Cervisia package if your distribution splits the kdesdk, Mandrake does that).
2) You are done.

Makes no sense to install something you don't use. People install a lot of stuff and then say: Hey, there is a lot of stuff and extensions in my computer I don't use!

by mbest (not verified)

Please tell me, what do I do then?
My distro doesn't split kdesdk.

I need KDevelop, but not CVS.
I don't like the way that Cervisia intrudes in my Konqueror.

I've tried removing all files from /opt/kde and subfolders named *cervisia*, but now Konqueror keeps complaining that "Library files for libcervisiapart.la not found in paths".

Gah...

(This is extremely annoying, kind of reminding me of the browser war era and how there was no way to remove IE4 from your Windows installation...)

by Anonymous (not verified)

KDevelop is not in kdesdk module, so where's the problem?

by Philippe Fremy (not verified)

Sorry but I think cerivisia is a poor cvs client. I am using TortoiseCVS on windows and I wish we had anything in KDE that reaches this level of usability. Things that are pretty annoying in cervisia include:
- file are marked as unknown although it is perfectely clear that the files are unmodified (according to the date of last modification)
- no possiblity to perform more than one operation at the same time, no possiblity to queue multiple operations
- poor handling of adding directories (TortoiseCVS will propose you to add any file of a directory in a similar case and perform all the necessary actions in one row)
- the actions that are possible to perform on a file do not take into account the state of the file. For example, it should not be possible to add a file that is already in CVS, or commit a file that is up to date.
- the icons are confusing with the one of konqueror when using it as a kpart.

I am really disapointed and hope that either it will improve or that we will get a better cvs client anyday.

by cwoelz (not verified)

Cervisia is not only a CVS client. It is a VCS backend and front end, at is is by all means not complete yet. Fill meaningful wishes with the ideas you might have.

by Datschge (not verified)

Just a question since your blunt and extreme approach to describing other developers' work seems to be a common feature of most of your posts: Do your Rosegarden users jump at you like this as well?

by Eric Laffoon (not verified)

Hey Datschge, maybe you should relax a bit. You're now lumping all French men into one if the are critical of programs. ;-) I believe you're thinking of Guillaume Laurent who codes Rosegarden. Philippe Fremy has done some very cool writings on toolkit comparisons, some interviews and other projects in KDE.

While I would agree with you that it would be nice if developers could phrase their lamentations better (and we complain about users) it's really not fair to give him a hard time for wishing it was more feature complete. Especially when you're confusing him with someone else. ;-)

We could ask him for some patches though. ;-)

by Datschge (not verified)

Actually it's a little more embarassing than that. I know who those two are, I guess having been tired and slightly angered led me to mix up the two persons (I linked to a different case where actually both were involved). I appologize to Philippe for the misled part of my response and pledge not to write responses anymore when I'm about to go to bed, heh.

by Philippe Fremy (not verified)

I am sorry that my post is so rude. I am just expressing my frustration.

by Christian Loose (not verified)

>- file are marked as unknown although it is perfectely clear that the files are unmodified (according to the date of last modification)

This is untrue. You might not have changed the file (last modification date) but another developer could have checked in a new version. So the status is unknown as long as you don't update it (F5 key). BTW there is an option to automatically update the status of your files when you open a working directory or on start-up. After activating this option you will never see the unknown status again.

> - no possiblity to perform more than one operation at the same time, no possiblity to queue multiple operations

As I said there is cvsq (see BR #64649) until I had the time to implement it.

> - poor handling of adding directories
> - the actions that are possible to perform on a file do not take into account the state of the file.

Where are the bug reports? Sorry but I'm really bad in mind-reading.

> - the icons are confusing with the one of konqueror when using it as a kpart.

Can't fix that because I'm a real bad artist. If you want better icons you could vote for BR #67805, #67806, #67807, #67808 and #67809.

I'm sorry that your disappointed but you should also give us sometime to try to improve this. When I took over this project it was hardly maintained and the functionality was firmly coupled to the GUI. With KDE 3.2 we took the first steps to improve this but it will take time.

by Philippe Fremy (not verified)

> This is untrue. You might not have changed the file (last modification date)

I said that the file is unmodified. Usually, you are interested in this feature to know which file you have changed on you hard disk and which file you should commit or diff. Knowing that a developer has changed the file meanwhile is a less common need.

The wording is probably the cause of the issue here. Maybe you could change it to "locally unmodified" which does not imply anything wrong.

I don't want to issue a CVS request each time I launch cervisia, just to know that a file that I did not touch is not modified.

> cvsq

Sorry, but this workaround does not suit me. I have a full connection so I do not need to postpone commands. I just want to issue more than one at the same time, which a simple fork could do. Besides, there is no point in using a graphical cvs client if I have to run a command in a termninal program.

> > - the actions that are possible to perform on a file do not take into account the state of the file.

> Where are the bug reports? Sorry but I'm really bad in mind-reading.

I did mention that in the mail I sent.

For the bug reports, I don't want to file many wishes when my basic needs are not fulfilled. There is no point in spending time for describing many wishes if the developer has very little time for even basic useful features.

I really wish I had more time to hack on tortoise cvs and bring it to KDE.

by cwoelz (not verified)

>I said that the file is unmodified. Usually, you are interested in this feature to
>know which file you have changed on you hard disk and which file you should commit
>or diff. Knowing that a developer has changed the file meanwhile is a less common
>need.

Press F5?