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

Re: Updating golang-github-jonboulle-clockwork to v0.5.0



On 16/02/2025 18:37, Nicolas Peugnet wrote:
I am currently working on packaging docker-compose v2. there is one missing dependency, and one that is too outdated:
golang-github-jonboulle-clockwork

I updated it to v0.5.0 in the Git repository (https://salsa.debian.org/ go-team/packages/golang-github-jonboulle-clockwork) then realised that it was quite a big jump of versions, so I ran ratt:

$ ratt ../golang-github-jonboulle-clockwork_0.5.0-1_amd64.changes
[...]
2025/02/16 18:11:11 FAILED: singularity-container (see buildlogs/ singularity-container_4.1.5+ds3-1) 2025/02/16 18:11:11 FAILED: gitlab-ci-multi-runner (see buildlogs/ gitlab-ci-multi-runner_14.10.1-1)
2025/02/16 18:11:11 FAILED: etcd (see buildlogs/etcd_3.5.16-3)

All three packages that failed are already failing in unstable, but etcd should still be updated. I prepared a branch with a patch cherry-picked from upstream [1] that should allow building with clockwork v0.5.0 [...]

After testing with different versions of golang-github-jonboulle-clockwork for both etcd and docker-compose, it appears that it is not possible to update it to a version that both dependent packages support.

Instead, I chose to add a patch to docker-compose [1] to allow compiling it with clockwork v0.1.0 and leave it as is.

Sorry, I made a bit of a mess with clockwork's git repo, as I tried to update it to the current Go workflow by the way. I intend to clean this and update clockwork to v0.5.0 once etcd v3.6.0 is packaged (and thus drop the patch I added to docker-compose).

[1] https://salsa.debian.org/go-team/packages/docker-compose/-/blob/debian/sid/debian/patches/0005-Directly-use-time.Ticker-to-be-able-to-use-clockwork-v0.1.x.patch?ref_type=heads
--
Nicolas Peugnet


Reply to: