/oss · 7 merged

umputun/spot

A simple tool for deploying and setting up software on remote machines.

the project on GitHub (opens in a new tab)
  1. 4 Dec 2026

    Local sync keeps excluded files

    What was broken
    Syncing with delete turned on removed excluded files, like a database or .env, when run locally, while the same task over SSH kept them.
    What I changed
    The local cleanup now skips excluded paths, and a pattern like .* no longer stops it from running.
    Why it matters
    Local deploys no longer wipe data and secrets that were meant to stay.

    see the code, #393 (opens in a new tab)

  2. 30 Nov 2026

    Local mode runs without an SSH key

    What was broken
    Running in local mode stopped with an error when there was no default SSH key, as on many CI machines, even though local mode never connects anywhere.
    What I changed
    Local mode now skips looking for the key.
    Why it matters
    Playbooks run locally on CI runners and machines with other key types.

    see the code, #385 (opens in a new tab)

  3. 30 Nov 2026

    Appending a line that starts with a dash works once

    What was broken
    When the text to look for started with a dash, like a Java memory setting, the check failed and the line was added again on every run.
    What I changed
    The text is now passed to the search so it can never be read as an option.
    Why it matters
    Config files keep one copy of the line instead of growing on each deploy.

    see the code, #384 (opens in a new tab)

  4. 27 Nov 2026

    Appended lines start on their own line

    What was broken
    Appending a line to a file that did not end with a newline glued the new text onto the last line, turning name=a into name=adebug=true, and still reported success.
    What I changed
    The append now adds a newline first when the file is missing one.
    Why it matters
    Config changes made by deploy tasks land as separate lines instead of silently corrupting the setting before them.

    see the code, #381 (opens in a new tab)

  5. 25 Nov 2026

    Line replace and append write the text you gave

    What was broken
    Replacing or appending a line with &, a quote or a backslash in it wrote different text or failed. A $ from a script variable gained a backslash.
    What I changed
    The text is now escaped for sed and the shell, so it lands in the file exactly as written.
    Why it matters
    Config edits come out exactly as intended.

    see the code, #380 (opens in a new tab)

  6. 20 Nov 2026

    Secrets with a $ or backtick reach the server unchanged

    What was broken
    Secrets passed to commands were changed by the remote shell. A password with a $ lost part of its value, and a backtick ran as a command.
    What I changed
    Secret values are now escaped so the shell reads them back exactly, and logs still hide them.
    Why it matters
    Services get the password they were meant to get, and secrets cannot run commands.

    see the code, #378 (opens in a new tab)

  7. 19 Nov 2026

    Replacing a line only changes the lines that match

    What was broken
    A rule to replace the line starting with PORT also rewrote lines like DB_PORT and REDIS_PORT. On server configs it changed commented lines too.
    What I changed
    The "starts with" and "ends with" parts of the match are now kept, so only the right lines change.
    Why it matters
    Config edits no longer quietly break other settings in the same file.

    see the code, #377 (opens in a new tab)

← every project