News for hackers. Stuff that matters.
Re:Tell HN: GitHub is down again by pasabagi on Saturday November 27, 2021 @04:25PM (#29363710)
Cargo has an --offline option. It's actually pretty possible to use rust totally offline - the doccumentation can be built, for instance, then locally served with (iirc) cargo doc.
Re:Tell HN: GitHub is down again by jiggawatts on Saturday November 27, 2021 @05:17PM (#29364123)
Offline should be the default, not an option.

Otherwise nobody will notice how fragile their workflow is until it is too late to fix it!

Re:Tell HN: GitHub is down again by Aeolun on Saturday November 27, 2021 @07:03PM (#29364867)
I recently realized I was the only person running the API locally when suddenly all our unmocked tests started failing only on my machine.

All other tests, including the ones on the CI server, were connecting to the hosted integration environment for any unmocked call (and thus randomly modifying state there).

Re:Tell HN: GitHub is down again by xfbs on Saturday November 27, 2021 @05:24PM (#29364193)
I build and host documentation on every commit anyways in the CI. And yes, that is true, I eventually figured it out (had some issues with it at first) but it seems like GitHub is back up so all's well anyhow. I do however wish that there was some public mirror that cargo could fall back to, wouldn't that make a lot of sense?
Re:Tell HN: GitHub is down again by still_grokking on Sunday November 28, 2021 @05:03AM (#29367679)
It would be good if such things would be hosted decentralized on something like say IPFS.