[Bug 199069] New USE_GITHUB has inconsistent DISTNAMEs for same GH_TAGNAME

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 31 17:19:42 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199069

            Bug ID: 199069
           Summary: New USE_GITHUB has inconsistent DISTNAMEs for same
                    GH_TAGNAME
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: bdrewery at FreeBSD.org
                CC: freebsd-ports-bugs at FreeBSD.org

I did just run across an actual bug with the new USE_GITHUB implementation.

~/svn/ports/ports-mgmt/poudriere # make -V DISTNAME
poudriere-3.1.2_GH0
~/svn/ports/ports-mgmt/poudriere # make -C ../poudriere-devel -V DISTNAME
freebsd-poudriere-3.1.99.20150331-3.1.2_GH0

Both are GH_TAGNAME=3.1.2 and have the same checksums.

~/svn/ports/ports-mgmt/poudriere # cat distinfo
SHA256 (poudriere-3.1.2_GH0.tar.gz) =
f3c192d59ce1fe7756ca215e5de9b82f80f55c017f9e0fb4105e0344ddeb33f9
SIZE (poudriere-3.1.2_GH0.tar.gz) = 2714435
~/svn/ports/ports-mgmt/poudriere # cat ../poudriere-devel/distinfo
SHA256 (freebsd-poudriere-3.1.99.20150331-3.1.2_GH0.tar.gz) =
f3c192d59ce1fe7756ca215e5de9b82f80f55c017f9e0fb4105e0344ddeb33f9
SIZE (freebsd-poudriere-3.1.99.20150331-3.1.2_GH0.tar.gz) = 2714435


There's really no reason the DISTNAME should differ on them. I haven't looked
into the problem yet but I suspect it is due to using DISTVERSION in the
DISTNAME.

I think it will be worth making these consistent as currently this leads to
duplication on mirrors for the same file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list