-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Remove bsdtar #15262
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
Remove bsdtar #15262
Conversation
bsdtar on ubuntu 18.04 does not support no-xattrs. This means it is unsuitable for use and is currently breaking release. This PR simply removes the bsdtar use from drone but allows users to set TAR="bsdtar --no-xattrs" in future should they wish to use that. Fix go-gitea#14578 (again) Signed-off-by: Andrew Thornton <art27@cantab.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jup
I'm apologizing again here. I wouldn't have thought it could even bork twice on CI even after many testing by then, and npm 7 was another big issue I had no idea about before. If only there were some sort of guidance on creating a similar CI workflow on my own fork (which has CI enabled on drone.io) I would have discovered these stuff long before. |
bsdtar removal is also included in #15273. |
Since two mentioned pulls are not ready jet i propose: mergebthis first & let the other pulls be followups that can be checked & reviewed without blocking things |
- Don't package node_modules in tarballs, they are not cross-platform anymore and npm cache should not be messed with directly. Instead, require an internet connection to rebuild the UI, which is not necessary in the general use case because prebuilt UI files are shipped in the public directory. - Simplify the fomantic build and make the target phony. We don't need anything more for something that is rarely ran. - Use regular tar again to build tarballs and add variable for excludes - Disable annoying npm update notifications Fixes: go-gitea#14578 Fixes: go-gitea#15256 Fixes: go-gitea#15262
- Don't package node_modules in tarballs, they are not cross-platform anymore and npm cache should not be messed with directly. Instead, require an internet connection to rebuild the UI, which is not necessary in the general use case because prebuilt UI files are shipped in the public directory. - Simplify the fomantic build and make the target phony. We don't need anything more for something that is rarely ran. - Use regular tar again to build tarballs and add variable for excludes - Disable annoying npm update notifications Fixes: #14578 Fixes: #15256 Fixes: #15262 Co-authored-by: 6543 <6543@obermui.de>
- Don't package node_modules in tarballs, they are not cross-platform anymore and npm cache should not be messed with directly. Instead, require an internet connection to rebuild the UI, which is not necessary in the general use case because prebuilt UI files are shipped in the public directory. - Simplify the fomantic build and make the target phony. We don't need anything more for something that is rarely ran. - Use regular tar again to build tarballs and add variable for excludes - Disable annoying npm update notifications Fixes: go-gitea#14578 Fixes: go-gitea#15256 Fixes: go-gitea#15262 Co-authored-by: 6543 <6543@obermui.de>
bsdtar
on ubuntu 18.04 does not support--no-xattrs
. This means it is unsuitable foruse and is currently breaking release.
This PR simply removes the
bsdtar
use from.drone.yml
and changes the Makefile to allow users to setTAR="bsdtar --no-xattrs"
in future should they wish to use that.Fix #14578 (again)
Signed-off-by: Andrew Thornton art27@cantab.net