Open DarkLite1 opened 7 years ago
Hi @DarkLite1 Over the summer I have not followed this snap package too much, since I got stuck in some places. Auto-update does not work at the moment, but there were some more fundamental issues with ubuntu core being so secure, that adding things like a usb zwave controller, usb DSMR cable or external media need a user (or me) to spin a dedicated ubuntu core image that allows these items to be connected. @kubiko created one, but that link does not exist anymore. And then there are some things with launchpad that I never 100% got to work, hence the lack of automated updates, something that was supposed to in place. Then canonical started their reorganization, that did not help move things ... etc Last days I was looking and things may be looking a little more positive. My effort is not entirely dormant, but snail pace for sure. Best regards, Roeland
@kaikreuzer
Thanks for the feedback, I already thought that this was something to be done in an automated way. Shame it's such a hassle to set it up properly, because all distributions would benefit from this. Especially because Snap
packages are so nice to use. There's literally no hassle in setting up Java or whatever else.
Thank you for the current snap, appreciate it. Let's hope we can automate this at some point. Fingers crossed.
hi all sorry for late response….. I spent some time with snap recipe now, and hopefully this will help to make build lot more automated. Old version needed essentially git commit for each new version. Now it should determine version automatically from pom.xml. It's pointed to build from master on openhab-distro, but it also tries to determine if master is just one commit behind latest tag and then it will build from tag instead. Hopefully this will allow us to also automate release builds. I will do pull request hopefully today once I'm done with more testing. So missing part is changing this somehow into cloud bees build. I'm not familiar with cloudbees, so I can't tell how this could be done. We can either poke Launchpad to start build, or we can do build entirely in cloudbees and only push new snaps to the store. @r2geo any idea who can help with this? If we do snap building in cloudbees, we can even reuse zip/tar ball generated there.
@r2geo can you also let me know what were some other problems you have found with new versions so I can have a look?
I also moved addons directory mapping, so user can now easily included custom addons, before it required some config changes.
Hi Ondrej, good to see your writing. Tomorrow I will send you an email direct with some issues where I get stuck. Best regards, Roeland
Thanks guys for the effort. Really appreciate it!
Seems like Ubuntu now has a special build service for snaps: https://build.snapcraft.io/
Greetings.
I was sent here via the following thread on the OpenHAB site:
Confirming the official OH Snap is very outdated: https://snapcraft.io/openhab
But looks like @kubiko may be maintaining an up-to-date version: https://snapcraft.io/openhab-ondra
I would prefer to pull from the official repo location if possible.
@kubiko Can you comment as to the status/purpose of your OH Snap Repo and weather an update to the official Snap might be coming soon?
Thanks!
Not much to add for now but I'm interested in as a user to see an updated version of OH snap. Automated build would be super, but even manual build that includes the latest OH is better than no update.
Sorry for no response Purpose of my snap is prototyping with new features and test builds before pushing it to upstream, and I've been quite sloppy with last part. Admittedly I should have used edge channel of OpenHAB snap instead. It was just quicker to iterate as I was not having lately time to play with it. Some features I worked on
I do see the latest released OpenHAB, which is 2.5.9 IIUC https://github.com/openhab/openhab-distro/tags, is also available via snap
.
$ snap info openhab
name: openhab
summary: openHAB smart home server
publisher: openHAB Foundation e.V. (openhab)
store-url: https://snapcraft.io/openhab
contact: snaps@canonical.com
license: unset
description: |
openHAB - a vendor and technology agnostic open source automation software for your home.
commands:
- openhab.backup
- openhab.client
- openhab.help
- openhab.influx
- openhab.karaf
- openhab.restore
- openhab.start
- openhab.status
- openhab.stop
services:
openhab.influx-setup: oneshot, disabled, inactive
openhab.influxd: simple, disabled, inactive
openhab: simple, enabled, active
snap-id: WpdPxW72JupkC8XTgaJsig3LEHdrR56x
tracking: latest/stable
refresh-date: today at 10:19 UTC
channels:
latest/stable: 2.5.9 2020-10-01 (553) 161MB -
latest/candidate: 2.5.9 2020-10-01 (553) 161MB -
latest/beta: 2.5.9 2020-10-01 (553) 161MB -
latest/edge: 3.0.0.M1 2020-10-12 (581) 159MB -
installed: 2.5.9 (553) 161MB -
I do see the latest released OpenHAB, which is 2.5.9 IIUC https://github.com/openhab/openhab-distro/tags, is also available via
snap
.
Confirmed @130s' findings via openhab snap webpage ( https://snapcraft.io/openhab ) that latest/stable
== 2.5.9
and latest/edge
== 3.0.0.M1
This is good news! Looks like we might be able to close this issue.
@kubiko @r2geo When trying to install the OpenHAB 2 snap package from the command line it appears only version
2.0.0
is published asStable
while the website advertises version2.1.0
to be the latestStable
available:I've also read somewhere that version
2.2.0
is in development now. Should that not be the one that should be in theEdge
channel?Is it possible to update the packages in the snap store to the latest and greatest?
Thank you for your help.
See original issue