ATF-log archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

#49: Evaluate removal of revision-dist madness



#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