bevry / staticsitegenerators-website

Website containing the complete listing of static site generators
https://staticsitegenerators.net
Other
364 stars 29 forks source link

Website still gets published with invalid YAML syntax #25

Closed balupton closed 8 years ago

balupton commented 8 years ago

This happened:

<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>

<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="viewport" content="width=device-width"/>

<title>Static Site Generators</title>
<meta name="description" content="The definitive listing of Static Site Generators"/>
<meta name="keywords" content="static site generator, static site, static, site, web site, web app, app, application, web application, seo, search engine optimisation, fast, flat file, cms, content management system, nosql, node.js, ruby, javascript, python"/>

<meta name="generator" content="DocPad v6.78.4"/>

<link rel="stylesheet" href="/vendor/normalize.css?websiteVersion=0.1.6"/><link rel="stylesheet" href="/vendor/semanticui/css/semantic.min.css?websiteVersion=0.1.6"/><link rel="stylesheet" href="/styles/style.css?websiteVersion=0.1.6"/>

<link rel="shortcut icon" href="/favicon.ico"/>
</head>
<body class="index">
<header class="ui block header">
<h1>
Static Site Generators
<div class="sub header">
The definitive listing of Static Site Generators &mdash; all 0 of them!
</div>
</h1>
<iframe class="service-buttons-container"></iframe>
<div class="error">
An error has occured when parsing the latest static site generators data feed:
<pre><code>YAMLException: duplicated mapping key at line 1829, column 28:
      website: &quot;http://vlv.io/&quot;
                               ^
  at generateError (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:161:10)
  at throwError (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:167:9)
  at storeMappingPair (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:304:7)
  at readBlockMapping (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:1064:9)
  at composeNode (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:1327:12)
  at readBlockSequence (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:923:5)
  at composeNode (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:1326:12)
  at readDocument (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:1490:3)
  at loadDocuments (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:1546:5)
  at Object.load (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/js-yaml/lib/js-yaml/loader.js:1563:19)
  at module.exports.yaml.parse (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/out/lib/plugins.js:82:37)
  at generateParser (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/out/lib/feedr.js:246:16)
  at Request._callback (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/out/lib/feedr.js:474:18)
  at Request.self.callback (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/request/request.js:198:22)
  at emitTwo (events.js:87:13)
  at Request.emit (events.js:172:7)
  at Request.&lt;anonymous&gt; (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/request/request.js:1035:10)
  at emitOne (events.js:82:20)
  at Request.emit (events.js:169:7)
  at IncomingMessage.&lt;anonymous&gt; (/home/travis/build/bevry/staticsitegenerators-website/node_modules/feedr/node_modules/request/request.js:962:12)
  at emitNone (events.js:72:20)
  at IncomingMessage.emit (events.js:166:7)
  at endReadableNT (_stream_readable.js:893:12)
  at doNTCallback2 (node.js:429:9)
  at process._tickDomainCallback (node.js:384:17)
</code></pre>
<br/>
Please <a href="https://github.com/jaspervdj/static-site-generator-comparison/issues/new">create an issue</a> and let us know about this right away!
</div>
</header>
<article>
<table class="projects ui table segment sortable">
<thead>
<tr>
<th>Name</th>
<th class="numeric-sort">Stars</th>
<th>License</th>
<th>Language</th>
<th class="numeric-sort">Created</th>
<th class="numeric-sort">Updated</th>
<th>Source</th>
<th>Website</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th colspan="8">
<a href="https://github.com/jaspervdj/static-site-generator-comparison/edit/master/list.yaml" title="Update this static site generator listing" class="ui blue labeled icon button"><i class="list icon"></i> Update Listing</a>
<a href="https://github.com/bevry/staticsitegenerators" title="Update this website&rsquo;s content" class="ui blue labeled icon button"><i class="column layout icon"></i> Update Website</a>
<a href="./list.json" title="Get the listing in the JSON data format" class="ui grey labeled icon button"><i class="text file icon"></i> JSON Data</a>
</th>
</tr></tfoot>
</table>
</article>

<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<script>window.jQuery || document.write('<script src="/vendor/jquery.js"><\/script>')</script>

<script>(function(){
    var advancedRedirects = [[/^https?:\/\/(?:www\.staticsitegenerators\.net|staticsitegenerators\.herokuapp\.com|bevry\.github\.io\/staticsitegenerators)(.*)$/, "https://staticsitegenerators.net$1"]];
    var relativeURL = location.pathname + (location.search || '');
    var absoluteURL = location.href;
    advancedRedirects.forEach(function(value){
        var pattern = value[0], replacement = value[1], sourceURL, targetURL;
        if ( typeof pattern === 'string' ) {
            if ( pattern === relativeURL || pattern === absoluteURL ) {
                document.location.href = replacement;
            }
        }
        else {
            if ( pattern.test(sourceURL = relativeURL) || pattern.test(sourceURL = absoluteURL) ) {
                targetURL = sourceURL.replace(pattern, replacement);
                document.location.href = targetURL;
            }
        }
    })
})()</script><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-35505181-5');
ga('send', 'pageview');</script><script defer="defer" src="/vendor/semanticui/javascript/semantic.min.js?websiteVersion=0.1.6"></script><script defer="defer" src="//cdnjs.cloudflare.com/ajax/libs/floatthead/1.2.7/jquery.floatThead.min.js?websiteVersion=0.1.6"></script><script defer="defer" src="/scripts/tablesort.js?websiteVersion=0.1.6"></script><script defer="defer" src="/scripts/script.js?websiteVersion=0.1.6"></script>
</body>
</html>

The build should fail when the YAML is invalid... it should not continue the publish. Probably a feature for when we were hosted on heroku, which is now not what we want when published by travis.

/ref https://github.com/bevry/staticsitegenerators-website/issues/24