]> Nutra Git (v1) - nutratech/cli.git/log
nutratech/cli.git
4 weeks agoupdate setfup.cfg from a while ago
Shane Jaroch [Fri, 26 Dec 2025 12:45:34 +0000 (07:45 -0500)]
update setfup.cfg from a while ago

11 months agowip relative food prog bars
Shane Jaroch [Tue, 28 Jan 2025 02:21:06 +0000 (21:21 -0500)]
wip relative food prog bars

18 months agobump version 0.2.8.dev2 v0.2.8.dev2
Shane Jaroch [Fri, 19 Jul 2024 15:21:27 +0000 (11:21 -0400)]
bump version 0.2.8.dev2

18 months agofix null bug_insert if args=None
Shane Jaroch [Fri, 19 Jul 2024 15:19:32 +0000 (11:19 -0400)]
fix null bug_insert if args=None

21 months agoformat readme
Shane Jaroch [Wed, 24 Apr 2024 19:44:34 +0000 (15:44 -0400)]
format readme

21 months agobump dev version 0.2.8.dev1
Shane Jaroch [Tue, 23 Apr 2024 18:42:38 +0000 (14:42 -0400)]
bump dev version 0.2.8.dev1

21 months agobetter check for HOOK in .bashrc, rm prefs.json
Shane Jaroch [Tue, 23 Apr 2024 18:41:09 +0000 (14:41 -0400)]
better check for HOOK in .bashrc, rm prefs.json

21 months agoupdate TODOs and helper text (printed off init)
Shane Jaroch [Sat, 20 Apr 2024 16:16:32 +0000 (12:16 -0400)]
update TODOs and helper text (printed off init)

21 months agono deprecated nodejs-16 workflow actions
Shane Jaroch [Sat, 20 Apr 2024 16:02:25 +0000 (12:02 -0400)]
no deprecated nodejs-16 workflow actions

21 months agoupgrade deps (lint)
Shane Jaroch [Sat, 20 Apr 2024 16:00:23 +0000 (12:00 -0400)]
upgrade deps (lint)

21 months agoadd TODO
Shane Jaroch [Fri, 19 Apr 2024 19:40:30 +0000 (15:40 -0400)]
add TODO

21 months agocover api
Shane Jaroch [Fri, 19 Apr 2024 18:05:50 +0000 (14:05 -0400)]
cover api

21 months agowip test ApiClient
Shane Jaroch [Fri, 19 Apr 2024 18:01:07 +0000 (14:01 -0400)]
wip test ApiClient

21 months agosmall fix listing bug values not keys
Shane Jaroch [Fri, 19 Apr 2024 17:51:09 +0000 (13:51 -0400)]
small fix listing bug values not keys

21 months agono f-string
Shane Jaroch [Fri, 19 Apr 2024 17:49:33 +0000 (13:49 -0400)]
no f-string

21 months agofix test mock with _list_bugs_unsubmitted
Shane Jaroch [Fri, 19 Apr 2024 17:43:56 +0000 (13:43 -0400)]
fix test mock with _list_bugs_unsubmitted

    wasn't getting called now due to loss of happy path

21 months agofix test?
Shane Jaroch [Fri, 19 Apr 2024 17:39:11 +0000 (13:39 -0400)]
fix test?

21 months agofix python 3.5 type annotations
Shane Jaroch [Fri, 19 Apr 2024 17:39:04 +0000 (13:39 -0400)]
fix python 3.5 type annotations

21 months agotest fix
Shane Jaroch [Fri, 19 Apr 2024 17:29:42 +0000 (13:29 -0400)]
test fix

21 months agobuild on 3.5 too
Shane Jaroch [Fri, 19 Apr 2024 17:28:25 +0000 (13:28 -0400)]
build on 3.5 too

21 months agotest python-3.4 incompatible type annotation
Shane Jaroch [Fri, 19 Apr 2024 17:20:48 +0000 (13:20 -0400)]
test python-3.4 incompatible type annotation

21 months ago`: list` can be replaced with `: Sequence[...]`
Shane Jaroch [Fri, 19 Apr 2024 17:20:20 +0000 (13:20 -0400)]
`: list` can be replaced with `: Sequence[...]`

21 months agofix api parameter (dict now, not sqlite3.Row)
Shane Jaroch [Fri, 19 Apr 2024 17:15:20 +0000 (13:15 -0400)]
fix api parameter (dict now, not sqlite3.Row)

21 months agotry Sequence[dict]
Shane Jaroch [Fri, 19 Apr 2024 17:12:17 +0000 (13:12 -0400)]
try Sequence[dict]

21 months agorename recipe.utils to recipe.recipe
Shane Jaroch [Fri, 19 Apr 2024 17:12:04 +0000 (13:12 -0400)]
rename recipe.utils to recipe.recipe

21 months agocover tree.py
Shane Jaroch [Fri, 19 Apr 2024 16:59:00 +0000 (12:59 -0400)]
cover tree.py

21 months agocover bugs and arg parse funcs
Shane Jaroch [Fri, 19 Apr 2024 16:57:06 +0000 (12:57 -0400)]
cover bugs and arg parse funcs

21 months agocosmetic
Shane Jaroch [Fri, 19 Apr 2024 16:13:39 +0000 (12:13 -0400)]
cosmetic

21 months agomake `_aggregate_rows()` method private
Shane Jaroch [Thu, 18 Apr 2024 19:12:55 +0000 (15:12 -0400)]
make `_aggregate_rows()` method private

21 months agoadd todo; use/compare exc string in var
Shane Jaroch [Fri, 12 Apr 2024 23:54:47 +0000 (19:54 -0400)]
add todo; use/compare exc string in var

21 months agoadd TODO
Shane Jaroch [Fri, 12 Apr 2024 23:37:06 +0000 (19:37 -0400)]
add TODO

21 months agofully cover, add test in recipes, aggregate_rows()
Shane Jaroch [Fri, 12 Apr 2024 23:34:54 +0000 (19:34 -0400)]
fully cover, add test in recipes, aggregate_rows()

21 months agoadd TODOs
Shane Jaroch [Fri, 12 Apr 2024 23:24:12 +0000 (19:24 -0400)]
add TODOs

21 months agofully cover: services/recipe/utils.py
Shane Jaroch [Fri, 12 Apr 2024 23:22:33 +0000 (19:22 -0400)]
fully cover: services/recipe/utils.py

21 months agore-enable & fix recipe (invalid path) test
Shane Jaroch [Fri, 12 Apr 2024 23:16:44 +0000 (19:16 -0400)]
re-enable & fix recipe (invalid path) test

21 months agofix tuple(csv_reader), list() first. Add test:
Shane Jaroch [Fri, 12 Apr 2024 23:01:39 +0000 (19:01 -0400)]
fix tuple(csv_reader), list() first.  Add test:

    test_recipes_overview_process_data_dupe_recipe_uuids_throws_key_error

21 months agocoverage ignores in ntsqlite submodule
Shane Jaroch [Fri, 12 Apr 2024 22:47:45 +0000 (18:47 -0400)]
coverage ignores in ntsqlite submodule

21 months agofully cover: sql/__init__.py
Shane Jaroch [Fri, 12 Apr 2024 22:43:34 +0000 (18:43 -0400)]
fully cover: sql/__init__.py

21 months agorename test
Shane Jaroch [Fri, 12 Apr 2024 22:03:58 +0000 (18:03 -0400)]
rename test

21 months agofully cover services/__init__.py
Shane Jaroch [Fri, 12 Apr 2024 22:03:05 +0000 (18:03 -0400)]
fully cover services/__init__.py

21 months agoupdate scripts: `nutra` and `scripts/n`
Shane Jaroch [Fri, 12 Apr 2024 21:57:50 +0000 (17:57 -0400)]
update scripts: `nutra` and `scripts/n`

21 months agocontextual patch()
Shane Jaroch [Fri, 12 Apr 2024 21:53:47 +0000 (17:53 -0400)]
contextual patch()

21 months agomake testable function: version_check()
Shane Jaroch [Fri, 12 Apr 2024 21:49:37 +0000 (17:49 -0400)]
make testable function: version_check()

21 months agoadd test for __init__.py (version check branch)
Shane Jaroch [Fri, 12 Apr 2024 21:41:29 +0000 (17:41 -0400)]
add test for __init__.py (version check branch)

21 months agoadd TODO in requirements-test.txt
Shane Jaroch [Fri, 12 Apr 2024 21:17:51 +0000 (17:17 -0400)]
add TODO in requirements-test.txt

21 months agoempty-commit test DB failure due to needed upgrade
Shane Jaroch [Fri, 12 Apr 2024 21:13:36 +0000 (17:13 -0400)]
empty-commit test DB failure due to needed upgrade

21 months agomove todo about ".nutra.test" test home dir
Shane Jaroch [Fri, 12 Apr 2024 21:03:58 +0000 (17:03 -0400)]
move todo about ".nutra.test" test home dir

21 months agoremove shabangs
Shane Jaroch [Fri, 12 Apr 2024 20:53:41 +0000 (16:53 -0400)]
remove shabangs

21 months agouncomment raise for status on api client post?
Shane Jaroch [Fri, 12 Apr 2024 20:44:45 +0000 (16:44 -0400)]
uncomment raise for status on api client post?

21 months agoMerge branch 'master' into dev
Shane Jaroch [Fri, 12 Apr 2024 20:42:51 +0000 (16:42 -0400)]
Merge branch 'master' into dev

21 months agoupgrade black master
Shane Jaroch [Fri, 12 Apr 2024 20:41:17 +0000 (16:41 -0400)]
upgrade black

21 months agoupgrade black
Shane Jaroch [Fri, 12 Apr 2024 20:41:17 +0000 (16:41 -0400)]
upgrade black

21 months agowarn to do a 'git add' when make format changes
Shane Jaroch [Fri, 12 Apr 2024 20:40:38 +0000 (16:40 -0400)]
warn to do a 'git add' when make format changes

21 months agoremove unused function
Shane Jaroch [Fri, 12 Apr 2024 20:39:31 +0000 (16:39 -0400)]
remove unused function

21 months agoimprove mocks
Shane Jaroch [Fri, 12 Apr 2024 20:39:12 +0000 (16:39 -0400)]
improve mocks

21 months agowip
Shane Jaroch [Fri, 12 Apr 2024 20:23:41 +0000 (16:23 -0400)]
wip

21 months agobugs: mock API call, still need to mock DB call
Shane Jaroch [Fri, 12 Apr 2024 20:06:58 +0000 (16:06 -0400)]
bugs: mock API call, still need to mock DB call

21 months agouse makefile syntax, not bash. upgrade deps
Shane Jaroch [Fri, 12 Apr 2024 19:26:56 +0000 (15:26 -0400)]
use makefile syntax, not bash. upgrade deps

21 months agoupgrade deps
Shane Jaroch [Thu, 28 Mar 2024 23:53:51 +0000 (19:53 -0400)]
upgrade deps

21 months agoformatting, comments
Shane Jaroch [Thu, 28 Mar 2024 23:50:30 +0000 (19:50 -0400)]
formatting, comments

22 months agobump USDA version to 0.0.10
Shane Jaroch [Sat, 2 Mar 2024 16:12:30 +0000 (11:12 -0500)]
bump USDA version to 0.0.10

22 months agofix test
Shane Jaroch [Sat, 2 Mar 2024 15:50:07 +0000 (10:50 -0500)]
fix test

22 months agofix unused headers var (oh well)
Shane Jaroch [Sat, 2 Mar 2024 15:47:28 +0000 (10:47 -0500)]
fix unused headers var (oh well)

22 months agofinish sql refactor
Shane Jaroch [Sat, 2 Mar 2024 15:46:16 +0000 (10:46 -0500)]
finish sql refactor

22 months agowip refactor sql() to return headers, and more
Shane Jaroch [Sat, 2 Mar 2024 15:45:02 +0000 (10:45 -0500)]
wip refactor sql() to return headers, and more

22 months agoadd TODO in test_cli to split up/mock out argparse
Shane Jaroch [Fri, 1 Mar 2024 13:10:37 +0000 (08:10 -0500)]
add TODO in test_cli to split up/mock out argparse

22 months agotidy TODOs, move line of code up
Shane Jaroch [Fri, 1 Mar 2024 02:44:34 +0000 (21:44 -0500)]
tidy TODOs, move line of code up

22 months agolint suppression
Shane Jaroch [Wed, 28 Feb 2024 20:33:28 +0000 (15:33 -0500)]
lint suppression

22 months agostandardize all to build_subcommand_*
Shane Jaroch [Tue, 27 Feb 2024 01:21:24 +0000 (20:21 -0500)]
standardize all to build_subcommand_*

23 months agoadd dev URL explicitly to API list v0.2.8.dev0
Shane Jaroch [Mon, 26 Feb 2024 19:14:15 +0000 (14:14 -0500)]
add dev URL explicitly to API list

23 months agopragma cover, and fall through non 200 errors
Shane Jaroch [Mon, 26 Feb 2024 03:36:18 +0000 (22:36 -0500)]
pragma cover, and fall through non 200 errors

23 months agoappease pycharm
Shane Jaroch [Mon, 26 Feb 2024 03:24:33 +0000 (22:24 -0500)]
appease pycharm

23 months agopylintrc
Shane Jaroch [Mon, 26 Feb 2024 03:14:49 +0000 (22:14 -0500)]
pylintrc

23 months agoRevert "pylint"
Shane Jaroch [Mon, 26 Feb 2024 03:14:06 +0000 (22:14 -0500)]
Revert "pylint"

This reverts commit db4e73cf3a022991a22b0aee59ab7e497f1c566b.

23 months agopylint
Shane Jaroch [Mon, 26 Feb 2024 03:10:48 +0000 (22:10 -0500)]
pylint

23 months agofix quadratic with -g | --grams
Shane Jaroch [Mon, 26 Feb 2024 03:06:37 +0000 (22:06 -0500)]
fix quadratic with -g | --grams

23 months agoheader for bug in argparser funcs
Shane Jaroch [Sun, 25 Feb 2024 22:32:02 +0000 (17:32 -0500)]
header for bug in argparser funcs

23 months agosplit repr (exc_type/exc_msg), store more bug data
Shane Jaroch [Sun, 25 Feb 2024 22:27:54 +0000 (17:27 -0500)]
split repr (exc_type/exc_msg), store more bug data

23 months agotidy, remove pointless nested simulate_bug()
Shane Jaroch [Sun, 25 Feb 2024 21:50:33 +0000 (16:50 -0500)]
tidy, remove pointless nested simulate_bug()

23 months agoaaa test package (test order, test_bug depends)
Shane Jaroch [Sun, 25 Feb 2024 21:46:57 +0000 (16:46 -0500)]
aaa test package (test order, test_bug depends)

    it needs the nt.sqlite3 file in place and of the latest version

23 months agotest bug
Shane Jaroch [Sun, 25 Feb 2024 21:35:00 +0000 (16:35 -0500)]
test bug

23 months agousda init: pragma: no cover
Shane Jaroch [Sun, 25 Feb 2024 21:13:15 +0000 (16:13 -0500)]
usda init: pragma: no cover

23 months agoadd recipe_csv_util tests
Shane Jaroch [Sun, 25 Feb 2024 21:10:45 +0000 (16:10 -0500)]
add recipe_csv_util tests

23 months agotest coverage ApiClient.get() not used yet anyway
Shane Jaroch [Sun, 25 Feb 2024 21:05:56 +0000 (16:05 -0500)]
test coverage ApiClient.get() not used yet anyway

23 months agotest coverage
Shane Jaroch [Sun, 25 Feb 2024 20:53:09 +0000 (15:53 -0500)]
test coverage

23 months agowip testing, bleh
Shane Jaroch [Sun, 25 Feb 2024 20:33:11 +0000 (15:33 -0500)]
wip testing, bleh

23 months agotest coverage, *shrugs*
Shane Jaroch [Sun, 25 Feb 2024 20:28:33 +0000 (15:28 -0500)]
test coverage, *shrugs*

23 months agowip, but `anl` is working somewhat okay now again
Shane Jaroch [Sun, 25 Feb 2024 20:23:57 +0000 (15:23 -0500)]
wip, but `anl` is working somewhat okay now again

23 months agowip
Shane Jaroch [Sun, 25 Feb 2024 20:13:18 +0000 (15:13 -0500)]
wip

23 months agowip
Shane Jaroch [Sun, 25 Feb 2024 18:21:54 +0000 (13:21 -0500)]
wip

23 months agowip
Shane Jaroch [Sun, 25 Feb 2024 17:55:29 +0000 (12:55 -0500)]
wip

23 months agoupdate comments
Shane Jaroch [Sun, 25 Feb 2024 17:10:41 +0000 (12:10 -0500)]
update comments

23 months agotruncate food name > 50 characters
Shane Jaroch [Sun, 25 Feb 2024 17:03:42 +0000 (12:03 -0500)]
truncate food name > 50 characters

23 months agomore typing indictaors/casting
Shane Jaroch [Sun, 25 Feb 2024 16:58:42 +0000 (11:58 -0500)]
more typing indictaors/casting

23 months agobump 3.10 --> 3.11
Shane Jaroch [Sun, 25 Feb 2024 16:50:52 +0000 (11:50 -0500)]
bump 3.10 --> 3.11

23 months agofix no such file error
Shane Jaroch [Sun, 25 Feb 2024 16:45:32 +0000 (11:45 -0500)]
fix no such file error

23 months agofix submodule (no such commit was found error)
Shane Jaroch [Sun, 25 Feb 2024 16:42:30 +0000 (11:42 -0500)]
fix submodule (no such commit was found error)

23 months agosuppress exception for now, for testing purposes
Shane Jaroch [Sun, 25 Feb 2024 16:22:28 +0000 (11:22 -0500)]
suppress exception for now, for testing purposes

23 months agofix URL for usda-sqlite.sql.tar.xz
Shane Jaroch [Sun, 25 Feb 2024 16:20:40 +0000 (11:20 -0500)]
fix URL for usda-sqlite.sql.tar.xz

23 months agotyping Sequence[], Mapping[] vs. list, dict
Shane Jaroch [Sun, 25 Feb 2024 16:11:33 +0000 (11:11 -0500)]
typing Sequence[], Mapping[] vs. list, dict