Here's an implementation of DVS on Seaside (idea by Avi) It's useful for managing code on a remote server.
It is limited to filing in and filing out changesets from the default directory.
Minimally tested (I used it to file itself out).
Derek
Nerd on a Wire: Web and Information Solutions Website Design - Database Systems - Site Hosting 604.874.6463 mailto:info@nerdonawire.com For more information, visit http://nerdonawire.com
Thanks, Derek. 2.06 actually includes a WAPackagePanel - how does yours compare?
On Fri, 29 Nov 2002, Derek Brans wrote:
Here's an implementation of DVS on Seaside (idea by Avi) It's useful for managing code on a remote server.
It is limited to filing in and filing out changesets from the default directory.
Minimally tested (I used it to file itself out).
Derek
Nerd on a Wire: Web and Information Solutions Website Design - Database Systems - Site Hosting 604.874.6463 mailto:info@nerdonawire.com For more information, visit http://nerdonawire.com
Interesting. WAPackagePanel is nice and simple.
The version I emailed out provides the following functionality: Add a package (by name) foreach package: delete, fileOut, fileIn.
It is currently limited to filing in and filing out changesets from the default directory.
I also use manager asString to get the asterix if the package has changed. I provide fileOut in case changes are made with the browser that you want to keep. Derek
On Friday, November 29, 2002, at 12:33 PM, Avi Bryant wrote:
Thanks, Derek. 2.06 actually includes a WAPackagePanel - how does yours compare?
On Fri, 29 Nov 2002, Derek Brans wrote:
Here's an implementation of DVS on Seaside (idea by Avi) It's useful for managing code on a remote server.
It is limited to filing in and filing out changesets from the default directory.
Minimally tested (I used it to file itself out).
Derek
Nerd on a Wire: Web and Information Solutions Website Design - Database Systems - Site Hosting 604.874.6463 mailto:info@nerdonawire.com For more information, visit http://nerdonawire.com
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/listinfo/seaside
Nerd on a Wire: Web and Information Solutions Website Design - Database Systems - Site Hosting 604.874.6463 mailto:info@nerdonawire.com For more information, visit http://nerdonawire.com
Hi Derek an all Seasiders
I've added the functionality "Load new Package" which - like the original DVS - shows a file dialog where a file (on the server!) can be selected, which then is filed in and added to DVS. I'll use this on the app-server to first upload packages with ftp and then load/fileIn them with WebDVS.
The File Dialog uses the WATree component to present/navigate the directory structure on the left side. On the right side, all files of the current directory are shown. If the file type matches one of the given suffixes, the file can be "opened".
Derek, one question: why do you send #fixTemps to every block in WebDVS>>packageListView? I always use #renderListViewOn: html instead of using a block like you are. I like your solution (if there was not these fixTemps) because you can alway say "html render: self XY..." and not "self renderXYOn: html".
Cheers, Adrian _____________________ Adrian Lienhard www.adrian-lienhard.ch www.netstyle.ch
----- Original Message ----- From: "Derek Brans" brans@nerdonawire.com Sent: Friday, November 29, 2002 9:17 PM Subject: [Seaside] WebDVS Package
Here's an implementation of DVS on Seaside (idea by Avi) It's useful for managing code on a remote server.
It is limited to filing in and filing out changesets from the default directory.
Minimally tested (I used it to file itself out).
Derek
Nerd on a Wire: Web and Information Solutions Website Design - Database Systems - Site Hosting 604.874.6463 mailto:info@nerdonawire.com For more information, visit http://nerdonawire.com
Hi Adrian,
The fixtemps calls are there cause Squeak doesn't have full block closures.
When I asked on the mailing list:
((1 to: 2) collect: [:ea | [ea asString]]) collect: [:b | b value]
evaluates to: #('2' '2')
How do you collect blocks properly?
Ned responded:
You've run into the fact that blocks aren't full closures yet. The current (hackish) way to deal with this problem is to use fixTemps:
((1 to: 2) collect: [:ea | [ea asString] fixTemps ]) collect: [:b | b value]
(End of Ned's response)
I don't know when calls to fixTemps are necessary and when they aren't.
Regards, Derek
On Saturday, January 11, 2003, at 06:05 AM, Adrian Lienhard wrote:
Hi Derek an all Seasiders
I've added the functionality "Load new Package" which - like the original DVS - shows a file dialog where a file (on the server!) can be selected, which then is filed in and added to DVS. I'll use this on the app-server to first upload packages with ftp and then load/fileIn them with WebDVS.
The File Dialog uses the WATree component to present/navigate the directory structure on the left side. On the right side, all files of the current directory are shown. If the file type matches one of the given suffixes, the file can be "opened".
Derek, one question: why do you send #fixTemps to every block in WebDVS>>packageListView? I always use #renderListViewOn: html instead of using a block like you are. I like your solution (if there was not these fixTemps) because you can alway say "html render: self XY..." and not "self renderXYOn: html".
Cheers, Adrian _____________________ Adrian Lienhard www.adrian-lienhard.ch www.netstyle.ch
----- Original Message ----- From: "Derek Brans" brans@nerdonawire.com Sent: Friday, November 29, 2002 9:17 PM Subject: [Seaside] WebDVS Package
Here's an implementation of DVS on Seaside (idea by Avi) It's useful for managing code on a remote server.
It is limited to filing in and filing out changesets from the default directory.
Minimally tested (I used it to file itself out).
Derek
Nerd on a Wire: Web and Information Solutions Website Design - Database Systems - Site Hosting 604.874.6463 mailto:info@nerdonawire.com For more information, visit http://nerdonawire.com
Nerd on a Wire: Web and Information Solutions Website Design - Database Systems - Site Hosting 604.874.6463 mailto:info@nerdonawire.com For more information, visit http://nerdonawire.com
seaside@lists.squeakfoundation.org