{"thread":{"id":"1623","subject":"arch2git import script","startedAt":"2005-08-23T13:11:57Z","lastAt":"2005-08-23T13:13:48Z","messageCount":2,"participants":["Martin Langhoff"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"7648","messageId":"46a038f90508230611337c695e@mail.gmail.com","threadId":"1623","inReplyTo":null,"subject":"arch2git import script","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-08-23T13:11:57Z","receivedAt":"2005-08-23T13:11:57Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"First draft of an Arch import. Very limited but will import one\n\"branch\" into one head. The basics are for it to follow branches, and\nsome support for marking merges (or at least what git would consider\nmerges.\n\nTODO:\n- proper branch switching\n- binary file handling\n- get the date format right!\n- parse the output of cat-archive-log to know what files to add/delete\nand cleanup the logmsg\n- ensure all shell invocations have error handling\n- allow multiple \"Archives\"\n- learn to run repeatedly over the same git repo, importing only new commits\n- track cherrypicking to identify how far branches are merged (in the\ngit sense)\n- a few options as to how to follow (or not) the history\n  - follow a full branch starting from a full import \"down\" with\nbranches opening from it.\n  - follow a branch history \"up\"\n\nAn example invocation to import the sears-ldap-dev branch is:\n\n  mkdir sample-import\n  cd sample-import;\n  git-archimport-script -t /tmp/some/dir -i \\\n      -A arch-eduforge@catalyst.net.nz--2004 sears-ldap--dev\n\nthe commit message needs cleanup, the dates are bogus, and we aren't\nmarking deletes... but it otherwise works great! ;)\n\ncheers,\n\n\nmartin\n"},{"id":"7649","messageId":"46a038f90508230613527c11c8@mail.gmail.com","threadId":"1623","inReplyTo":"46a038f90508230611337c695e@mail.gmail.com","subject":"Re: arch2git import script","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2005-08-23T13:13:48Z","receivedAt":"2005-08-23T13:13:48Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 8/24/05, Martin Langhoff <martin.langhoff@gmail.com> wrote:\n> First draft of an Arch import. \n\nAnd now, with sample script attached, too. \n\ncheers,\n\n\nmartin\n"}]}