Bug 260623 - devel/php-composer: Update to 1.10.24, Mark DEPRECATED
Summary: devel/php-composer: Update to 1.10.24, Mark DEPRECATED
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: Guido Falsi
URL: https://github.com/composer/composer/...
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-12-22 23:11 UTC by Guido Falsi
Modified: 2021-12-23 08:53 UTC (History)
1 user (show)

See Also:
cyberbotx: maintainer-feedback+
madpilot: merge-quarterly+


Attachments
composer update (1.19 KB, patch)
2021-12-22 23:11 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer freebsd_triage 2021-12-22 23:11:52 UTC
Created attachment 230327 [details]
composer update

I'm posting an update to php 1 and also adding a DEPRECATED line:

https://blog.packagist.com/deprecating-composer-1-support/

I'm not adding an expiration time, because I could not find an hard date for that.

Also, the deprecation warning text could maybe be better, I'm open to suggestions.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-12-22 23:39:19 UTC
^Triage: Bugfix release, MFH
Comment 2 Naram Qashat 2021-12-23 00:09:34 UTC
Looks good to me.

Perhaps the deprecation message could be:

packagist.org is dropping composer 1.x support, please consider updating to composer 2.x
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-12-23 08:33:12 UTC
A commit in branch main references this bug:

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

commit aa682c04765459d0683913c68dc24fa7f5c1c893
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2021-12-23 08:28:27 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2021-12-23 08:28:27 +0000

    devel/php-composer: Update to 1.10.24, Mark DEPRECATED

    Upstream is deprecating this version of composer and dropping support
    for it in the packagist.org servers. No expiration set since upstrteam
    has not stated an hard deadline.

    Please consider updating to devel/php-composer2.

    PR:             260623
    Approved by:    Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
    MFH:            2021Q4

 devel/php-composer/Makefile | 4 +++-
 devel/php-composer/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-12-23 08:44:18 UTC
A commit in branch 2021Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44e8f5d50674b30fd09c2d4f6e419811f3cb01ea

commit 44e8f5d50674b30fd09c2d4f6e419811f3cb01ea
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2021-12-23 08:28:27 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2021-12-23 08:41:09 +0000

    devel/php-composer: Update to 1.10.24, Mark DEPRECATED

    Upstream is deprecating this version of composer and dropping support
    for it in the packagist.org servers. No expiration set since upstrteam
    has not stated an hard deadline.

    Please consider updating to devel/php-composer2.

    PR:             260623
    Approved by:    Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
    MFH:            2021Q4

    (cherry picked from commit aa682c04765459d0683913c68dc24fa7f5c1c893)

 devel/php-composer/Makefile | 4 +++-
 devel/php-composer/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2021-12-23 08:53:39 UTC
Committed and merged. Thanks!