a .zip file in upstream/?

68 views
Skip to first unread message

Nathann Cohen

unread,
Oct 27, 2015, 5:55:55 AM10/27/15
to Sage devel
Hello everybody,

I have an optional package to update, and the upstream releases it in
a .zip file. Is there anything preventing us from accepting them?

It seems that the code assumes a *.tar* pattern for the filename, and
so that I would have to turn the official .zip into a .tar.gz.

Nathann

Dima Pasechnik

unread,
Oct 27, 2015, 6:59:47 AM10/27/15
to sage-devel
we had such a discussion before here, and the conclusion was that it's possible, and one can use
Python's zip library for unzipping. Not that it was followed through, IMHO

Nathann Cohen

unread,
Oct 27, 2015, 8:27:19 AM10/27/15
to sage-devel
we had such a discussion before here, and the conclusion was that it's possible, and one can use
Python's zip library for unzipping. Not that it was followed through, IMHO

Oh I see. 

Well, given that I am stuck home with a flu and headache I will give it a try. See if my brain in its current state can manage that.

Not sure that it will be very easy though, all our package management scripts are written in shell.

Maybe I should just add a python script sage-unzip that does the unzipping job.

I'll add a message here if anything happens.

Nathann

Nathann Cohen

unread,
Oct 27, 2015, 9:04:33 AM10/27/15
to Sage devel
Step 1: sage -unzip.

http://trac.sagemath.org/ticket/19484

Let's see if one can fight a headache with sage scripts and pumpkin soup.

Nathann
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-devel/1uoTUsQ29Sw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

Nathann Cohen

unread,
Oct 27, 2015, 10:45:07 AM10/27/15
to Sage devel
> Step 1: sage -unzip.
> http://trac.sagemath.org/ticket/19484

Step 2 is there:
http://trac.sagemath.org/ticket/19487

Now we can have .zip tarballs. Well, there will be a review first.

> Let's see if one can fight a headache with sage scripts and pumpkin soup.
No.

But I don't give up, there is some soup left.

Nathann

Simon King

unread,
Oct 28, 2015, 7:17:01 AM10/28/15
to sage-...@googlegroups.com
Hi Nathann,

On 2015-10-27, Nathann Cohen <nathan...@gmail.com> wrote:
> Let's see if one can fight a headache with sage scripts and pumpkin soup.

I can recommend sage tea.

Get well soon!
Simon


Reply all
Reply to author
Forward
0 new messages