[sabayon] metadata timestamp?
- From: Warren Togami <wtogami redhat com>
- To: sabayon-list gnome org
- Subject: [sabayon] metadata timestamp?
- Date: Mon, 15 Feb 2010 23:42:59 -0500
def __update_file_or_dir_node (self, file_or_dir_node, source,
attributes, metadata):
# Set properties
unlink_children (file_or_dir_node)
file_or_dir_node.setProp ("timestamp", str (int (time.time ())))
file_or_dir_node.setProp ("user", util.get_user_name ())
file_or_dir_node.setProp ("host", socket.gethostname ())
Anybody know what is the purpose of this timestamp in our current
metadata? It seems to be not the mtime but rather the moment it was
added to the profile. It seems that sabayon is not using this
timestamp, user or host for anything.
In any case, I'm adding os.lstat() st_mtime and st_mode so it can be
used during extract.
Warren Togami
wtogami redhat com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]