On Sun, Apr 12, 2015 at 9:27 PM, Ralf Stephan <[email protected]> wrote:
> At the moment there is a gap between the source tarball offered by github
> (for e.g. pynac) and the tarball you download via sage -i. The difference in
> content is that the archived subdirectory is named pynac-pynac (so it's not
> compatible with spkg-install) and it contains not all files needed to run
> configure.
>
> My question is would it be worth creating means such that sage -i can
> directly download from github? Does Sage contaain everything for that, ie
> automake? I think downloading directly would be good security-wise. Also, the
> automake files the maintainers add to the tarball before distributing to the
> buildbots might not be the ones you know to work on the target machine.
>
> So what would be needed to automate this?
(Nothing useful below -- basically just a +1 and some related thoughts...)
Side remark: npm -- the package manager for node.js -- lets you
install packages directly from github. The syntax is simply:
npm install [github-username]/[github-reponame]
It's surprising that github isn't mentioned explicitly at all above,
e.g., the following is valid:
npm install sagemathinc/start-stop-daemon
---
I'm pretty sure I implemented "sage -i [any url to a .spkg]", so what
would be better would be
sage -i https://github.com/username/reponame
and have that work in a sensible way. Is that precisely what you're
asking about?
Anyway, one thing I've learned from node.js's package manager (called
npm) is that package management is as much about installig/and
uninstalling once you have the code as it is about *where* you get a
package from, how you describe the source, and how you specify
versions, etc.
William
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
--
William (http://wstein.org)
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.