Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2017 01:15:40 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        "Vlad K." <vlad-fbsd@acheronmedia.com>, freebsd-ports@freebsd.org
Subject:   Re: [RFC] Why FreeBSD ports should have branches by OS version
Message-ID:  <e2319df0-5c4b-91c9-410f-44d26f641d29@freebsd.org>
In-Reply-To: <00d078be50a83b6e18ef20bfe76e30ca@acheronmedia.hr>
References:  <CAO%2BPfDeFz1JeSwU3f21Waz3nT2LTSDAvD%2B8MSPRCzgM_0pKGnA@mail.gmail.com> <20170622121856.haikphjpvr6ofxn3@ivaldir.net> <dahnkctsm1elbaqlarl8b9euouaplqk2tv@4ax.com> <20170622141644.yadxdubynuhzygcy@ivaldir.net> <cc1c38a4-108c-5f3f-7fa1-400fdcf497f6@freebsd.org> <ee6fe33b-aa24-ae5f-f652-f940e15c247a@jetcafe.org> <1498157001.2235.1.camel@gmail.com> <ffe23575-09a8-9e8c-ab21-772ca5e71aa1@jetcafe.org> <1498206372.2506.1.camel@gmail.com> <00d078be50a83b6e18ef20bfe76e30ca@acheronmedia.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23/6/17 4:38 pm, Vlad K. wrote:
> On 2017-06-23 10:26, demelier.david@gmail.com wrote:
>>
>> Release branches won't have many maintenance except individual bug
>> fixes when security advisories are found. No backport, no updates.
>
> Nothing prevents the maintainers from doing exactly that right now. 
> But you see, there are two kinds of ports in the tree:
>
> 1) ports where upstream maintains a concept of LTS
> 2) ports that mix bug, security fixes and new features in even 
> point.point releases
>
> For some (all?) major production software like Apache, nginx, PHP, 
> PostgreSQL, MySQL (I think?), Postfix, Dovecot2, etc... #1 applies. 
> So for serious production servers this should be easy to maintain as 
> the upstream is doing that in the first place.
>
> The problem is then with ports of type #2. And there's lots of them.
>
> Gentoo portage can easily maintain "stable" ports because portage 
> doesn't have a single Makefile, it has multiple .ebuild files so 
> multiple versions are available under ONE port name, and bumping the 
> version while keeping previous ones available is literally just a 
> matter of making a copy of the latest .ebuild and fixing the version 
> in it like we do with PORTVERSION.
This is why I think our Makefile should be split up into two parts. 
One of which has the interface to the rest of the ports and one of 
which specifies what to download and things that are specific to a 
given version.

then hopefully you could update the second without changing the first.
  Harder to do than say, I know, but I have faced htat challenge soo 
often, in fact i have it right now.
I need  a new azure-agent, in a 10.3 world, where I can not update any 
other packages/ports.


>
> On FreeBSD that's impossible and often ports are separated and 
> version baked into the port name. Like www/node from the original 
> post of this thread.
>
> But again, that's all doable without having to introduce new 
> infrastructure. The ports tree as is can be maintained like this and 
> quarterly repos would NOT be required. All it's needed is for 
> maintainers to keep a stable version and a latest version. There's 
> already plenty of ports done like that, otoh postfix and 
> postfix-current, nginx and nginx-devel, etc...
>
> Because the BIGGEST problem in maintaining separate "stable" or LTS 
> branches is BACKPORTING fixes for ports in the #2 category, ie. 
> those that mix new features with fixes, so you have to CHERRY PICK 
> only the fix and BACKPORT it to your "stable" branch. And that's 
> even more work often introducing NEW bugs.
>
> BTW, the problem of the original post could've been avoided if the 
> user only read UPDATING which clearly stated that www/node becomes 7 
> and previous node (6) becomes www/node6.  (20161207) entry.
>
>
>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2319df0-5c4b-91c9-410f-44d26f641d29>