Re: Download link to current devel version

2015-03-29 Thread Urs Liska



Am 29.03.2015 um 09:10 schrieb Jim Long:

Disregard the line:

test|\

in that file.  That's leftover cruft from testing.

A revised script is attached.


Thank you, that's a proof-of-concept and will work, and it's of course 
extensible for the stable version as well.
That it will break when either the directory structure on the download 
server or the HTML of the lilypond.org page changes is not an issue IMO 
- then one would have to find a new solution anyway.


Urs




On Sun, Mar 29, 2015 at 12:05:04AM -0700, Jim Long wrote:

usage:

foo.sh (architecture)

where (architecture) is one of:

linux-x86
linux-64
linux-ppc
freebsd-x86
freebsd-64
darwin-x86
darwin-ppc
mingw



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-29 Thread Jim Long
On Sat, Mar 28, 2015 at 10:51:27AM -, Phil Holmes wrote:
 
 Since the installers are all version specific (which I approve of: I keep 
 them all separate in a single downloads directory) I don't believe you can 
 link to a simple development installer.  You would need to parse the 
 download pages.

In the hopes that it will either meet your needs, or inspire
you to improve upon it, here is a script which does that.

usage:

foo.sh (architecture)

where (architecture) is one of:

linux-x86
linux-64
linux-ppc
freebsd-x86
freebsd-64
darwin-x86
darwin-ppc
mingw

The script parses the URL specified, and returns the first URL
which contains the string /lilypond/binaries/(architecture)/.

It uses a relatively simple approach, which might fail at some point 
in the future, if the HTML at http://lilypond.org/development.html 
were to change sufficiently, or if the directory structure at
linuxaudio.org were to change sufficiently.

HTH,

Jim


foo.sh
Description: Bourne shell script
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-29 Thread Jim Long
Disregard the line:

test|\

in that file.  That's leftover cruft from testing.

A revised script is attached.



On Sun, Mar 29, 2015 at 12:05:04AM -0700, Jim Long wrote:
 
 usage:
 
 foo.sh (architecture)
 
 where (architecture) is one of:
 
 linux-x86
 linux-64
 linux-ppc
 freebsd-x86
 freebsd-64
 darwin-x86
 darwin-ppc
 mingw


foo.sh
Description: Bourne shell script
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-28 Thread Urs Liska


Am 28. März 2015 11:51:27 MEZ, schrieb Phil Holmes m...@philholmes.net:
- Original Message - 
From: Urs Liska u...@openlilylib.org
To: Federico Bruni fedel...@gmail.com
Cc: lilypond-user Mailinglist lilypond-user@gnu.org
Sent: Saturday, March 28, 2015 8:12 AM
Subject: Re: Download link to current devel version


 Am 28.03.2015 um 07:38 schrieb Federico Bruni:

 Il 28/mar/2015 07:33 Federico Bruni fedel...@gmail.com
 mailto:fedel...@gmail.com ha scritto:
  
   Il 28/mar/2015 02:48 Urs Liska u...@openlilylib.org
 mailto:u...@openlilylib.org ha scritto:
  
   
Is there a way to point links to the current development
version
 download, i.e. a way to have a link in a program that automatically
 downloads the current version, without having to manually supply the
 version?
   
  
   I'm curious: are you working on a Frescobaldi feature?
  

 No. As I'm so busy with das trunkne Lied and openlilylib at the
moment I 
 don't have any capacity to think in that direction.

 But of course, if we had a generic way to address the current stable
and 
 development version downloads we can use that for letting Frescobaldi

 install or update LilyPond versions.

 Yesterday I realized that I had forgotten to update the LilyPond
version 
 in the automated test script we now have for openLilyLib, and that
was 
 what made me think about the issue.

   I can't find anything that you might use here:
   http://download.linuxaudio.org/lilypond/binaries/
  
   But you can take another approach: use the /development and
/stable
 alias defined in lilypond.org http://lilypond.org htaccess to find
 dynamically the new download links.

 Oops, forget it. This is true for documentation only. Download pages
are
 always the same:

 http://lilypond.org/download.html (stable)
 http://lilypond.org/development.html (unstable)

 But I guess that you need a permanent link. It should be asked to
 linuxaudio.org http://linuxaudio.org

 OK, I will see what I can get from them.

 Best
 Urs


Since the installers are all version specific (which I approve of: I
keep 
them all separate in a single downloads directory) I don't believe you
can 
link to a simple development installer.  You would need to parse the 
download pages.


Ah, OK, that would be possible.
However, the most convenient interface would be a generic symlink on linuxaudio 
that (automatically?) gets updated when new versions are uploaded.. 

Urs

--
Phil Holmes 


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-28 Thread Phil Holmes
Original Message - 
From: Urs Liska u...@openlilylib.org



Ah, OK, that would be possible.
However, the most convenient interface would be a generic symlink on 
linuxaudio that (automatically?) gets updated when new versions are 
uploaded..


Urs



I think that's unlikely to be possible: I don't have a login on linuxaudio: 
the installation files are copied over from lilypond.org by a cron job.


--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-28 Thread Urs Liska


Am 28. März 2015 12:45:55 MEZ, schrieb Phil Holmes m...@philholmes.net:
Original Message - 
From: Urs Liska u...@openlilylib.org

 Ah, OK, that would be possible.
 However, the most convenient interface would be a generic symlink on 
 linuxaudio that (automatically?) gets updated when new versions are 
 uploaded..

 Urs


I think that's unlikely to be possible: I don't have a login on
linuxaudio: 
the installation files are copied over from lilypond.org by a cron job.

Who is responsible for this, could you give me some contact? Of course such a 
cron job could update a symlink.

Urs


--
Phil Holmes 


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-28 Thread Phil Holmes
- Original Message - 
From: Urs Liska u...@openlilylib.org
To: Phil Holmes m...@philholmes.net; Federico Bruni 
fedel...@gmail.com

Cc: lilypond-user Mailinglist lilypond-user@gnu.org
Sent: Saturday, March 28, 2015 11:51 AM
Subject: Re: Download link to current devel version




Am 28. März 2015 12:45:55 MEZ, schrieb Phil Holmes m...@philholmes.net:
Original Message - 
From: Urs Liska u...@openlilylib.org


Who is responsible for this, could you give me some contact? Of course 
such a cron job could update a symlink.


Urs


It's one of Jan's.

--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-28 Thread Federico Bruni
Il 28/mar/2015 02:48 Urs Liska u...@openlilylib.org ha scritto:

 Is there a way to point links to the current development version
download, i.e. a way to have a link in a program that automatically
downloads the current version, without having to manually supply the
version?


I'm curious: are you working on a Frescobaldi feature?

I can't find anything that you might use here:
http://download.linuxaudio.org/lilypond/binaries/

But you can take another approach: use the /development and /stable alias
defined in lilypond.org htaccess to find dynamically the new download
links.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-28 Thread Phil Holmes
- Original Message - 
From: Urs Liska u...@openlilylib.org

To: Federico Bruni fedel...@gmail.com
Cc: lilypond-user Mailinglist lilypond-user@gnu.org
Sent: Saturday, March 28, 2015 8:12 AM
Subject: Re: Download link to current devel version



Am 28.03.2015 um 07:38 schrieb Federico Bruni:


Il 28/mar/2015 07:33 Federico Bruni fedel...@gmail.com
mailto:fedel...@gmail.com ha scritto:
 
  Il 28/mar/2015 02:48 Urs Liska u...@openlilylib.org
mailto:u...@openlilylib.org ha scritto:
 
  
   Is there a way to point links to the current development version
download, i.e. a way to have a link in a program that automatically
downloads the current version, without having to manually supply the
version?
  
 
  I'm curious: are you working on a Frescobaldi feature?
 


No. As I'm so busy with das trunkne Lied and openlilylib at the moment I 
don't have any capacity to think in that direction.


But of course, if we had a generic way to address the current stable and 
development version downloads we can use that for letting Frescobaldi 
install or update LilyPond versions.


Yesterday I realized that I had forgotten to update the LilyPond version 
in the automated test script we now have for openLilyLib, and that was 
what made me think about the issue.



  I can't find anything that you might use here:
  http://download.linuxaudio.org/lilypond/binaries/
 
  But you can take another approach: use the /development and /stable
alias defined in lilypond.org http://lilypond.org htaccess to find
dynamically the new download links.

Oops, forget it. This is true for documentation only. Download pages are
always the same:

http://lilypond.org/download.html (stable)
http://lilypond.org/development.html (unstable)

But I guess that you need a permanent link. It should be asked to
linuxaudio.org http://linuxaudio.org


OK, I will see what I can get from them.

Best
Urs



Since the installers are all version specific (which I approve of: I keep 
them all separate in a single downloads directory) I don't believe you can 
link to a simple development installer.  You would need to parse the 
download pages.


--
Phil Holmes 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-28 Thread Urs Liska

Am 28.03.2015 um 07:38 schrieb Federico Bruni:


Il 28/mar/2015 07:33 Federico Bruni fedel...@gmail.com
mailto:fedel...@gmail.com ha scritto:
 
  Il 28/mar/2015 02:48 Urs Liska u...@openlilylib.org
mailto:u...@openlilylib.org ha scritto:
 
  
   Is there a way to point links to the current development version
download, i.e. a way to have a link in a program that automatically
downloads the current version, without having to manually supply the
version?
  
 
  I'm curious: are you working on a Frescobaldi feature?
 


No. As I'm so busy with das trunkne Lied and openlilylib at the moment 
I don't have any capacity to think in that direction.


But of course, if we had a generic way to address the current stable and 
development version downloads we can use that for letting Frescobaldi 
install or update LilyPond versions.


Yesterday I realized that I had forgotten to update the LilyPond version 
in the automated test script we now have for openLilyLib, and that was 
what made me think about the issue.



  I can't find anything that you might use here:
  http://download.linuxaudio.org/lilypond/binaries/
 
  But you can take another approach: use the /development and /stable
alias defined in lilypond.org http://lilypond.org htaccess to find
dynamically the new download links.

Oops, forget it. This is true for documentation only. Download pages are
always the same:

http://lilypond.org/download.html (stable)
http://lilypond.org/development.html (unstable)

But I guess that you need a permanent link. It should be asked to
linuxaudio.org http://linuxaudio.org


OK, I will see what I can get from them.

Best
Urs






--
Urs Liska
www.openlilylib.org

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Download link to current devel version

2015-03-28 Thread Federico Bruni
Il 28/mar/2015 07:33 Federico Bruni fedel...@gmail.com ha scritto:

 Il 28/mar/2015 02:48 Urs Liska u...@openlilylib.org ha scritto:

 
  Is there a way to point links to the current development version
download, i.e. a way to have a link in a program that automatically
downloads the current version, without having to manually supply the
version?
 

 I'm curious: are you working on a Frescobaldi feature?

 I can't find anything that you might use here:
 http://download.linuxaudio.org/lilypond/binaries/

 But you can take another approach: use the /development and /stable alias
defined in lilypond.org htaccess to find dynamically the new download
links.

Oops, forget it. This is true for documentation only. Download pages are
always the same:

http://lilypond.org/download.html (stable)
http://lilypond.org/development.html (unstable)

But I guess that you need a permanent link. It should be asked to
linuxaudio.org
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Download link to current devel version

2015-03-27 Thread Urs Liska
Is there a way to point links to the current development version 
download, i.e. a way to have a link in a program that automatically 
downloads the current version, without having to manually supply the 
version?


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user