Make a synthetic Git from directory tree (Directory Tree 2 Synthetic Git).
This project aim at building a tool for reconstructing a Git repository from a directory of source code to be used by SWHAPPE for Software Heritage.
It starts from a list of directories, one for each release version, and creates a Git where each directory is a commit.
An auxillary csv file is used to specify authors, commit dates and messages. Any file or directory not listed in the auxillary csv is considered as "not versioned" - it is committed with the last version.
The project is still in aplha stage and under development.
dotnet DT2SG/DT2SG_app.dll -r $path_to_src_root -m $path_to_version_history.csv
The file should contains:
directory name
author name
name of the main authorauthor email
email of the main author (when available)date
original date when this commit/version was madecurator name
name of the curator person or teamcurator email
the reference email of the acquisition processrelease tag
a tag name if the directory contains a release, empty otherwise. If equal to*
then the version is tagged asdirectory name
commit message
The relased version are self-contained (git is not required), but if commits date are pre-1970, git command should be in system path.