Sbt packager can put an upgrade script or the like as post install script for RPM/DEB.
2017-02-17 13:28 GMT+09:00 Kenneth Chan <[email protected]>: > how does rpm/deb handle PIO version upgrade ? > > > On Thu, Feb 16, 2017 at 8:04 PM Shinsuke Sugaya <[email protected]> > wrote: > >> > How are you handling submitting PIO's artifact to Spark >> >> Not changed at the moment. >> To keep make-distribution.sh, ZIP distribution generated >> by sbt native packager is the same structure as PredictionIO-*.tar.gz. >> For RPM/DEB package, I think that we can use pio command >> by modifying log message handling. >> >> -shinsuke >> >> >> 2017-02-17 10:50 GMT+09:00 Donald Szeto <[email protected]>: >> > This would be a great addition! How are you handling submitting PIO's >> > artifact to Spark, specifically the CreateWorkflow class in tools? >> > >> > Regards, >> > Donald >> > >> > On Thu, Feb 16, 2017 at 4:10 PM Shinsuke Sugaya <[email protected]> >> > wrote: >> > >> >> Hi >> >> >> >> Do you have a plan to use sbt native packager? >> >> In our forked branch, I added it under assembly directory. >> >> https://github.com/jpioug/incubator-predictionio >> >> Currently, both make-distribution.sh and >> >> sbt assembly/universal:packageBin work to build a binary distribution. >> >> I'd like to create rpm/deb package in the future... >> >> I'll contribute this task if you don't have any concerns. >> >> >> >> Regards, >> >> shinsuke >> >> >>
