Comments (4)
There are also other systems that will produce PaxHeaders by default. One of my MacOS machines has a uid/gid that doesn't fit in standard ustar headers. Using the --format=ustar
option will produce an empty tarball. This can be fixed by using --format=ustar --uid=0 --gid=0
when using bsd tar, or --format=ustar --owner=0 --group=0
with GNU tar.
from archive-tar-wrapper-perl.
For tarball releases of perl dists I think setting UID + GID to zero is fine, but I can imagine that for some use cases that may not be acceptable. It is probably therefore best if implemented that this be opt-in.
I think supporting GNU tar and bsdtar would probably benefit the majority of users and support for other systems can be added later.
from archive-tar-wrapper-perl.
That falls on the same situation of #16: each OS seems to have their own particular configurations and/or versions of tar
that are incompatible with each other.
The way to go in this case, as I see, is to create a dispatch table using the OS name as keys just like we are doing for Microsoft Windows and OpenBSD.
From there, we would execute a function to return an object configured with any little detail that is required to make the tar
binary to work as expected.
My only concern is that Archive::Tar::Wrapper
was created to overcome the slowness of Archive::Tar
, so if anything, we shouldn't make it overly complex to the point there is a performance penalty.
Some refactoring will be required to do that, although. I started doing it in the past, but never finished.
Of course, I'm opened to suggestions too.
from archive-tar-wrapper-perl.
Related Issues (10)
- Test suite fails if bzip2 is not installed HOT 3
- Undeclared dependency Dumbbench (0.32) HOT 1
- unnecessary dependency Dumbbench HOT 2
- Test suite fails on NetBSD HOT 3
- Minor licensing inconsistency HOT 5
- list_all output has changed HOT 5
- Confusing license HOT 8
- Test::Simple should not be a runtime dependency HOT 2
- no recent Changes entries HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archive-tar-wrapper-perl.