Commit Graph

2290 Commits

Author SHA1 Message Date
Kovid Goyal bfd86222ae Dont scan grype itself with grype 2025-11-02 15:43:19 +05:30
Kovid Goyal 54dfc86710 ... 2025-10-17 10:59:55 +05:30
Kovid Goyal cb56da890c Update grype db as part of installation 2025-10-17 10:29:45 +05:30
Kovid Goyal ced66a2815 Fix false positive CVEs 2025-10-17 09:54:37 +05:30
Kovid Goyal c41ff6ef85 Ignore spurious dep CVE 2025-10-12 07:01:48 +05:30
un-pogaz f9d745f500 slice to remove prefix or suffix (auto-fix)
ruff 'FURB188'
2025-10-11 17:21:25 +02:00
un-pogaz e428bb13ce refurbishing code (auto-fix)
ruff 'FURB'
2025-10-11 17:21:25 +02:00
un-pogaz 4553b9dc28 pep8 2025-10-11 17:21:25 +02:00
Kovid Goyal 1798fb5439 Merge branch 'ruff-pylint' of https://github.com/un-pogaz/calibre 2025-10-11 08:35:13 +05:30
Kovid Goyal 8820bffc86 Only change CMakeLists.txt for headless if actually building with Qt >= 6.10 2025-10-11 08:26:28 +05:30
un-pogaz 2c3edf5ad7 repeated equality comparison (extra-edit) 2025-10-10 08:24:40 +02:00
un-pogaz 0dc4e67529 repeated equality comparison (auto-fix)
ruff 'PLR1714' --unsafe-fixes
2025-10-10 08:24:40 +02:00
un-pogaz 9ef0ef4a8b collapsible else if (auto-fix)
ruff 'PLR5501'
2025-10-10 08:24:40 +02:00
un-pogaz a2e4515353 manual from import (auto-fix)
ruff 'PLR0402'
2025-10-10 08:24:39 +02:00
Kovid Goyal 13422da467 Require HSM for publish previews/betas as well 2025-10-10 09:43:55 +05:30
Kovid Goyal a054cbb081 Ignore some ffmpeg CVEs in depscan 2025-10-10 07:37:08 +05:30
Kovid Goyal 92b80412bf Abort publish early is HSM not available 2025-10-02 09:16:50 +05:30
un-pogaz 1ba1407c8b fix exception because try to read a byte object 2025-09-29 14:06:14 +02:00
Kovid Goyal ebc4c3aff6 Arch now requires libwebp-utils for cwebp 2025-09-25 08:09:03 +05:30
Kovid Goyal 0fb0fade07 Also scan windows bundle 2025-09-24 10:29:44 +05:30
Kovid Goyal 0c72143691 Proper fix for permission error in depscan 2025-09-24 10:13:55 +05:30
Kovid Goyal f47598f66f ... 2025-09-24 10:07:57 +05:30
Kovid Goyal 74bd44574f Bump version of deps for CVEs 2025-09-23 17:09:57 +05:30
Kovid Goyal 9680ef23fe Code to run grype to check dependencies for CVEs in CI 2025-09-23 16:30:27 +05:30
Kovid Goyal 5067e48eac Also retry downloads used during bootstrap 2025-09-22 12:42:05 +05:30
Kovid Goyal d3571561cc Retry tx download in CI script 2025-09-22 12:24:14 +05:30
Kovid Goyal 461ec48174 Avoid extra interpreter startup in hook 2025-09-21 12:31:49 +05:30
Kovid Goyal 8d8580973d ... 2025-09-21 11:03:08 +05:30
Kovid Goyal 89652f81f0 Fix pre-commit hook filter 2025-09-21 06:13:02 +05:30
Kovid Goyal cf725bee8c handle missing follow_symlinks on windows 2025-09-21 06:06:17 +05:30
Kovid Goyal 74662373cb Cleanup previous PR
Run the hooks using calibre-debug directly no need to go through sh
2025-09-20 16:51:15 +05:30
un-pogaz 2458e20dba add pre-commit git hook 2025-09-20 11:11:41 +02:00
un-pogaz a589785ad2 support passing a file as argument for check
and quiet ruff
2025-09-20 11:11:41 +02:00
un-pogaz 5fed12a0ca windows want its executable as first parameter 2025-09-20 11:11:41 +02:00
un-pogaz e7e1f86183 setup.py git_hooks
Install/uninstall git hooks
2025-09-20 11:11:41 +02:00
Kovid Goyal b32e33777a Rename git hook script
Its a commit message hook not a pre commit hook
2025-09-18 14:52:25 +05:30
Kovid Goyal cb3ae447dc Make CodeQL happy
Dont output github token to stdout during build
2025-09-15 14:47:46 +05:30
Kovid Goyal 1f69ab8701 Make CodeQL happy
None of these are actual issues, as is usual for CodeQL
2025-09-15 13:16:19 +05:30
Kovid Goyal 2431f1f47c ... 2025-08-21 10:39:25 +05:30
Kovid Goyal 20afcedbd8 Also retrieve plugin category when mirroring plugins 2025-08-21 10:37:09 +05:30
Kovid Goyal 9aa21105d4 Transifex CLI renamed on Arch, sigh 2025-07-31 07:32:19 +05:30
Kovid Goyal b901371df0 Get CI working 2025-07-30 21:00:10 +05:30
Kovid Goyal c7907e2081 Allow extdev to work with local libraries 2025-07-30 21:00:09 +05:30
Kovid Goyal 650aeee96d Get new piper module working on macOS 2025-07-30 21:00:09 +05:30
Kovid Goyal 9021419440 Get the piper module working on windows 2025-07-30 21:00:09 +05:30
Kovid Goyal c46e58d479 Start work on getting rid of piper code and only using the model data
The inference code if a few hundred lines anyway, piper is unmaintained
and forked and the fork depends on the gigantic python ONNXRuntime
bindings. Just write the few hundred lines myself.
2025-07-30 21:00:08 +05:30
Kovid Goyal 95d788d9fa Add the two remaining ffml strings to be translated 2025-07-22 19:20:00 +05:30
Kovid Goyal 29c309d23a Restore formatter function help texts to Transifex
We now use the form processed for easy translation. Fixes #2117352 [Translatable raw strings cause spurious newlines on Transifex](https://bugs.launchpad.net/calibre/+bug/2117352)
2025-07-22 18:53:27 +05:30
Kovid Goyal 0fc4516bc2 The piper project list of voices has changed format and location
Need to look into updating the actual binary bundled with calibre as
well. Fixes #2117433 [download Neural network metadata with error](https://bugs.launchpad.net/calibre/+bug/2117433)
2025-07-22 07:41:29 +05:30
un-pogaz 730ac72ee8 pep8: fix bare except
ruff 'E722'
2025-07-16 08:55:16 +02:00