Modify

Opened 2 years ago

#1947 new defect

Formaline does not archive Makefile CONTRIBUTERS and COPYRIGHT files correctly

Reported by: Roland Haas Owned by:
Priority: major Milestone:
Component: EinsteinToolkit thorn Version: development version
Keywords: Formaline Cc:

Description

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.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.