Tags:
create new tag
, view all tags

Updating Plugin Zips From the Web

There could be XyzPluginCode pages that, when attached to, it creates zip & tgz files from all files attached. Simple "zip all files" onto the plugin topic afterAttachmentSaveHandler.

It does not solve svn synchronisation but it would be a simple stopgap to get people contributing to zips.

-- Contributors: MartinCleaver

Discussion

-- MartinCleaver - 29 Jul 2006

An alternative idea could be to add an option to viewfile to zip topic-related files up and serve the archive realtime ($topic_$timestamp.zip).

I think this approach would

  • be somewhat easier to explain / document
  • be easier to implement
  • have better resistance against .zip going out of sync
  • not introduce redundancy in topic attachments

Performance is of course a factor on this, deciding if you want to wait when uploading a file / updating the topic or when requesting the zip.

-- SteffenPoulsen - 29 Jul 2006

Thinking about this, being able to serve "the complete works" of a topic could be useful in other schenarios, i.e. when doing distributed setups. In this case, a technique could be to simply subscribe to a fitting rss feed at distant others, and "catching up" up on updates by fetching updated topic archives and expanding them locally (not really very efficient as a diff would of course be enough, strength would be ease of implementation).

-- SteffenPoulsen - 29 Jul 2006

Like a "Generate Zip" button?

-- MartinCleaver - 29 Jul 2006

Yep, that would be it smile

-- SteffenPoulsen - 29 Jul 2006

 
Topic revision: r4 - 2006-07-29 - SteffenPoulsen
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.