1 README for archives2git
2 =======================
4 `archives2git` is intended to recreate a poor-man's history from the release
5 archives of a project. It is an sh script that commits the given file archives
6 to a Git repository as a series of commits; by default the commit (sub-)trees
7 will replicate the contents of their corresponding archive.
12 For the documentation see the manual of linkpage:archives2git[1] (or the help
13 message output), then look inside the configuration file example
14 link:archives2gitrc[.archives2gitrc] and finally inside the
15 link:archives2git[script].
19 $ cd git-repo # may be a subdir of the toplevel of a repo
20 $ GIT_AUTHOR_NAME="Firstname Lastname" GIT_AUTHOR_EMAIL=user@host \
21 archives2git --tag ../oldproject-?.??.tar.gz
23 The project is available online at
24 link:https://gitorious.org/graud-utils/archives2git[Gitorious].
29 * Trailing newlines in file names are not supported.
36 * `aunpack` from link:http://www.nongnu.org/atool/[atool]
37 * link:http://git-scm.com[Git]
38 * link:https://gitorious.org/graud-utils/helpmessage[HelpMessage] and
39 link:http://perldoc.perl.org/pod2man.html[`pod2man`] are required to build
45 * link:http://joeyh.name/code/pristine-tar/[pristine-tar] can be used to embed
46 the archives in the repository.
51 archives2git was written by G.raud Meyer.
53 This program is free software; you can redistribute it and/or modify it under
54 the terms of the GNU General Public License version 2 as published by the Free
55 Software Foundation. The full text of the license can be found in the root
56 directory of the project sources, in the file link:COPYING[+COPYING+]. Otherwise see
57 <http://www.gnu.org/licenses/>.