Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2021 11:55:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259266] [python] meaningless and careless 'git archive' execution on /usr/ports from git repo
Message-ID:  <bug-259266-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259266

            Bug ID: 259266
           Summary: [python] meaningless and careless 'git archive'
                    execution on /usr/ports from git repo
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: nork@ninth-nine.com

Many python modules required py-setuptools_scm.
And setuptools_scm run 'git archive --prefix /usr/ports HEAD' on 'make stag=
e'.
But it's too meaningless and careless, because they want its version,
not ports version.

SEE ALSO: https://github.com/pypa/setuptools_scm/issues/353

Sorry, I don't know how to fix, yet. I know some workaround:

- chmod 0000 /usr/local/libexec/git-core/git-archive
- pkg -y delete git
- mv /usr/ports/.git /usr/ports/.git.IGNORE and make install, then revert.
- etc, etc...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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