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
ddfdc80d3a
more misc recomendation (manual)
...
ruff 'PIE'
2025-01-24 11:14:22 +01:00
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
02854d8b8c
convert some legacy percent format (extra-edit)
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
12cb8b2e58
upgrade hidden print to Python 3 (extra-edit)
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
un-pogaz
05c9729698
add scoped noqa 'line too long' (extra-edit)
2025-01-24 11:14:10 +01:00
un-pogaz
7e1edf1fbf
add scoped noqa 'line too long' (auto-fix)
...
ruff 'E501' --add-noqa
2025-01-24 11:14:10 +01:00
un-pogaz
a73c48720e
remove unscoped noqa (extra-edit)
...
regex: \s*#\s*noqa\n
2025-01-24 11:14:10 +01:00
Kovid Goyal
53b74283a4
sort imports in all python files
2024-03-30 13:02:22 +05:30
Kovid Goyal
dc821ded5b
Proper fix for old download installer names
2022-10-14 21:33:08 +05:30
Kovid Goyal
2a1dacae67
Correct installer descriptions on download archive
2022-10-13 22:44:44 +05:30
Kovid Goyal
753a9d3a24
Use correct binary descriptive names on download.calibre-ebook.com
2022-07-19 07:43:09 +05:30
Kovid Goyal
24c460faec
also upgrade code in setup folder
2022-01-08 12:15:18 +05:30
Zbigniew Jędrzejewski-Szmek
9d63b6ae56
Drop (object) from class definitions
...
Python2 had old-style classes (no "(object)"), and new style classes (with
"object"). Under Py3 this is a noop, so let's drop it to make the code
a bit shorter.
2021-09-30 09:23:56 +02:00
Kovid Goyal
9015530224
and again
2020-05-15 09:15:09 +05:30
Kovid Goyal
069e3e69b4
...
2020-05-15 09:13:10 +05:30
Kovid Goyal
64b56e4aec
Move hosting script to python 3
2020-05-15 09:09:23 +05:30
Kovid Goyal
1809676dba
Use -zz for rsync
2020-03-06 08:27:46 +05:30
Kovid Goyal
519a90abdf
Ensure we send a mimetype when upload to github
2019-07-12 09:21:01 +05:30
Eli Schwartz
45ca4c7934
py3: merge multiline __future__ imports to not confuse 2to3
2019-05-27 00:41:14 -04:00
Kovid Goyal
0fcad5f21f
Fix various uses of iteritems missed by dict_fixes
2019-03-25 15:29:08 +05:30
Kovid Goyal
26bc7e0acf
A favicon for the download server
2016-08-31 11:32:41 +05:30
Kovid Goyal
1ead1415e3
New fosshub upload API
2016-08-17 10:00:55 +05:30
Kovid Goyal
0c57ad189e
Dont upload to files.calibre-ebook.com as it no longer exists
2016-01-12 10:24:31 +05:30
Kovid Goyal
ef09e886b3
Change all shebangs to use python2
2015-01-23 19:08:21 +05:30
Kovid Goyal
d8ee6308d6
Purge dead code for uploading to the now defunct googlecode
2015-01-12 14:01:13 +05:30
Kovid Goyal
2002b18de3
Add a retry for setting the label on github
2014-09-12 09:26:31 +05:30
Kovid Goyal
b6bbf61efd
Only keep the most recent release on GitHub
...
GitHub claims they have no disk quotas for releases, but I dont want to
rely on that.
2014-09-05 12:45:21 +05:30
Kovid Goyal
43c4e2b867
Upload releases to GitHub as well
2014-09-05 08:55:26 +05:30
Kovid Goyal
b6579971b3
Fix move to .txz for linux binaries causing links on the previous releases page for linux binaries not working
2014-08-23 01:07:36 +05:30
Kovid Goyal
8208bb5171
Refactor for DRYness
2014-08-22 13:39:35 +05:30
Kovid Goyal
8982e9d52c
Handle partial re-uploads when uploading to fosshub
2014-08-22 13:01:45 +05:30
Kovid Goyal
8f9fa74586
Use LZMA insteap of BZIP2 to compress the linux binary tarball, for a large size reduction (~30%)
2014-08-08 18:31:11 +05:30
Kovid Goyal
b4487b44d2
...
2014-07-30 16:29:05 +05:30
Kovid Goyal
030a31efb9
Change fosshub mirror used for uploading.
2014-07-30 14:54:16 +05:30
Kovid Goyal
69bab620c9
...
2014-01-17 10:59:45 +05:30
Kovid Goyal
dd7f18eb54
Robustness improvements
2013-10-12 09:19:30 +05:30
Kovid Goyal
929fa49d7a
Move mirror domain name to fosshub.com
2013-07-31 13:33:58 +05:30
Kovid Goyal
99d9db82f7
...
2013-07-29 22:17:14 +05:30
Kovid Goyal
6579327a6d
Various minor fixes in the publish process
2013-06-28 12:26:56 +05:30
Kovid Goyal
2096dce1cd
Move User Manual and staging to the download server
2013-06-25 13:09:51 +05:30
Kovid Goyal
d2292a759d
Upload installers to downloadbestsoftware.com as well
2013-06-24 18:04:07 +05:30
Kovid Goyal
a2aad03af9
Stop using googlecode for file hosting
2013-06-21 22:25:37 +05:30
Kovid Goyal
1895402bee
...
2012-09-21 13:00:44 +05:30
Kovid Goyal
e5e5da661e
Calibre Portable: Create an exe installer
2012-09-16 13:36:39 +05:30
Kovid Goyal
ed55ce0852
Conversion: Allow specification of any number of search and replace expressions, instead of just three.
2012-04-13 20:53:43 +05:30