Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915960 - dev-libs/raft-0.18.0 Consider switching upstream to cowsql/raft
Summary: dev-libs/raft-0.18.0 Consider switching upstream to cowsql/raft
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-18 15:03 UTC by Free Ekanayaka
Modified: 2023-10-19 06:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Free Ekanayaka 2023-10-18 15:03:48 UTC
Hello,

I'm the upstream author of cowsql [0], and a maintainer of Incus [1] as well.

Please consider switching the upstream of the gentoo raft [2] package from github.com/canonical/raft to github.com/cowsql/raft.

I'm the original author of the github.com/canonical/raft project and I have now forked it to github.com/cowsql/raft, for many of the same reasons which prompted LXD developers to fork it to Incus.

The cowsql/raft code is compatible with canonical/dqlite and with canonical/raft, but it's not guaranteed that the other way round will hold true.

Please see also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053663 for more background.

Thanks,

Free

[0] https://packages.gentoo.org/packages/dev-libs/cowsql
[1] https://packages.gentoo.org/packages/app-containers/incus
[2] https://packages.gentoo.org/packages/dev-libs/raft
Comment 1 Joonas Niilola gentoo-dev 2023-10-18 16:36:10 UTC
I think it makes sense, seeing incus will become the main focus and I believe we'll drop lxd once incus's first LTS becomes available. 

But, and as noted by you, the soname change is a bit... well messy but I think we'll manage.
Comment 2 Larry the Git Cow gentoo-dev 2023-10-18 16:39:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52cc74d381d9f73203673290b1d36c73a11ed666

commit 52cc74d381d9f73203673290b1d36c73a11ed666
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-10-18 16:37:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-10-18 16:39:26 +0000

    dev-libs/raft: add 0.18.1
    
     - switch upstream away from Canonical. This is a 100 % compatible change for
       now at least, but our main focus will be incus in the long run so it makes
       sense to follow the community-maintained libraries as well. See bgo#915960
       for details.
    
    Closes: https://bugs.gentoo.org/915960
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/raft/Manifest           |  1 +
 dev-libs/raft/metadata.xml       |  2 +-
 dev-libs/raft/raft-0.18.1.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 1 deletion(-)
Comment 3 Free Ekanayaka 2023-10-18 20:38:52 UTC
Thanks!

The soname change is a one-off to cleanup some previous mess. It will be stable from now on, since I have control on it.

If there's any issue, I'm happy to help work it out.
Comment 4 Joonas Niilola gentoo-dev 2023-10-19 06:20:51 UTC
(In reply to Free Ekanayaka from comment #3)
>
> The soname change is a one-off to cleanup some previous mess. It will be
> stable from now on, since I have control on it.

Yep, read through
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042989#55
which explained it and the future clearly. It's totally fine for us if you introduce .so.1 later too when things have calmed down a bit. Especially since not many packages depend on raft yet.

> 
> If there's any issue, I'm happy to help work it out.

Awesome :) I'll of course file bugs normally to upstream etc. Be seeing you!