On Tuesday, February 21, 2012 01:38:09 AM Paul Elliott wrote: > I am trying to import an existing package into git-dpm: > > $ mkdir test > > $ cd test > > > > $ git init > > Initialized empty Git repository in > > /home/pelliott/develop/astrology/openastro.org/my12dh-sid-redo/test/.git > > / > > > > $ git-dpm import-dsc --ptc ../openastro.org_1.1.25-1.dsc > > rmdir: failed to remove `./': Invalid argument > > This is the message I get when I try to import my existing package. I don't > know how to fix it, because I don't know what it means. > > This package will dpkg-source -x without problem.
I believe the problem is the tarball does not untar into project-version/files, instead the files of the tarball untar directly into . dpkg-source can deal with such tarballs, but the packages for such tarballs require special effort to setup. See: http://lists.debian.org/debian-mentors/2011/03/msg00356.html http://lists.debian.org/debian-mentors/2011/03/msg00365.html http://lists.debian.org/debian-mentors/2011/03/msg00367.html I believe that git-dpm import-dsc should be written so it can deal with the same packages that dpkg-source can deal with. I can attach the source package to an email message if requested. But most mailing lists will not accept attachments. -- Paul Elliott 1(512)837-1096 pelli...@blackpatchpanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
Description: This is a digitally signed message part.
_______________________________________________ Git-dpm-user mailing list Gitemail@example.com http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/git-dpm-user