Page MenuHomeFreeBSD

Include GH_ACCOUNT/GH_PROJECT/GH_TAGNAME in the DISTNAME if set for new USE_GITHUB.
ClosedPublic

Authored by bdrewery on Mar 20 2015, 6:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 26 2024, 5:35 AM
Unknown Object (File)
Sep 25 2024, 4:19 PM
Unknown Object (File)
Sep 25 2024, 4:19 PM
Unknown Object (File)
Sep 25 2024, 4:19 PM
Unknown Object (File)
Sep 25 2024, 4:06 PM
Unknown Object (File)
Sep 21 2024, 8:49 AM
Unknown Object (File)
Sep 15 2024, 10:36 PM
Unknown Object (File)
Sep 6 2024, 2:21 AM
Subscribers

Details

Summary

I noticed while updating poudriere-devel today that if I were to release
a 2nd update for today and use the same PORTVERSION of 20150320 and only
bump the GH_TAGNAME to a new hash and PORTREVISION that the DISTNAME
would remain the same. I had previously worked around this by defining
my own DISTNAME in the port to include GH_COMMIT/GH_TAGNAME.

This previously bit me on a portmaster update as well before I overrode
DISTNAME in that port in rP320240.

I think this same change should be made global.

All affected ports are updated. My and mat's mirrors would need to be updated
again.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bdrewery retitled this revision from to Include GH_ACCOUNT/GH_PROJECT/GH_TAGNAME in the DISTNAME if set for new USE_GITHUB..
bdrewery updated this object.
bdrewery edited the test plan for this revision. (Show Details)
bdrewery added a reviewer: portmgr.
bdrewery added a subscriber: mat.

My summary may not be clear, this also fixes if a project moves to a new GH_ACCOUNT. The distfile would conflict and cause a bad checksum without having it in the DISTNAME.

bdrewery updated this revision to Diff 4309.

Closed by commit rP381777 (authored by @bdrewery).