X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/57f650073afc9f8fb2c1bb9e970661c038cad316..286409641dc53f031af06eef0e22b8ade37b2c18:/files/ts/tasks.py diff --git a/files/ts/tasks.py b/files/ts/tasks.py index 7818213..1c1b30f 100644 --- a/files/ts/tasks.py +++ b/files/ts/tasks.py @@ -24,7 +24,7 @@ def journal(c): def browse(c, url): - c.run(f"firefox {url}") + c.run(f"firefox {url}", asynchronous=True) def code(c, path): @@ -42,10 +42,15 @@ def debug(c): print(result.ok) +@task() +def dash(c): + c.run('wtfutil') + + @task def vasl(c): '''Submit time off''' - c.run(f"firefox https://my.techservices.illinois.edu/vacation/submitdays.asp") + browse(c, "https://my.techservices.illinois.edu/vacation/submitdays.asp") browse(c, "https://outlook.office.com/calendar/view/week") @@ -61,11 +66,18 @@ def daily(c): code(c, f'{JOURNAL}/{MONTH}-daily.md') -@task(daily) + +@task() +def in_progress(c): + '''Show in progress items on the Kan-Ban board''' + browse(c, 'https://github.com/orgs/techservicesillinois/projects/10/views/11') + + +@task(daily, in_progress, dash) def status(c): '''Check on status of priorities''' + pass - browse(c, 'https://github.com/orgs/techservicesillinois/projects/10/views/11') @task @@ -91,10 +103,20 @@ def retro(c): browse(c, f'{SECDEV_LIMITED}') +@task(journal) +def data(c): + '''For recording engagements''' + code(c, f'{JOURNAL}/Data/engagements.csv') + # TODO: Launch Jupyter container on this folder as well + # TODO: Add GH command to gather latest data files. + @task(journal) def wins(c): '''For recording team wins''' code(c, f'{JOURNAL}/{YEAR}-Wins.md') +@task +def co_authors(c): + browse(c, 'https://github.com/orgs/techservicesillinois/projects/10?pane=info')