[pulseaudio-tickets] [Bug 90936] New: git-version-gen marks tarballs as dirty if build inside a dirty git clone

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 11 08:22:46 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90936

            Bug ID: 90936
           Summary: git-version-gen marks tarballs as dirty if build
                    inside a dirty git clone
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: build-system
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: ross at burtonini.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Say I have a distro build system in git, which builds packages in a working
directory in the git checkout:

~/mydistro/builds/pulseaudio-6.0/[tarball contents]

git-version-gen will read the version from .tarball-version and then try
running git diff-index, at which point git will iterate up until it finds
~/mydistro/.git/ and report that the repo is dirty, resulting in a build of
Pulseaudio that thinks its version 6.0-dirty.  Obviously, this isn't right.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150611/e51f956b/attachment.html>


More information about the pulseaudio-bugs mailing list