Run the “find_big_commits” script in a venv
- ID
6a4ec32- date
2023-12-30 23:03:16+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
c0254ac- message
Run the "find_big_commits" script in a venv- changed files
3 files, 7 additions, 6 deletions
Changed files
config.fish (5479) → config.fish (5532)
diff --git a/config.fish b/config.fish
index 3e32821..20e5391 100644
--- a/config.fish
+++ b/config.fish
@@ -153,6 +153,7 @@ __create_bash_script_alias flickr/flphoto.sh
__create_python_script_alias flickr/fluser_lookup.py
__create_python_script_alias fs/emptydir.py
+__create_python_script_alias git/find_big_commits.py
__create_python_script_alias git/git-cloc.py
__create_python_script_alias images/kn_cover_image.py
__create_python_script_alias images/images_only_pdf.py
git/README.md (7225) → git/README.md (7234)
diff --git a/git/README.md b/git/README.md
index c6468a9..7906abd 100644
--- a/git/README.md
+++ b/git/README.md
@@ -32,7 +32,7 @@ scripts = [
"""
},
{
- "name": "find_big_commits",
+ "name": "find_big_commits.py",
"description": """
print some information about the biggest files/commits in the Git history.
"""
@@ -137,8 +137,8 @@ cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
</dd>
<dt>
- <a href="https://github.com/alexwlchan/scripts/blob/main/git/find_big_commits">
- <code>find_big_commits</code>
+ <a href="https://github.com/alexwlchan/scripts/blob/main/git/find_big_commits.py">
+ <code>find_big_commits.py</code>
</a>
</dt>
<dd>
@@ -253,4 +253,4 @@ cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
open the current Git repo in <a href="https://gitup.co/">GitUp</a>, my GUI Git client of choice
</dd>
</dl>
-<!-- [[[end]]] (checksum: fddec72ed280c65e392617fa331cce25) -->
+<!-- [[[end]]] (checksum: ce37e30161ddef4f54ee397d664307dd) -->
git/find_big_commits (2072) → git/find_big_commits.py (2033)
diff --git a/git/find_big_commits b/git/find_big_commits.py
similarity index 96%
rename from git/find_big_commits
rename to git/find_big_commits.py
index 17db086..6a50454 100755
--- a/git/find_big_commits
+++ b/git/find_big_commits.py
@@ -12,8 +12,8 @@ extra formatting and the total of the .git folder printed also.
import os
import subprocess
-import humanize # humanize==4.4.0
-import termcolor # termcolor==2.1.1
+import humanize
+import termcolor
def get_blobs():