Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 14 Sep 06:23
· 33 commits to master since this release
v0.4.0
ad39dbe

Upgrading

  • If you already used rad backup schedule, run it again with the same flags, then take a backup. The timer it set up may not have found rad. Its backups then left out your private repositories, and with --keep they may have deleted the older archives that still had them.
  • If a script matches text in doctor, verify or restore --json output, change it. For doctor and verify, match each check on its new checkId instead. The doctor checks once called delegate quorum, other seeds and signed refs propagation have the ids sole-delegate, public-repositories and unshared-work. For restore, read the atRisk, ahead and notChecked lists.

Added

  • doctor --json and verify --json now give each check an id that stays the same when the wording changes. It is called checkId. restore --json gives each repository one too, called standingId.

Changed

  • Output across commands is reworded into plainer, more immediately understandable sentences. The summary after a backup labels each line.
  • doctor shows a check as skipped when there is nothing to check yet, such as before your first backup. It used to count those as "could not be checked". --json has a new skipped verdict and count.
  • doctor warns that you are the only delegate of a repository only when rad-backup knows of no backup of your key.
  • A backup with the node running no longer shows a warning. It notes that a repository syncing during the backup may be saved slightly behind.

Fixed

  • A backup of private repositories that cannot find rad now exits 3. Without rad it cannot tell which repositories are private, so it saves none of them. It used to exit 0, so a scheduled run looked successful.
  • --keep and prune no longer delete your last complete archive when the newer ones are missing repositories.
  • Commands that look for your archives now skip a file that is only named like one, such as a renamed copy. prune and --keep used to delete such a file first.
  • A timer set up by rad backup schedule now finds rad, even in ~/.radicle/bin. A timer does not see your shell's PATH, so schedule now saves where rad is. When schedule cannot find rad, it sets up no timer.
  • schedule now refuses a path that systemd would misread, such as one with a backslash or a line break. The crontab line it prints for a machine without systemd now works when a path contains %.
  • When restore could not compare a repository, it now tells you to clone it into a new, empty RAD_HOME before you write. It used to suggest rad sync --fetch, which cannot show that another node has newer work of yours.
  • restore now says to stop the old machine's node, if it still runs, before you start the node on the new machine. It used to talk about "the other" node as if one were running.
  • restore --no-reconcile no longer warns that repositories could not be compared. You turned the comparison off, so there is nothing to warn about.
  • diff now compares which repositories you seed and block, and which peers you follow and block. It used to compare only how many, so swapping one for another showed no change. This starts after your next backup or restore. diff --json lists the changes in a new policies field, which is null until then.
  • diff no longer lists a new repository twice.
  • verify --deep now shows a failed line for the archived repositories when any of them could not be opened or was empty. It used to show a passed line beside those problems, or no line at all.
  • doctor and other commands no longer warn about a helper file next to the node's database. SQLite creates that file, and it is harmless.
  • Several doctor findings are corrected. It no longer warns about a recent backup sent to standard output, or claims a machine was never restored. It now says when your node holds no public repositories. When your private repositories are in a different archive from the one it found, it names that archive. On a first run it suggests a full path for --output.
  • A backup no longer prints the same warning twice, or says the node is running when it could not tell.
  • show now lists an archive's old warnings under "noted when this archive was taken". They used to look like current warnings.
  • In a script, prune, rad backup move and restore --words now tell you which flag to add when they cannot ask you. They used to give advice that did not fit, such as dropping a --dry-run you had not passed.
  • An empty passphrase no longer suggests --plaintext. That flag only matters when you create an archive.
  • When RAD is set to a program that cannot be run, commands now say so. They used to say rad was not on PATH.

Full Changelog: v0.3.0...v0.4.0