Skip to content

FiberQ v1.7.0

Latest

Choose a tag to compare

@vukovicvl vukovicvl released this 24 Nov 06:38
· 2 commits to main since this release
09485da

Tested on five QGIS versions, by a pipeline anyone can run.

Every FiberQ release is now tested before it ships on QGIS 3.22, 3.40, 3.44, 4.0 and 4.2, in the official Linux images, with Qt5 and Qt6, and installed from a zip of it and used in the real QGIS desktop on 3.40 and 4.2. The tests run in a pipeline of plain scripts that anyone with git and Docker or Podman can run on their own machine, with or without a forge (tested on Linux x86-64 with Docker). This release adds that pipeline and the tests behind it, and fixes two defects, one of them in Lay cable.

Tested on five QGIS versions

  • A pipeline anyone can run. The scripts in ci/ run FiberQ's test suite in the official QGIS Linux images, each pinned by its digest, from QGIS 3.22, the oldest that FiberQ supports, to 4.2. They also check that every module imports on the oldest QGIS and Python, lint the plugin with the settings of the plugins.qgis.org scan, check for Qt5-only code as its Qt6 Check tab does, build the zip, and install a zip of the same tree in the real QGIS desktop on 3.40 and 4.2 to work through a short design. ci/README.md says what a machine needs and how to run it, with or without a forge.
  • On every push. GitHub runs it on three QGIS versions (on all five, with the desktop test, for release branches and tags), and GitLab runs part of it for main, release branches and tags.
  • Releases are made with it. RELEASE.md describes the process: the release tag is created only when the full run has passed on the exact tree being tagged. This release's run record is docs/ci/1.7.0.md.

New tests

  • What FiberQ builds at start-up, its toolbars, menus and keys, against a recorded list; and what it leaves behind when it unloads, which may only shrink.
  • The core logic, from the cable path across several routes to the colour catalogues, pipes and drawings, and one project taken from before 1.0 all the way to a re-imported interchange bundle.
  • The tests that need neither QGIS nor GDAL run on their own in under a minute.
  • The new tests raise the statement coverage of the core logic from 71.8% to 76.9%. docs/testing.md has the table, the test tiers and how to run each.

Fixed

  • Lay cable between two elements nearest the same route vertex wrote a cable of one point, 0 m long, and reported success, and FiberQ Undo could then delete the newest saved cable instead of it. Lay cable now searches the joined routes there, as it does for any pair with no path along the network, and warns and writes nothing when that finds no path. The Pipe tool, which drew a pipe of one point there, now also searches the joined routes and draws its straight pipe when that finds no path.
  • FiberQ's logging module failed to load outside QGIS, where only its tests run it. Inside QGIS nothing changes.

Also in this release

  • SECURITY.md says how to report a security problem privately, and which versions get security fixes.
  • Corrected in the interchange guide, §8: it said the round trip is asserted in CI on every commit, but up to 1.6.0 CI ran only on pull requests and on pushes to main. It now says the test suite asserts it, and CI runs the suite on every push to GitHub.
  • Corrected in the changelog's 1.6.0 entry: what happens to an unreadable relations, latent elements or colour catalogues entry. It is reported, and its text is kept in the project under a separate key before anything can be saved over it.

Quality

  • The release run on the tagged tree passed every stage: the full test suite on QGIS 3.22, 3.40, 3.44, 4.0 and 4.2 (2,487 to 2,518 tests passed on each, none failed), the lint with the plugins.qgis.org scan settings (flake8, Bandit and detect-secrets: 0 findings), and the zip installed and used in the real QGIS desktop on 3.40 and 4.2 (59 of 59 checks on each). No test that passed on 1.6.0 was lost.
  • Tested by hand in QGIS 4.4.0 on Linux: installed from the zip in a clean profile, used on a new project and opened on an older one. The Lay cable fix was checked by script in the real QGIS 4.4.0 application, drawn off-screen; with 1.6.0, the same steps still write the one-point cable. The QGIS 3.40 part of the release test list was run by script in QGIS 3.40.15.
  • No slowdown against 1.6.0 that reproduced, measured by the method of docs/performance.md; PR #83 describes each session.

Targets QGIS 3.22 LTR → QGIS 4 / Qt6.


The test pipeline and the new tests, with their guides, were developed with support from the NLnet NGI0 Commons Fund, as listed in PR #83. Everything else in this release, including the two fixes, the logger fix's test, the two corrections and SECURITY.md, was not funded by it.

If FiberQ saves you time, you can help fund its development: GitHub Sponsors · other ways to give.