Commit graph

447 commits

Author SHA1 Message Date
da8d1d6224 Add function for unicode NFC normalize. 2020-03-11 16:46:22 -07:00
f98364b814 Fix handling of lnks that have commandline arguments. 2020-02-29 14:28:15 -08:00
b0ae28b7a3 Add inputrename.py. 2020-02-27 20:53:00 -08:00
a8c78acbdc Include language id in output filename. 2020-02-27 20:52:28 -08:00
41e86526a7 Add ampcode.py. 2020-02-26 13:28:32 -08:00
9e69b313b9 Add aigu.py and boxchars.py. 2020-02-26 13:28:24 -08:00
57fd5955e1 Refactor to perform both audios and subs in a single command. 2020-02-19 15:19:30 -08:00
651861b8b4 Add ac3 and flac extensions. 2020-02-19 15:15:25 -08:00
48e6840c35 Oops, fix rev argument not being used. 2020-02-19 15:08:02 -08:00
2b6bbd276e Move all git commands into their own functions. 2020-02-19 14:20:54 -08:00
7fc0a5d83c New exc NoConfigFile, can pass directories as arguments. 2020-02-19 14:06:11 -08:00
743f25cf48 Merge checkup into gitcheckup_once, organize functions. 2020-02-19 13:31:57 -08:00
015957f72d Show NoUpstream error in checkup output. 2020-02-19 12:49:30 -08:00
e557c1a64f Raise custom exception for NoUpstreamBranch.
Originally I merged these two commands to reduce the number of
subprocess spawns, but I found that the majority of execution time
was git status anyway. These ones are fairly cheap.
2020-02-19 12:01:13 -08:00
d0c5d8ff43 Add reg_extension_icon.py. 2020-02-16 16:29:02 -08:00
c36c9d2584 Use voussoirkit getpermission. 2020-02-16 09:50:46 -08:00
845eebf40f Add argument root_path to start a search from somewhere else. 2020-02-15 18:03:04 -08:00
c58b851427 Add delete_files.py. 2020-02-09 23:33:24 -08:00
af6176286c Use voussoirkit getpermission for yes/no prompts. 2020-02-09 12:08:38 -08:00
dc48da8a27 main should return args.func(args) value. 2020-02-08 17:23:43 -08:00
fd29170f76 Add duplicate_dirs.py. 2020-02-06 11:51:39 -08:00
80e55383f2 Add extension_summary.py. 2020-02-06 11:51:30 -08:00
220eff266f Clean up the filenamescramble scripts which were woefully outdated. 2020-02-05 21:48:37 -08:00
d9a98a7e27 Use voussoirkit.imagetools for fit_into_bounds function. 2020-02-04 19:34:39 -08:00
37093aebe6 Reduce number of unnecessary subprocesses with better conditions.
The code is a little uglier with more ifs and elses but saving
some subprocess calls is worth it.
2020-02-04 19:01:31 -08:00
4652f9b745 Centralize subprocess calls into my own check_output function.
Helps me to do debugging on all the calls, and saves me from copying
those parameters all the time.
2020-02-04 18:58:11 -08:00
d5cd12000d Update for pathclass.Extension changes. 2020-02-03 20:25:23 -08:00
a5c8887f47 Only perform plain in search if neither glob nor regex enabled. 2020-02-03 20:25:11 -08:00
e79001f57c Oops. 2020-02-03 16:42:15 -08:00
317688d9aa Use argparse in clipboard.py, add --output argument. 2020-02-01 16:41:06 -08:00
f5b0bf8ffd Reverse paths before renaming, let children of renamed dirs go first.
This way, the parent directory is always after all of its children.
2020-02-01 16:40:14 -08:00
a5bfd69fa7 Let recursive brename also do directories. 2020-02-01 16:39:18 -08:00
09d3c576e6 Switch off breadth first because that's gone from spinal now.
See voussoirkit commit 3ff49e1.
2020-01-31 20:27:03 -08:00
ec50b45184 Merge setdefault & append lines into one line. 2020-01-31 19:36:27 -08:00
4c497096fc Add pypi_release.py.
I assume no responsibility for damages!
2020-01-30 23:40:09 -08:00
4717ccf84e Fix excise to have no effect if s doesn't contain split marks. 2020-01-30 12:34:03 -08:00
3928922731 Display git subprocess errors upon exception. 2020-01-29 16:39:31 -08:00
17aabe961d Take advantage of pathclass.Extension comparison functionality. 2020-01-29 16:39:08 -08:00
f1ddb0817e Convert to Path objects before checking same-drive req.
Otherwise, passing "." fails. Oops.
2020-01-28 19:34:33 -08:00
6d17ed725f Use winglob.fnmatch instead of python fnmatch. 2020-01-28 17:43:47 -08:00
1d953cc1ed Fix extra space when no commit_details but yes push_details. 2020-01-28 12:41:34 -08:00
358ac9acbb Move exception catch and return 1 back to main gitcheckup. 2020-01-28 01:42:37 -08:00
88b3baafb8 Move all UI-facing string generation to main gitcheckup. 2020-01-28 01:16:33 -08:00
eed52e5247 Add function read_directories_file. 2020-01-28 01:14:35 -08:00
1abe5a615b Read my_head and remote_head with a single subprocess call. 2020-01-28 01:12:24 -08:00
2bc3d4caa6 Add argument --fetch and show number of commits to pull. 2020-01-28 00:57:24 -08:00
88ba4a3e23 Switch from env variable to just local directory.
What can I say. I just don't like environment variables.
2020-01-26 16:57:47 -08:00
ee97a3d08e Add --subs alias for --subtitles. 2020-01-26 16:24:55 -08:00
0d985a9264 Add --no-cache-dir to get fresh pips every time. 2020-01-26 16:24:44 -08:00
7e8e20d038 Also search .lnk arguments. 2020-01-25 18:27:55 -08:00