-
Notifications
You must be signed in to change notification settings - Fork 7
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
tar.py uses "--force-local" option on MacOSX, which doesn't exist #138
Comments
The
We don't have any archives with a colon in the name:
So, I believe we can safely remove the |
I sent #139 to add a fallback so we can support both modes. An alternative would be to check if we're running on Mac, but I'd prefer to try for the |
@tbpg: I'm unsure - it doesn't look like we actually use that anywhere. I suspect it was actually a matter of when I was running it locally. To be honest, with other bits of Python eventually going away, what I'd really welcome is a specification in this repo of what the file needs to look like, so I could build my own .NET equivalent that would avoid me having to upgrade Python dependencies that I don't really know the details of... |
@jskeet that's fair. Mind filing a feature request? I'd prefer not to "export" the API of I'd also prefer not to rewrite this in some other language where we can ship a static binary, so you wouldn't have to worry about installation/dependencies/Python/etc. Not sure how to achieve both. |
Created #141, but I do take your point, so feel free to close. I think it partly depends on how "done" we think docuploader is. My understanding is that's really pretty simple:
(To the extent that if the metadata file is documented, the rest can probabyl be done via tar + gsutil.) If the metadata format is only going to change very rarely, it's quite possibly worth doing. If we see a future with more features being added or a larger overall design than the three bullets above, it's probably not worth doing. |
Environment details
OS: MacOSX
Language runtime version:
Package version: 0.6.2
Steps to reproduce
docuploader upload
on MacOSXStack trace
Solution
The error is "tar: Option --force-local is not supported"
I was able to solve this by opening up
tar.py
and commenting out the option--force-local
.The text was updated successfully, but these errors were encountered: