<div dir="ltr"><div class="gmail_default" style=""><font face="monospace" style="" size="4">Hello,</font></div><font face="monospace" size="4"><br>On Tue, May 3, 2022 at 4:19 AM Guido Günther <<a href="mailto:agx@sigxcpu.org">agx@sigxcpu.org</a>> wrote:<br><br>> > FWIW, I experimented with my local .dsc file. 'man gbp-import-dsc' suggests<br>> > usage of a local .dsc as follows:<br>> > 'gbp import-dsc ../hello_2.10-1.dsc'<br>> > Which implied to me that the folder should be created, then descend into it<br>> > before running this command.<br>><br>> this is true when you run it inside an existing repo as it assume you<br>> update. If you run from a outside repo it creates one, that's why the<br>> log says:<br>><br>> gbp:info: No git repository found, creating one.<br><br></font><div><div class="gmail_default" style=""><font face="monospace" size="4">To recap, I have apparently successfully created a git repo that matches the source package I obtained using 'apt-get source dhcpcd5'.  I now have a question(s) re. the 'incorporation' of my pristine upstream source into the repo.</font></div><div class="gmail_default" style=""><font face="monospace" size="4"><br></font></div><div class="gmail_default" style=""><font size="4" face="monospace">When I pulled the dhcpcd5 source repo (using 'apt-get source dhcpcd5'), I got a tarball named 'dhcpcd5_8.1.2.orig.tar.xz'. AIUI, this is called the 'pristine' upstream source, and during the build process it serves as a "quality check" on the integrity of the package. </font></div><div class="gmail_default" style=""><font size="4" face="monospace"><br></font></div><div class="gmail_default" style=""><font face="monospace" size="4">'man gbp-import-dsc' defines these options: </font></div><div class="gmail_default" style=""><ul><li><font face="monospace" size="4">"--pristine-tar => Generate pristine-tar delta file." </font></li><li><font face="monospace" size="4">"--upstream-branch=branch_name => The branch in the Git repository the upstream sources are put onto. Default is upstream" </font></li></ul><div><font face="monospace" size="4">I'm confused on the purpose of these options - could you explain how they are used? Let me try to explain where I'm confused:</font></div><div><ul><li><font face="monospace" size="4">The 'dhcpcd5' repo I created using 'gbp import-dsc' contains a branch called 'upstream'. Does this branch contain/represent the same sources that are in the 'dhcpcd5_8.1.2.orig.tar.xz' tarball? </font></li><li><font face="monospace" size="4">If so, why can't the 'pristine-tar delta file' be computed from the 'upstream' branch in the repo? </font></li></ul><div><font face="monospace" size="4"></font></div></div></div></div><div class="gmail_default" style=""><font face="monospace" size="4"><br></font></div><div class="gmail_default" style=""><font face="monospace" size="4">Thnx,</font></div><div class="gmail_default" style=""><font face="monospace" size="4">~S</font></div><div class="gmail_default" style=""><br></div></div>