[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging for gnss-sdr



Dear Iain,

I followed the instructions in [1], importing an existing git repository and pushing it to Alioth. (By the way, there is a typo in that page: it’s “git remote add …” instead of “git add remote …”). Now the ‘next’ branch produces a package with ‘debuild -us -uc’ with no errors nor warnings in lintian, and ‘git-buildpackage —git-builder=git-pbuilder —git-debian-branch=next’ works well. Tested in an amd64 architecture.

Please let me know if I did it right and how can I further test the package, and trying in other architectures.

Thanks in advance for your assistance.

Best regards,
Carles

[1] https://wiki.debian.org/DebianHams/Git


----------------original message-----------------
De: "Iain R. Learmonth" irl@fsfe.org
Per a: debian-hams@lists.debian.org
Data: Fri, 5 Dec 2014 12:48:27 +0000
-------------------------------------------------


> Hi Carles,
>
> I noticed you've pushed changes to the git repository, which means you've
> got the repository set up correctly, but I've also noticed that you don't
> seem to have used the git-buildpackage tools for importing the repository.
>
> If you don't have the correct layout that git-buildpackage is expecting, it
> won't be able to build the package for you once you've got it ready to build.
>
> On your machine, download the upstream source tarball and keep it somewhere
> safe. You will need a tarball to import, so if upstream distributes source as a
> zip or other type of archive, you will need to repack it as a tarball.
>
> Create a local git repository on your machine and import the tarball like so:
>
>
> --------------------------------------------------------------------
> ----
> mkdir gnss-sdr
> cd gnss-sdr
> git init
> git import-orig --pristine-tar
> /path/to/upstream/gnss-sdr-0.0.4_1.tar.gz
>
> --------------------------------------------------------------------
> ----
>
> You'll now find that the upstream source has been imported into your git
> repository.
>
> You may optionally use the Debian Hamradio Maintainers template debian/
> directory:
>
>
> --------------------------------------------------------------------
> ----
> svn export
> svn://anonscm.debian.org/svn/pkg-hamradio/trunk/package_template
> debian
>
> --------------------------------------------------------------------
> ----
>
> When you are ready to push your changes to Alioth, add the remote and push all
> branches and tags:
>
>
> --------------------------------------------------------------------
> ----
> git remote add origin
> git+ssh://alioth.debian.org/git/pkg-hamradio/gnss-sdr.git
> git push --all --force # You need the --force here to overwrite the previous
> # push into the repository.
> git push --tags
>
> --------------------------------------------------------------------
> ----
>
> Let me know if you have any problems.
>
> Thanks,
> Iain.
>
> --
> e: irl@fsfe.org w: iain.learmonth.me
> x: irl@jabber.fsfe.org t: +447875886930
> c: 2M0STB g: IO87we
> p: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
>



Reply to: