Skip to content

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 15 Nov 10:33
· 85 commits to main since this release
fd48833

Fixes

  • sacd-migrate --mount DIR moves albums catalogued on a sacdfs 0.4.0 mount to the names
    sacdfs 0.4.1 shows (NN.dsf to NN - Track NN.dsf for a track with no title), so beet update
    no longer removes their items after the mount is upgraded (#57). Without --apply it only
    reports. An item moves only when its old file is gone and the new name is the one file the
    mount shows for that track number; it keeps its id, added date and every other field. Nothing
    on the mount is touched and no item is removed. The upgrade order is in the README ("Upgrading
    the mount from sacdfs 0.4.0 to 0.4.1"). Tested on a throwaway library with directories laid
    out like each version's names, on the oldest and newest beets; not yet against a real mount.
    Measured on such a library: beet update after the upgrade removed all 3 items of a
    catalogued album, and cataloguing it again gave new items without the fields set by hand; with
    this change, the items keep those fields.

  • Tag fields set by hand on catalogued items (genre, year, title, ...) are no longer replaced by
    the mounted file's tags at the next beet update (#68). The mount is read-only, so beets
    couldn't write the edit to the file and left the item's mtime at 0; --catalogue never set
    it either. Catalogued items now record their file's mtime when they are catalogued and when a
    tag field is set, so beet update reads a file again only when its mtime changes on the mount
    (a changed ISO, an sacdfs upgrade that changes the files, a new tags file). Catalogued items
    also get the file's sample rate, bit depth and bit rate. sacd-migrate --mount DIR reports
    catalogued items with no recorded mtime and with --apply records it, changing no other field;
    items it moves to sacdfs 0.4.1 names get the new file's mtime. Tested on a throwaway library
    with DSF files from pysacd standing in for the mount, on the oldest and newest beets; CI checks
    on a real sacdfs main mount that a track's mtime stays the same across remounts.

Build and release

  • The release workflow refuses a v* tag that isn't v plus the package version, or whose commit
    isn't on main or a release/* branch, before anything is built or published (#65).
  • CI's Linux jobs run in Red Hat-derived containers: lint, the Linux test legs, fuzzing and the live
    MusicBrainz check and the release build in Fedora 44, semgrep, zizmor and the privacy check in UBI 10, with semgrep and
    zizmor installed from PyPI by hash instead of their vendors' images. CI only; the plugin is unchanged. (#58)