Commit graph

67 commits

Author SHA1 Message Date
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
66c26fa31a Improve lnk searching by separating field names from content.
Previously, if you searched for the word target then every lnk
matched because "Target: xxx" was literally the text being searched.
Now we can use the existing separation between search_text and
result_text to show those headers separately.
2020-01-25 01:18:03 -08:00
d108670693 Allow passing a pre-formed list as text. 2020-01-25 01:11:11 -08:00
ea415b953c Rename these key, value variables to give better context. 2020-01-25 01:08:50 -08:00
2dc7e75414 Dedent even more. Thanks continue! 2020-01-25 00:58:06 -08:00
77481c169c Comment this whole if and not just the inner part. 2020-01-25 00:52:39 -08:00
1727be598a Switch this formatter to fstring. 2020-01-25 00:49:08 -08:00
91bf90862b Dedent this code by reversing condition and continue. 2020-01-25 00:46:52 -08:00
9d8c9fdf51 Support searching of windows .lnk file fields.
I'm currently migrating my shortcuts that point to Py 3.7 to 3.8
so this saves a lot of time!
2020-01-25 00:39:18 -08:00
08782fdaf9 Extract code to function search_contents_generic. 2020-01-25 00:36:50 -08:00
265e106079 Some cleanups. 2020-01-22 15:49:06 -08:00
e8a089ff70 Fix .mks extension by adding -f matroska. 2020-01-22 15:48:50 -08:00
a5db669139 Rename ffaudios.py -> ffstreams.py, generalize for subs too. 2020-01-22 15:33:48 -08:00
dff9152898 Show number of unpushed commits thanks to new log command. 2020-01-20 21:53:49 -08:00
3c757fcba4 Add sum.py. 2020-01-19 10:56:54 -08:00
5806930198 Add size.py. 2020-01-19 10:56:49 -08:00
3e5e421484 Add autocat.py. 2020-01-19 10:56:43 -08:00
725a91f1cc Fix bug where packages with literal hyphens don't parse right. 2020-01-15 22:47:52 -08:00
2d5ef0c7cf Replace these uses of glob with winglob. 2020-01-15 22:47:26 -08:00
8eeb22d0b0 Use winglob instead of python glob. 2020-01-15 22:33:44 -08:00
8fc5c0e28c Add cmd_autoexec_install.bat. 2020-01-15 21:49:23 -08:00
f89f2232e5 Add cmd_autoexec.bat. 2020-01-15 21:34:01 -08:00
341c015451 Add ffaudios.py. 2020-01-15 21:26:16 -08:00
a05b82d683 Add --regex option to contentreplace. 2020-01-14 23:47:11 -08:00
335b7d214a Put gitcheckup directories into a separate config file. 2020-01-12 20:06:14 -08:00
c5e3b97312 Add argument --untracked-files=all for better file count.
Without it, entire directories are counted as a single item.
I prefer to have the individual files counted.
2020-01-12 20:01:05 -08:00
ba5bbb2a16 Use git status --short for easier parsing.
Thank you kringel8.
2020-01-11 15:04:54 -08:00
7863e03a72 Alphabetize imports. 2020-01-11 03:14:01 -08:00
7f4bd2baf6 Show [C][P] instead of [x][x]. 2020-01-11 02:58:08 -08:00
72b9f34bfe Split checkup into smaller functions, add output samples. 2020-01-11 02:23:07 -08:00
78ed021d9f Add gitcheckup.py. 2020-01-11 01:44:20 -08:00