Hmm. That leaves users of -current who still have 26.x with no
warning and no upgrade path.

How about killing 26 now, add @pkgpath www/nextcloud/26 to
27's PLIST (so 26.x users get updated to 27), and add the
warning to 27/28/29.

Then in a few weeks, kill 27 28 29, just keep 30 (and at that
point add @pkgpath www/nextcloud/29 to 30's PLIST). And if
people are stuck they will then at least have -stable packages
for the deleted versions that they can use in an emergency,
they should still work on -current, or can get ports from
the attic.

By keeping the old versions in releases we're encouraging users
to stick on old ones. In future it's probably best if we only
ship packages required to go from one release to the next, so
with 29 as the newest version in 7.6, we don't need 29 in 7.7
but do need 30 up to whatever's newest then.

This would be so much simpler if it was allowed to skip
nextcloud major versions!

On 2024/11/07 16:54, Landry Breuil wrote:
> so i'm trying to tackle this..
> 
> put the same MESSAGE file:
> for -current:
> - 28
> - 29
> this way by the time we're at 7.7, users would have been nagged enough
> to update to 30
> 
> for 7.6-stable:
> - 27
> - 28
> this way, users are nagged to update to 29.
> 
> i'm on nextcloud-28.0.11 on 7.6-stable, will check if it does what's
> expected, in that case ok ?
> 
> no need for @pkgpath, or faq/current.html ?
> 
> Landry

> ? nc-24.0.12-25.0.6-26.0.1.diff
> ? 25/nc-25.0.8.diff
> ? 26/nc-26.0.3.diff
> ? 26/pasteb
> ? 28/nc-28.0.11.diff
> ? 29/nc-29.0.8.diff
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/nextcloud/Makefile,v
> diff -u -r1.81 Makefile
> --- Makefile  14 Oct 2024 14:02:35 -0000      1.81
> +++ Makefile  7 Nov 2024 15:43:53 -0000
> @@ -1,6 +1,4 @@
>      SUBDIR =
> -    SUBDIR += 26
> -    SUBDIR += 27
>      SUBDIR += 28
>      SUBDIR += 29
>      SUBDIR += 30
> Index: 28/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/nextcloud/28/Makefile,v
> diff -u -r1.11 Makefile
> --- 28/Makefile       12 Oct 2024 12:04:18 -0000      1.11
> +++ 28/Makefile       7 Nov 2024 15:43:53 -0000
> @@ -1,3 +1,4 @@
>  NC_VERSION=  28.0.11
> +REVISION=    0
>  
>  .include <bsd.port.mk>
> Index: 28/pkg/MESSAGE
> ===================================================================
> RCS file: 28/pkg/MESSAGE
> diff -N 28/pkg/MESSAGE
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ 28/pkg/MESSAGE    7 Nov 2024 15:43:53 -0000
> @@ -0,0 +1,3 @@
> +This is an old major version of Nextcloud. Update to the newest available
> +in packages before updating to the next OpenBSD release.
> +See ${LOCALBASE}/share/doc/pkg-readmes/nextcloud for more information.
> Index: 29/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/nextcloud/29/Makefile,v
> diff -u -r1.5 Makefile
> --- 29/Makefile       12 Oct 2024 12:03:40 -0000      1.5
> +++ 29/Makefile       7 Nov 2024 15:43:53 -0000
> @@ -1,3 +1,4 @@
>  NC_VERSION=  29.0.8
> +REVISION=    0
>  
>  .include <bsd.port.mk>
> Index: 29/pkg/MESSAGE
> ===================================================================
> RCS file: 29/pkg/MESSAGE
> diff -N 29/pkg/MESSAGE
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ 29/pkg/MESSAGE    7 Nov 2024 15:43:53 -0000
> @@ -0,0 +1,3 @@
> +This is an old major version of Nextcloud. Update to the newest available
> +in packages before updating to the next OpenBSD release.
> +See ${LOCALBASE}/share/doc/pkg-readmes/nextcloud for more information.

> ? nc-24.0.12-25.0.6-26.0.1.diff
> ? 27/nc-27.1.5.diff
> Index: 27/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/nextcloud/27/Makefile,v
> diff -u -r1.18 Makefile
> --- 27/Makefile       2 Jul 2024 10:25:25 -0000       1.18
> +++ 27/Makefile       7 Nov 2024 15:43:29 -0000
> @@ -1,3 +1,4 @@
>  NC_VERSION=  27.1.11
> +REVISION=    0
>  
>  .include <bsd.port.mk>
> Index: 27/pkg/MESSAGE
> ===================================================================
> RCS file: 27/pkg/MESSAGE
> diff -N 27/pkg/MESSAGE
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ 27/pkg/MESSAGE    7 Nov 2024 15:43:29 -0000
> @@ -0,0 +1,3 @@
> +This is an old major version of Nextcloud. Update to the newest available
> +in packages before updating to the next OpenBSD release.
> +See ${LOCALBASE}/share/doc/pkg-readmes/nextcloud for more information.
> Index: 28/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/nextcloud/28/Makefile,v
> diff -u -r1.10.4.1 Makefile
> --- 28/Makefile       12 Oct 2024 12:09:26 -0000      1.10.4.1
> +++ 28/Makefile       7 Nov 2024 15:43:29 -0000
> @@ -1,3 +1,4 @@
>  NC_VERSION=  28.0.11
> +REVISION=    0
>  
>  .include <bsd.port.mk>
> Index: 28/pkg/MESSAGE
> ===================================================================
> RCS file: 28/pkg/MESSAGE
> diff -N 28/pkg/MESSAGE
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ 28/pkg/MESSAGE    7 Nov 2024 15:43:29 -0000
> @@ -0,0 +1,3 @@
> +This is an old major version of Nextcloud. Update to the newest available
> +in packages before updating to the next OpenBSD release.
> +See ${LOCALBASE}/share/doc/pkg-readmes/nextcloud for more information.

Reply via email to