unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* How old a version of xapian should notmuch support?
@ 2018-05-13 17:33 David Bremner
  2018-05-13 18:26 ` Tomi Ollila
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Bremner @ 2018-05-13 17:33 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]


I'm looking at changes to get notmuch running with xapian-1.5
(developement version). One thing that has changed is the compact API we
are using (deprecated since 1.3.4, Jan 2016) has been dropped
[1]. Updating to the new version is easy enough, but maintaining support
for two versions is a bit boring.

One option is to bump the version of xapian required to run the next
release of notmuch. We could bump to 1.3.4, but since it's a development
version, for many users (e.g. on Debian) that means 1.4.0, which is
roughly two years old now.

From a Debian-centric point of view, now is about the right time to drop
support for the 1.2.x series of xapian; it's most recently available in
Debian Wheezy, for which the Debian long term support initiative will
end support at the end of this month (May 2018).

On the other hand, not everyone uses Debian. Travis is one place that
would require some work to get working (they're still using the _last_
LTS version of Ubuntu). 

We can of course continue to support 1.2.x.  It will increase the level
of ifdefication, especially if/when we try to support xapian-1.5+.

So how many people are actually using libxapian22? [2]


[1] I expect a few other changes will be needed to get notmuch working
properly with xapian 1.5; currently 11 tests fail.

[2] You can test via "ldd $(which notmuch) | grep xapian". If that says
libxapian.so.30, you are using current xapian, and can ignore this
discussion.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 658 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How old a version of xapian should notmuch support?
  2018-05-13 17:33 How old a version of xapian should notmuch support? David Bremner
@ 2018-05-13 18:26 ` Tomi Ollila
  2018-05-14 11:03 ` David Bremner
  2018-09-10 18:07 ` Antoine Beaupre
  2 siblings, 0 replies; 7+ messages in thread
From: Tomi Ollila @ 2018-05-13 18:26 UTC (permalink / raw)
  To: David Bremner, notmuch

On Sun, May 13 2018, David Bremner wrote:

> I'm looking at changes to get notmuch running with xapian-1.5
> (developement version). One thing that has changed is the compact API we
> are using (deprecated since 1.3.4, Jan 2016) has been dropped
> [1]. Updating to the new version is easy enough, but maintaining support
> for two versions is a bit boring.
>
> One option is to bump the version of xapian required to run the next
> release of notmuch. We could bump to 1.3.4, but since it's a development
> version, for many users (e.g. on Debian) that means 1.4.0, which is
> roughly two years old now.
>
> From a Debian-centric point of view, now is about the right time to drop
> support for the 1.2.x series of xapian; it's most recently available in
> Debian Wheezy, for which the Debian long term support initiative will
> end support at the end of this month (May 2018).
>
> On the other hand, not everyone uses Debian. Travis is one place that
> would require some work to get working (they're still using the _last_
> LTS version of Ubuntu).
>
> We can of course continue to support 1.2.x.  It will increase the level
> of ifdefication, especially if/when we try to support xapian-1.5+.
>
> So how many people are actually using libxapian22? [2]
>
>
> [1] I expect a few other changes will be needed to get notmuch working
> properly with xapian 1.5; currently 11 tests fail.
>
> [2] You can test via "ldd $(which notmuch) | grep xapian". If that says

cli(1)$ ldd =notmuch                                       vc/ext/notmuch
	käynnistettävää tiedostoa ei voi ladata dynaamisesti
zsh: exit 1     ldd =notmuch
cli(1)$

that said, I know I'm using 1.2.24, but I think I have no difficulty to
update to 1.4 series, I've just been lazy to do so.

Tomi


> libxapian.so.30, you are using current xapian, and can ignore this
> discussion.
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How old a version of xapian should notmuch support?
  2018-05-13 17:33 How old a version of xapian should notmuch support? David Bremner
  2018-05-13 18:26 ` Tomi Ollila
@ 2018-05-14 11:03 ` David Bremner
  2018-05-30 12:26   ` David Bremner
  2018-09-10 18:07 ` Antoine Beaupre
  2 siblings, 1 reply; 7+ messages in thread
From: David Bremner @ 2018-05-14 11:03 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> I'm looking at changes to get notmuch running with xapian-1.5
> (developement version). One thing that has changed is the compact API we
> are using (deprecated since 1.3.4, Jan 2016) has been dropped
> [1]. Updating to the new version is easy enough, but maintaining support
> for two versions is a bit boring.
>
> One option is to bump the version of xapian required to run the next
> release of notmuch. We could bump to 1.3.4, but since it's a development
> version, for many users (e.g. on Debian) that means 1.4.0, which is
> roughly two years old now.
>

It occurred to me that such a change would also allow a simplification
of the documentation and code by making FieldProcessors mandatory. This
means that several query language features would stop being optional.

d

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How old a version of xapian should notmuch support?
  2018-05-14 11:03 ` David Bremner
@ 2018-05-30 12:26   ` David Bremner
  0 siblings, 0 replies; 7+ messages in thread
From: David Bremner @ 2018-05-30 12:26 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> David Bremner <david@tethera.net> writes:
>
>> I'm looking at changes to get notmuch running with xapian-1.5
>> (developement version). One thing that has changed is the compact API we
>> are using (deprecated since 1.3.4, Jan 2016) has been dropped
>> [1]. Updating to the new version is easy enough, but maintaining support
>> for two versions is a bit boring.
>>
>> One option is to bump the version of xapian required to run the next
>> release of notmuch. We could bump to 1.3.4, but since it's a development
>> version, for many users (e.g. on Debian) that means 1.4.0, which is
>> roughly two years old now.
>>
>
> It occurred to me that such a change would also allow a simplification
> of the documentation and code by making FieldProcessors mandatory. This
> means that several query language features would stop being optional.
>

I have have sent a patch deprecating pre 1.4.0 xapian. Unless
convinced otherwise, I'll apply that for 0.27.

d

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How old a version of xapian should notmuch support?
  2018-05-13 17:33 How old a version of xapian should notmuch support? David Bremner
  2018-05-13 18:26 ` Tomi Ollila
  2018-05-14 11:03 ` David Bremner
@ 2018-09-10 18:07 ` Antoine Beaupre
  2018-09-10 23:54   ` David Bremner
  2 siblings, 1 reply; 7+ messages in thread
From: Antoine Beaupre @ 2018-09-10 18:07 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]

On 2018-05-13 14:33:45, David Bremner wrote:
> I'm looking at changes to get notmuch running with xapian-1.5
> On the other hand, not everyone uses Debian. Travis is one place that
> would require some work to get working (they're still using the _last_
> LTS version of Ubuntu).

I find it quite ironic that the "devops" kids who are so critical of
Debian being so "old" base much of their infrastructure on a service
that is running what is basically an old derivative of Debian wheezy,
released in 2013 (Trusty LTS was released in 2014).

There are other and better CI systems out there, in case Notmuch is
stuck in Travis-land. I have had good experiences working with GitLab CI
which is based on a slightly saner approach: it uses Docker containers
as a base, so you can run any base system you want. You can also supply
your own physical machines as runners for the CI system if you're not
happy with the provided options.

All this to say I don't think that Notmuch should block on Trusty
LTS. It will die in about 8 months anyways (april 2019) so it's a good
time to get rid of that cruft.

Besides, Ubuntu is shipping its own notmuch packages of course, and
trusty is stuck back there in 0.17.

HTH,

A.

-- 
Men are taught to apologize for their weaknesses, women for their
strengths.
                        - Lois Wyse

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How old a version of xapian should notmuch support?
  2018-09-10 18:07 ` Antoine Beaupre
@ 2018-09-10 23:54   ` David Bremner
  2018-09-11  0:09     ` Antoine Beaupré
  0 siblings, 1 reply; 7+ messages in thread
From: David Bremner @ 2018-09-10 23:54 UTC (permalink / raw)
  To: Antoine Beaupre; +Cc: notmuch

Antoine Beaupre <anarcat@orangeseeds.org> writes:

>
> There are other and better CI systems out there, in case Notmuch is
> stuck in Travis-land. I have had good experiences working with GitLab CI
> which is based on a slightly saner approach: it uses Docker containers
> as a base, so you can run any base system you want. You can also supply
> your own physical machines as runners for the CI system if you're not
> happy with the provided options.
>

Well, we had a buildbot installation, which was nice enough, but the
volunteer who ran it moved on to other things. Travis mainly has the
advantage that I don't have to maintain it. Well, except for patching
notmuch to work on it, which hasn't been too heinous so far.

d

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How old a version of xapian should notmuch support?
  2018-09-10 23:54   ` David Bremner
@ 2018-09-11  0:09     ` Antoine Beaupré
  0 siblings, 0 replies; 7+ messages in thread
From: Antoine Beaupré @ 2018-09-11  0:09 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

On 2018-09-10 20:54:11, David Bremner wrote:
> Antoine Beaupre <anarcat@orangeseeds.org> writes:
>
>>
>> There are other and better CI systems out there, in case Notmuch is
>> stuck in Travis-land. I have had good experiences working with GitLab CI
>> which is based on a slightly saner approach: it uses Docker containers
>> as a base, so you can run any base system you want. You can also supply
>> your own physical machines as runners for the CI system if you're not
>> happy with the provided options.
>>
>
> Well, we had a buildbot installation, which was nice enough, but the
> volunteer who ran it moved on to other things. Travis mainly has the
> advantage that I don't have to maintain it. Well, except for patching
> notmuch to work on it, which hasn't been too heinous so far.

Well, GitLab CI runs on its own as well. You don't *have* to provide a
runner. :)

A.

-- 
Au nom de l'état, la force s'appelle droit.
Au main de l'individu, elle s'appelle crime.
                        - Max Stirner

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-11  0:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-13 17:33 How old a version of xapian should notmuch support? David Bremner
2018-05-13 18:26 ` Tomi Ollila
2018-05-14 11:03 ` David Bremner
2018-05-30 12:26   ` David Bremner
2018-09-10 18:07 ` Antoine Beaupre
2018-09-10 23:54   ` David Bremner
2018-09-11  0:09     ` Antoine Beaupré

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).