CVS Plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

CVSBrowser Plugin

Post by *MayorA »

Like other CVS users I always missed a CVS repository browser.
So I decided to write a TC FSPlugin.

Currently CVSBrowser allows to:
  • - browse through CVS repositories
    - view CVS files
    - view log of CVS files and modules
    - checkout CVS files
    - checkout modules (recursively)
Five days ago I sent this plugin (along with a short description) to the webmaster of http://www.totalcmd.net to make it available there. However, I did not get any answer yet ... :cry:

Does it always take that long ?
Or where else could I post this plugin ?
CVSBrowser WFX Plugin Author
User avatar
Hacker
Moderator
Moderator
Posts: 13141
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Welcome aboard!
Five days ago I sent this plugin (along with a short description) to the webmaster of http://www.totalcmd.net to make it available there.
Actually, you should write him an email and he will create an account for you where you can upload, manage, etc. your files.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

Actually, you should write him an email and he will create an account for you where you can upload, manage, etc. your files.
That's what I actually did, I just added the plugin as attachment.
CVSBrowser WFX Plugin Author
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

No good idea to send first time emails with binary attachments.
Maybe Ergo's spam filter killed it, just a guess. ;)

Icfu
This account is for sale
shocquer
Junior Member
Junior Member
Posts: 16
Joined: 2004-03-19, 12:07 UTC

Post by *shocquer »

What about registering such project @ sourceforge, berlios etc.?
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

CVSBrowser 1.0.1 is now available at:


http://www.totalcmd.net/plugring/CVSBrowser.html


Main features:
  • - browse through CVS repositories
    - view CVS files
    - view log of CVS files and modules
    - checkout CVS files
    - checkout modules (recursively)
CVSBrowser WFX Plugin Author
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

Thank you for this plugin.
Is it possible to import modules, commit or update files? Or is it planned?
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

Is it possible to import modules, commit or update files? Or is it planned?
Intentionally I just wanted to write a browsing interface, without any write access.
But if there is a general request for such features, I might consider implementing some of them. :wink:

However, I do not intend to fully replace CVS GUIs as e.g. WinCVS.
CVSBrowser WFX Plugin Author
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

Well without replacing WinCVS, it would be great if it can support the most common commands (status, commit, update, checkout, import, add)
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

Hmm... I have to think about that.
Especially I am not sure how to implement all of those functions within the Total Commanders User Interface.

I could imagine something like:

Code: Select all

CHECKOUT:  Copy (<F5>) from \\CVSBrowser to (non-existant) local file
UPDATE:    Copy (<F5>) from \\CVSBrowser to existing local file
ADD:       Copy (<F5>) form local file to nonexisting \\CVSBrowser file
COMMIT:    Copy (<F5>) form local file to existing \\CVSBrowser file
STATUS:    not clear how to do that on the local file
But I think I should get more feedback on the usability of such a CVSBrowser (handling, performance, stability ... etc.), before overloading it with new functionality.
CVSBrowser WFX Plugin Author
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

Status can be done with ALT+ENTER on existing \\CVSBrowser file
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

Add me to the supporters of standard CVS functionality :)

Alex, I think you have a good point of saying not to overload it with new functionality before anything else.

I will be happy to beta test ;)
Registered user #92105
User avatar
AlleyKat
Senior Member
Senior Member
Posts: 203
Joined: 2003-06-15, 10:51 UTC
Location: for personal info, see wiki
Contact:

Post by *AlleyKat »

Actually - after getting over the 'bump' it is to learn how to use CVS with the GUI tools (and no, I'm still not good at it, but it usually works) - I can live with Tortoise. I think. And I don't see the problem with TC integration?

Image: http://ak.lir.dk/tortoiseworksfineintotalcommander.jpg

Ofcourse I look much forward to seeing this plugin in action, just thought I'd mention that it seems to work fine here with the icons and has done so for some time. (Or maybe I'm just missing a point in the discussion - all the Delphi I know is the name of it)
MayorA wrote: I could imagine something like:

Code: Select all

CHECKOUT:  Copy (<F5>) from \\CVSBrowser to (non-existant) local file
UPDATE:    Copy (<F5>) from \\CVSBrowser to existing local file
ADD:       Copy (<F5>) form local file to nonexisting \\CVSBrowser file
COMMIT:    Copy (<F5>) form local file to existing \\CVSBrowser file
STATUS:    not clear how to do that on the local file
But I think I should get more feedback on the usability of such a CVSBrowser (handling, performance, stability ... etc.), before overloading it with new functionality.
This sounds really exciting, but I also agree. Especially adding/committing is dangerous, and ample warnings should be given by default if I may suggest so.

Are there any chance of the plugin to have some kind of caching function, and ability to use/call TC's compare functions? One of my greatest problems with using Tortoise is the missing 'compare-on-conflict' function.


[EDIT]
After having tried it out I can only say 'fabulous', its gonna make my life so much easier.
Small problems with the interface:
- When Add or Settings windows are open, quite a few windows key shortcuts are disabled (Tab, Esc etc) in all other windows.
- Missing an Edit button, or being able to edit directly in TC window (ofcourse naming them as RolandD suggested would make this impossible so just an Edit button, please!) if I make a typo in the connection line.
Details all, just keep up the good work. Also, very nice help file - I hope this trend will spread.
User avatar
MayorA
Junior Member
Junior Member
Posts: 50
Joined: 2005-07-30, 18:11 UTC
Location: Switzerland

Post by *MayorA »

Hi all

I am surprised, that this plugin found such a resonance.


As I wrote before: my intention was not to write a replacement for WinCVS or Tortoise, I just missed the "CVS Repository Browsing" functionality in both.
But of course I understand that some extended functionality would be nice.
fabiochelly
Status can be done with ALT+ENTER on existing \\CVSBrowser file
ALT+ENTER on a \\CVSBrowser file shows its CVS LOG.
CVS status should show the current status of the file on the local file system, and here I have no idea how to get a hook on those local files.
AlleyKat
Especially adding/committing is dangerous, and ample warnings should be given by default if I may suggest so.
I completely agree, anyway a dialog would prompt for a proper "commit message".
AlleyKat
Are there any chance of the plugin to have some kind of caching function, and ability to use/call TC's compare functions? One of my greatest problems with using Tortoise is the missing 'compare-on-conflict' function.
What currently is cached are the browsed directories (means: directories and their contents, which already were retrieved by this browser session, will be cached).
If you change the Repository this cache will be cleared again.

TCs "Synchronize Directories" does not work because "cvs checkout -n" does not give any file size information and "Synchronize Directories" cannot be forced to ignore different file sizes.
TCs "File > Compare Contents..." however works fine.

If you want to compare complete modules/directories you could procede as follows:
  • - Copy/Checkout the directory (using <F5>) to a temporary folder
    - Compare this temporary folder to your local copy.

I already noted the wish for logical names and a more detailed "Add" dialog.
(see tracker entries "Feature Requests" on project page https://sourceforge.net/projects/tc-cvsbrowser/)
CVSBrowser WFX Plugin Author
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

ALT+ENTER on a \\CVSBrowser file shows its CVS LOG.
CVS status should show the current status of the file on the local file system, and here I have no idea how to get a hook on those local files.
You can create a folder "status" at the root of \\CVS Browser and show the status when a local file is copied there
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Post Reply