-
Notifications
You must be signed in to change notification settings - Fork 166
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
rsync endpoint to mirror the releases #55
Comments
+1 |
+1! (but for http://nodejs.org/dist) |
/dist is an alias for /download/release now fwiw |
Can we please add the rsync endpoint for /dist? |
I can look at doing this if others in the build group agree. |
So I had a thought (:boom:): one of the blockers we have here is hesitation about exposing an unencrypted endpoint while we're trying to move everything to TLS (http://nodejs.org will be fully redirected soon). So, how about we be upfront about this and stand up a host named |
@rvagg I like it. How about adding a http header about expiration as well; putting a final nail in the coffin to plaintext stuff? |
(as well as serving the same message with /index.html) |
Would unencrypted.nodejs.org work ? Not to bikeshed but insecure implies a lot more to me than just not protected by encryption which I think would be the main difference. |
Just a quick update: We have an endpoint set up for testing; pm me on irc (jbergstroem) or shoot me an email (bugs at bergstroem dot nu) if you want to give it a whim. If everything works as intended we'll make this public shortly. |
@jbergstroem do we have it syncing in cron yet? last I checked that wasn't enabled. |
@rvagg nope, still todo. Also, adding it to the deploy script for 0day. |
We're nearly there. I've gotten som feedback and based on that I'd like to suggest extending our EOL/reconsider to 2022 (+2y). I'll land the sync script we'll run from both deploy and cronjob this week. |
I've been noticing an issue where the release files will sometimes not be available. For example, |
@jsumners the rsync routine isn't fully up to par. Apologies about that. When we moved web servers a few things changed which made it break. It will obviously work pristine once deemed 'production' worthy, but that doesn't mean we shouldn't fit it as soon as possible. I'll have a look in within a day or so; just got mixed up amongst my other todo's. |
@jsumners hey; I've redeployed it now. It should be populating and be up to speed pretty soon; updating dns as we speak. If you could verify that things look better in the hour or so, that'd be cool! Edit: update. Almost done with initial rsync. I moved from cron to systemd timers (yes, i know -- sigh) to get better visibility of running state. Should be done in 5 minutes and it should sync every 15. |
@jbergstroem permissions are broken:
|
@jsumners that's because rsync hasn't finished processing those folders just yet. Thanks for checking! |
Looks like it's done:
|
@jbergstroem looking good over here. I'll keep an eye on it. |
Would it be possible to allow rsync over ssh? |
@ofrobots that means we'd have to figure out some kind of ssh jail, right? |
Yup. Has this been considered? I haven't seen this discussed anywhere. |
Using https://nodejs.org/dist/index.json was suggested in the meeting (#737), @ofrobots let us know whether that works for you. |
[slight hijack here] According to documentation, autoindex is compiled in by default, so I'll see what we can do here. |
The latest release currently available on the rsync server is v8.6.0. It looks like it isn't being updated again. |
The timer that synchronizes the server was not enabled by default, and was disabled by a reboot. Should be fixed now. |
👍 |
I pulled a copy to mirrors.dotsrc.org which is hosted at Aalborg University, Denmark: Fell free to send some traffic our way. We sync every 6 hours. @ofrobots @jbergstroem |
Closing as stale, but if anyone wants to take this up feel free to reopen. |
Any thought on adding an rsync endpoint for this:
https://iojs.org/download/release/
The text was updated successfully, but these errors were encountered: