See HelpOnPackageInstaller.

Discussion

I like it :-) -- AlexanderSchremmer 2005-05-27 15:14:24

Nir sees several problems:

  1. Why do we need a script to install stuff? Simply merge install tree with existing tree, e.g.
    • Plugin tree:
      plugin
          theme
              NewTheme.py
      htdocs
          newtheme
              css
                  ....
              img
                  ....
    If more than merging is needed, the installer can handle it automatically, e.g, if you merge new page revision, the installer can create it as new revision or by replacing the existing page.
    • Has various problems:
      • ZIP does not support unicode
      • How do unpack different plugins for different MoinMoin versions?

      • How do you delete pages?
      • How do you store comments, creators, the trivial flag?
      • How do you add many revisions of a single page at once?
  2. If more than merging is needed, then we need some kind of meta data for each installed item - like type of install: replace/new revision etc.
    • Your point being?
  3. If some kind of script is needed, then the delimiter used here is wired.
    • Yeah, your opinion. I love weird delimiters.
  4. Why not use existing installer framework like distutils?
    • ROTFL, why do you think that it would help?

Generally, I think this is a quick solution to a problem which was not defined yet. First describe the problem, then we can discuss what kind of solution is needed, what if should do, what it should not do, etc. -- NirSoffer 2005-05-27 19:25:19

How about using tgz instead of zip? -- ThomasWaldmann 2005-05-28 09:41:46

It does not set a log entry at the moment or is it supressed for RecentChanges? Probably it would be fine to see who has updated when something. -- ReimarBauer 2005-05-29 22:01:30

PackagePages.py (see ActionMarket) makes it very easy to take a page from one wiki to another. So you could proceed your editings at home in a standalone wiki and afterwards you could add it to the regular wiki. Sometimes it would be fine to set an editor lock to the regular wikis page till the changes are checked in. Probably this could be done by setting an acl checkbox into the dialog to set the acl for all to read only these pages. -- ReimarBauer 2005-08-13 20:37:07

MoinMoin: PackageInstaller (last edited 2008-01-03 01:46:43 by ThomasWaldmann)