ohr 0.0.1
Package Information
| Description | free software RAID management CLI Ohr is a free software management client for SAS RAID controllers speaking the MFI management interface of the Linux megaraid_sas driver, aiming for command-line compatibility with the controllers' proprietary management utility (byte-exact JSON machine output), with a friendlier OpenStack-style command line on top of the same interface. It talks to the controller through the character device exposed by the Linux megaraid_sas driver, using the MFI management interface protocol established by clean-room reverse engineering of the documented behaviour of the hardware interface. It contains no code from, and is not affiliated with, the controller vendor. |
|---|---|
| Maintainer | Debian OpenStack <team+openstack@tracker.debian.org> |
| Changed By | Thomas Goirand <zigo@debian.org> |
| Sponsor | zigo@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/openstack-team/third-party/ohr.git (browse) |
| Tracker | https://tracker.debian.org/pkg/ohr |
| Uploaded | 5 hours ago |
New Package Report
.changes
| Date | Thu, 05 Nov 2026 21:41:01 +0100 |
|---|---|
| Source | ohr |
| Version | 0.0.1 |
| Changed-By | Thomas Goirand <zigo@debian.org> |
| Architecture | source all |
| Distribution | unstable |
Changelog
ohr (0.0.1) unstable; urgency=medium . * Initial packaging.
.dsc
| Component | main |
|---|---|
| Package-List | ohr deb admin optional arch=all |
| Section | admin |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ohr Source: https://salsa.debian.org/openstack-team/third-party/ohr Comment: This software was produced with the help of Euria Code, an AI coding agent powered by GLM-5. Files: * Copyright: (c) 2026, Thomas Goirand <zigo@debian.org> (c) 2026, Infomaniak <production@infomaniak.com> License: GPL-2.0-or-later License: GPL-2.0-or-later This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, see <https://www.gnu.org/licenses/>. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
DFSG Assistant LLM REVIEW 0 blocker, 1 important, 1 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 4 hours ago.
Proposes a replacement debian/watch:
debian/watch in version 5 format
Report
DFSG NEW review for ohr version 0.0.1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: Yes - Packaging is of good quality: Yes
- Issues: 0 blocker, 1 important, 1 minor
- debian/watch: old format (version 4)
- debian/copyright: machine-readable
- Scan before the review: 19 found
Licensing
debian/copyright is DEP-5 with the correct Format, one Files: * stanza naming both holders found anywhere in the tree (Thomas Goirand and Infomaniak) and GPL-2.0-or-later, plus a stand-alone GPL-2.0-or-later stanza with the grant text and a pointer to /usr/share/common-licenses/GPL-2. Every Python module and the bash-completion script carries the matching GPL-2+ header, LICENSE is the GPL-2 text, and the README/man page declare GPL-2.0-or-later. No other holder, licence notice or licence text exists in the tree; the megaraid_sas/mfi references are wire-format descriptions, not copied kernel or FreeBSD code, and the binary fixtures and PNG are the project's own test data and screenshot. The licences combined in the binary (GPL-2+ with Apache-2.0 cliff, choose GPLv3) are compatible.
Packaging
A conventional single arch:all Python package: debhelper compat 13 with dh-python/pybuild, dependencies split correctly between Build-Depends and Build-Depends-Indep, ${python3:Depends}/${misc:Depends} present, man page generated from docs/ohr.1.rst at build time, bash-completion installed to the right path, versioned unit-test autopkgtest using @builddeps@, correct Vcs-* fields, Standards-Version 4.7.4 (current Policy 4.7.4.1) and a sane initial changelog entry. All named build dependencies exist in the archive (openstack-pkg-tools 162, python3-cliff 4.16.0-5, debhelper-compat provided by debhelper 14.5), and the packaging matches the native 3.0 source format with no patches needed.
Issues
important packaging 1. uscan found no upstream version ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Problem: uscan ran without an error but found no upstream release with
debian/watch. - Fix: Correct
debian/watchso thatuscan --reportfinds the upstream releases.
minor packaging 2. debian/watch is in the old version 4 format ◂
- Files:
debian/watch - Basis: found by the review tooling's own checks
- Evidence:
version=4 - Problem: Version 5 is the current format of
debian/watch. - Fix: Convert it to version 5; a mechanical conversion is under Proposed changes.
Verified ◂
- Read all of debian/: control, rules, changelog, copyright, ohr.docs, ohr.install, ohr.manpages, source/format, tests/control, tests/unittests, salsa-ci.yml, and the .dsc beside the tree.
- Inventoried the whole 75-file tree; every .py file and bash-completion/ohr carry
# Copyright (c) 2026, Thomas Goirand <zigo@debian.org>and# Copyright (c) 2026, Infomaniak <production@infomaniak.com>with the GPL-2-or-later grant; these are exactly the holders and licence in theFiles: *stanza. - LICENSE is the GNU GPL version 2 text (ends with
END OF TERMS AND CONDITIONS); debian/copyright's stand-alone stanza supplies the GPL-2+ grant and points to /usr/share/common-licenses/GPL-2, and the short name GPL-2.0-or-later matches the headers and setup.cfg/README. - Grepped for Copyright/(C)/©, SPDX, BSD, MIT, ISC, Apache, MPL, public-domain and non-free wording across the tree with gitignore disabled: no other licence or holder notice appears; no LSI/Avago/Broadcom notices although the docstrings cite the megaraid_sas/mfi wire format, which they describe rather than copy.
- The 19 prescan binaries are all captured MFI response payloads used by the unit tests: ohr/tests/unit/fixtures/bbu-capacity.bin, bbu-design.bin, bbu-props.bin, bbu-status.bin (test_bbu.py); cfg-add-r0-2drives.bin, cfg-add-r1-2drives.bin (test_cfg_write.py); cfg-read-2xraid1.bin (test_cfg_read.py, test_commands.py); ctrl-info-ext.bin (test_ctrl_info_ops.py, test_show_all.py); encl-list-1x16slot.bin, encl-list-1x16slot-compact.bin (test_enclosure.py, test_commands.py); event-chunk.bin, event-log-state.bin (test_events.py); fx-inquiry-hdd.bin, fx-inquiry-ssd.bin, fx-pdinfo-hdd.bin, fx-pdinfo-ssd.bin, identify-ssd.bin (test_drive_show.py, test_identify.py); ld-info-vd0-raid1.bin, ld-info-vd1-raid1.bin (test_ld_info.py, test_commands.py). They are test data, not built artefacts, and are covered by
Files: *. - ohr/tests/unit/fixtures/show-c0-mini.json is an anonymized JSON capture of the vendor CLI used as the test_show_fixture.py golden output; factual machine output, test data, covered by
Files: *. - ohr-tui.png is the screenshot of the program's own curses TUI that README.md embeds (
); it is not a built artefact and is covered byFiles: *. - The man page is generated during build from docs/ohr.1.rst by rst2man and is not shipped pre-built in the source tree; the generated debian/ohr.1 is removed in override_dh_auto_clean.
- Checked every build dependency named in debian/control against the archive: openstack-pkg-tools 162, python3-cliff 4.16.0-5, python3-docutils, python3-fixtures, python3-stestr, python3-testtools, subunit, python3-pbr, python3-setuptools, dh-python, python3-all and debhelper-compat (= 13) (provided by debhelper 14.5 as
debhelper-compat (= 13)). - Runtime imports across ohr/ are standard library plus cliff only (cliff.app/command/lister/show/complete/commandmanager/formatters.table); python3-cliff is in Depends and everything else it needs (python3-prettytable, python3-docutils, python3-autopage, ...) comes from cliff's own Depends.
- Standards-Version 4.7.4 compared with Policy 4.7.4.1 from the policy tool: first two components equal, so current.
- debian/tests/control declares Tests: unittests with Depends
@, @builddeps@and Restrictions allow-stderr; the script calls pkgos-dh_auto_test from openstack-pkg-tools, which is in Build-Depends and thus in @builddeps@, and the test-only modules are in Build-Depends-Indep. At compat 13 dh skips the override_dh_auto_test target under nocheck, so the make-level guard is harmless. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (GPL-2).
Not confirmed ◂
- Could not build the package or run its tests; the conclusions rest on reading the sources, debian/ files and archive metadata.
- Did not open the 19 .bin fixtures or ohr-tui.png (binary/image files); they are judged from their names, the tests that read them and the README description.
- File permission bits are not visible through the available read tools, so the executable bit of debian/tests/unittests could not be checked.
Proposed: debian/watch in version 5 format ◂
debian/watch is in an old format. This is the conversion made by uscan --update-watchfile, which has not been run against the upstream site: some defaults differ in version 5, so test it with uscan --report before use.
Version: 5
Source: https://salsa.debian.org/openstack-team/third-party/ohr
Matching-Pattern: refs/tags/(\d[brc\d\.]+)
Mode: git
Uversionmangle: s/\.0rc/~rc/;s/\.0b1/~b1/;s/\.0b2/~b2/;s/\.0b3/~b3/
Uploader's response to the LLM review
The uploader was emailed about the review 3 hours ago.
Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.
Other Reviews of this Package
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 0.0.1 | 8c18c019… | 2026-11-09 09:53 | 2026-11-09 09:53 | awm | rejected | VIEW |