-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
Unable to upload or repackage the upstream package #3776
Comments
Having just tried via WSL, where
Surprisingly, using the full path to the archive made this work |
What is it |
Windows slashes are backwards, autocomplete puts it when TAB'ing the file in the current directory. It is irrelevant, you can still get the exception without it (c/p was from the 2nd attempt, without the dot-slash) |
@ivankravets okay about the |
I've uploaded correct tarballs already, trying to upload the one from the bintray:
|
Could you help to investigate this issue? The code is here
Thanks! |
A quick summary:
|
@Jason2866 thanks, we have reproduced this issue! Downgrading issue to |
…ns are not preserved // Resolve // #3776
Thanks! Fixed, you can publish tar.gz directly from Windows. |
@ivankravets Thanks! Should the |
What do you mean?
I downloaded the package mentioned above and the permissions are good. Yes, we repack EVERY package on the server side and remove any trash from it (pictures, movies, etc). People can control package contents using "package.json" and "export" field as described in docs. |
The other issue after my tests - I was able to do |
Yes, we had the same thoughts to show warning message or raise an error. It's not our issue and we can't fix it. Windows does not support symlinks, and other UNIX FS features. We will raise an exception and ask user to extra archive manually before running "pack". |
Thanks, resolved! |
Configuration
Operating system:
Windows 10 20H2
PlatformIO Version (
platformio --version
):PlatformIO Core, version 5.0.4b1`
Description of problem
As previously mentioned in the #3612
ESP8266 Core publishes current development version of the toolchain here:
https://github.com/earlephilhower/esp-quick-toolchain
I was trying to upload it to the registry, however this shows up:
As mentioned in the previous issue, I did the
pio package pack
after this failed, which created another tarball in the same directory:However, the contents are no longer the same:
Files are defaulted to rw permissions and UID/GID 0, executable bit lost as well.
edit: although, UID & GID 0 may still be ok i.e. those should not be used anyway without 'numeric owner' setting (?)
So, the issues are:
previously I was able to upload and use the version 5.100200.200918, but that was done using Linux installation
cc @Jason2866 via esp8266/Arduino#7792 (comment)
The text was updated successfully, but these errors were encountered: