Conversation
|
Should I also submit a similar PRs to the 9.x and 10.x branches, or are you going to rebase those branches on 8.x? I see that 9.x is based off 8.x, but 10.x is not. |
williamdes
left a comment
There was a problem hiding this comment.
Hi @antonioribeiro
What do you think about recent PRs ?
I am looking into the state of this project to know if my efforts to package it into Debian will have some future. That means I will do more maintenance PRs too.
|
@spaze, we can probably merge this into 8.x, but 9.x has a different github actions workflow structure and is already being tested on PHP 8.5 since Sep 2025. But 10.x is another beast, there's still a lot of work to be done on it and it will probably be based on the current 9.x. Hey @williamdes, I love and I keep working on PRs, as much as I can, and I would probably love to see it landing on Debian, but now I'm also really curious to understand how/where... 🤔 |
Sure, let me explain the Debian process and way of things. First there is the upstream version (this repository), then comes the vendor repository. In this folder is all the packaging configuration:
There is many more files but you can build a simple and working example with only some files above and a bit more. So you can now start to understand that the upstream code is tested with what we want in Debian. That means that the current version of phpunit: https://tracker.debian.org/pkg/phpunit is used to test all packages in Debian. If you want to change that, it makes an enormous transition and a lot of work: https://bugs.debian.org/1084894 In an ideal world I open PRs to upstreams so they are ready for the new phpunit version. Sometimes you do not want to send your patch to upstream, so you indicate it in the patch file: Example But when a new upstream version is imported you need to rebase all the patches, welcome in hell. You can find quite some package examples in: https://salsa.debian.org/explore/projects/topics/wdes-packaging-team Feel free to ask questions about this, there is much more to say to that should explain a bit about phpunit. PS: Debian has one version of PHP available and everything must comply with it. So you can say whatever you want in |
Also update the PHP supported versions in the README to reflect the tests.