Bug 271688 - ports-mgmt/pkg-provides: two different package messages for one type of upgrade
Summary: ports-mgmt/pkg-provides: two different package messages for one type of upgrade
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Rodrigo Osorio
URL: https://github.com/freebsd/freebsd-po...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-28 03:26 UTC by Graham Perrin
Modified: 2023-06-11 13:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (rodrigo)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2023-05-28 03:26:16 UTC
From <https://www.freshports.org/ports-mgmt/pkg-provides/#message>: 

> If upgrading from < 0.6.0:
> 
> `    To update the provides database run `pkg provides -u`.`
> 
> If upgrading from < 0.6.0:
> 
> `    Pkg-provides from v0.6.0 introduces a new database file format.`
> 
> `    To update the provides database run `pkg provides -uf`.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-06-11 13:36:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=24d4fb0164f3119b358579f10ede0cad540af556

commit 24d4fb0164f3119b358579f10ede0cad540af556
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2023-06-11 13:08:49 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2023-06-11 13:23:37 +0000

    ports-mgmt/pkg-provides: Fix package message

    Fix package message who has two different messages displayed
    for the same upgrade.
    Remove the oldest one done for versions under 0.6.0 released
    in 2019.

    PR:             271688
    Reported by:    grahamperrin

 ports-mgmt/pkg-provides/Makefile             |  2 +-
 ports-mgmt/pkg-provides/files/pkg-message.in | 10 ----------
 2 files changed, 1 insertion(+), 11 deletions(-)
Comment 2 Rodrigo Osorio freebsd_committer freebsd_triage 2023-06-11 13:37:12 UTC
Committed, thanks
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2023-06-11 13:49:21 UTC
(In reply to Rodrigo Osorio from comment #2)

Thanks!

<https://www.freshports.org/ports-mgmt/pkg-provides/#message> looks good.