On Mon, Jun 16, 2014 at 1:09 PM, Aron Ahmadia <a...@ahmadia.net> wrote: > > On Mon, Jun 16, 2014 at 3:07 PM, Volker Braun <vbraun.n...@gmail.com> wrote: >> >> In particular its not possible to build from the already-existing git >> repo? I don't want to have to specify the version of sage-the-library, I >> just want to build it out of the source tree. The version is the git tree >> sha1 if the tree is clean, and random / file checksum if not clean. At the >> same time there we have at least one package that depends on Sage being able >> to start, so we need to integrate sage in our package management. > > > I'm working on a feature similar to what you're asking for this week. I'm > programmatically using the functionality in `git stash` to create a commit > of the current working tree before launching the build. It's not > implemented on anything besides napkins yet, though :)
The actual command is "git stash create", which will not modify any of your source files, i.e. if you have uncommitted changes, but returns a hash of a "stash" commit, that can then be used in hashdist. Volker, my understanding is that this would be useful for developing a package, to be able to quickly run a build, without committing. But for the end user, you always want to build from some commit. I.e. if I am developing my own library, I would first put it into hashdist (with url to github), and then when developing a new version, I change the url to my local checkout, and I want be able to quickly check that it installs and works, so then I would use this feature. Ondrej -- 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 sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.