Summary: | portage-2.1 not proper log handling | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Piotr Jaroszyński (RETIRED) <peper> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 136244 |
Description
Piotr Jaroszyński (RETIRED)
2006-06-10 07:04:48 UTC
Perhaps we should encode the creation time of PORTAGE_BUILDDIR into the log name, in addition to the counter. That will allow the same log to be used in separate ebuild invocations that use the same build dir. It seems that it's not possible to get a constant timestamp from $PORTAGE_BUILDDIR itself, so maybe we should use a hidden file inside of it to identify the log file. Perhaps $PORTAGE_BUILDDIR/.logid is good? It could just be an empty file and we could use it's UTC timestamp to generate the log file name. For the name of the log file, we could borrow the format used by pym/elog_modules/mod_save.py: ${CATEGORY}:${PN}-${PVR}:%Y%m%d-%H%M%S.log sounds good to me ;] This is fixed in svn r3506. This has been released in 2.1.1_pre1. |