Commit Graph

113 Commits

Author SHA1 Message Date
Kovid Goyal c68cf2e130 Normalize file permissions on the installers 2025-12-29 09:13:56 +05:30
un-pogaz 2ca38cb2c1 http_server import (manual) 2025-11-18 15:39:52 +01:00
Kovid Goyal 13422da467 Require HSM for publish previews/betas as well 2025-10-10 09:43:55 +05:30
Kovid Goyal 92b80412bf Abort publish early is HSM not available 2025-10-02 09:16:50 +05:30
Kovid Goyal f8deedd4c8 Use a static tmp dir for user manual builds 2025-06-20 10:28:23 +05:30
Kovid Goyal 4da88111a7 Dont build man page in Indonesian as sphinx fails for it 2025-04-18 08:44:00 +05:30
Kovid Goyal 6f63366c14 ... 2025-04-11 17:29:01 +05:30
Kovid Goyal 5d6f454ab3 Add a check to prevent accidentally releasing a preview as the main release 2025-04-11 17:27:46 +05:30
Kovid Goyal cd3d151e7e Silence spurious warning 2025-03-15 08:39:01 +05:30
Kovid Goyal 5c7dc9613b Automated conversion of % format specifiers
Using ruff. Does not change any translatable strings.
There are still several thousand usages of % left that ruff wont
auto-convert. Get to them someday.
2025-01-27 10:58:48 +05:30
un-pogaz 19994000c9 use f-string instead of format call (extra-edit)
ruff 'UP030,UP032' --extend-exclude "src/calibre/*" !partial
2025-01-24 11:14:16 +01:00
un-pogaz 047ebcffe4 convert some legacy percent format (manual)
ruff 'UP031'
2025-01-24 11:14:16 +01:00
un-pogaz 0560b429bf convert some legacy percent format (auto-fix)
ruff 'UP031'
2025-01-24 11:14:16 +01:00
un-pogaz 37771022ce uniform string quote (auto-fix)
ruff 'Q'
2025-01-24 11:14:14 +01:00
Kovid Goyal 6cb3640b29 Dont build Tamil man pages either 2024-05-03 08:52:09 +05:30
Kovid Goyal 70ec73b087 Skip building manual for Tamil as its translations are utterly borked and break Sphinx 2024-05-03 08:28:42 +05:30
Kovid Goyal f0c0378e92 env var to skip tests during publish 2024-04-19 07:28:36 +05:30
Kovid Goyal 53b74283a4 sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal 81fe8448ee Add some tooling to build "preview" releases
They are available at: https://download.calibre-ebook.com/preview/
They will have version numbers with a patch level >= 100 so its
relatively easy for us to know when a bug report pertains to a preview
release.
2024-03-09 14:50:03 +05:30
Kovid Goyal 483e976ccc Build linux arm64 in parallel as its the slowest by far 2022-07-06 19:19:40 +05:30
Kovid Goyal 0ecae23805 ... 2022-07-06 19:19:39 +05:30
Kovid Goyal 46cc7dc6c2 Skip PDF version of manual for Japanese
Getting a useable Japanese PDF out of Sphinx+LaTeX is a nightmare
2022-05-31 08:17:17 +05:30
Kovid Goyal 1c34c54eb7 Temporarily disable building of manual in Japanese
It's failing for obscure reasons and holding up the release
2022-05-27 08:17:04 +05:30
Kovid Goyal 24c460faec also upgrade code in setup folder 2022-01-08 12:15:18 +05:30
Kovid Goyal f034a62ec2 Fix user manual rendering for non-existent languages 2021-03-14 20:05:55 +05:30
Kovid Goyal 11ad7120ab Update recent user agents at each publish 2020-12-26 11:11:25 +05:30
Kovid Goyal 652bce14e5 Re-generate all resources when publishing a beta 2020-08-22 18:48:07 +05:30
Kovid Goyal ead2529af1 Netter beta upload progress 2020-08-22 18:48:07 +05:30
Kovid Goyal dbebae5e4c Forgot to use create_job() 2020-08-22 18:48:03 +05:30
Kovid Goyal 01b0fba8ad Auto fix excess blank lines 2020-08-22 18:47:56 +05:30
Kovid Goyal 9ff27782de Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal 29cd8d64ea Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal 749460cbfc Better fixes for publish pipeline issues 2019-10-04 07:35:09 +05:30
Kovid Goyal 857c2355bc Ensure DISPLAY is in environ 2019-10-04 06:25:14 +05:30
Kovid Goyal 28b5ef8723 Also disable translations since it also crashes 2019-10-04 06:13:34 +05:30
Kovid Goyal c178c78980 Dont build pot as part of publish as it crashes 2019-10-04 06:06:09 +05:30
Kovid Goyal 4d9440a94c Get rid of home grown multitail
Use the awesomeness that is kitty instead
2019-09-13 09:13:34 +05:30
Kovid Goyal da4fc37684 Bump version number to beta level 2019-09-13 09:13:34 +05:30
Kovid Goyal a08bdbeb4e Dont depend on calibre in polyglot 2019-05-15 16:42:52 +05:30
Eli Schwartz 45f68f552b python3: make coffee build
add polyglot.socketserver wrapper and fix BaseHTTPServer.HTTPServer
2019-03-21 01:27:21 -04:00
Kovid Goyal 5bdb5b7c6c Import fixes for the setup package 2018-09-10 20:44:16 +05:30
Flaviu Tamas 0889ee85ec Fix syntax errors
Command used:

futurize --no-diffs -f libfuturize.fixes.fix_print_with_import -f lib2to3.fixes.fix_throw -f lib2to3.fixes.fix_numliterals -f lib2to3.fixes.fix_except -f lib2to3.fixes.fix_exec -f lib2to3.fixes.fix_raise -f lib2to3.fixes.fix_tuple_params -f lib2to3.fixes.fix_ne -j20 -w -n setup recipes src manual setup.py recipes/*.recipe

And manual adjustments of print((...)) -> print(...)
2018-09-10 12:11:28 +05:30
Kovid Goyal f6b8381018 Ensure build is run before publish proceeds 2017-08-04 08:57:08 +05:30
Kovid Goyal dfe2f5e04f Dont use installed calibre when running sphinx-build 2017-07-04 21:51:42 +05:30
Kovid Goyal 9ccbf1ef8f ... 2017-07-04 17:54:22 +05:30
Kovid Goyal 81460e6cfc More robust parallel use of sphinx-build2 2017-07-04 17:52:49 +05:30
Kovid Goyal a0ac9cfddb Use calibre available languages not manual languages when generating man pages 2017-07-04 13:19:20 +05:30
Kovid Goyal fa191ab55a Create a setup.py command: man_pages to generate man pages in all languages 2017-07-04 12:28:59 +05:30
Kovid Goyal c9839063d4 Remove obsolete reference to vs2015 2017-05-21 13:52:50 +05:30
Kovid Goyal 50ae40a73f DRYer 2017-05-21 13:39:32 +05:30