142 Commits

Author SHA1 Message Date
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
8d28380515 add/remove blank-line (extra-edit)
ruff 'E302,E303,E304,E305,W391'
2025-01-24 11:14:21 +01:00
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
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
53b74283a4
sort imports in all python files 2024-03-30 13:02:22 +05:30
Kovid Goyal
320fb96bbd
Dont upload releases to fosshub anymore
A single alternate mirror provided by github is fine. FossHub requires
users to go to a new page to get the actual download, which is slow and
cumbersome.
2023-11-23 20:04:05 +05:30
Kovid Goyal
1eec089faf
OS X -> macOS 2022-07-06 19:49:51 +05:30
Kovid Goyal
5db39aa16e
Drop 32-bit code paths 2022-07-06 19:19:39 +05:30
Kovid Goyal
24c460faec
also upgrade code in setup folder 2022-01-08 12:15:18 +05:30
Kovid Goyal
011bba1a58
More py3 compat 2020-09-25 09:25:28 +05:30
Kovid Goyal
bb3a1f700d
py3 compat for upload to github 2020-09-25 09:22:03 +05:30
Kovid Goyal
135bfcbefe
py3 compat for fosshub upload 2020-09-25 09:19:20 +05:30
Kovid Goyal
f2384437ca
py3 compat 2020-09-19 10:28:43 +05:30
Kovid Goyal
791f5c2325
Also upload binaries to backup server 2020-08-30 11:12:36 +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
8de4c3268e
Dont keep a local backup of the calibre installers 2020-06-05 08:20:43 +05:30
Kovid Goyal
64b56e4aec
Move hosting script to python 3 2020-05-15 09:09:23 +05:30
Kovid Goyal
53de96b18b
... 2020-03-27 11:19:51 +05:30
Kovid Goyal
8dd68d157d
ANother rsync invocation that needed compression method fixed 2020-03-17 09:00:12 +05:30
Kovid Goyal
1809676dba
Use -zz for rsync 2020-03-06 08:27:46 +05:30
Kovid Goyal
6de56e8f93
Compile changelog translations 2019-12-25 16:47:01 +05:30
Kovid Goyal
edf231e3ff
Use a token for github 2019-12-12 10:04:36 +05:30
Kovid Goyal
17eff935eb
... 2018-10-19 10:16:01 +05:30
Kovid Goyal
79d7658ea3
Check fosshub queue status since the API has now been fixed 2018-10-03 20:30:05 +05:30
Kovid Goyal
e4795fcf88
oops 2018-10-03 08:39:47 +05:30
Kovid Goyal
826119e797
Use new fosshub upload API 2018-10-03 08:39:11 +05:30
Kovid Goyal
f39f3951f4
dict fixes in the setup package 2018-09-10 20:54:35 +05:30
Kovid Goyal
a9e07efecd
The setup package now imports under python 3 2018-09-10 19:47:53 +05:30
Flaviu Tamas
655ab21b0b
Fix from __future__ import order 2018-09-10 12:11:29 +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
2beeb537b4
Ensure no spaces around fosshub API key 2018-03-09 16:41:00 +05:30
Kovid Goyal
09d25c21e8
Update website translations on publish 2017-08-24 10:35:08 +05:30
Kovid Goyal
37cd0c56e5
Use the new auto-build infrastructure for creating calibre installers 2017-05-21 13:39:09 +05:30
Kovid Goyal
4da1d75a42 ... 2017-02-10 10:36:12 +05:30
Kovid Goyal
66e3d8740e pep8 2017-02-06 22:12:59 +05:30
Kovid Goyal
94e908b3c0 ... 2016-08-26 06:35:17 +05:30
Kovid Goyal
b1bd22b20e Fix dupes being generated when uploading to fosshub 2016-08-17 13:23:15 +05:30
Kovid Goyal
00d2e7a03b ... 2016-08-17 10:14:57 +05:30
Kovid Goyal
8c1ef52e28 ... 2016-08-17 10:13:59 +05:30
Kovid Goyal
78c650cb0e ... 2016-08-17 10:11:29 +05:30
Kovid Goyal
d5d0b79af3 ... 2016-08-17 10:11:10 +05:30
Kovid Goyal
9d0607a896 ... 2016-08-17 10:05:16 +05:30
Kovid Goyal
1ead1415e3 New fosshub upload API 2016-08-17 10:00:55 +05:30
Kovid Goyal
101d22f0b4 Do not upload to fosshub since it is currently down 2016-08-12 09:37:04 +05:30
Kovid Goyal
b286ce1745 ... 2016-03-11 10:00:42 +05:30
Kovid Goyal
b1664c7417 Upload GPG signatures as well as SHA512 hashes of installer files 2016-03-07 13:25:59 +05:30
Kovid Goyal
76c0a9b8b7 ... 2016-01-15 09:24:37 +05:30
Kovid Goyal
ccd069c343 Now host user manual on main server 2016-01-10 14:14:35 +05:30