<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin-top:6.0pt;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.Code, li.Code, div.Code
{mso-style-name:Code;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-family:"Calibri",sans-serif">But when I try to push the GHC patch, I get this message<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Ah… it worked after a while. Maybe a mirroring thing?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">But in pushing to GHC I saw:<o:p></o:p></span></p>
<p class="Code">git push<o:p></o:p></p>
<p class="Code">Counting objects: 45, done.<o:p></o:p></p>
<p class="Code">Delta compression using up to 32 threads.<o:p></o:p></p>
<p class="Code">Compressing objects: 100% (45/45), done.<o:p></o:p></p>
<p class="Code">Writing objects: 100% (45/45), 27.56 KiB | 0 bytes/s, done.<o:p></o:p></p>
<p class="Code">Total 45 (delta 43), reused 0 (delta 0)<o:p></o:p></p>
<p class="Code">remote: performing commit message validations... <o:p></o:p></p>
<p class="Code">remote: Commit message validation passed! <o:p></o:p></p>
<p class="Code">remote: performing submodule-ref update validations... <o:p>
</o:p></p>
<p class="Code">remote: Submodule update(s) detected in fa29df02a1b0b926afb2525a258172dcbf0ea460:
<o:p></o:p></p>
<p class="Code">remote: utils/haddock => 24841386cff6fdccc11accf9daa815c2c7444d65
<o:p></o:p></p>
<p class="Code"><b><span style="color:red">remote: utils/hsc2hs => 9483ad10064fbbb97ab525280623826b1ef63959
<o:p></o:p></span></b></p>
<p class="Code">remote: OK <o:p></o:p></p>
<p class="Code">remote: performing whitespace validations... <o:p></o:p></p>
<p class="Code">remote: whitespace validation passed! <o:p></o:p></p>
<p class="Code">remote: mirroring ssh://git@git.haskell.org/ghc to ssh://git@github.com/ghc/ghc ...
<o:p></o:p></p>
<p class="Code">remote: To ssh://git@github.com/ghc/ghc <o:p></o:p></p>
<p class="Code">remote: 5f332e1..fa29df0 master -> master <o:p></o:p></p>
<p class="Code">remote: running notifier <o:p></o:p></p>
<p class="Code">To ssh://git@git.haskell.org/ghc.git<o:p></o:p></p>
<p class="Code"> 5f332e1..fa29df0 HEAD -> master<o:p></o:p></p>
<p class="Code">simonpj@cam-05-unx:~/code/HEAD$<span style="font-size:12.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">I did not intend to monkey around with hsc2hs. I can’t think how that happened, or whether it matter.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">With many apologies, would a wiser person that me like to see if I’ve accidentally messed up hsc2hs.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin:0cm;margin-bottom:.0001pt"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> ghc-devs [mailto:ghc-devs-bounces@haskell.org]
<b>On Behalf Of </b>Simon Peyton Jones via ghc-devs<br>
<b>Sent:</b> 07 December 2017 17:32<br>
<b>To:</b> ghc-devs@haskell.org<br>
<b>Subject:</b> Can't push to haddock<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">I’m trying to push a patch that needs a supporting change to haddock.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">I’ve pushed the haddock change to the ghc-head branch of ssh://git@github.com/haskell/haddock.git, which is (according to ‘packages’) the relevant haddock upstream repo.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">But when I try to push the GHC patch, I get this message<o:p></o:p></span></p>
<p class="Code">bash$ git push<o:p></o:p></p>
<p class="Code">Counting objects: 45, done.<o:p></o:p></p>
<p class="Code">Delta compression using up to 32 threads.<o:p></o:p></p>
<p class="Code">Compressing objects: 100% (45/45), done.<o:p></o:p></p>
<p class="Code">Writing objects: 100% (45/45), 27.56 KiB | 0 bytes/s, done.<o:p></o:p></p>
<p class="Code">Total 45 (delta 43), reused 0 (delta 0)<o:p></o:p></p>
<p class="Code">remote: performing commit message validations... <o:p></o:p></p>
<p class="Code">remote: Commit message validation passed! <o:p></o:p></p>
<p class="Code">remote: performing submodule-ref update validations... <o:p>
</o:p></p>
<p class="Code">remote: Submodule update(s) detected in fa29df02a1b0b926afb2525a258172dcbf0ea460:
<o:p></o:p></p>
<p class="Code">remote: utils/haddock => 24841386cff6fdccc11accf9daa815c2c7444d65
<o:p></o:p></p>
<p class="Code">remote: *FAIL* commit not found in submodule repo ('../haddock.git')
<o:p></o:p></p>
<p class="Code">remote: or not reachable from persistent branches <o:p>
</o:p></p>
<p class="Code">remote: hooklet hooks/update.secondary.d/check-submodule-refs failed
<o:p></o:p></p>
<p class="Code">remote: hooks/update.secondary died <o:p></o:p></p>
<p class="Code">remote: error: hook declined to update refs/heads/master <o:p>
</o:p></p>
<p class="Code">To ssh://git@git.haskell.org/ghc.git<o:p></o:p></p>
<p class="Code">! [remote rejected] HEAD -> master (hook declined)<o:p></o:p></p>
<p class="Code">error: failed to push some refs to 'ssh://git@git.haskell.org/ghc.git'<o:p></o:p></p>
<p class="Code">simonpj@cam-05-unx:~/code/HEAD$<o:p></o:p></p>
<p class="Code"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">What’s up? I have pushed the haddock commit!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">THanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Simon<o:p></o:p></span></p>
<p class="Code"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>