Code Monkey home page Code Monkey logo

hugo-extended's Introduction


$ npx @jakejarvis/cli
⸨░░░░░░░░⠂⠂⠂⠂⠂⠂⸩ ⠴ fetchMetadata: resolveWithNewModule @jakejarvis/[email protected]

        _     _     _  _   ___          _     _     ___  _    _   ___   ___
     _ | |   /_\   | |/ / | __|      _ | |   /_\   | _ \ \ \ / / |_ _| / __|
    | || |  / _ \  | ' <  | _|      | || |  / _ \  |   /  \ V /   | |  \__ \
     \__/  /_/ \_\ |_|\_\ |___|      \__/  /_/ \_\ |_|_\   \_/   |___| |___/

           Front-End Developer • Bostonian • Freelance Open-Sourcerer

❯ 🏡 Website           jarv.is
❯ 📬 Email             [email protected]
❯ 🦣 Mastodon          fediverse.jarv.is/@jake
❯ 📱 SMS               +1 (617) 917-3737
❯ 🔐 PGP Key           jrvs.io/key (2B0C 9CF2 51E6 9A39)

hugo-extended's People

Contributors

bbodine1 avatar dependabot-preview[bot] avatar dependabot[bot] avatar jakejarvis avatar mattsturgeon avatar real34 avatar satoshun00 avatar tygerbytes avatar xhmikosr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hugo-extended's Issues

Hugo exit status code isn't propagated for v0.84.0 or later

When our website contains an error and hugo reports the error as expected, hugo's 255 exit status code isn't being propagated:

$ npx hugo; echo $? 
Start building sites … 
hugo v0.84.0-2C4689F7B+extended darwin/amd64 BuildDate=2021-06-18T17:14:27Z VendorInfo=gohugoio
Total in 131 ms
Error: Error building site: "/Users/chalin/git/lf/open-telemetry/opentelemetry.io/content/en/registry/instrumentation-go-xsam-database-sql.md:13:1": failed to unmarshal YAML: yaml: line 12: did not find expected key
0

Notice the 0 exit code being reported.

This wasn't the case for v0.83.x or earlier:

$ npx hugo version                    
hugo v0.83.0-4C65CECC+extended darwin/amd64 BuildDate=2021-05-01T12:10:08Z VendorInfo=gohugoio
$ npx hugo; echo $?
Start building sites … 
Total in 137 ms
Error: Error building site: "/Users/chalin/git/lf/open-telemetry/opentelemetry.io/content/en/registry/instrumentation-go-xsam-database-sql.md:13:1": failed to unmarshal YAML: yaml: line 12: did not find expected key
255

Notice the proper 255 exit code is being propagated.

This issue caused a build failure to go unnoticed, and a broken website to be deployed to our production server 😞. For details see, open-telemetry/opentelemetry.io#823.

Thanks for the hugo-extended package @jakejarvis, it's super convenient. I hope that this issue can be easily and quickly resolved.

/cc @austinlparker @nate-double-u @celestehorgan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.