Hi

On 11 July 2012 10:43, Jeroen Demeyer <[email protected]> wrote:

> On 2012-07-11 10:28, Jan Groenewald wrote:
> > Hi
> >
> > Could we add PPA (Ubuntu 11.04 and higher) installation instructions to:
> > http://www.sagemath.org/doc/installation/binary.html#linux-and-os-x
> >
> > sudo apt-add-repository -y ppa:aims/sagemath
> > sudo apt-get update
> > sudo apt-get install sagemath-upstream-binary
> > sudo apt-get get install sagemath-optional # optional
>
> What is a PPA, what does it do, how does it get created, can this be
> automated?
>

A PPA is a personal package archive, provided on the launchpad platform
of Canonical, the company behind Ubuntu. Here one can host one's own
free software packages for Ubuntu.

http://en.wikipedia.org/wiki/Personal_Package_Archive
http://blog.launchpad.net/ppa/personal-package-archives-for-everyone
https://launchpad.net/ubuntu/+ppas

Then the package works via apt and the software centre,
so for example can get updates.

It can be automated up to a point. I am scripting bits of it.
There will be potential hiccups --

1) I gpg sign the packages. I enter my password for this.
Even this can be automated with expect or perhaps directly with
the debuild (debian package building) tools, and if sagemath took over
the PPA and the key and signing, many people can be in a team and sign
a package, I think. You sign to upload, launchpad rebuilds and signs
the packages with the PPA key.

2) If upstream changes become incompatible with the current rollout,
the PPA will suddenly break many poeple's sage. I do (some very basic)
testing of the package before I upload. Even this can be automated, I guess.
How do I re-run all the tests in a binary installation?
sage -testall?

Regards,
Jan







>
> --
> --
> To post to this group, send an email to [email protected]
> To unsubscribe from this group, send an email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to