[wpkg-users] [Bug 276] New: pre-download tag

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Fri Oct 12 00:38:58 CEST 2012


http://bugzilla.wpkg.org/show_bug.cgi?id=276

           Summary: pre-download tag
           Product: WPKG
           Version: other
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at wpkg.org
        ReportedBy: rbos-wpkg at novylen.net
         QAContact: wpkg-users at lists.wpkg.org


It would be helpful, for very large packages, if I could specify commands that
take place BEFORE the package install commands are executed, and can safely
time out without generating an error, and can run in a forked background
process.

For instance, copying Creative Suite from the central server with robocopy can
easily take over an hour if a couple hundred computers try to do it
simultaneously, and hit the timeout.

A <preinstall cmd='robocopy blah blah' /> could be forked off WPKG and deferred
until the next run. If, on the next run, the preinstall commands have
succeeded, then the <install> lines can run.

Alternatively, WPKG could look for any <preinstall> lines in outstanding
packages, execute them as background tasks, and allow them to run in the
background while available <install> lines run sequentially, then run the
particular packages' <install> as <preinstall> routines complete.

It would be especially helpful in situations where WPKG runs on startup. Any
long downloading operation can extend the run time unreasonably.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list