X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/f860589a4837b40755d334765cb167c1c4377999..2036ae3a31784ca07ac58cd3e2fafc6848ccddac:/files/ts/tasks.py diff --git a/files/ts/tasks.py b/files/ts/tasks.py index e35b5e1..015b6c5 100644 --- a/files/ts/tasks.py +++ b/files/ts/tasks.py @@ -50,7 +50,7 @@ def dash(c): @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") @@ -103,11 +103,24 @@ def retro(c): browse(c, f'{SECDEV_LIMITED}') - @task(journal) +def data(c): + '''For recording engagements''' + c.run(f'soffice {JOURNAL}/Data/engagements.ods') + # TODO: Launch Jupyter container on this folder as well + +@task +def gather-data(c): + raise NotImplementedError() + # TODO: Add GH command to gather latest data files. + + +@task(data) 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')