DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: golang-github-jinzhu-gorm 1.9.16-1

Package Information

DescriptionORM library for Golang

The fantastic ORM library for Golang, aims to be developer friendly.

Overview

* Full-Featured ORM (almost) * Chainable API * Auto Migrations * Relations (Has One, Has Many, Belongs To, Many To Many, Polymorphism) * Callbacks (Before/After Create/Save/Update/Delete/Find) * Preloading (eager loading) * Transactions * Embed Anonymous Struct * Soft Deletes * Customizable Logger * Iteration Support via Rows * Every feature comes with tests * Developer Friendly

go doc format documentation for this project can be viewed online without installing the package by using the GoDoc page at: http://godoc.org/github.com/jinzhu/gorm

MaintainerDebian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed ByFélix Sipma <felix@debian.org>
Sponsorfelix@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/go-team/packages/golang-github-jinzhu-gorm.git (browse)
Closes#1156583
Popcon Installs10
Trackerhttps://tracker.debian.org/pkg/golang-github-jinzhu-gorm
Uploaded2 hours ago

New Package Report

.changes◂
Sourcegolang-github-jinzhu-gorm
Version1.9.16-1
Changed-ByFélix Sipma <felix@debian.org>
Architectureall source
Distributionunstable
DateSun, 06 Dec 2026 20:48:22 +0100
Changelog◂
golang-github-jinzhu-gorm (1.9.16-1) unstable; urgency=medium
 .
   * Re-introduce package (Closes: #1156583)
   * Modernize package
   * New upstream version 1.9.16
.dsc◂
Sectiongolang
Priorityoptional
Componentmain
Package-Listgolang-github-jinzhu-gorm-dev deb golang optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gorm
Source: https://github.com/jinzhu/gorm

Files: *
Copyright: 2013 Jinzhu <wosmvp@gmail.com>
License: Expat

Files: debian/*
Copyright: 2015 Tianon Gravi <tianon@debian.org>
License: Expat
Comment: Debian packaging is licensed under the same terms as upstream

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal in
 the Software without restriction, including without limitation the rights to
 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 of the Software, and to permit persons to whom the Software is furnished to do
 so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 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 0 hours ago.

Report◂

DFSG NEW review for golang-github-jinzhu-gorm version 1.9.16-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is DEP-5, with a Files: * stanza naming Jinzhu under Expat and a later Files: debian/* stanza, and the complete Expat text is present. The only licence file in the tree is License (MIT/Expat, "Copyright (c) 2013-NOW Jinzhu wosmvp@gmail.com"), whose holder and text match the copyright file; grep found no other copyright or licence notice in the 62 upstream files, and the prescan's holder check reports every holder it found named. There is no vendored third-party code, no non-free wording, and no excluded material needed.

Packaging

Modern, minimal Go-team packaging: debhelper compat 14 with dh-go and dpkg-build-api (= 1), one arch:all -dev package with Multi-Arch: foreign, no patches or maintainer scripts, changelog sane and closing a bug. All build and binary dependencies resolve in the archive (dpkg-build-api is provided by dpkg-dev 1.23.12, dh-sequence-single-binary by debhelper 14.5, golang-pq-dev by golang-github-lib-pq-dev), the non-test imports are all in Depends, and the test-only imports are there too, as is Go-team practice for shipped _test.go files. Testsuite: autopkgtest-pkg-go is backed by autodep8's go template, and the tests default to an offline sqlite3 database. Standards-Version 4.7.4 is current against Policy 4.7.4.1.

Issues

None.

Verified ◂
  • Read all of debian/ (control, rules, changelog, copyright, gbp.conf, gitlab-ci.yml, source/format, upstream/metadata) and the .dsc; the source builds one binary, golang-github-jinzhu-gorm-dev, Architecture: all, Multi-Arch: foreign.
  • Grepped all 62 upstream files for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, All rights reserved, public domain and for MIT/BSD/Apache/GPL/LGPL/Mozilla/CC mentions: only License (MIT) matches, and README.md is a two-line pointer to GORM v2 (not generated documentation).
  • The dialects/ files (mssql.go, mysql.go, postgres.go, sqlite.go), the _test.go files and the CI/config files (.github/*, wercker.yml, docker-compose.yml, test_all.sh, .gitignore) carry no copyright or licence header of their own and are covered by the single upstream Files: * stanza naming Jinzhu.
  • debian/copyright starts with the correct Format URL, Files: * → License: Expat with the full Expat text, Files: debian/* overrides it later, and the patterns are valid DEP-5 (copyright-format 6.9: * also matches dotfiles and subdirectories).
  • The prescan's dfsg-author-check found no holder missing from debian/copyright in its 62-file scan; no Files-Excluded is needed because the orig tarball is shipped whole with only debian/ added.
  • Build and binary dependencies checked with apt-cache: dh-go 1.71, golang-any 2:1.27~1, golang-github-denisenkom-go-mssqldb-dev, golang-github-erikstmartin-go-testdb-dev, golang-github-go-sql-driver-mysql-dev, golang-github-jinzhu-inflection-dev, golang-github-jinzhu-now-dev and golang-github-mattn-go-sqlite3-dev all exist; golang-pq-dev is provided by golang-github-lib-pq-dev 1.10.9-3; dpkg-build-api (= 1) is provided by dpkg-dev 1.23.12; dh-sequence-single-binary by debhelper 14.5.
  • Non-test imports are jinzhu/inflection (main) and denisenkom/go-mssqldb, go-sql-driver/mysql, lib/pq + lib/pq/hstore, mattn/go-sqlite3 (dialects), all in Depends; jinzhu/now and erikstmartin/go-testdb are imported only by main_test.go/create_test.go and are in Depends as well, matching Go-team practice of shipping test imports for the installed _test.go files (cf. golang-github-jcmturner-gokrb5.v8-dev).
  • Tests default to the sqlite3 dialect on a file in os.TempDir() (main_test.go OpenTestConnection), so the build and autopkgtest suite needs no database server; mysql/postgres/mssql are only opened when GORM_DIALECT is set.
  • Testsuite: autopkgtest-pkg-go is supported: /usr/share/autodep8/support/go/generate exists and generates Test-Command: /usr/bin/dh_golang_autopkgtest with Depends: @, @builddeps@, and dh-go provides dh_golang_autopkgtest.
  • debian/rules is the minimal dh invocation with --buildsystem=golang --with=golang, both provided by dh-go; single-binary mode is implicit at compat 14 and dh-sequence-single-binary is a harmless explicit no-op that forward-ports to compat 15; /usr/share/perl5/Debian/Debhelper/Sequence/single_binary.pm confirms it only passes --destdir and refuses multiple binary packages.
  • No debian/patches, debian/compat, maintainer scripts, install/links/docs/dirs files or debian/tests directory; 3.0 (quilt) with an empty patch series is consistent.
  • The trailing comma after golang-pq-dev in Build-Depends is tolerated: dpkg-gencontrol re-rendered the field in the .dsc without it (Dpkg::Deps splits on commas and Perl's split drops the trailing empty field).
  • Standards-Version 4.7.4 matches the first two components of the reviewing system's Policy 4.7.4.1; debhelper compat 14 is supported and not deprecated; changelog distribution is unstable, the version 1.9.16-1 is above the previous 1.9.6-2, and the date/trailer are well formed.
  • uscan found the packaged version as the newest upstream release (upstream 1.9.16, packaged 1.9.16).
Not confirmed ◂
  • I could not determine from the system which debhelper 14.x release first provided the dh-sequence-single-binary addon, so whether the unversioned entry is satisfied on debhelper 14.0-14.4 as well as the installed 14.5; a build against an older 14.x would show it. At compat 14 the addon changes nothing, so this does not affect the build here.
Proposed changes ◂

None.

Uploader's response to the LLM review

The review found no issues, so no response is needed.

Review Information

accepted — allocated to siretart 0 hours ago, started 0 hours ago, completed 0 hours ago.

Final Comment

Back to Dashboard | View all reviews for this package