Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 17:19:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199069] New USE_GITHUB has inconsistent DISTNAMEs for same GH_TAGNAME
Message-ID:  <bug-199069-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: bdrewery@FreeBSD.org
                CC: freebsd-ports-bugs@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199069-13>