Skip to content

Pinax 0.9.0: action

Choose a tag to compare

@robert-mcdermott robert-mcdermott released this 29 Oct 02:52
· 58 commits to main since this release
040f080

Ninth release (wave 9, "action"): totals that count a hard-linked file once, views a person saves and shares with
their labs, and searches of a whole filesystem that run in the background, past a page's time limit. It comes before
the production pilot (now wave 10, 0.10.0), which still waits for production storage. See
pinax-spec/roadmap.md.

Upgrading from 0.8.0: indexes are now version 7; older ones still answer, counting every hard link, so run
pinax rebuild --outdated (charges for storage in hard links fall when they are counted once). The catalog gains
saved_view and search_job tables, created at start-up. New settings: PINAX_JOB_TIMEOUT (3600) and
PINAX_JOB_DAYS (7); results of searches in the background are kept under PINAX_VAR_ROOT/jobs.

Added

  • Saved views. Save view on any report keeps the page as it is (the report, the folder, and the settings)
    under a name, to oneself or shared with one of one's labs; My data and All data list them, with who sees each.
    A view is only a page's address, so whoever opens it sees only what they may.
  • Searches in the background. A search of a whole filesystem on Find files can run in the background, past a
    page's time limit: every match is kept, as a table and a CSV, on Searches for PINAX_JOB_DAYS (7), each search
    within PINAX_JOB_TIMEOUT (an hour), at most PINAX_WIDE_QUERIES at once. For administrators.

Changed

  • Totals count a hard-linked file once. A file with several hard links counts its size at its first link by
    path; its other links are files with no size, in every total and so in charges. The age map's panel says what a
    folder's extra links hold. Find files still lists every link. pinax check stays equal to fs-inventory rollup, which it now runs on a copy of a hard-linked scan with the extra links' sizes taken out.
  • Index version 7 keeps each folder's extra hard links. Older indexes still answer, counting every link;
    pinax rebuild --outdated counts them once.
  • The roadmap. Action comes next as wave 9 (0.9.0), before the production pilot (now wave 10) and reach (now
    wave 11), since the pilot is still out of reach.