Move the deploy_to_pypi script to the flickr folder
- ID
e8c0cd7- date
2025-05-17 18:43:53+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
874d7be- message
Move the `deploy_to_pypi` script to the `flickr` folder- changed files
5 files, 18 additions, 45 deletions
Changed files
config.fish (7134) → config.fish (7095)
diff --git a/config.fish b/config.fish
index 0b1b3f0..9077d25 100644
--- a/config.fish
+++ b/config.fish
@@ -49,7 +49,6 @@ end
prepend_to_path ~/repos/scripts
prepend_to_path ~/repos/scripts/aws
prepend_to_path ~/repos/scripts/debug
-prepend_to_path ~/repos/scripts/flickr
prepend_to_path ~/repos/scripts/fs
prepend_to_path ~/repos/scripts/git
prepend_to_path ~/repos/scripts/images
fish_functions/fish_prompt.fish (4953) → fish_functions/fish_prompt.fish (5021)
diff --git a/fish_functions/fish_prompt.fish b/fish_functions/fish_prompt.fish
index 59f9f04..3bf11a4 100644
--- a/fish_functions/fish_prompt.fish
+++ b/fish_functions/fish_prompt.fish
@@ -36,7 +36,9 @@ function print_git_information
printf "$branch"
# Print an asterisk to indicate uncommitted changes, if there are any
+ # Try git update-index --really-refresh?
if ! git diff-index --quiet HEAD --
+
printf "*"
end
flickr/README.md (1116) → flickr/README.md (0)
diff --git a/flickr/README.md b/flickr/README.md
deleted file mode 100644
index e4248e9..0000000
--- a/flickr/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# flickr
-
-These scripts do stuff with the Flickr API.
-
-Some scripts that used to be in this folder have moved to [a standalone repo](https://github.com/Flickr-Foundation/flapi.sh).
-
-## The individual scripts
-
-<!-- [[[cog
-
-# This adds the root of the repo to the PATH, which has cog_helpers.py
-from os.path import abspath, dirname
-import sys
-
-sys.path.append(abspath(dirname(dirname("."))))
-
-import cog_helpers
-
-folder_name = "flickr"
-
-scripts = [
- {
- "usage": "deploy_to_pypi",
- "description": """
- deploy a new version of a Flickr Foundation Python library: bump the version, tag the Git commit, push to PyPI and GitHub.
- """,
- },
-]
-
-cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
-
-]]]-->
-<dl>
- <dt>
- <a href="https://github.com/alexwlchan/scripts/blob/main/flickr/deploy_to_pypi">
- <code>deploy_to_pypi</code>
- </a>
- </dt>
- <dd>
- deploy a new version of a Flickr Foundation Python library: bump the version, tag the Git commit, push to PyPI and GitHub.
- </dd>
-</dl>
-<!-- [[[end]]] (checksum: 25a2e0861d7f789ae830f7da3763f089) -->
python/README.md (1629) → python/README.md (2098)
diff --git a/python/README.md b/python/README.md
index 6193cfa..54babe4 100644
--- a/python/README.md
+++ b/python/README.md
@@ -18,6 +18,12 @@ folder_name = "python"
scripts = [
{
+ "usage": "deploy_to_pypi",
+ "description": """
+ deploy a new version of a Python library: bump the version, tag the Git commit, push to PyPI and GitHub.
+ """,
+ },
+ {
"name": "pyfmt [...PATH]",
"description": "Format Python files with ruff.",
},
@@ -36,6 +42,15 @@ cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
]]]-->
<dl>
<dt>
+ <a href="https://github.com/alexwlchan/scripts/blob/main/python/deploy_to_pypi">
+ <code>deploy_to_pypi</code>
+ </a>
+ </dt>
+ <dd>
+ deploy a new version of a Python library: bump the version, tag the Git commit, push to PyPI and GitHub.
+ </dd>
+
+ <dt>
<a href="https://github.com/alexwlchan/scripts/blob/main/python/pyfmt">
<code>pyfmt [...PATH]</code>
</a>
@@ -62,4 +77,4 @@ cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
A wrapper around `uv pip sync`. You don't need to call this directly.
</dd>
</dl>
-<!-- [[[end]]] (checksum: bc5aac2674e0836cb28c25fa59413628) -->
+<!-- [[[end]]] (checksum: a41fde5ae0ac650aa914107e692982ff) -->
flickr/deploy_to_pypi (952) → python/deploy_to_pypi (952)
diff --git a/flickr/deploy_to_pypi b/python/deploy_to_pypi
similarity index 100%
rename from flickr/deploy_to_pypi
rename to python/deploy_to_pypi