Commit graph

453 commits

Author SHA1 Message Date
76f936a50a
Rename filenameorderedrandomness to filenamescrambleordered. 2021-12-21 16:58:10 -08:00
a35200d594
Use threadpool in threaded_dl with separate ui thread.
The downside is that the result_generator is difficult to ctrlc on
windows due to signals not occuring during the Queue.get. Pressing
ctrlc will kill the program after one file finishes downloading,
otherwise you have to press ctrlbreak. The end result is that the
program actually feels a little worse to use than before, but it's
more, like, pure. Don't know. Might revert or change again.
2021-12-07 12:49:12 -08:00
9cec1d8e2f
Update filepull's usage of pathclass and pipeable. 2021-12-07 12:46:45 -08:00
205c74d47c
Fix rejpg docstring implying all jpgs. 2021-12-02 19:53:43 -08:00
9f7664b179
Fix lint_main_returns header showing the old title. 2021-12-02 19:53:28 -08:00
f102d09a4b
Use with_child instead of manual string building. 2021-12-02 19:35:13 -08:00
8c9588497c
Remove .absolute_path thanks to fspath. 2021-12-02 19:34:28 -08:00
e9e1f5930c
Log the whole traceback, not just exception headline. 2021-11-20 20:40:39 -08:00
5fb31208c9
Add vlogging so we can get debug from imported modules. 2021-11-16 13:54:42 -08:00
c8e5a53bcb
Let resize take --destination. 2021-11-14 22:00:45 -08:00
eefbc3f8aa
Tidy up svgrender helptext, argparser. 2021-11-14 22:00:10 -08:00
d8d7807280
Use socket.gethostbyname. 2021-11-14 15:42:30 -08:00
a9acab1764
Remove donate.md. 2021-11-10 23:40:55 -08:00
7143793608
Call list(glob_many_files). 2021-11-09 13:46:41 -08:00
15141d22cb
Use getexif instead of info.get('exif'). Add --quality where missing. 2021-11-09 12:08:38 -08:00
357669a684
Add watchforlinks helptext. 2021-11-09 00:34:32 -08:00
ede169c729
Update resize.py helptext, alphabetize arguments. 2021-11-09 00:00:35 -08:00
5aab0c2b2a
Add contentreplace helptext. 2021-11-08 11:39:17 -08:00
a745e1ad30
Log the total number of downloaded apks. 2021-11-08 11:38:56 -08:00
1dbf081442
Reduce logging from downloady. 2021-11-08 11:38:40 -08:00
69aabfb132
Update helptext in light of new betterhelp epilogues. 2021-11-08 11:38:27 -08:00
c5829081aa
Update use of pathclass.glob_files, directories. 2021-11-08 11:38:10 -08:00
5fa1bd05cc
Add git om, the opposite of git on. 2021-11-04 01:34:03 -07:00
21401b7339
Add -- to ensure arguments are considered filepaths. 2021-10-25 14:23:39 -07:00
ec2bd9aa86
Use two separate calls to assert_enough_space. 2021-10-24 20:55:24 -07:00
26c6fb31cf
Fix rotate.py. 2021-10-24 20:54:51 -07:00
1dd17de87c
Fix log lines. 2021-10-22 18:38:27 -07:00
2f5c6f502d
Add wait_for_internet.py. 2021-10-12 21:42:55 -07:00
39ac3b7ae6
Let named_python work for pythonw or any other executable name. 2021-10-12 21:38:58 -07:00
e98cae6566
Add cls=clear. 2021-10-09 12:08:55 -07:00
1c1d517fd2
Add getpid.py. 2021-10-05 16:51:06 -07:00
555e2fccb1
Improved named_python. 2021-10-05 16:50:53 -07:00
701cf3e0d3
Use pathclass.read, write. 2021-10-04 17:21:14 -07:00
7c3ef856e8
Use pathclass.glob. 2021-10-02 23:40:29 -07:00
25feaf60a5
Remove --all from git on alias. 2021-09-30 19:35:07 -07:00
02b254836f
Use pathclass.glob. 2021-09-30 19:20:08 -07:00
4a9051e617
Big migrations and linting.
With pathclass.glob_many, we can clean up and feel more confident
about many programs that use pipeable to take glob patterns.

Added return 0 to all programs that didn't have it, so we have
consistent and explicit command line return values.

Other linting and whitespace.
2021-09-23 23:42:45 -07:00
6751a5d6c9
Add lint_main_returns. 2021-09-23 23:02:20 -07:00
56cd1065f9
Fix initial_text None. 2021-09-22 23:20:15 -07:00
c298949d98
Fix tenacity, remove backoff. 2021-09-22 23:17:55 -07:00
74df9d62ae
Use log.fatal instead of stderr. 2021-09-22 23:17:12 -07:00
993367f6ba
Update getcrx. 2021-09-22 20:28:18 -07:00
4ba9d9dabe
Switch pipeable.output to pipeable.stdout. 2021-09-22 20:26:53 -07:00
097cb07421
Alphabetize functions. 2021-09-22 20:26:37 -07:00
c8dc9bbc14
Small logging tweaks. 2021-09-22 20:26:16 -07:00
e09b609d41
Use tenacity instead of own wrapper. 2021-09-22 20:25:52 -07:00
40d4eb9595
Let fdroidapk take '*' to update all packages in cwd. 2021-09-22 20:25:20 -07:00
9c297315fe
Show enabled and disabled packages separately. 2021-09-17 14:59:36 -07:00
d4ad110ff1
Add normalize_compression. 2021-09-16 20:58:24 -07:00
7efdcdcdbe
Fix handling of basename=None. 2021-09-16 20:50:31 -07:00