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
Kovid Goyal
0ac375742e
Ensure index-generated.html is built correctly before publishing betas
2017-05-21 13:39:31 +05:30
Kovid Goyal
c7d4af9ab7
Update publish_betas command
2017-05-21 13:39:29 +05:30
Kovid Goyal
a7e7b0d381
pep8
2017-05-21 13:39:29 +05:30
Kovid Goyal
00ef575a03
No longer need to restrict running kernel as we use chroot
2017-05-21 13:39:10 +05:30
Kovid Goyal
e49df95bac
Add a kernel version check to the publish command
...
The new build process uses docker which requires installed and running
kernel versions to match
2017-05-21 13:39:09 +05:30
Kovid Goyal
4c3d3ecae8
Run the tests before publishing
2017-05-21 13:39:08 +05:30
Kovid Goyal
fc7d4830a9
Switch to using a private openssl lib on OS X
2016-01-30 12:40:50 +05:30
Kovid Goyal
c69be0507c
Use my own multitail implementation in the build process
...
The distro one recently started segfaulting and my implementation is
much better.
2015-03-21 13:56:20 +05:30