From: Lawrence A. <la...@us...> - 2001-12-21 11:46:03
|
I have just downloaded the new 1.3.2 package and seen in it a few unexpected "extras" :-) Would it be possible to clean up the cvs so that unneeded files are removed? That way, I won't have to keep ignoring them everytime I update my local copy (I am lazy like that!) 1) Everything in the admin directory - I remember Steve saying recently that these files had all been superceded 2) locale/xx/templates - All of these (I think) use the old template format anyway. Do they even work with the new wiki? In any case, I thought that we no longer needed different language versions of the templates since some very clever person had an ingenious idea to use gettext in the templates, and Jeff implemented it (:-)) Incidentally, might it be sensible to release language packs separately, rather than including them in the main distribution? Just a thought 3) Do we really need to distribute the tests directory? The only people who use it probably use cvs anyway. I for one have not the faintest idea what the tests are for! Lawrence |
From: Reini U. <ru...@x-...> - 2001-12-22 01:25:24
|
Lawrence Akka schrieb: > Incidentally, might it be sensible to release language packs separately, > rather than including them in the main distribution? Just a thought I'm for keeping it in main. > > 3) Do we really need to distribute the tests directory? The only people > who use it probably use cvs anyway. I for one have not the faintest idea > what the tests are for! Yes, the testes inspired me yesterday to download the sun jre runtime, but then I needed another 30mb download for the complete sdk just for javac.exe is there any more info how to run the tests or where to get the needed classes, steve? sun j2sdk1.4.0-beta3 $ javac AAA_GetHomePage.java AAA_GetHomePage.java:2: package com.meterware.httpunit does not exist import com.meterware.httpunit.*; ^ AAA_GetHomePage.java:18: cannot resolve symbol symbol : class WebRequest location: class AAA_GetHomePage WebRequest request; ^ -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Steve W. <sw...@pa...> - 2001-12-22 16:38:04
|
On Sat, 22 Dec 2001, Reini Urban wrote: > > 3) Do we really need to distribute the tests directory? The only people > > who use it probably use cvs anyway. I for one have not the faintest idea > > what the tests are for! Automated, aggressive testing is a tennet of Extreme Programming and a good idea... I haven't put much effort into the tests since the initial import. I think as long as we are shipping developer versions (1.3 branch) the tests can stay included, since they don't use much space. For a stable release (1.2 or 1.4) they would be left out. The tests use a little system I wrote as a consultant for a small company here in NYC. It's httpunit (Java) and Ant (from the Jakarta project). In a sense it works like a browser and exercises a Web application as a user would. > > Yes, the testes inspired me yesterday to download the sun jre runtime, > but then I needed another 30mb download for the complete sdk just for > javac.exe > is there any more info how to run the tests or where to get the needed > classes, steve? > sun j2sdk1.4.0-beta3 Hmm. I thought I had a README in there. Doh. I can track this down and add it. I had a little tutorial I wrote but I must not have included it. > $ javac AAA_GetHomePage.java > AAA_GetHomePage.java:2: package com.meterware.httpunit does not exist > import com.meterware.httpunit.*; > ^ > AAA_GetHomePage.java:18: cannot resolve symbol > symbol : class WebRequest > location: class AAA_GetHomePage > WebRequest request; > ^ Ja, you need httpunit in your $CLASSPATH. It's available from Sourceforge; just download the jar file and add it to your $CLASSPATH. Then install Ant, and you're all set. The tests don't work "out of the box" right now because I haven't figured out how to give the tests a URL that will work anywhere (certainly doable, like with 127.0.0.1 or a small config file the developer uses.. or even parsing the index.php). After that it's a simple matter of writing more little test scripts. I'll be able to make it test lots of things: login diff follow links edit a page and make sure the change is there and many more. Then I want to set up a cron job to run the tests against the alpha site every night after it's been installed, and send an email (I read something on sourceforge recently on how to do that as well) with the test results. It's just something that's been on the backburner for some time. ~swain --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |
From: Reini U. <ru...@x-...> - 2001-12-23 00:35:52
|
Steve Wainstead schrieb: > On Sat, 22 Dec 2001, Reini Urban wrote: > > > > 3) Do we really need to distribute the tests directory? The only people > > > who use it probably use cvs anyway. I for one have not the faintest idea > > > what the tests are for! > > Automated, aggressive testing is a tennet of Extreme Programming and a > good idea... I haven't put much effort into the tests since the initial > import. > > I think as long as we are shipping developer versions (1.3 branch) the > tests can stay included, since they don't use much space. For a stable > release (1.2 or 1.4) they would be left out. > > The tests use a little system I wrote as a consultant for a small company > here in NYC. It's httpunit (Java) and Ant (from the Jakarta project). In a > sense it works like a browser and exercises a Web application as a user > would. > > > > > Yes, the testes inspired me yesterday to download the sun jre runtime, > > but then I needed another 30mb download for the complete sdk just for > > javac.exe > > is there any more info how to run the tests or where to get the needed > > classes, steve? > > sun j2sdk1.4.0-beta3 > > Hmm. I thought I had a README in there. Doh. I can track this down and add > it. I had a little tutorial I wrote but I must not have included it. > > > $ javac AAA_GetHomePage.java > > AAA_GetHomePage.java:2: package com.meterware.httpunit does not exist > > import com.meterware.httpunit.*; > > ^ > > AAA_GetHomePage.java:18: cannot resolve symbol > > symbol : class WebRequest > > location: class AAA_GetHomePage > > WebRequest request; > > ^ > > Ja, you need httpunit in your $CLASSPATH. It's available from Sourceforge; > just download the jar file and add it to your $CLASSPATH. Then install > Ant, and you're all set. > > The tests don't work "out of the box" right now because I haven't figured > out how to give the tests a URL that will work anywhere (certainly doable, > like with 127.0.0.1 or a small config file the developer uses.. or even > parsing the index.php). > > After that it's a simple matter of writing more little test scripts. I'll > be able to make it test lots of things: > > login > diff > follow links > edit a page and make sure the change is there > > and many more. Then I want to set up a cron job to run the tests against > the alpha site every night after it's been installed, and send an email (I > read something on sourceforge recently on how to do that as well) with the > test results. > > It's just something that's been on the backburner for some time. I like the tests and enhanced the perl makemakebuild.pl to produce a better Makefile. So you can easily add more tests. I also tried to be independent of the ant executable and the build.xml for gnu make friends, just because it is easier to add tests. but this doesn't work yet, so it's commented out. java on windows depends on backslashes in pathnames which is a mess in my eyes. I would really need a cygwin java.exe And the latest j2sdk1.4.0 doesn't read getenv('CLASSPATH') anymore. I also added the basic docs into this file. And a simple scheme to add your personal test url. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Steve W. <sw...@pa...> - 2001-12-24 20:39:36
|
thanks Reini! ~swain On Sun, 23 Dec 2001, Reini Urban wrote: > Steve Wainstead schrieb: > > On Sat, 22 Dec 2001, Reini Urban wrote: > > > > > > 3) Do we really need to distribute the tests directory? The only people > > > > who use it probably use cvs anyway. I for one have not the faintest idea > > > > what the tests are for! > > > > Automated, aggressive testing is a tennet of Extreme Programming and a > > good idea... I haven't put much effort into the tests since the initial > > import. > > > > I think as long as we are shipping developer versions (1.3 branch) the > > tests can stay included, since they don't use much space. For a stable > > release (1.2 or 1.4) they would be left out. > > > > The tests use a little system I wrote as a consultant for a small company > > here in NYC. It's httpunit (Java) and Ant (from the Jakarta project). In a > > sense it works like a browser and exercises a Web application as a user > > would. > > > > > > > > Yes, the testes inspired me yesterday to download the sun jre runtime, > > > but then I needed another 30mb download for the complete sdk just for > > > javac.exe > > > is there any more info how to run the tests or where to get the needed > > > classes, steve? > > > sun j2sdk1.4.0-beta3 > > > > Hmm. I thought I had a README in there. Doh. I can track this down and add > > it. I had a little tutorial I wrote but I must not have included it. > > > > > $ javac AAA_GetHomePage.java > > > AAA_GetHomePage.java:2: package com.meterware.httpunit does not exist > > > import com.meterware.httpunit.*; > > > ^ > > > AAA_GetHomePage.java:18: cannot resolve symbol > > > symbol : class WebRequest > > > location: class AAA_GetHomePage > > > WebRequest request; > > > ^ > > > > Ja, you need httpunit in your $CLASSPATH. It's available from Sourceforge; > > just download the jar file and add it to your $CLASSPATH. Then install > > Ant, and you're all set. > > > > The tests don't work "out of the box" right now because I haven't figured > > out how to give the tests a URL that will work anywhere (certainly doable, > > like with 127.0.0.1 or a small config file the developer uses.. or even > > parsing the index.php). > > > > After that it's a simple matter of writing more little test scripts. I'll > > be able to make it test lots of things: > > > > login > > diff > > follow links > > edit a page and make sure the change is there > > > > and many more. Then I want to set up a cron job to run the tests against > > the alpha site every night after it's been installed, and send an email (I > > read something on sourceforge recently on how to do that as well) with the > > test results. > > > > It's just something that's been on the backburner for some time. > > I like the tests and enhanced the perl makemakebuild.pl to produce a > better Makefile. So you can easily add more tests. > > I also tried to be independent of the ant executable and the build.xml > for gnu make friends, just because it is easier to add tests. > but this doesn't work yet, so it's commented out. > java on windows depends on backslashes in pathnames which is a mess in my > eyes. > I would really need a cygwin java.exe > And the latest j2sdk1.4.0 doesn't read getenv('CLASSPATH') anymore. > > I also added the basic docs into this file. > And a simple scheme to add your personal test url. > -- > Reini Urban > http://xarch.tu-graz.ac.at/home/rurban/ > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |
From: Jeff D. <da...@da...> - 2001-12-21 16:30:38
|
On Fri, 21 Dec 2001 11:45:50 +0000 "Lawrence Akka" <la...@us...> wrote: > 1) Everything in the admin directory - I remember Steve saying recently > that these files had all been superceded What's left there is truly vestigal. I think most of what's left is either obsolete, or skeletons of things which never got done. I'll leave it to Steve to remove them altogether though. > 2) locale/xx/templates Yes, now with gettextified templates, those are obsolete (unused). We should leave them in the CVS, I think, until translations get moved from the old template files into the po files... > 3) Do we really need to distribute the tests directory? Probably not. On the other hand, 1.3 is still rather alpha: extra cruft in the distributions is the least of our problems. :-) |
From: Carsten K. <car...@ma...> - 2001-12-22 01:11:57
|
The html templates can go... except for the editpage template for the time being. For each language, the TextFormattingRules instructions need to be moved into a Summary paragraph at the top of the TextFormattingRules in pgsrc. The German files are done with the templates so they can go. (I didn't want to delete them myself because I was worried they might be removed from the 1.2 branch as well. Do I need to worry about this or does CVS handle them separately?) Once the translators are done with TFR the editpage templates can go. I suppose there's no reason to keep Browse and Message around, they can be deleted right away. Carsten On Friday, December 21, 2001, at 06:45 am, Lawrence Akka wrote: > I have just downloaded the new 1.3.2 package and seen in it a few > unexpected "extras" :-) > > Would it be possible to clean up the cvs so that unneeded files are > removed? That way, I won't have to keep ignoring them everytime I update > my local copy (I am lazy like that!) > > 1) Everything in the admin directory - I remember Steve saying recently > that these files had all been superceded > > 2) locale/xx/templates - All of these (I think) use the old template > format anyway. Do they even work with the new wiki? In any case, I > thought that we no longer needed different language versions of the > templates since some very clever person had an ingenious idea to use > gettext in the templates, and Jeff implemented it (:-)) > > Incidentally, might it be sensible to release language packs separately, > rather than including them in the main distribution? Just a thought > > 3) Do we really need to distribute the tests directory? The only people > who use it probably use cvs anyway. I for one have not the faintest idea > what the tests are for! > > > Lawrence |
From: Jeff D. <da...@da...> - 2001-12-22 17:41:50
|
On Fri, 21 Dec 2001 20:11:49 -0500 "Carsten Klapp" <car...@ma...> wrote: > The German files are done with the templates so they can go. (I didn't > want to delete them myself because I was worried they might be removed > from the 1.2 branch as well. Do I need to worry about this or does CVS > handle them separately?) Gone. You don't need to worry about that, I don't think. You just have to have the right sticky tags (in this case, none) set, so that your changes are checked into the right branch... I'm taking off for the holidays tomorrow --- I'll be back in a week and a half or so. If you don't hear from me for awhile, that's why. Have a good Christmas everyone! |