Opened 9 years ago

Closed 9 years ago

#12106 closed enhancement (fixed)

Implement sage --rsyncdist

Reported by: jdemeyer Owned by: leif
Priority: blocker Milestone: sage-4.8
Component: scripts Keywords:
Cc: Merged in: sage-4.8.alpha4
Authors: Jeroen Demeyer Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

This is a script to create an rsyncable Sage tarball. The spkgs are stored extracted: instead of atlas-3.8.4.spkg, there is a directory atlas/.

Apply:

  1. 12106_rsyncdist.patch to SCRIPTS
  2. 12106_root_hgignore.patch to SAGE_ROOT

Attachments (2)

12106_root_hgignore.patch (377 bytes) - added by jdemeyer 9 years ago.
12106_rsyncdist.patch (5.5 KB) - added by jdemeyer 9 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 follow-up: Changed 9 years ago by jhpalmieri

What about an internet-access distribution? The spkgs could include everything except the src directory, which would be downloaded when you build.

comment:2 in reply to: ↑ 1 ; follow-up: Changed 9 years ago by jdemeyer

Replying to jhpalmieri:

What about an internet-access distribution? The spkgs could include everything except the src directory, which would be downloaded when you build.

Well, I don't immediately see the "use case" for that. Unless you mean to do the downloading/installing in parallel to save time (you could start building Sage after donwloading just a few megabytes).

comment:3 Changed 9 years ago by jdemeyer

  • Status changed from new to needs_review

Changed 9 years ago by jdemeyer

comment:4 Changed 9 years ago by jdemeyer

  • Description modified (diff)

comment:5 in reply to: ↑ 2 Changed 9 years ago by kini

Replying to jdemeyer:

Replying to jhpalmieri: Well, I don't immediately see the "use case" for that.

Just a thought, but this would be a major step towards consolidating sage development into a small number of repositories, like how sage-on-gentoo has a single repository for all the ebuilds that do spkg installation, for example.

comment:6 Changed 9 years ago by vbraun

  • Reviewers set to Volker Braun
  • Status changed from needs_review to positive_review

Looks good to me.

Any further discussion about packaging should probably move to sage-devel or to a trac ticket once there is a concrete implementation. This ticket is mostly useful for testing, so lets leave it at that.

comment:7 follow-up: Changed 9 years ago by fbissey

Don't have a gzip with --rsyncable on Gentoo :(

A typo in sage-rsyncdist:

spkg/standard/atlas-3.8.4.spkg, there is a directory
spkg/standrd/atlas/ (note the directory has no version number).

it should be "spkg/standard" as well on the second line. Still same file on line 44

if ! gzip --rsyncable </dev/null >/dev/null 2>/dev/null; then

Shouldn't there be some bracket somewhere?

comment:8 in reply to: ↑ 7 Changed 9 years ago by jdemeyer

Replying to fbissey:

Don't have a gzip with --rsyncable on Gentoo :(

I know, it's annoying this isn't in upstream gzip.

A typo in sage-rsyncdist:

spkg/standard/atlas-3.8.4.spkg, there is a directory
spkg/standrd/atlas/ (note the directory has no version number).

Thanks.

Shouldn't there be some bracket somewhere?

No, brackets are for test operators, not for running executables, see help test in bash.

Changed 9 years ago by jdemeyer

comment:9 Changed 9 years ago by jdemeyer

  • Merged in set to sage-4.8.alpha4
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.