#How do I test my changes locally?

1 messages · Page 1 of 1 (latest)

versed tusk
faint field
#

Basically storing them in /addons and then check for updates in the add-on store.

versed tusk
#

ok, let me try that I was scratching my head looking for that directory

faint field
#

/addonsis not a subdirectory of the config directory.
It is on the same filesystem level.

versed tusk
#

ok, I did what you ask me but I cloned the repository inside the addons ... after refresh the addon ui I do not see local ... should I restart HA?

faint field
#

Did you select "Check for updates" from the dotsvertical menu of the add-on store?

versed tusk
#

I did not, should I?

faint field
#

Yes. And if it still doesn't show up, refresh the webpage.

versed tusk
#

I do not know if the repository has the required structure, I just fork-it from the original repo and add my changes

faint field
#

If you need help with the development, go to id:customize and select "I want top contribute dev skills to Home Assistant". You will get the Developer role and access to the support channels for devs.

versed tusk
#

well while I am a developer I am not a Python dev so this contrib is minimal ... ok, I see it now but I am unable to install it:

The command '/bin/sh -c set -eux; apk update; apk add --no-cache --virtual .build-deps tar=1.34-r0 curl=7.83.1-r2 ; APKARCH="$(apk --print-arch)"; case "${APKARCH}" in x86_64) BINARCH='amd64' ;; armhf) BINARCH='arm' ;; armv7) BINARCH='arm' ;; aarch64) BINARCH='arm64' ;; *) echo >&2 "error: unsupported architecture (${APKARCH})"; exit 1 ;; esac; curl -J -L -o /tmp/rtlamr.tar.gz "https://github.com/bemasher/rtlamr/releases/download/v${RTLAMR_VERSION}/rtlamr_linux_${BINARCH}.tar.gz"; tar -xf /tmp/rtlamr.tar.gz -C /usr/bin; chmod a+x /usr/bin/rtlamr; rm /tmp/rtlamr.tar.gz;' returned a non-zero code: 3

faint field
#

Don't be scared away by the "I want to contribute...". It is just the option in the self-service area to get access to the dev support.

versed tusk
#

@inland sand can you help?

lapis island
#

Pinging people not in the conversation is frowned upon.

opaque swan
#

The packages are more than likely out of date, especially as you are pulling latest, if you want to do that I would suggest you remove the pinning.

#

I would also suggest you run the build outside of HA, so you can get the full logs

versed tusk
#

that has been my question heh