• Joined on 2020-03-30
roxxers pushed to recipe-ls at coop-cloud/go-abra 2021-07-21 09:20:54 +00:00
5f4d2b88f5 Merge branch 'main' into recipe-ls
29971c36a0 refactor: moved all fatal errors to logrus
2158dc851c test: makefile now runs all tests recursively
a36e80db99 fix: fixing domain being required.
b0c241ae98 bulid: added build-dev option
Compare 5 commits »
roxxers commented on pull request coop-cloud/go-abra#8 2021-07-21 09:19:36 +00:00
Add recipe ls command

Also, what can be tested here? Can I mock the JSON to do offline tests?

I've seen rumblings on mocking an actual http call in a unit test for a mock one that returns what ever you want. No rush…

roxxers commented on pull request coop-cloud/go-abra#8 2021-07-21 09:14:56 +00:00
Add recipe ls command

Your function never returns this error. It is just logging it and exiting the program. You should change this to return nil, err. This can then be dealt with by the command itself.

roxxers commented on pull request coop-cloud/go-abra#8 2021-07-21 09:14:56 +00:00
Add recipe ls command

This will never be run because you never return an error, see comment on GetAppsJSON

roxxers commented on pull request coop-cloud/go-abra#8 2021-07-21 09:14:56 +00:00
Add recipe ls command

I am not totally against this approach. I worry about the speed of it but honestly might just say fuck it and use this as our baseline for sorting maps.

roxxers suggested changes for coop-cloud/go-abra#8 2021-07-21 09:14:56 +00:00
Add recipe ls command

Not much to review since most of it is good! Just one note, and a situation where you don't return an error where you should. So gunna label it as requesting a change for that reason but its a one line change 💙

roxxers pushed to main at coop-cloud/go-abra 2021-07-21 08:14:40 +00:00
29971c36a0 refactor: moved all fatal errors to logrus
roxxers pushed to main at coop-cloud/go-abra 2021-07-21 07:56:53 +00:00
2158dc851c test: makefile now runs all tests recursively
roxxers commented on issue coop-cloud/go-abra#5 2021-07-21 07:38:34 +00:00
DOMAIN is not always required

done

roxxers closed issue coop-cloud/go-abra#5 2021-07-21 07:38:34 +00:00
DOMAIN is not always required
roxxers pushed to main at coop-cloud/go-abra 2021-07-21 07:38:13 +00:00
a36e80db99 fix: fixing domain being required.
roxxers pushed to main at coop-cloud/go-abra 2021-07-21 07:20:18 +00:00
b0c241ae98 bulid: added build-dev option
roxxers commented on issue coop-cloud/go-abra#4 2021-07-21 07:10:05 +00:00
Reducing binary size in the build

Saw that http://plugins.drone.io/drone-plugins/drone-gitea-release/ can probably sort our release uploading for us.

could use this for our github mirror…

roxxers opened issue coop-cloud/go-abra#7 2021-07-21 07:00:53 +00:00
Setup Contributing.md and pre-commit hooks
roxxers commented on issue coop-cloud/go-abra#3 2021-07-21 06:59:03 +00:00
Adopt Conventional Commits as standard to all commits

Saw that we can run a CI check that'll lint the commit messages for format:

https://github.com/conventional-changelog/commitlint

Looks good but I worry about the effects of doing that…

roxxers commented on issue coop-cloud/go-abra#6 2021-07-21 06:34:52 +00:00
godotenv multiline env vars and unexpected tokens

I think moving to Viper and then doing what makes sense for the situation is the best way forward sindi it seems to support everything. I will move it to Viper and then we can work on the config…

roxxers commented on issue coop-cloud/go-abra#5 2021-07-21 06:32:54 +00:00
DOMAIN is not always required

yeah makes sense. Will fix soon.

roxxers pushed to main at coop-cloud/levelfly 2021-07-20 16:09:44 +00:00
7aba8749f6 fix: memory leakage and incorrect postgres
roxxers pushed to main at coop-cloud/go-abra 2021-07-20 12:00:03 +00:00
16514b3151 feat: implemented type & servers flags in `app ls`
roxxers pushed to main at coop-cloud/go-abra 2021-07-19 13:38:24 +00:00
dee013e4e4 test: added makefile entry for running tests