-
Notifications
You must be signed in to change notification settings - Fork 391
pkg_delete file missing from release 2.15.0 release tarball #1282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
as I attempt to hack together a fix, I am discovering that it's not just pkg_delete, it's all bsd specific completions that are missing from the release tarball. I'm really curious how this happened! |
This is caused by #1214 which is a continuation of #1210. So, the release tarball doesn't contain these files because it is generated by I think we also need similar switching for test files. We now include |
I think excluding only in the install makes more sense, since we're not going to distribute multiple variants of the tarball, and I don't think anyone really needs to make a tarball just for specific OSs.
Is there a reason you think it's needed? Tests that require the commands are skipped anyway, and I don't see the harm of tests that don't need the command running everywhere. |
Yeah, I agree. The option to include everything that I suggested in #1210 was for the installation and not really meant for the tarball. Just because of the way the files are currently selected, the option would affect the content of the tarball, but it's not the primary purpose of the option.
Currently, the files for a specific system (with specific configure options) are excluded from the tarball. Then, including the corresponding test files in the tarball doesn't make sense. Does it? However, if we are going to include everything in the tarball unconditionally, we can continue to include all the test files in the tarball. |
This should fix scop#1282, although still doesn't deal with the issue of including tests for them or not.
This should fix scop#1282, although still doesn't deal with the issue of including tests for them or not.
This should fix scop#1282, although still doesn't deal with the issue of including tests for them or not.
Should be left open until the fix is included in a release I think. |
I agree with the new release, though I'm not sure if it should be v2.15.1 or v2.16.0. If we would release v2.15.1, there are two options: to pick only the commit a2d1bfc for v2.15.1 or to include all the changes from the |
release-please takes care of version numbering for us automatically, depending on what gets included, based on semantic commit messages. Currently it'll be 2.16.0, #1276. I do not think we should start maintaining more than one branch unless we absolutely positively "have to". Although it's not a 2.15 regression, I'd love to see rsync escaping issues fixed, #1232 and #1255 (I don't have time to look into them myself though). But if that'll take more than a few days, releasing what we have now (+ the updated macOS docs from #1288) would be fine with me. |
$ curl -sL https://github.com/scop/bash-completion/releases/download/2.16.0/bash-completion-2.16.0.tar.xz | tar Jtv | grep pkg_delete
-rw-r--r-- 1001/128 138 2024-12-25 12:28 bash-completion-2.16.0/test/t/test_pkg_delete.py
-rw-r--r-- 1001/128 527 2024-12-25 12:28 bash-completion-2.16.0/completions/pkg_delete |
Describe the bug
completions/pkg_delete
is missing from the tarball. This causes build errors when built on BSD systems.To reproduce
Build and install bash-completion on e.g. FreeBSD from the released tarball
Expected behavior
Installation completes successfully
Versions (please complete the following information)
echo "$BASH_VERSION"
: 5.2.21(0)-release(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
: 2.15.0Additional context
I originally encountered this issue cross compiling for FreeBSD from a Linux host via nix, but it reproduces just fine when building native for FreeBSD without nix.
Debug trace
The text was updated successfully, but these errors were encountered: