From a64bcd9a3a837fa24fb1f0913e306c892092f14c Mon Sep 17 00:00:00 2001 From: mahiki Date: Tue, 23 Jul 2024 10:14:50 +0200 Subject: [PATCH] notes --- justfile | 2 +- notes/package-log.md | 3 +-- todo/TODO.md | 8 ++++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 15eb38c..e15aff9 100644 --- a/justfile +++ b/justfile @@ -62,4 +62,4 @@ info: @echo " {{GR}}poetry shell" @echo " {{BGR}}wn --help" @echo - + @echo "# TODO: git push --set-upstream origin release/0.3.9" \ No newline at end of file diff --git a/notes/package-log.md b/notes/package-log.md index 4c02055..1d6a7d7 100644 --- a/notes/package-log.md +++ b/notes/package-log.md @@ -96,7 +96,6 @@ packages = [ [tool.poetry.scripts] too = "src.toobigdatadoc.too:main" wn = "src.weeknumber.wn:app" - ``` -Looks like that needs update and fix. \ No newline at end of file +Looks like that needs update and fix. diff --git a/todo/TODO.md b/todo/TODO.md index cc02346..e1515d4 100644 --- a/todo/TODO.md +++ b/todo/TODO.md @@ -2,7 +2,15 @@ * build and bump homebrew: justfile or github actions? * tests in GHA is cool, esp merge after tests pass + +## TODO: homebrew deployment +https://docs.brew.sh/Formula-Cookbook +There is a process for testing the formula and its built application before merging to main and surfacing the new version to the world as a broken tool. + ## TODO: ADD TEST FOR BUILD/DEPLOY +1. poetry build -> test functionality as built cli command +2. brew side: test functionality before merging the formual + Homebrew calls each script like the following. Its possible the deployed script can fail because of misconfiguration in the pyproject file. So its smart to run a test of the built package by building in CICD `brew install desertislandutils.rb` or something.