platformio / platform-intel_mcs51

Intel MCS-51 (8051): development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/intel_mcs51
Apache License 2.0
56 stars 45 forks source link

framework-nakedmcs51 sha1 hash does not match #3

Closed zerog2k closed 6 years ago

zerog2k commented 6 years ago

getting an error when trying to run on ubuntu linux 16.04

> Executing task: platformio run <

[Sat Jan  6 20:45:23 2018] Processing stc15f204ea (platform: mcs51; board: stc15f204ea; framework: naked)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PackageManager: Installing framework-nakedmcs51 @ ~0.0.1
Downloading  [####################################]  100%
Warning! Package Mirror: The 'sha1' sum '7f29f4aaa221b4c693a2597ab4fc8ff4d42cd229' of downloaded file 'framework-nakedmcs51-0.0.2.tar.gz' is not equal to remote 'f57367a56d251cd8bc1eab0d9c282c06e8b1bd12'
Looking for other mirror...
Error: Could not install 'framework-nakedmcs51' with version requirements '~0.0.1' for your system 'linux_x86_64'.
 If you use Antivirus, it can block PlatformIO Package Manager. Try to disable it for a while.
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

note the stc15f204ea is my attempt at developing alternate boards (for stc mcu's). But this seems to be some issue with the hosted downloads mismatched with hashes.

zerog2k commented 6 years ago
$ curl https://dl.bintray.com/palatis/platformio-dl-packages/manifest.json
{
    "framework-nakedmcs51":
    [
        {
            "url": "https://github.com/Palatis/framework-nakedmcs51/archive/v0.0.2.tar.gz",
            "sha1": "f57367a56d251cd8bc1eab0d9c282c06e8b1bd12",
            "version": "0.0.2",
            "system": "all"
        }

but this doesnt match the tgz archive at that url, which is: 7f29f4aaa221b4c693a2597ab4fc8ff4d42cd229 v0.0.2.tar.gz

zerog2k commented 6 years ago

ok i see this is probably coming from the binary archive you compiled from the framework: https://github.com/Palatis/framework-nakedmcs51

I think I'm able to bypass this if i do not select a framework in my platformio.ini

ivankravets commented 6 years ago

@Palatis Would like to transfer this repo to @PlatformIO organization and we will maintain it togehter? Also, will add it to our registry where other people can use without extra steps.

Thanks a lot for your work!

Palatis commented 6 years ago

sure that'd be great, I probably won't be working on this mcs51 platform support recently, tho.

working on esp32 rite now.

ivankravets commented 6 years ago

Please navigate to repo settings and trasfer it to https://github.com/platformio

Your all contribution will be saved under your name.

Palatis commented 6 years ago

hmm... I hit "Transfer" and entered the name of the repo and "platformio" for "New owner’s GitHub username or organization name", but it says i don't have permission to create repo on platformio.

i noticed that the detailed description for "Transfer" says "Transfer this repository to another user or to an organization where you have the ability to create repositories."

ivankravets commented 6 years ago

I granted you global permission. Could you try again?

Palatis commented 6 years ago

still, says "You don’t have the permission to create repositories on platformio" maybe you have to grant some repo permission.

i planned to transfer

over to @platformio

===

ahh nevermind, I realized I have to accept the invitation...

ivankravets commented 6 years ago

Ok, increased permissions again. Could you try now?

Palatis commented 6 years ago

transferred :-D now you can ungrant the unneccesory permissions.

ivankravets commented 6 years ago

Thank you very much! I granted you all permissions to these repositories. Would be thankful for any help! ;)

ivankravets commented 6 years ago

Fixed