ATF-log archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
#49: Evaluate removal of revision-dist madness
- Subject: #49: Evaluate removal of revision-dist madness
- From: "atf trac notification" <nobody%julipedia.org@localhost>
- Date: Mon, 28 Jun 2010 07:46:49 -0000
#49: Evaluate removal of revision-dist madness
-------------------+--------------------------------------------------------
Reporter: jmmv | Owner: jmmv
Type: task | Status: new
Priority: minor | Milestone: reorg
Component: BUILD | Version:
Keywords: |
-------------------+--------------------------------------------------------
The current makefiles generate a "revision-dist.h" file that includes the
version from which the package was built from. This is very nice when the
mtn command is available and when the source comes from the repository,
but otherwise becomes very complex and inaccurate.
The makefile logic goes through great pain to ensure that a dist file
includes the last known revision identifier... but later tags it as
"cached", which means that the number can be completely inaccurate if the
code has been patched externally.
Just evaluate how much easier would the logic be and probably drop all
this support altogether. Only bundle the repository version if we are
building from the repository.
Additionally, this has the added benefit of avoiding one case of the build
tree writing to the source directory (not the build one), which is just
not a good idea.
--
Ticket URL: <http://www.julipedia.org/projects/atf/trac/ticket/49>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework
Home |
Main Index |
Thread Index |
Old Index