Can't push to haddock
Simon Peyton Jones
simonpj at microsoft.com
Tue Dec 19 10:17:33 UTC 2017
Dominance does not mean best nor fit for purpose.
I could not agree more. Dominance leads to familiarity, and that /is/ valuable. And dominance suggests that it is fit for purpose for a large group. But the question is: what is fit for our purposes?
I think that is all that Herbert was getting at, and it’s the right question. I’m making no assumptions about the answer, just saying that we should have no built-in bias (for or against) cloud solutions.
(And perhaps you are right to question my suggestion that a cloud repo is more reliable than a home-grown one. I have no data.)
Simon
From: Phyx [mailto:lonetiger at gmail.com]
Sent: 19 December 2017 10:08
To: Simon Peyton Jones <simonpj at microsoft.com>
Cc: Herbert Valerio Riedel <hvriedel at gmail.com>; Sven Panne <svenpanne at gmail.com>; ghc-devs at haskell.org Devs <ghc-devs at haskell.org>
Subject: Re: Can't push to haddock
On Tue, Dec 19, 2017, 09:48 Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>> wrote:
It seems to me that there is some hostility towards GitHub in GHC HQ, but I don't really understand why. GitHub serves other similar projects quite well, e.g. Rust, and I can't see why we should be special.
Speaking for myself, I have no hostility towards GitHub, and there is no GHC-HQ bias against it that I know of. If it serves the purpose better, we should use it. Indeed that’s why I asked my original question. I agree with your point that data may actually be safer in GitHub than in our own repo. (And there is nothing to stop a belt-and-braces mirror backup system.)
These are just a few of the times github has been down in 2017 http://currentlydown.com/github.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcurrentlydown.com%2Fgithub.com&data=02%7C01%7Csimonpj%40microsoft.com%7C1c52c7575572488ac4d308d546c86aa5%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636492748958029820&sdata=vBbFJnbWgpHni%2F8XgiKH%2FuxRyrn8HuAWtNumTOXdjJM%3D&reserved=0> compared to haskell.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhaskell.org&data=02%7C01%7Csimonpj%40microsoft.com%7C1c52c7575572488ac4d308d546c86aa5%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636492748958029820&sdata=7Ts3wgunyQpDW52zDheEMaglwJkkOOmaRzVXItSrBSc%3D&reserved=0> http://currentlydown.com/haskell.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcurrentlydown.com%2Fhaskell.org&data=02%7C01%7Csimonpj%40microsoft.com%7C1c52c7575572488ac4d308d546c86aa5%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636492748958029820&sdata=xnwWSej2%2FNjVpyaXwtOHVT5J0tjupkV6eclr0AHt9no%3D&reserved=0>
Other third parties such as gitlab.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgitlab.com&data=02%7C01%7Csimonpj%40microsoft.com%7C1c52c7575572488ac4d308d546c86aa5%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636492748958029820&sdata=1lFZl6hp1o2wWfXF2bBw32FZ%2FcOLu2DL1DUuicwPVD0%3D&reserved=0> have suffered catastrophic data failures and by the very virtue of them being free means they don't owe you anything.
I have nothing against github for small projects. I have nothing but hate for it for large ones. And I don't see that changing any time soon as everything they do seems to be half baked and the bare minimum
The issue is: does GitHub serve the purpose better? http://currentlydown.co<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcurrentlydown.co&data=02%7C01%7Csimonpj%40microsoft.com%7C1c52c7575572488ac4d308d546c86aa5%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636492748958029820&sdata=nzhR0jckYxNBTs3mMlt0ubePxscA2pa8MCOr1E9niM4%3D&reserved=0> have frequently debated this multi-dimensional question. And we should continue to do so: the answers may change over time (GitHub’s facilities are not static; and its increasing dominance is itself a cultural familiarity factor that simply was not the case five years ago).
As is often the case in computing history. Dominance does not mean best nor fit for purpose. Supposedly switching to these cloud based CIs were suppose to solve all our issues. And to this day none of them are working not withstanding the massive amount of effort wasted to get them to work.
Simon
From: Sven Panne [mailto:svenpanne at gmail.com<mailto:svenpanne at gmail.com>]
Sent: 19 December 2017 09:30
To: Herbert Valerio Riedel <hvriedel at gmail.com<mailto:hvriedel at gmail.com>>
Cc: Simon Peyton Jones <simonpj at microsoft.com<mailto:simonpj at microsoft.com>>; ghc-devs at haskell.org<mailto:ghc-devs at haskell.org> Devs <ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>>
Subject: Re: Can't push to haddock
2017-12-19 9:50 GMT+01:00 Herbert Valerio Riedel <hvriedel at gmail.com<mailto:hvriedel at gmail.com>>:
We'd need mirroring anyway, as we want to keep control over our
infrastructure and not have to trust a 3rd party infrastructure to
safely handle our family jewels: GHC's source tree.
I think this is a question of perspective: Having the master repository on GitHub doesn't mean you are in immediate danger or lose your "family jewels". IMHO it's quite the contrary: I'm e.g. sure that in case that something goes wrong with GitHub, there is far more manpower behind it to fix that than for any self-hosted repository. And you can of course have some mirror of your GitHub repo in case of e.g. an earthquake/meteor/... in the San Francisco area... ;-)
It seems to me that there is some hostility towards GitHub in GHC HQ, but I don't really understand why. GitHub serves other similar projects quite well, e.g. Rust, and I can't see why we should be special.
Also, catching bad commits "a bit later" is just asking for trouble --
by the time they're caught the git repos have already lost their
invariant and its a big mess to recover;
This is by no means different than saying: "I want to run 'validate' in the commit hook, otherwise it's a big mess." We don't do this for obvious reasons, and what is the "big mess" if there is some incorrect submodule reference for a short time span? How is that different from somebody introducing e.g. a subtle compiler bug in a commit?
the invariant I devised and
whose validation I implemented 4 years ago has served us pretty well,
and has ensured that we never glitched into incorrectness; I'm also not
sure why it's being suggested to switch to a less principled and more
fragile scheme now. [...]
Because the whole repository structure is overly complicated and simply hosting everything on GitHub would simplify things. Again: I'm well aware that there are tradeoffs involved, but I would really appreciate simplifications. I have the impression that the entry barrier to GHC development has become larger and larger over the years, partly because of very non-standard tooling, partly because of the increasingly arcane repository organization. There are reasons that other projects like Rust attract far more developers... :-/
</GrumpyMode>
_______________________________________________
ghc-devs mailing list
ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%7Csimonpj%40microsoft.com%7C1c52c7575572488ac4d308d546c86aa5%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636492748958029820&sdata=s1vHBNKIPk7MZzTWEHYZTTclAOtMeprrRA70ZulngLQ%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20171219/7a85a0ee/attachment-0001.html>
More information about the ghc-devs
mailing list