How to write idempotent Bash scripts

This page summarizes the projects mentioned and recommended in the original post on /r/coding

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • fuckitjs

    The Original Javascript Error Steamroller

  • Yep -- this is why set -e is important. Oops, somedir did not exist yet, and your entire script stopped, and now you need to figure out where you went wrong and make your script more resiliant, instead of hoping it'll just keep going.

  • alarm-ansible

    Arch Linux ARM Ansible Scripts

  • I had a similar application to the author of the article (create a new rootfs). I decided to use ansible scripts instead, most tasks in there are supposed to be idempotent and declarative.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts