[ET Trac] [Einstein Toolkit] #1947: Formaline does not archive Makefile CONTRIBUTERS and COPYRIGHT files correctly

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Aug 16 08:22:54 CDT 2016


#1947: Formaline does not archive Makefile CONTRIBUTERS and COPYRIGHT files
correctly
-----------------------------------+----------------------------------------
 Reporter:  rhaas                  |       Owner:                     
     Type:  defect                 |      Status:  new                
 Priority:  major                  |   Milestone:                     
Component:  EinsteinToolkit thorn  |     Version:  development version
 Keywords:  Formaline              |  
-----------------------------------+----------------------------------------
 Formaline's tarball for the Cactus flesh contains dangling links for
 Makefile  CONTRIBUTERS and COPYRIGHT (most likely since the switch to a
 git based flesh repo).

 There is not real simple way to fix this (unless we can expect gnu tar in
 which case there is using the {{{--transform}}} option) using tar options
 only. It is part of the bigger issue of how to handle symbolic links in
 Formaline.

 A reasonable simple fix may be to create a temporary work dir for tar
 **copying** the content of Makefile CONTRIBUTERS and COPYRIGHT and making
 **symbolic links** for src and lib (no dereferencing is needed if they
 already **are** symbolic links).

 An alternative is to use git its update-index command to add files under a
 different name and then to export the archive using git archive. This
 would rely on git which may be less commonly available than tar though.

 This is a major bug since it means that Makefile is missing from the
 Formaline archive meaning one cannot compile the code using Formaline data
 alone.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1947>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list