[Commits] [Einstein Toolkit] #9: Compiled python files are deleted when syncing
Einstein Toolkit
trac at einsteintoolkit.org
Thu Oct 7 16:48:29 CDT 2010
#9: Compiled python files are deleted when syncing
------------------------+---------------------------------------------------
Reporter: hinder | Owner: mrthomas
Type: defect | Status: new
Priority: minor | Milestone:
Component: SimFactory | Version:
Keywords: |
------------------------+---------------------------------------------------
When SimFactory is run, the python interpreter compiles the human-readable
python source files to bytecode and stores them as .pyc files. These
would normally be synced to the remote machine along with the .py files,
which is bad because the python bytecode version might not be the same on
each platform. Instead, they are excluded from the sync. However,
because we use rsync with its --delete-excluded option, this means that
those files on the remote machine will be deleted. According to the rsync
man page, "filter rules" can be used to protect certain files from being
deleted due to exclusion on the remote side.
--
Ticket URL: </trac/ticket/9>
Einstein Toolkit <http://www.einsteintoolkit.org>
The Einstein Toolkit
More information about the Commits
mailing list