<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I think it has work and now I should contact the developer for unit test issue. Well, with the last indications I've installed some dependencies I haven't installed and git-buildpackage almost works. And I say almost because when it enters test process, it remains there with no more interaction. Last lines are:<br>> Running tests...<br>> /usr/bin/ctest --force-new-ctest-process -j1<br>> Test project /home/serguei/src/debian/ufo-core/obj-x86_64-linux-gnu<br>>     Start 1: test-suite<br><br></div>And it doesn't consume an appreciable cpu resource, memory neither anything. *dsc, *debian.tar.gz and *amd64.build files are well created in the parent directory.<br><br></div>I think I'm getting closer and I start understanding how the packaging process is.<br><br></div>Thanks, I hope soon I'll do the commit to have the auto made package.<br><br></div>/Sergi.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 10:16 AM, PICCA Frederic-Emmanuel <span dir="ltr"><<a href="mailto:frederic-emmanuel.picca@synchrotron-soleil.fr" target="_blank">frederic-emmanuel.picca@synchrotron-soleil.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Sergi,<br>
<span class=""><br>
<br>
> I surrender... I've been playing this weeks trying to understand how can I include in the git repository with the debian sources of the ufo-core the tag 0.8.0 from the author's repository and I can find how. I've tried > every thing I thought useful, and almost everything I read, starting from the traces from Frédéric followed by many howto searches.<br>
<br>
</span>Freeze ;)<br>
<span class=""><br>
> I can summarize it in to main paths that I thing have possibilities.<br>
<br>
> a) Using both repos to merge them.<br>
> $ git clone <a href="https://github.com/ufo-kit/ufo-core" rel="noreferrer" target="_blank">https://github.com/ufo-kit/ufo-core</a> && cd ufo-core<br>
</span>> $ git remote add debian git+ssh://<a href="http://git.debian.org/git/debian-pan/packages/ufo-core.git" rel="noreferrer" target="_blank">git.debian.org/git/debian-pan/packages/ufo-core.git</a><<a href="http://git.debian.org/git/debian-pan/packages/ufo-core.git" rel="noreferrer" target="_blank">http://git.debian.org/git/debian-pan/packages/ufo-core.git</a>> && git fetch debian<br>
<span class="">> $ git checkout -b v0.8.0<br>
<br>
> What blocks me in this option has been how to merge the tag with a new upstream branch.<br>
<br>
> b) Using the watch file. It's the option that looks more promising because it looks made to do that:<br>
</span>> $ git clone git+ssh://<a href="http://git.debian.org/git/debian-pan/packages/ufo-core.git" rel="noreferrer" target="_blank">git.debian.org/git/debian-pan/packages/ufo-core.git</a><<a href="http://git.debian.org/git/debian-pan/packages/ufo-core.git" rel="noreferrer" target="_blank">http://git.debian.org/git/debian-pan/packages/ufo-core.git</a>> && cd ufo-core<br>
<span class="">> $ uscan --download --verbose<br>
<br>
> Then I have a file ../ufo-core-0.8.0.tar.gz together with a symlink with the *orig* label. But after that I cannot find how to have an upstream branch with the newer code.<br>
<br>
</span>Here I will describe how I add a new upstream release to the debian repository.<br>
<br>
- First I do not put the real git upstream in the debian package repository. (If I rememmber correctly there was some discussion about how to  put the upstream repository into the debian repo but with no official consensus, the other way arround is another quetion...)<br>
<br>
- for now the simplest things to do is to clone only the debian repository (your second solution).<br>
- use uscan to download the lastest version. (already done by you nice :). A working watch file is really import for the debian infrastructure.<br>
  it facilitate a lot the upstream integration :)<br>
<br>
- and then integrate this new version in the debian repository.<br>
<br>
in order to integrate the new upstream, you need at least two branches (master + upstream)<br>
<br>
so<br>
<br>
git checkout -t origin/upstream<br>
git checkout master<br>
git-import-orig --pristine-tar ../ufo-core-0.8.0.targ.gz<br>
<br>
then you should have to answer the question of the version<br>
just put 0.8.0<br>
<br>
once done you should have a new upstream/0.8.0 tag<br>
<br>
you should be on the master branch<br>
<br>
then you can start to fix the debian files.<br>
<br>
build your package with<br>
<br>
git-buildpackage<br>
<br>
if you do not want to commit you change until it is ok<br>
<br>
git-buildpckage --git-ignore-new<br>
<br>
Just tell me if it works for you.<br>
<br>
Cheers<br>
<br>
Fred<br>
</blockquote></div><br></div>