digitalmars.D - Request for approval: deploying dlang.org on merge
- Seb (23/27) May 26 2016 Hey,
- Andrei Alexandrescu (4/29) May 26 2016 If Vladimir is okay with auto-deployment I'm okay too. Move fast! The
- Dicebot (4/7) May 26 2016 You don't need to avoid - just hit "revert" button and rely on
- Seb (4/11) May 26 2016 Moreover we have Vladimir's DAutoTest that allows us to preview
- Vladimir Panteleev (12/16) Jun 03 2016 This is now live. (Perhaps it should be posted in Announce?)
- Andrei Alexandrescu (4/17) Jun 04 2016 Sounds like a good seed for a wiki page.
- Jesse Phillips (5/9) May 27 2016 Would this mean the website always reflects Phobos HEAD? Is that
- Joakim (6/15) May 27 2016 They're talking about the dlang.org repo, which doesn't contain
- Steven Schveighoffer (5/16) May 27 2016 This should be done for both dlang.org, and phobos+druntime, and should
Hey, Let me tell you a little story - once there was the amazing Dconf at the beginning of this month (4-6.5). We put a notice about it on dlang.org "DConf 2016 is coming up: May 4-6 in Berlin, Germany. Secure your seat before it's sold out!". It took two weeks, but finally karthikeyan had the time to shout and report the outdated message [1]. The PR was merged subsequentially quite fast, but this was more than a weeek ago and we still have the annoucement about DConf on our landing page. I talked with CyberShadow a bit, because setting up a CI and deploying the website automatically on a merge doesn't seem difficult and to quote him the main problem is approval:We already have http://wiki.dlang.org/User:Vladimir_Panteleev/Website_staging so it's not a matter of implementation, just everyone agreeing that it's what we want to doImho it makes a lot of sense to do this, because showing such horribly (>=more than three weeks) outdated news on dlang.org makes a terrible impression and merging something should be the approval, not the huge latency of our dlang.org maintainer (no offense). If you are against this automatic deployment or want to do it manually yourself, please shout now. [1] https://issues.dlang.org/show_bug.cgi?id=16040 [2] https://github.com/dlang/dlang.org/pull/1304
May 26 2016
On 5/26/16 11:53 AM, Seb wrote:Hey, Let me tell you a little story - once there was the amazing Dconf at the beginning of this month (4-6.5). We put a notice about it on dlang.org "DConf 2016 is coming up: May 4-6 in Berlin, Germany. Secure your seat before it's sold out!". It took two weeks, but finally karthikeyan had the time to shout and report the outdated message [1]. The PR was merged subsequentially quite fast, but this was more than a weeek ago and we still have the annoucement about DConf on our landing page. I talked with CyberShadow a bit, because setting up a CI and deploying the website automatically on a merge doesn't seem difficult and to quote him the main problem is approval:If Vladimir is okay with auto-deployment I'm okay too. Move fast! The only question is, how do we avoid cases in which a deployment breaks something important? -- AndreiWe already have http://wiki.dlang.org/User:Vladimir_Panteleev/Website_staging so it's not a matter of implementation, just everyone agreeing that it's what we want to doImho it makes a lot of sense to do this, because showing such horribly (>=more than three weeks) outdated news on dlang.org makes a terrible impression and merging something should be the approval, not the huge latency of our dlang.org maintainer (no offense). If you are against this automatic deployment or want to do it manually yourself, please shout now. [1] https://issues.dlang.org/show_bug.cgi?id=16040 [2] https://github.com/dlang/dlang.org/pull/1304
May 26 2016
On Thursday, 26 May 2016 at 16:38:16 UTC, Andrei Alexandrescu wrote:If Vladimir is okay with auto-deployment I'm okay too. Move fast! The only question is, how do we avoid cases in which a deployment breaks something important? -- AndreiYou don't need to avoid - just hit "revert" button and rely on auto-deploy of reverted version.
May 26 2016
On Thursday, 26 May 2016 at 16:43:20 UTC, Dicebot wrote:On Thursday, 26 May 2016 at 16:38:16 UTC, Andrei Alexandrescu wrote:Moreover we have Vladimir's DAutoTest that allows us to preview every PR, s.t. chances that we merge such a PR are low ;-)If Vladimir is okay with auto-deployment I'm okay too. Move fast! The only question is, how do we avoid cases in which a deployment breaks something important? -- AndreiYou don't need to avoid - just hit "revert" button and rely on auto-deploy of reverted version.
May 26 2016
On Thursday, 26 May 2016 at 16:38:16 UTC, Andrei Alexandrescu wrote:If Vladimir is okay with auto-deployment I'm okay too. Move fast!This is now live. (Perhaps it should be posted in Announce?)The only question is, how do we avoid cases in which a deployment breaks something important? -- Andrei1. Check the documentation tester results before merging anything. This also applies to other components (Phobos, Druntime, DMD) though most changes there are unlikely to break things. 2. If something breaks, make and merge a PR which reverts or fixes it. Pushing directly to master would also work, but wouldn't make a big difference in practice. 3. If that doesn't work, people with access can always ssh to dlang k3.1azy.net or dlang.org to fix things by hand.
Jun 03 2016
On 06/03/2016 05:43 PM, Vladimir Panteleev wrote:On Thursday, 26 May 2016 at 16:38:16 UTC, Andrei Alexandrescu wrote:This is awesome, thank you guys for making it happen!If Vladimir is okay with auto-deployment I'm okay too. Move fast!This is now live. (Perhaps it should be posted in Announce?)Sounds like a good seed for a wiki page. AndreiThe only question is, how do we avoid cases in which a deployment breaks something important? -- Andrei1. Check the documentation tester results before merging anything. This also applies to other components (Phobos, Druntime, DMD) though most changes there are unlikely to break things. 2. If something breaks, make and merge a PR which reverts or fixes it. Pushing directly to master would also work, but wouldn't make a big difference in practice. 3. If that doesn't work, people with access can always ssh to dlang k3.1azy.net or dlang.org to fix things by hand.
Jun 04 2016
On Thursday, 26 May 2016 at 15:53:34 UTC, Seb wrote:Would this mean the website always reflects Phobos HEAD? Is that what the docs currently do? This probably shouldn't stop making the switch, more a reminder that we don't reflect the release version of DMD.We already have http://wiki.dlang.org/User:Vladimir_Panteleev/Website_staging so it's not a matter of implementation, just everyone agreeing that it's what we want to do
May 27 2016
On Friday, 27 May 2016 at 14:34:03 UTC, Jesse Phillips wrote:On Thursday, 26 May 2016 at 15:53:34 UTC, Seb wrote:They're talking about the dlang.org repo, which doesn't contain phobos docs. Those are statically generated from the source.Would this mean the website always reflects Phobos HEAD? Is that what the docs currently do?We already have http://wiki.dlang.org/User:Vladimir_Panteleev/Website_staging so it's not a matter of implementation, just everyone agreeing that it's what we want to doThis probably shouldn't stop making the switch, more a reminder that we don't reflect the release version of DMD.The language spec _is_ stored in that repo, but I don't think it has been kept in sync with the release version, ie only updated with a new dmd release.
May 27 2016
On 5/27/16 11:35 AM, Joakim wrote:On Friday, 27 May 2016 at 14:34:03 UTC, Jesse Phillips wrote:This should be done for both dlang.org, and phobos+druntime, and should reflect the stable branch for both. Totally in favor of this! -SteveOn Thursday, 26 May 2016 at 15:53:34 UTC, Seb wrote:They're talking about the dlang.org repo, which doesn't contain phobos docs. Those are statically generated from the source.Would this mean the website always reflects Phobos HEAD? Is that what the docs currently do?We already have http://wiki.dlang.org/User:Vladimir_Panteleev/Website_staging so it's not a matter of implementation, just everyone agreeing that it's what we want to do
May 27 2016