[Tilesathome] tah refactor (for developers only)
spaetz
osm at sspaeth.de
Mon Aug 25 13:55:56 BST 2008
On Mon, Aug 25, 2008 at 02:38:47PM +0200, spaetz wrote:
> Hi all, I spent the better part of this day, reworking the t at h client to cope better with temporary directories (and move things from the huge "GenerateTileset" function into subdirectories)
BTW, it will create a Jobdirectory called "12_123_456_XXXX" (with XXXX being random) in your WorkingDir. And all the action will happen in there. Once it's finished it moved the "tile_12_123_456.dir" into the "WorkingDir" so the uploader can pick it up.
If Debug is set, the temporary dir will be kept around, if not the whole Jobdirectory will simply be deleted after rendering.
The only file left in JobDirectory is "client-id.txt". I have pondered moving that into the tilesAtHome directory, so people can share the WorkingDir among several clients, but that would probably fail with those mounting their tilesAtHome directory via NFS. Any optionions on how this should be handled best?
spaetz
More information about the Tilesathome
mailing list