[Debian-pan-maintainers] packaging procedure

Sergi Blanch i Torné sergi at calcurco.cat
Mon Jun 29 14:37:07 BST 2015


Hi,

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:
> Running tests...
> /usr/bin/ctest --force-new-ctest-process -j1
> Test project /home/serguei/src/debian/ufo-core/obj-x86_64-linux-gnu
>     Start 1: test-suite

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.

I think I'm getting closer and I start understanding how the packaging
process is.

Thanks, I hope soon I'll do the commit to have the auto made package.

/Sergi.

On Mon, Jun 29, 2015 at 10:16 AM, PICCA Frederic-Emmanuel <
frederic-emmanuel.picca at synchrotron-soleil.fr> wrote:

> Hello Sergi,
>
>
> > 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.
>
> Freeze ;)
>
> > I can summarize it in to main paths that I thing have possibilities.
>
> > a) Using both repos to merge them.
> > $ git clone https://github.com/ufo-kit/ufo-core && cd ufo-core
> > $ git remote add debian git+ssh://
> git.debian.org/git/debian-pan/packages/ufo-core.git<
> http://git.debian.org/git/debian-pan/packages/ufo-core.git> && git fetch
> debian
> > $ git checkout -b v0.8.0
>
> > What blocks me in this option has been how to merge the tag with a new
> upstream branch.
>
> > b) Using the watch file. It's the option that looks more promising
> because it looks made to do that:
> > $ git clone git+ssh://
> git.debian.org/git/debian-pan/packages/ufo-core.git<
> http://git.debian.org/git/debian-pan/packages/ufo-core.git> && cd ufo-core
> > $ uscan --download --verbose
>
> > 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.
>
> Here I will describe how I add a new upstream release to the debian
> repository.
>
> - 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...)
>
> - for now the simplest things to do is to clone only the debian repository
> (your second solution).
> - use uscan to download the lastest version. (already done by you nice :).
> A working watch file is really import for the debian infrastructure.
>   it facilitate a lot the upstream integration :)
>
> - and then integrate this new version in the debian repository.
>
> in order to integrate the new upstream, you need at least two branches
> (master + upstream)
>
> so
>
> git checkout -t origin/upstream
> git checkout master
> git-import-orig --pristine-tar ../ufo-core-0.8.0.targ.gz
>
> then you should have to answer the question of the version
> just put 0.8.0
>
> once done you should have a new upstream/0.8.0 tag
>
> you should be on the master branch
>
> then you can start to fix the debian files.
>
> build your package with
>
> git-buildpackage
>
> if you do not want to commit you change until it is ok
>
> git-buildpckage --git-ignore-new
>
> Just tell me if it works for you.
>
> Cheers
>
> Fred
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-pan-maintainers/attachments/20150629/8ffd140a/attachment.htm>


More information about the Debian-pan-maintainers mailing list