Feature #19

Feature #18: Texture and model libraries

Clientside support for libraries

Added by jbk over 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:04/03/2010
Priority:NormalDue date:
Assignee:jbk% Done:

100%

Category:ClientEstimated time:7.00 hours
Target version:v0.3s - Sunflower

Description

Glue needs to be updated to support unpacking/linking of the libraries into their requested paths from the storage directory.

History

#1 Updated by jbk over 7 years ago

  • Target version set to v0.3s - Sunflower

#2 Updated by jbk about 7 years ago

Suggested commandline parameters are as follows:
[-l|--link logical physical] Creates a read-only link (copy on systems that do not support linking) from the logical file in the projects dir to the slots directory subdir "physical".
[-c|--copy logical physical] Creates a read/write copy from the logical file in the projects dir to the slots directory subdir "physical".
[-u|--unpack logical physical] Treats "logical" in the projects directory as an archive and unpacks it into "physical" directory (possibly empty) in the slots directory. Unpacked files are read/write

All paths for physical directories/files are relative to the current slots subdirectory that the client is running in. Arguments are processed in order - a file copied into the directory structure may be overwritten by any of the later files.

#3 Updated by jbk about 7 years ago

  • Assignee set to jbk
  • % Done changed from 0 to 10

Prepared the client with some help text. Need to:
1) Parse out the stuff from the command line
2) Throw it as a vector to the controller which then
3) Run the commands

#4 Updated by jbk about 7 years ago

Since not all platforms support linking and BOINC is going to be fixed eventually only archive unpacking is relevant

#5 Updated by jbk about 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 10 to 100

Applied in changeset r1210.

#6 Updated by jbk about 7 years ago

  • Status changed from Resolved to Closed

Before unpacking an archive Glue will first check to see that the destination subdirectory (or directories) exists - and create it (them) if not.

Also available in: Atom PDF