I think that it would be important to change the extension to .tar.bz2 so that the sage packages get recognized by standard systems tools. (For instance, try to open a spkg with a filemanager like midnight commander...) May be we can change
foo.spkg to foo.spkg.tar.bz2 This way the package it is clearly marked as a sage package, whereas it will be recognized as a standard .tar.bz2 file Debian does this for the sources (it has foo.orig.tar.gz files) Pablo El Tuesday 28 October 2008 02:19:01 Tim Abbott escribió: > I've recently learned that one factor contributing to the long review > delay for the Debian sagemath package has been the fact that their tools > for reviewing packages for copyright issues weren't able to open ".spkg" > files (they do handle .tar.bz2 files correctly, but apparently detect file > type by extension). > > However, I think this is a good opportunity to discuss whether the merits > of the .spkg extension for Sage packages. Fundamentally, we're using a > nonstandard extension for a standard file type. This breaks various tools > that try to infer file types from extensions (the most common nuisance for > me is bash's tab completion of "tar -xf"). > > I sent the Debian folks a patch to treat ".spkg" files like ".tar.bz2" > files for their tool, but I doubt that the people who maintain bash > completion defaults are going to be excited about adding special code for > Sage's .spkg extension. > > So, I'd like to get people's opinions on moving to standard .tar.bz2 > extensions for spkg archives. > > If people think it's a good idea in principle, I'll work on generating a > patch for gracefully handling the transition without e.g. making everyone > rebuild every package in their extant sage trees (which I suspect is the > largest practical concern). > > -Tim Abbott --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---