bl.OGware

infrequent grumblings of a software engineer and then some… (also some Delphi programming)

Posts Tagged ‘cvsgui’

Welcome to the CvsGui group…

Posted by tier777 on 2005-11-30

As I realize that many people tend to discard Welcome messages sent by web communities upon subscription as auto-generated junk I thought it would be a good idea to replicate the CvsGui mailing list‘s Welcome message here. Below is the original text of the welcome message sent out by the group subscription interface, which in fact is not auto-generated at all but instead contains some unique and useful information as well as important guidelines for list usage. Emphases in the below reproduction are mine.

Note that below the welcome message I have added some additional things I thought worthy of mention. Unfortunately Yahoo has limited the length of the Welcome mail so I couldn’t put those in there as well.

Welcome to the CvsGui group at YahooGroups, a free, easy-to-use email group
service. Please take a moment to review this message.

If you’ve already got a specific problem, question or suggestion please make
sure it hasn’t already been covered
. The message archives are accessible at
http://groups.yahoo.com/messages/cvsgui.
There’s also a newsgroup mirror at
news://news.cvsnt.org/support.cvsgui .

Furthermore, make sure you’ve checked the available documentation, especially
the current FAQ at http://www.wincvs.org/newfaq.htm
(this is a work in progress – an older, slightly outdated version is still
available at http://www.wincvs.org/faq.html).

To send messages to members of this group, simply use the NNTP or web
interfaces or send email to
cvsgui@yahoogroups.com

Note that attachments are not allowed on group messages. If you have files to
share, upload them to some public webspace or use the Files area
(http://groups.yahoo.com/files/cvsgui) .
instead.

Please also be aware that during phases of increased spam activity the list
will be switched into “new member moderation” mode which will require posts by
new members to be approved by a moderator first
. As moderators could be busy
please be patient and don’t repost. If your message hasn’t turned up on the list
(please check the archives – see above for link) within 2 days, please contact
cvsgui-owner@yahoogroups.com .

In everybody’s best interest, please do not contact or CC moderators or
members of the group in private
unless the issue discussed is of a truly private
nature and of no potential benefit to the group as a whole. Generally, all replies
to such messages from the moderators will be forwarded back to the list without
further notice
.

If you do not wish to belong to CvsGui, you may unsubscribe by sending an email to
cvsgui-unsubscribe@yahoogroups.com

You may also visit the YahooGroups web site to modify your subscriptions:
http://www.yahoogroups.com/mygroups

Regards,

Moderator, CvsGui

Additional notes
(updated as necessary)

More useful information on WinCvs, CVS, CVSNT, etc.

Important FAQ items

There are some FAQ items that could be considered close to being mandatory reading:

Other useful resources

Some of these are already listed in the Getting Started FAQ item quoted above, but I feel you couldn’t really mention them often enough:

Additional notes on participating in the CvsGui group

Posting guidelines

Most of this is not really unique to the CvsGui list. Instead it’s really just general “netiquette” valid for all types of discussion fora, user help channels, mailing lists, newsgroups, etc.:

  • Always use unique and meaningful subject lines. The readers of the list, especially those who have the knowledge to help you, do typically not have all the time in the world. They have daytime jobs just like you. Most of them just have time to scan the subject lines to decide which posts are worth looking at. The same goes for people who search the archives. They might have a similar problem as you did but the chances that they find the solution that was posted in reply to your post are considerably lower if the problem at hand is not already apparent from your subject line. Some (more or less) random real-world examples (anonymized where necessary):
    Good Bad
    How to remove CVSROOT’s from the login window Marco: can anybody answer to my query
    Newbie problem – most of the menus are disabled ?!? Help!
    WinXP Problem: WinCVS does not start up Hi everybody
    WinCVS / CVSNT error during add: “[add aborted]: there is no version here (no subject header)
    cvs [login aborted]: authorization failed: server ABCDEF rejected access to /AB mikail: requesting to clarify my doubt
    what does “P” mean during update? (unknown)
    How can I change revision number from 1.1 when importing a module? WinCvs
    How to set up ssh in WinCVS 2.0.0.2 melvin : can i know the difference

     

  • Do not start a new topic by replying to an existing message, especially not without modifying the subject. No matter how convenient this may be in terms of setting the addressee of your message it will also store a reference to the original message inside your new message which many mail and news clients will correctly interpret as a reply. If that reader is configured to display discussions in a threaded manner your new message may well end up deep down a thread which many of your potential readers are maybe no longer even reading. And if you don’t even change the subject line they’ll never know.
     
  • Please confirm working solutions. A mailing list is not an automated answer system where you throw in your question and get back an answer and that’s it. Both questions and answers are visible to everyone and remain so indefinitely for others to search. When somebody replies to your question and thus solves your problem please confirm this by posting a quick note saying thanks or whatever. Even if the solution did not help but you solved your problem on your own please do post back and let us know what the real problem was, otherwise people searching the archives might get the false impression that the posted solution was correct. Consequently you should also never post these confirmations in private. That is simply helping noone. On top of all that, please remember that all the people offering help on the list are volunteers. Your acknowledgement is the only pay they could ever hope for in return for what they do.
     
  • Please do not repost unmodified posts unless you are sure your original message got lost somewhere. Reposting the same question over and over again is usually more annoying than it is catching positive attention. While some messages indeed get lost among the hubbub during phases of increased list activity the more common reason for a lack of answers is that nobody knows one. In that case try rephrasing your question and/or supplying more information.
    By far one of the most impolite things to do on a mailing list is reposting a question after someone did reply to your original message. If that reply did not help you then please state this in a directed reply and try to indicate why that particular advice was of no use to you or what was the outcome of trying that suggestion. Simply acting as if you never got a reply is a sure way of pissing people off and never getting another reply indeed.
     

Unsubscription

As stated above, the easiest way to unsubscribe is by sending a message to cvsgui-unsubscribe@yahoogroups.com. Neither the subject line nor the content of that message carry any significance at all. The only thing that is important is that you have to send that message from the email account which you used to subscribe to the group in the first place.
If that is for some reason not possible the next best alternative is to use the Edit membership page at Yahoogroups and click the “Leave Group” button at the bottom of the page.
Obviously you will need to login to Yahoogroups first for that. If you have lost or forgotten your password (and only then) contact
cvsgui-owner@yahoogroups.com and supply your subscribed email address and/or your Yahoo user name and we will see what we can do.
Advertisements

Posted in WinCvs | Tagged: , | Leave a Comment »

“Undo Add” macro available.

Posted by tier777 on 2005-11-04

Inspired by another recent thread on the CVSGUI list, I just wrote this little macro:

AddUndo.py

From the comment header (give SF.net a few hours for the ViewCvs-links to become valid – in the meantime use the link above):

  
WinCvs Macro "Undo Add"
$Revision: 1.1.2.1 $

written by Oliver Giesen, Nov 2005
contact: 
email:  ogware@...
icq:    18777742
y!:     ogiesen

Feel free to modify or distribute in whichever way you like, 
as long as it doesn't limit my personal rights to modify and
redistribute this code.
Apart from that the code is supplied "as-is", i.e. without warranty of any
kind, either expressed or implied, regarding its quality or security.
Have fun!

ATTENTION:
You will need at least WinCvs 1.3.5 to execute any Python macros
from within WinCvs! This macro has last been tested against WinCvs 2.0.3 .

======
Usage:

- Select one or more added files

- Run the macro from the Macros|Add menu.

=============
Known Issues / "Un-niceties":

- None so far.

Please report any problems you may encounter or suggestions you might
have to ogware@... .

I’d be happy to hear your comments.

Cheers,

Oliver

Posted in WinCvs | Tagged: , , | 1 Comment »

FTP Upload Selection macro available.

Posted by tier777 on 2005-10-19

Inspired by a recent thread on the CVSGUI list, I just wrote this little macro:

FtpUpload.py

It allows you to upload any selection of files or folders to a specified folder on an FTP server. Here are the relevant bits from the comment header (take special note of the disclaimers regarding binary file handling!):

WinCvs Macro "Ftp Test"
$Revision: 1.1.2.4 $

written by Oliver Giesen, Oct 2005
contact: 
email:  ogware@...
icq:    18777742
y!:     ogiesen

Feel free to modify or distribute in whichever way you like, 
as long as it doesn't limit my personal rights to modify and
redistribute this code.
Apart from that the code is supplied "as-is", i.e. without warranty of any
kind, either expressed or implied, regarding its quality or security.
Have fun!

ATTENTION:
You will need at least WinCvs 1.3.5 to execute any Python macros
from within WinCvs! This macro has last been tested against WinCvs 2.0.3 .

======
Usage:

- Select one or more files and/or folders

- Run the macro from the Macros menu

- Follow the on-screen instructions

~ The macro will attempt to login to the given host and chdir into the given
destination directory (creating it if necessary). It will then upload the 
selected files and folders. It will recreate the directory structure of
your sandbox, i.e. if you select files from multiple folders with
Flat View turned on, the macro will upload the files to the relative paths
that are displayed in the Path column.

=============
Known Issues / "Un-niceties":

- No auto-detection of binary files to speak of! If files are under
CVS-control and are marked binary, the macro will pick this up but "Unknown"
files are currently always transferred as text.
- I have occasionally noticed corruption of binary files but haven't yet been
able to determine what causes it and how to prevent it.
- No support yet for advanced FTP connection options, like port, proxy,
active mode, etc.
- The password entry is in plain text.
- The password is not remembered (though it would be trivial to add that
functionality). This is actually on purpose for security/privacy reasons
but still a bit annoying in practice.

Please report any problems you may encounter or suggestions you might
have to ogware@... .

Cheers,

Oliver

Posted in WinCvs | Tagged: , , | 1 Comment »

“Build Custom ChangeLog” with advanced GUI committed (preview)

Posted by tier777 on 2005-09-12

Here’s what you’ll most likely get with WinCvs 2.0.3 (not scheduled for release yet):

New "Build Custom ChangeLog" dialog

from cvsgui/ChangeLog (rev 1.950):

Mon Sep 12 2005  Oliver Giesen <ogware AT gmx DOT net>
* WinCvs 2.0.3 / Macros:
  - SafeTk: added generic base classes for creating Tk-based macros
  - cvs2clTk: added new experimental Tk-GUI version of advanced ChangeLog macro
               (replaces old CvsAlert-based version when Tk is available)
  - cvs2cl: moved Build ChangeLog selection macros onto their own menu
  - cvs2cl: added options to omit authors and/or files from ChangeLog
             (not yet available for command line version)
  - cvs2cl: very long lines are now wrapped even when there already are line
             breaks in the original log message;
             default wrap point for these is currently at 100 characters
  - RecursiveAddTk: improved error reporting
  - added new component for experimental/new macros to installer and made new and
     old macros sub-components of the Macros component

If you want to try it out now (it also works with WinCvs 2.0.2.4 as long as you don’t try to use the non-Tk version of the Custom ChangeLog macro), here’s what you’ll need to checkout/download from the CVSGUI repository:

(note that the ViewCvs server usually lags behind a few hours – if the revisions given above are not there yet, just try again a little later or, if you have developer access, just get them via SSH)

SafeTk.py now also contains a set of generic base classes that could be used to build Tkinter-based WinCvs macros with advanced GUIs. I will probably write up a little post about how to use this when I get some time. For now, just take a look at the above Build Custom ChangeLog macro (i.e. cvs2clTk.py) which was already built from those classes.

Another thing that I’m rather fond of in this new macro is that it works by invoking another macro. This was to separate the GUI from the actual functionality, especially considering that cvs2cl.py also works as a standalone command line tool. A rather handy concept, I found. There are a few gotchas though. More on that also later (hopefully).

Cheers,

Oliver

Posted in WinCvs | Tagged: , , | Leave a Comment »