From 16362d6b1e512305bdc3640821a549cc941e4161 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Thu, 2 Jul 2026 22:32:04 -0500 Subject: [PATCH 1/1] Add come git clone helpers --- invoke/setup-linux/tasks.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/invoke/setup-linux/tasks.py b/invoke/setup-linux/tasks.py index fabd7eb..9797060 100644 --- a/invoke/setup-linux/tasks.py +++ b/invoke/setup-linux/tasks.py @@ -127,3 +127,19 @@ def env_ansible(c): def env_jupyter(c): ensure_env(c, 'jupyter') +@task +def clone(c, path): + c.run(f'mkdir -p {HOME}/src') + c.run(f'cd {HOME}/src; git clone {path}') + +@task +def clone_minion(c): + clone(c, 'ssh://git@codeberg.org/EdTheDev/minion.git') + +@task +def clone_favs(c): + clone(c, 'ssh://git@codeberg.org/EdTheDev/down-shift.git') + clone(c, 'ssh://git@codeberg.org/EdTheDev/todolist.git') + clone(c, 'ssh://git@codeberg.org/EdTheDev/weekend-template.git') + clone(c, 'ssh://git@codeberg.org/EdTheDev/invoke-tui.git') + -- 2.47.3