From marc at datacodex.com Mon Feb 16 10:17:54 2004 From: marc at datacodex.com (Marc Wilson) Date: Mon, 16 Feb 2004 21:17:54 +1100 Subject: [cvsspam-devel] Having CVSSpam order the files in a commit alphabetically Message-ID: <003001c3f476$27eda5b0$4501a8c0@TRAVELLER> Is it possible to configure, or extend, CVSSpam to order the files listed in the email alphabetically. When I do a commit with a lot of files in different folders it seems to group all the files in the same folder together and list them in alphabetical order, but the folders themselves don't seem to be listed in any discernable order. Cheers -M From dave at badgers-in-foil.co.uk Mon Feb 16 10:55:06 2004 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Mon, 16 Feb 2004 10:55:06 +0000 Subject: [cvsspam-devel] Having CVSSpam order the files in a commit alphabetically In-Reply-To: <003001c3f476$27eda5b0$4501a8c0@TRAVELLER> References: <003001c3f476$27eda5b0$4501a8c0@TRAVELLER> Message-ID: <20040216105506.GA981@vhost.badgers-in-foil.co.uk> On Mon, Feb 16, 2004 at 09:17:54PM +1100, Marc Wilson wrote: > Is it possible to configure, or extend, CVSSpam to order the files > listed in the email alphabetically. There's currently no such configuration option, though I think something could be implemented to do this. > When I do a commit with a lot of files in different folders it seems to > group all the files in the same folder together and list them in > alphabetical order, but the folders themselves don't seem to be listed > in any discernable order. I've checked a few recent commit messages I have, and all seem to list files alphabetically. This is, I assume, because the CVS client is presenting the files to the CVS server in order (and CVSspam just churns out the email in the order given). My examples were produced using the command-line CVS client under Linux. What client/server are you using? dave From marc at datacodex.com Mon Feb 16 11:01:22 2004 From: marc at datacodex.com (Marc Wilson) Date: Mon, 16 Feb 2004 22:01:22 +1100 Subject: [cvsspam-devel] Having CVSSpam order the files in a commit alphabetically In-Reply-To: <20040216105506.GA981@vhost.badgers-in-foil.co.uk> Message-ID: <003101c3f47c$3a1d0bd0$4501a8c0@TRAVELLER> > There's currently no such configuration option, though I > think something could be implemented to do this. Great. If there are no volunteers then I'll try and get to it myself someday (when time permits) and use it as an excuse to learn a bit of Ruby :) > I've checked a few recent commit messages I have, and all > seem to list files alphabetically. This is, I assume, > because the CVS client is presenting the files to the CVS > server in order (and CVSspam just churns out the email in the > order given). > > My examples were produced using the command-line CVS client > under Linux. What client/server are you using? I'm using the internal CVS client in Eclipse 2.1 on WinXP, so it wouldn't surprise me if it was sending the files in some non intuitive (to me) order. Cheers -M From dave at badgers-in-foil.co.uk Mon Feb 16 14:37:09 2004 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Mon, 16 Feb 2004 14:37:09 +0000 Subject: [cvsspam-devel] Having CVSSpam order the files in a commit alphabetically In-Reply-To: <003101c3f47c$3a1d0bd0$4501a8c0@TRAVELLER> References: <20040216105506.GA981@vhost.badgers-in-foil.co.uk> <003101c3f47c$3a1d0bd0$4501a8c0@TRAVELLER> Message-ID: <20040216143708.GA3710@vhost.badgers-in-foil.co.uk> On Mon, Feb 16, 2004 at 10:01:22PM +1100, Marc Wilson wrote: > > There's currently no such configuration option, though I > > think something could be implemented to do this. > > Great. If there are no volunteers then I'll try and get to it myself > someday (when time permits) and use it as an excuse to learn a bit of > Ruby :) I've been fairly slow at getting round to CVSspam stuff recently (sorry) so it could be that you get the chance to have a go before me. If I did get the chance to implement this, I'd build up an index for the tmpfile that holds diff output. Then, when generating the email, I could use the index to read the tmpfile in alphabetical order, rather than just from top-to-bottom, as currently. (This is without checking though the current code to check feasability, of course ;) dave From Ernest at Beinrohr.sk Tue Feb 24 16:25:42 2004 From: Ernest at Beinrohr.sk (Ernest Beinrohr) Date: Tue, 24 Feb 2004 17:25:42 +0100 Subject: [cvsspam-devel] Problem with adding MANY files Message-ID: <403B7B06.4040805@Beinrohr.sk> (read the PS: first please) Hi there, I & our developers LOVE cvsspam in the first place. But we do have a problem, cvsspam cannot handle many files at once. If you have CVSspam enabled in CVSROOT's files and you try to add for example 1000 files, cvs fails with "broken pipe" or sometimes "argument too long". I've upgraded to 0.2.8 today, but the problem remains the same. How to test: I've tryied to add&commit php-5.0.0b4 sources to my test module. It failed with CVSspam, but without it cvs actions were finished successfuly. PS: i've just tryed to add many files per hand with command line cvs and commit it and it worked. Now it looks, like the problem is somehow related to Eclipse in which addes the files in the first place. But from eclipse it WORKS when CVSspam is disabled :( -- Ernest Beinrohr, OERNii eAdmin @ axonpro.sk, http://www.axonpro.sk/ +421-2--6241-0360, +421-903--482-603 HomePage: http://www.OERNii.sk/ ICQ: 28153343 --- There are 10 kinds of people, those that understand binary, and those that do not From dave at badgers-in-foil.co.uk Tue Feb 24 16:54:46 2004 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue, 24 Feb 2004 16:54:46 +0000 Subject: [cvsspam-devel] Problem with adding MANY files In-Reply-To: <403B7B06.4040805@Beinrohr.sk> References: <403B7B06.4040805@Beinrohr.sk> Message-ID: <20040224165446.GB5642@vhost.badgers-in-foil.co.uk> On Tue, Feb 24, 2004 at 05:25:42PM +0100, Ernest Beinrohr wrote: > But we do have a problem, cvsspam cannot handle many files at once. If > you have CVSspam enabled in CVSROOT's files and you try to add for > example 1000 files, cvs fails with "broken pipe" or sometimes "argument > too long". I've upgraded to 0.2.8 today, but the problem remains the same. [...] > PS: i've just tryed to add many files per hand with command line cvs and > commit it and it worked. Now it looks, like the problem is somehow > related to Eclipse in which addes the files in the first place. But from > eclipse it WORKS when CVSspam is disabled :( Yeah, I think this is some kind of bad interaction between Eclipse and CVS when CVS script-hooks are used. See.. http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-home/docs/online/cvs_features2.0/cvs-faq.html#server_8 > 10. I got a "received broken pipe signal" error. What does it mean? > > Eclipse sometime performs multiple commands within a single > connection to the server. This may cause problems with CVS server > that are running server scripts in reponse to certain commands. Also, a note at, http://mail.gnu.org/archive/html/bug-cvs/2003-06/msg00080.html I think this is out of our hands :( dave