[Bug 258891] devel/py-setuptools_scm: tries to git archive the entire ports tree on build

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Oct 2021 15:37:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258891

Kai Knoblich <kai@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #228549|0                           |1
        is obsolete|                            |
 Attachment #228887|                            |maintainer-approval+
              Flags|                            |

--- Comment #11 from Kai Knoblich <kai@FreeBSD.org> ---
Created attachment 228887
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228887&action=edit
py-setuptools_scm_fix_git_usage-v1.patch

Thanks Steve, for your pointer from comment #10! Here's an updated patch that
adds the workaround of OI to devel/py-setuptools_scm.

At the moment I tend to patch devel/py-setuptools_scm instead using the
workaround with GIT_CEILING_DIRECTORIES to remedy the issue until it's fixed by
upstream.

If problems should arise over time, there would still be the option to revert
the changes and using instead the workaround with GIT_CEILING_DIRECTORIES.

Perhaps by then it will also be known whether there are other non-Python ports
that also have similar issues like devel/py-setuptools_scm. Then we could put
the workaround to a more general place, e.g. bsd.port.mk, as already pointed
out by Robert in comment #9.

I'll leave the updated patch here for a while to let everyone test it.  Unless
I hear otherwise, would commit it next week when I have a little more time.

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