Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-06 Thread mherger

Would something like this be good enough?


Code:

  'nocpan' => {
  'url' => 
'http://downloads.slimdevices.com/nightly/7.9/sc/481dece/logitechmediaserver-7.9.0-1485931015-noCPAN.tgz',
  'revision' => 1485931015,
  'version' => '7.9.0'
  },
  




Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=106938

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-07 Thread paul-

I think so.  As long as LMS gets the revision and update URL, Update.pm
should be happy.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=106938

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-07 Thread Michael Herger

I think so.  As long as LMS gets the revision and update URL, Update.pm
should be happy.


I'm a little confused: as you are providing your own tcz build, why 
would you use the in-built update checker at all?


--

Michael
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-07 Thread paul-

mherger wrote: 
> 
> I'm a little confused: as you are providing your own tcz build, why 
> would you use the in-built update checker at all?
> 
Because you led me down the rabbit hole.  :)

http://forums.slimdevices.com/showthread.php?105171-LMS-on-TinyCore&p=845536&viewfull=1#post845536

Anyway, the change you made to the server response took care of the
problem.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=106938

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-08 Thread Michael Herger

Because you led me down the rabbit hole.  :)


I still don't see why LMS on pCP should check for noCPAN if you were to 
provide your own packages. We'd have to build tcz packages and include 
them in the update check instead to make this work, wouldn't we?


FWIW: I'd be willing to look into building those files for you with all 
the others. Those build systems don't do anything else. They're not too 
busy... Are all scripts etc. committed in your repository?


--

Michael
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-08 Thread paul-

mherger wrote: 
> > Because you led me down the rabbit hole.  :)
> 
> I still don't see why LMS on pCP should check for noCPAN if you were to
> 
> provide your own packages. We'd have to build tcz packages and include 
> them in the update check instead to make this work, wouldn't we?
> 
> FWIW: I'd be willing to look into building those files for you with all
> 
> the others. Those build systems don't do anything else. They're not too
> 
> busy... Are all scripts etc. committed in your repository?
> 
> -- 
> 
> Michael

I use the noCPAN tarball, as I keep all of the binaries in a separate
extension, and it was easier for me to script the re-packing of the tcz
from the no cpan tarball, than it was for me to automate building
distributing the tcz.  (At the time I did this, I wasn't part of the pCP
team..and didn't have access to a repo for others to grab nightlies
from)

Starting with the noCpan tarball, I add the files that are contained
here https://github.com/paul-1/lms-update-script

The Update script
1) Updates itself from github
2) Grabs the update link the LMS saves via Update.pm.  Then Downloads
the noCPAN tarball
3) Downloads the other LMS customizations and init.d files from github
4) updates all of the permissions
5) Repacks the extension

If you were to build the tcz from the LMS build system.  Some minor
changes to the LMS customizations would be needed.  The update script
would get much smaller.  At this point, the only file likely to ever
change was the init.d script.  Not sure how we could coordinate this.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=106938

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-09 Thread sbp

Paul, you are the expert here as you made the LMS script that allows LMS
on pCP - so therefore I might be wrong. 

But I'm thinking it could be a problem that pCP often use a more
up-to-date version of Perl than most other distros, and therefore would
have problems using a pre-build version ? I thought that this was the
reason for us to use the noCPAN version and build the package?



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://sites.google.com/site/picoreplayer/home

*Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer*

sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=106938

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-11 Thread Michael Herger

I use the noCPAN tarball, as I keep all of the binaries in a separate


Oh, you use the update checker in your build script, not in LMS...


The Update script
1) Updates itself from github
2) Grabs the update link the LMS saves via Update.pm.  Then Downloads
the noCPAN tarball
3) Downloads the other LMS customizations and init.d files from github
4) updates all of the permissions
5) Repacks the extension


But that update script is run on your end, not the user's? The latter 
would simply download the resulting tcz file?



If you were to build the tcz from the LMS build system.  Some minor
changes to the LMS customizations would be needed.  The update script
would get much smaller.  At this point, the only file likely to ever
change was the init.d script.  Not sure how we could coordinate this.


I take it from the update script that you're running it on a Pi (eg. 
checking for OpenSSL)? I might give porting it to our build system a try 
when I find a few spare cycles.


--

Michael
___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta


Re: [SlimDevices: Beta] Server updates when running with --nomysqueezebox command line

2017-02-12 Thread paul-

mherger wrote: 
> > I use the noCPAN tarball, as I keep all of the binaries in a separate
> 
> Oh, you use the update checker in your build script, not in LMS...
> 

They are both in there.  It looks for the update URL that LMS update
checker downloads.  I also have a provision to check directly.

> 
> But that update script is run on your end, not the user's? The latter 
> would simply download the resulting tcz file?
> 
The update script runs on the users pi.  

> 
> I take it from the update script that you're running it on a Pi (eg. 
> checking for OpenSSL)? I might give porting it to our build system a try
> 
> when I find a few spare cycles.
> 
The OpenSSL check is because github is https.  pCPused to use dropbear
for ssh, so we did not have OpenSSL loaded by default.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=106938

___
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta