Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Automatic generation of SPK Archives (Synology) #1989

Closed
teichsta opened this issue Jan 15, 2015 · 18 comments
Closed

Automatic generation of SPK Archives (Synology) #1989

teichsta opened this issue Jan 15, 2015 · 18 comments

Comments

@teichsta
Copy link
Member

It would be really great to have SPK archives generated automatically by the Nightly Build. Some development has already been done by contributors of the JDEB Projekt that openHAB uses for the DEB generation (see tcurdt/jdeb#158)

@jorikcaljouw
Copy link

An alternative could be to leverage SynoCommunity's spksrc package cross compilation and building framework. If a package is added there, it could also automatically be added to their SPK-Repository. I think hosting a repository for automatic updates on Synology NAS'es may be outside the scope of this github project?
I can give it a try and report back in a while :)

@cniweb
Copy link
Member

cniweb commented Jul 13, 2015

What is here the state, when it goes on?
Would be really great if it is supported!

@tedstriker
Copy link

if you're keen to stay up to date, you can easily do this manually, rather than waiting for a new spk to be released. After installing openHAB on the Synology NAS you can update it just by replacing the existing with the latest files from the distribution_1.x.x-runtime.zip? Just overwrite everything except addons and configuration folder.
after replacing the remaining folders run "chown openhab * -R" from OpenHAB install directory.
That's it.

@cniweb
Copy link
Member

cniweb commented Jul 14, 2015

I once created a SPK package for version OpenHAB 1.7.0:
https://github.com/cniweb/openhab-syno-spk/releases

It is there also a package for OpenHAB 1.6.2 + 1.6.1 + 1.5.0!

Tested with Synology DiskStation 214play + 209 + 101j!

@teichsta
Copy link
Member Author

it would be REALLY great to have this generation automated. Any chance to find anybody familiar with maven to automate this task?

@cniweb
Copy link
Member

cniweb commented Jul 14, 2015

Hi @teichsta,

perhaps goes the maven assembly plugin:
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
The SPK is a simple tar file renamed in spk...

Chris

@Placemaster
Copy link

Hi @tedstriker,

I confirm it is working for 1.7 with method you mention. Be very carefull with what you do. Copying 1 file to much and it is broken.
Have also copied my items and sitemaps and the openhab.cfg. My system is up and running again but now on 1.7

@cniweb
Copy link
Member

cniweb commented Aug 12, 2015

Hi @teichsta,

to implement a tar file in maven, see here: https://maven.apache.org/plugin-developers/cookbook/generate-assembly.html

Chris

@neoscaler
Copy link

I am addressing this issue, starting today. Thanks for the links @cniweb, will have a look at it.

@lost-carrier
Copy link

Hmm...

Might this be helpful?
https://github.com/lost-carrier/spk-packager-plugin

@teichsta
Copy link
Member Author

Might this be helpful?

oh yes, this looks quite promising! Any volunteers giving this plugin a shot?

@teichsta
Copy link
Member Author

@7bit could the mvn plugin be a way to go? Had a look already?

@lost-carrier
Copy link

i'm happy to provide support, if there's problems...

@cniweb
Copy link
Member

cniweb commented Jan 14, 2016

@7bit, can i help you?

@kaikreuzer
Copy link
Member

@teichsta, this should probably now be moved over to https://github.com/openhab/openhab-distro/issues

@cniweb
Copy link
Member

cniweb commented Jan 14, 2016

The project I did not even know, interesting!

@kaikreuzer
Copy link
Member

Well, it is brand new, but now the new place for all openHAB distribution and packing stuff.

@hmerk
Copy link
Contributor

hmerk commented Apr 6, 2016

can be closed as there is a repo openhab/openhab-syno-spk

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants