scripts-to-rule-them-all VS doit

Compare scripts-to-rule-them-all vs doit and see what are their differences.

scripts-to-rule-them-all

Set of boilerplate scripts describing the normalized script pattern that GitHub uses in its projects. (by github)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
scripts-to-rule-them-all doit
8 20
3,140 1,783
- 0.6%
0.0 0.0
over 1 year ago 6 months ago
Shell Python
Creative Commons Zero v1.0 Universal MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

scripts-to-rule-them-all

Posts with mentions or reviews of scripts-to-rule-them-all. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    Personally I like https://github.blog/2015-06-30-scripts-to-rule-them-all/ as a pattern and then let the authors do whatever crazy thing they want from there. In my experience, 99% of repos never move past using simple shell scripts with a few common functions with that pattern, and things are kept fairly simple. A select few repositories tend to mature enough that they are able to invest in swapping towards something more testable than shell scripts, and then you just have a couple people who stick to invoking `make` from the scripts but it's fine and nobody has to think about it except them. We don't stick to that exact set of scripts, but find that as long as you don't use more than like 10ish entrypoints in `script/*`, and have at least `script/bootstrap` it's fine.
  • Scripts to Rule Them All (2015)
    1 project | news.ycombinator.com | 20 Jan 2023
  • Just: A Command Runner
    27 projects | news.ycombinator.com | 9 Jan 2023
    I dig the general idea, but question the value add over a directory of `scripts` that follow sane conventions (ie `script/test`, `script/build` etc). Is the main thing that you can do `just -l` to see available commands? I have never really reached for `make` when I've had a choice, as I've done mostly ruby, JS, or java where you have more sane, humane tools (i.e. Rake, Yarn, Maven though that one is never fun).

    My general approach is every repo should have something that follows https://github.com/github/scripts-to-rule-them-all, written in sh (maybe bash, its 2023), linted with shellcheck. When you need something fancy Rake is great or grab some nice bash command line helper and source it from all your scripts. Is a command listing really worth another dependency over what you get from `ls script` or `cat script/README` ?

  • [AskJS] What is the best way to create a common npm package for building others?
    6 projects | /r/javascript | 6 Apr 2022
  • Azure Pipeline running task in background?
    1 project | /r/devops | 30 Jun 2021
    Afaik AzDo cannot run tasks concurrently. From having had to work with azure pipelines I would highly suggest to use the github approach of Scripts to rule them all and avoiding predefined tasks unless absolutely necessary(Things that are complicated to implement and solutions already existing.
  • Why is uncoupled documentation bad?
    6 projects | news.ycombinator.com | 6 Jun 2021
    GitHub have a pattern for this called "scripts to rule them all" - https://github.com/github/scripts-to-rule-them-all - I've not fully adopted it yet but I probably should, it looks very well thought-out.
  • Script up your projects
    3 projects | dev.to | 2 Feb 2021
    People at Github made an attempt to fix this situation: scripts to rule them all. The idea is to have common set of executable scripts for common developer tasks in a script/ directory in the root of every project:
  • How to Join a Team and Learn a Codebase
    2 projects | news.ycombinator.com | 16 Jan 2021
    https://github.com/github/scripts-to-rule-them-all

doit

Posts with mentions or reviews of doit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • How do you deal with CI, project config, etc. falling out of sync across repos?
    2 projects | /r/ExperiencedDevs | 6 Dec 2023
    I like mage for Go and doit for Python.
  • What’s with DevOps engineers using `make` of all things?
    17 projects | /r/devops | 6 Dec 2023
    Some competitors - Rake (ruby) - Bake - Earthly - SCons - doit
  • Show HN: Jeeves – A Pythonic Alternative to GNU Make
    7 projects | news.ycombinator.com | 5 Nov 2023
    An alternative to Scons could be Doit (<https://pydoit.org/>), which if I remember correctly was built as a faster alternative to Scons. See also reasons of some users to prefer the later to other mentioned here: <https://pydoit.org/stories.html>.
  • A Python powered task management and automation tool
    1 project | news.ycombinator.com | 1 Jul 2023
  • Makefile Tricks for Python Projects
    2 projects | news.ycombinator.com | 27 May 2023
  • Write Posix Shell
    10 projects | news.ycombinator.com | 11 Mar 2023
    If you code in Python, your probably should use the language as much as possible and avoid calling shell commands.

    E.G:

    - manipulate the file system with pathlib

    - do hashes with hashlib

    - zip with zipfile

    - set error code with sys.exit

    - use os.environ for env vars

    - print to stderr with print(..., file=...)

    - sometimes you'll need to install lib. Like, if you want to manipulate a git repo, instead of calling the git command, use gitpython (https://gitpython.readthedocs.io/en/stable/)

    But if you don't feel like installing a too many libs, or just really want to call commands because you know them well, then the "sh" lib is going to make things smoother:

    https://pypi.org/project/sh/

    Also, enjoy the fact Python comes with argparse to parse script arguments (or if you feel like installing stuff, use typer). It sucks to do it in bash .

    If what you need is more build oriented, like something to replace "make", then I would instead recommend "doit":

    https://pydoit.org/

    It's the only task runner that I haven't run away from yet.

    Remember to always to everything in a venv. But you can have a giant venv for all the scripts, and just she-bang the venv python executable so that it's transparent. Things don't have to be difficult.

  • Alternatives to Makefile for Python
    9 projects | /r/Python | 25 Jan 2023
    I've been using Doit for a project which involves gathering together documents made up of multiple Markdown files and converting to multiple formats. It's really cool but has some irritations. It didn't end up being much simpler than Make for me. I'm interested in trying some of the alternatives people have posted.
  • Just: A Command Runner
    27 projects | news.ycombinator.com | 9 Jan 2023
  • I used Python to control a custom stop-motion animation drawing machine
    6 projects | /r/Python | 26 Dec 2022
    The code for all of this is available here, and described in detail in my article. I'm particularly fan of doit for this type of project, and highly encourage everyone to check it out!
  • Monorepo Build Tools
    4 projects | /r/programming | 15 Dec 2022
    Instead, I use pydoit (which is basically a Python version of make). It's simple, flexible, and quite extensible. So, here's what I do with it:

What are some alternatives?

When comparing scripts-to-rule-them-all and doit you can also consider the following projects:

govuk_design_system_formbuild

Invoke - Pythonic task management & command execution.

django-sql-dashboard - Django app for building dashboards using raw SQL queries

Prefect - The easiest way to build, run, and monitor data pipelines at scale.

govuk-form-builder - A form builder for Ruby on Rails that’s compatible with the GOV.UK Design System.

Joblib - Computing with Python functions.

generate-package - Use as a sub-generator or plugin in your generator to create a package.json for a project. Or install globally and run with Generate's CLI.

schedule - Python job scheduling for humans.

pure-sh-bible - 📖 A collection of pure POSIX sh alternatives to external processes.

Task - A task runner / simpler Make alternative written in Go

confgen - Generate repetitive configs for vite, typescript, eslint, etc

TaskFlow - A library to complete workflows/tasks in HA manner. Mirror of code maintained at opendev.org.