SpenceKonde / megaTinyCore

Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available!
Other
554 stars 144 forks source link

IDE installation url no longer working? #968

Closed ladyada closed 1 year ago

ladyada commented 1 year ago

hiya http://drazzy.com/package_drazzy.com_index.json is no longer reachable, is there a new URL? you may want to 'host' the package from github - let me know if you need help doing so thanks :)

SpenceKonde commented 1 year ago

We are working on resolving this.

The filesystem on my webserver became corrupted - the webroot was /var/www/html

Now, it thinks /var/www/html is a file, not a directory. Other data is missing. The system does not run anymore. It's a VM on AWS, so it's just a flush and redeploy, but then I have to reconfigure it. (unfortunately this came at a rather inconvenient time). Rebuilt one will have HTTPS enabled as people have been bitching at me for years about, (What, do they have malicious actors tapping their network connections and using targeted MITM attacks against them to get malware onto their computer via third party hardware packages? At that point, either they have already lost to whomever they had been hoping to evade, or they are experiencing paranoid delusions. I consider the latter to be more plausible. (link: this song plays in my head when I get complaints about the lack of https), either way https isn't going to help). But anyway once a new webserver with a working file system is deployed, and I've figured up how I set up the symlinks and the method I used to get the updated files onto the systems. I'm annoyed, I haven't fucked with apache in ages.

But I am not going to host the board manager json file on github. I have domain names, and I'm not some sort of scrub who's too cheap or too broke keep a webserver spinning to serve the json file. The only board manager package I host on github is the one that is used by the CI, which also runs from github, and is likely cheaper for them to keep it in house, and it's cheaper for me because the number of toolchain installations that result from one round of CI is unreal. Every other platform is hosted on an AWS S3 bucket. If the cost to be was 2 orders of magnitude higher, then I'd have a problem.

I'm working on a better tool for autocompiling sketches en masse for CI. What I'd really like is something i can easily make into a chart of pass/fail, and for pass before and pass after, the flash and sram used on the before and the after (and because we'd be pulling the data back to the same place every time, we wouldn't have to worry about yesterdays results until we we at the very endsince I would be retaining the results. You'd parse and distill the records you got append to the master csv file and then easily graph execution time as a function of git commit. probably wouldn't even be hard to generate a list of sketches that appear to have experienced a flash size or sram size regression; That way when it found that some closets contained skeletons (warnings, anomalous flash usage, etc) they were marked for further investigation, instead of going unnoticed unless there were errors in the same sketch.

What if instead of just verify, I generated the .hex, .map. and .lst files, , save them all, ending up with a huge number of files, tar and bzip them, along with the console output) and somehow get that out of there and onto my system, where I could extract them But that doesn't change the fact that the CI script is itself sinfully inefficient. It generates an obscene number of installations of the core, far more than need to happen, and takes far longer than it needs to. Definitely not made for being used the way I use it.

So - there are really 2 problems with the current CI - it's inefficient, and hence results in very heavy traffic on the targets of the site and there's no way to use it to spot regressions that manifest as larger code size. Well, and like everyone else. it depended on a webserver that just put a bullet through it's harddrive. ~_~

SpenceKonde commented 1 year ago

And I seem to be having an inexplicably hard time connecting to an amazon linux instance in AWS EC2 even with a freshly generated KeyPair, which is really the only roadblock to getting this server up and running again. But it's real hard to execute commands when I can't log in. I'm not sure quite what is being misconfigured.

SpenceKonde commented 1 year ago

this is fixed now. Still no SSL, but I'm very close.

ladyada commented 1 year ago

hiya sorry for the delay in replying - thank you for the fix!!