Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2025 19:15:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade)
Message-ID:  <bug-284054-32340-S3hpOPVWhn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284054-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284054-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284054

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bdrewery@FreeBSD.org

--- Comment #24 from Ed Maste <emaste@freebsd.org> ---
(In reply to Terry Kennedy from comment #19)
> This doesn't seem to correct the "If an invalid or no format is specified=
 txz is
> assumed." part of the manpage, if the info in comment 12 is correct and t=
he default > format is now tzst.

Yep, I spotted that as well while looking over the first patch I submitted =
and
it is now fixed in
https://github.com/freebsd/pkg/commit/27b286a64cab91d3eff0e5fb6358f278ab563=
a30.

Note that this is incorrect for FreeBSD 13 -- the default is still txz ther=
e,
set at configure time for pkg itself. But at least pkg's own default is now
correctly stated.

> Also, I don't think the "in the near future" deprecation notice in the ha=
ndbook is
> reasonable. Unless there's some plan to remove portsmgmt/portupgrade from=
 the ports
> tree, it is going to remain in quarterly builds for some time. db5 has be=
en hanging
> around in the ports tree long past its sell-by date.

Fair comment; I'm trying to strike a balance between "don't surprise the us=
ers"
and "make the user community aware that developers already think this was
deprecated years ago." I originally went with just "removed in the future" =
but
added "near" based on a comment in the review.

In any case I think the discussion that may be prompted by the more alarming
notice is worthwhile, and we can change the notice to match whatever is
eventually decided.

> I suggest two things:
>
> 1) Adding DEPRECATED=3D and EXPIRATION_DATE=3D to the port Makefile (the =
date should be
> at FreeBSD 14 EOL, IMHO).

This seems reasonable to me, but we should also stop packaging it for 15.x =
now.

> 2) Adding a section in the Handbook on "Migrating from portupgrade to por=
tmaster"

A good idea; someone who is familiar with both tools will need to write it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284054-32340-S3hpOPVWhn>