skilleter-thingy 0.0.85__py3-none-any.whl → 0.0.87__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of skilleter-thingy might be problematic. Click here for more details.

@@ -480,9 +480,9 @@ def mg_dir(args, config, console):
480
480
  location.append(repo.name)
481
481
 
482
482
  if len(location) == 0:
483
- error(f'No matches with {dir}')
483
+ error(f'No matches with {search_dir}')
484
484
  elif len(location) > 1:
485
- error(f'Multiple matches with {dir}')
485
+ error(f'Multiple matches with {search_dir}')
486
486
 
487
487
  colour.write(os.path.join(os.path.dirname(args.config), location[0]))
488
488
 
@@ -504,13 +504,23 @@ def mg_run(args, config, console):
504
504
 
505
505
  _ = config
506
506
 
507
- cmd = shlex.split(args.cmd[0])
507
+ if len(args.cmd) == 0:
508
+ error('No command specified')
509
+ elif len(args.cmd) == 1:
510
+ command = shlex.split(args.cmd)
511
+ else:
512
+ command = args.cmd
513
+
508
514
 
509
515
  for repo in select_git_repos(args, config):
510
516
  if not args.quiet:
511
517
  show_progress(console.columns, repo.name)
512
518
 
513
- run_git_status(cmd, repo.name, args.cont)
519
+ repo_command = []
520
+ for cmd in command:
521
+ repo_command.append(branch_name(cmd, repo['default branch']))
522
+
523
+ run_git_status(repo_command, repo.name, args.cont)
514
524
 
515
525
  ################################################################################
516
526
 
@@ -611,9 +621,9 @@ def main():
611
621
 
612
622
  parser_clean.add_argument('--recurse', '-d', action='store_true', help='Recurse into subdirectories')
613
623
  parser_clean.add_argument('--force', '-f', action='store_true', help='If the Git configuration variable clean.requireForce is not set to false, git clean will refuse to delete files or directories unless given -f or -i')
614
- #parser_clean.add_argument('--interactive', '-i', action='store_true', help='Show what would be done and clean files interactively.')
624
+ # TODO: parser_clean.add_argument('--interactive', '-i', action='store_true', help='Show what would be done and clean files interactively.')
615
625
  parser_clean.add_argument('--dry-run', '-n', action='store_true', help='Don’t actually remove anything, just show what would be done.')
616
- #parser_clean.add_argument('--quiet', '-q', , action='store_true', help='Be quiet, only report errors, but not the files that are successfully removed.')
626
+ # TODO: parser_clean.add_argument('--quiet', '-q', , action='store_true', help='Be quiet, only report errors, but not the files that are successfully removed.')
617
627
  parser_clean.add_argument('--exclude', '-e', action='store', help='Use the given exclude pattern in addition to the standard ignore rules.')
618
628
  parser_clean.add_argument('-x', action='store_true', help='Don’t use the standard ignore rules, but still use the ignore rules given with -e options from the command line.')
619
629
  parser_clean.add_argument('-X', action='store_true', help='Remove only files ignored by Git. This may be useful to rebuild everything from scratch, but keep manually created files.')
@@ -625,7 +635,7 @@ def main():
625
635
 
626
636
  parser_run = subparsers.add_parser('run', help='Run any git command in each of the working trees')
627
637
  parser_run.add_argument('--cont', '-c', action='store_true', help='Continue if the command returns an error in any of the working trees')
628
- parser_run.add_argument('cmd', nargs=1, action='store', help='The command to run (should be quoted)')
638
+ parser_run.add_argument('cmd', nargs='*', action='store', help='The command to run (the command may need to be quoted)')
629
639
 
630
640
  parser_review = subparsers.add_parser('review', help='Review the changes in a working tree')
631
641
  parser_review.add_argument('parameters', nargs='*', action='store', help='Parameters passed to the "git review" command')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: skilleter_thingy
3
- Version: 0.0.85
3
+ Version: 0.0.87
4
4
  Summary: A collection of useful utilities, mainly aimed at making Git more friendly
5
5
  Author-email: John Skilleter <john@skilleter.org.uk>
6
6
  Project-URL: Home, https://skilleter.org.uk
@@ -25,7 +25,7 @@ skilleter_thingy/gl.py,sha256=9zbGpKxw6lX9RghLkdy-Q5sZlqtbB3uGFO04qTu1dH8,5954
25
25
  skilleter_thingy/gphotosync.py,sha256=Vb2zYTEFp26BYdkG810SRg9afyfDqvq4CLHTk-MFf60,22388
26
26
  skilleter_thingy/linecount.py,sha256=5voQtjJjDCVx4zjPwVRy620NpuLiwwFitzxjIsRGtxQ,4310
27
27
  skilleter_thingy/moviemover.py,sha256=j_Xb9_jFdgpFBAXcF4tEqbnKH_FonlnUU39LiCK980k,4470
28
- skilleter_thingy/multigit.py,sha256=FlYuDxgVIo_loL-I5cDxCMW_EbCSNbH1YE3T6fRYJ3A,26994
28
+ skilleter_thingy/multigit.py,sha256=ORv_SRw-ki3j2h1D8bxZsnXy0FRPzG9Q0jaQ6nb913I,27316
29
29
  skilleter_thingy/photodupe.py,sha256=l0hbzSLb2Vk2ceteg-x9fHXCEE1uUuFo84hz5rsZUPA,4184
30
30
  skilleter_thingy/phototidier.py,sha256=5gSjlINUxf3ZQl3NG0o7CsWwODvTbokIMIafLFvn8Hc,7818
31
31
  skilleter_thingy/py_audit.py,sha256=xJm5k5qyeA6ii8mODa4dOkmP8L1drv94UHuxR54RsIM,4384
@@ -61,9 +61,9 @@ skilleter_thingy/thingy/run.py,sha256=6SNKWF01fSxzB10GMU9ajraXYZqAL1w0PXkqjJdr1U
61
61
  skilleter_thingy/thingy/tfm_pane.py,sha256=oqy5zBzKwfbjbGqetbbhpKi4x5He7sl4qkmhUeqtdZc,19789
62
62
  skilleter_thingy/thingy/tidy.py,sha256=71DCyj0VJrj52RmjQyj1eOiQJIfy5EIPHuThOrS6ZTA,5876
63
63
  skilleter_thingy/thingy/venv_template.py,sha256=SsVNvSwojd8NnFeQaZPCRQYTNdwJRplpZpygbUEXRnY,1015
64
- skilleter_thingy-0.0.85.dist-info/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
65
- skilleter_thingy-0.0.85.dist-info/METADATA,sha256=ZiO8B5QEIhcr2Nro-7DozpwiRQ1cdJ6grC5Mi7llbyI,6113
66
- skilleter_thingy-0.0.85.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
67
- skilleter_thingy-0.0.85.dist-info/entry_points.txt,sha256=u5ymS-KPljIGTnprV5yJsAjz7qgeT2BZ-Qo_Con_PFM,2145
68
- skilleter_thingy-0.0.85.dist-info/top_level.txt,sha256=8-JhgToBBiWURunmvfpSxEvNkDHQQ7r25-aBXtZv61g,17
69
- skilleter_thingy-0.0.85.dist-info/RECORD,,
64
+ skilleter_thingy-0.0.87.dist-info/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
65
+ skilleter_thingy-0.0.87.dist-info/METADATA,sha256=NsBv0BkN-44Vy1hLP6tjyZt9K6Craa5UpfXsoE_qeuU,6113
66
+ skilleter_thingy-0.0.87.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
67
+ skilleter_thingy-0.0.87.dist-info/entry_points.txt,sha256=u5ymS-KPljIGTnprV5yJsAjz7qgeT2BZ-Qo_Con_PFM,2145
68
+ skilleter_thingy-0.0.87.dist-info/top_level.txt,sha256=8-JhgToBBiWURunmvfpSxEvNkDHQQ7r25-aBXtZv61g,17
69
+ skilleter_thingy-0.0.87.dist-info/RECORD,,