-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Use subdir named gitea-version in make release-sources generated arti… #19153
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
Conversation
OK we need to double check that bsdtar has this option too. Annoyingly |
https://www.freebsd.org/cgi/man.cgi?query=tar&sektion=1&manpath=freebsd-release-ports BSD tar doesn't support |
The line above this makes reference to making changes for bsdtar. See #15256 |
Hmm, I see. I was thinking that |
Now I have another question (a little off-topic): why should |
bsd tar have option -s
But i've no bsd/mac system on my hands to test it |
I guess it's still valuable to support macOS to be able to debug these make targets locally. We could just require those developers to install GNU versions, e.g. abort the target if non-GNU is detected. GNU versions on macOS either have a "g" prefix, or not, e.g. |
That could be a reason .... however although I am a macOS user, I do not use non-Linux tools to debug systems for Linux, it doesn't make sense to me because finally these targets should be run in Linux. Personally I always use VM or docker for the work which should be in a Linux environment. Maybe |
Still need to check for existance of |
Replaced by
|
Use
tar --transform
to place gitea sources within a sub-directory calledgitea-${VERSION}
to prevent tar bombing.Fix #19066
Prior to this PR the gitea src tar.gz would extract to the current directory. Users requiring the previous behaviour should use tar options as appropriate.