Debian Patches
Status for golang-github-go-enry-go-enry/2.9.6+dfsg-2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| disable-internet-tests.patch | Keep the test suite independent of github/linguist Test_GeneratorTestSuite and Test_EnryOnLinguistCorpus clone github/linguist to build their sample corpus and golden fixtures, so skip them when ENRY_SKIP_NETWORK_TESTS is set. Test_EnryTestSuite normally uses the same clone for a few fixture-backed tests; skip those cases while retaining its self-contained tests and use small synthetic inputs for classifier coverage. debian/rules exports the variable for builds and autopkgtests so neither relies on an external network service. |
Stephen Gelman <ssgelm@debian.org> | not-needed | 2026-08-12 | ||
| disable-benchmark-tests.patch | Drop benchmark_test.go from the build Its TestMain clones github/linguist over the network before any test or benchmark runs, and there's no test filter that stops it. Build hosts have no network, so this breaks every time. DH_GOLANG_EXCLUDES won't help either: dh-golang matches those patterns against package import paths from `go list`, not filenames, and this file shares its package with tests we still want to run. A Go build tag is the only way to pull just this one file out. |
Stephen Gelman <ssgelm@debian.org> | not-needed | 2026-07-31 | ||
| add-makeinfo-testdata.patch | Add a synthetic makeinfo-generated HTML fixture The repack drops _testdata/HTML/makeinfo.html (see Files-Excluded in debian/copyright). The real file is a page from the GNU Emacs Manual, carrying a GFDL 1.3 notice with Invariant Sections, Front-Cover and Back-Cover texts so it's not DFSG-compliant. TestIsGenerated in utils_test.go still needs something at this path with a <meta name="generator" content="makeinfo ..."> tag, so this adds a small original fixture with none of the manual's actual content. |
Stephen Gelman <ssgelm@debian.org> | not-needed | 2026-07-31 |
All known versions for source package 'golang-github-go-enry-go-enry'
- 2.9.6+dfsg-2 (forky, sid)
