Bug 267076 - multimedia/py-metadata-cleaner: Update to 2.2.5
Summary: multimedia/py-metadata-cleaner: Update to 2.2.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Daniel Engberg
URL: https://gitlab.com/rmnvgr/metadata-cl...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-15 11:44 UTC by Daniel Engberg
Modified: 2022-11-06 10:54 UTC (History)
2 users (show)

See Also:
fuz: maintainer-feedback+


Attachments
Patch for py-metadata-cleaner (8.08 KB, patch)
2022-10-15 11:44 UTC, Daniel Engberg
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2022-10-15 11:44:02 UTC
Created attachment 237329 [details]
Patch for py-metadata-cleaner

Use USE_GITLAB to follow Porters Handbook more closely and be consistent with ports tree

Compile tested on FreeBSD 13.1-STABLE (amd64)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-10-15 11:44:48 UTC
I've also submitted a small patch for meson so we can drop BINARY_ALIAS and use shebangfix once it's merged.

https://gitlab.com/rmnvgr/metadata-cleaner/-/merge_requests/168
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2022-10-15 15:27:22 UTC
Comment on attachment 237329 [details]
Patch for py-metadata-cleaner

Unfortunately I cannot approve of this change as the source tree snapshot is not the release tarball.  So as per policy, it should not be used for the distfile.

Please see bug #264893 for where I performed the change you suggested in the exact opposite direction.

However, thank you also for submitting an update of the port to 2.2.5.  I give you approval to commit just the update to that version and the corresponding changes without the change to which distfile is used.
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2022-10-15 15:37:38 UTC
Gitlab can be a bit confusing, "Assets" are not release tarballs and generated on the fly. Compare that to static tarballs attached to the release such as https://gitlab.com/sane-project/backends/-/releases/1.1.1 (Other) or https://gitlab.com/LibreGames/jumpnbump/-/releases (Downloads). Since upstream doesn't supply one USE_GITLAB should be uses for consistency with the rest of the tree (we have ~50 ports that violates this policy).
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2022-10-15 15:45:46 UTC
(In reply to Daniel Engberg from comment #3)

Is the tarball produced with USE_GITLAB bit for bit identical to the one obtained from the assets list?  It does not seem like it is from you setting WRKSRC explicitly.

As it is not the same tarball, I cannot approve of the change.
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2022-10-15 15:47:25 UTC
(In reply to Daniel Engberg from comment #3)

> (we have ~50 ports that violates this policy).

Please point out the policy stating under which circumstances USE_GITLAB must be used.  As I read it, USE_GITLAB is only provided as a convenience, not as a requirement.
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2022-10-21 13:20:22 UTC
Comment on attachment 237329 [details]
Patch for py-metadata-cleaner

Maintainer approval denied: I do not approve of the change in distfile source.

The other changes are okay and can be committed.
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2022-10-22 00:05:02 UTC
We're aligning the tree for consistency, there's work being done in improving USE_GITLAB to use release tags (like USE_GITHUB) however we want (and most likely will) prepare the tree for future changes.

Since Gitlab instances generates tarballs differently depending on filename and url there will be differences in checksums and directory naming.
Comment 8 Robert Clausecker freebsd_committer freebsd_triage 2022-10-22 08:51:04 UTC
(In reply to Daniel Engberg from comment #7)

If this is in preparation of a future improvement, then please proceed.
Comment 9 Robert Clausecker freebsd_committer freebsd_triage 2022-10-22 08:51:21 UTC
Comment on attachment 237329 [details]
Patch for py-metadata-cleaner

Approval granted.
Comment 10 commit-hook freebsd_committer freebsd_triage 2022-11-06 10:49:14 UTC
A commit in branch main references this bug:

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

commit d1797aa3bc7c30b16f936f068c5380965190bf69
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-11-06 10:21:04 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-11-06 10:46:53 +0000

    multimedia/py-metadata-cleaner: Update to 2.2.5

    Changelog:
    https://gitlab.com/rmnvgr/metadata-cleaner/-/blob/0aad256555bf8fea0015532d204869987e3cfa8c/CHANGELOG.md

    PR:             267076
    Reviewed by:    Robert Clausecker <fuz@fuz.su> (maintainer)

 multimedia/py-metadata-cleaner/Makefile  | 11 +++++++----
 multimedia/py-metadata-cleaner/distinfo  |  6 +++---
 multimedia/py-metadata-cleaner/pkg-plist | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 7 deletions(-)
Comment 11 Daniel Engberg freebsd_committer freebsd_triage 2022-11-06 10:54:53 UTC
Committed (added back DISIVERSIONPREFIX and updated disthash), thanks