[Git-dpm-user] trouble importing a dsc into a repository initialized from scratch with git init.

Paul Elliott pelliott at blackpatchpanel.com
Tue May 27 08:15:09 UTC 2014



The first incarnations of my packanging effort for a project
did not use git dpm. I therefore have a bunch of
.dsc source repositories that I want to be my first
commits. I am having trouble importing the first one 
after "git init".

If I startoff with a git-dpm import-tar the whole
commit appears in a "detached head". but I can get
around that by renaming the commit to be "upstream"
and it is not lost any more.

The problem happens when I do a "git-dpm import-dsc".
It always complains that master does not exist.

If I get around that by doing an empty commit first
with --allow-empty, then it complains that debian/.git-dpm
does not exist.


 git-dpm import-dsc -b master --patch-system history ../debian145/peless_1.145-1.dsc
git-dpm: ERROR: master does not exists, but upstream does. import-dsc does not know that this means.


or 


pelliott at hrnowl:~/develop/debian/peless.git-dpm$ git-dpm import-dsc --patch-system history ../debian145/peless_1.145-1.dsc
git-dpm: ERROR: Missing file debian/.git-dpm


What is the correct way to import a tar.gz and a .dsc into
git-dpm after a "git init"?


Thank You.

lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux unstable (sid)
Release:	unstable
Codename:	sid


-- 
Paul Elliott                               1(512)837-1096
pelliott at BlackPatchPanel.com               PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/   Austin TX 78758-3117
---
"Encryption works. Properly implemented strong crypto systems are one
of the few things that you can rely on. Unfortunately, endpoint
security is so terrifically weak that NSA can frequently find ways
around it." Edward Snowden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/git-dpm-user/attachments/20140527/a11bedf1/attachment.sig>


More information about the Git-dpm-user mailing list