On Sat, Nov 05, 2022 at 10:27:47AM +0100, Fab Stz wrote: > Hello, > > While packaging php-codeigniter-framework [1], I wanted to run the test suite > specifically on PHP 8.2. > > Although I use the git repository as source of upstream as stated here in [2] > I just noticed that the test suite is not shipped on the tag. > > However the test suite is available on the git branches. > > Any idea on how I could update the package from the git tags by still using d/ > watch for the released tags and also get the "tests" directory from the > branches of the git repository? Make a patch that adds them, or ship them in debian/something and copy them to the necessary location (if needed) at the build time.
> It guess doing that way would mean that we build a version name with a +ds > suffix like "3.1.13+ds.1-1". Yes if you create the tarball manually. I don't think existing tools can help you with this and so you won't be able to use uscan to recreate it. > Or should I use the "components" feature of uscan and have a tarball named > php-codeigniter-framework_3.1.13.orig-test.tar.xz? But how to exclude the > unwanted directories then? I wouldn't recommend this. -- WBR, wRAR
signature.asc
Description: PGP signature