Giter VIP home page Giter VIP logo

Comments (5)

saraedum avatar saraedum commented on June 19, 2024

I have a first version of this. https://github.com/saraedum/sage-binder-env/tree/binder is generated automatically with every commit to my github branches. @roed314 @xcaruso

from sage-binder-env.

nthiery avatar nthiery commented on June 19, 2024

from sage-binder-env.

saraedum avatar saraedum commented on June 19, 2024

The only caveat is: how much computing power would this consume? Would *CI be willing to provide it?

*CI provides every user with plenty of resources (~ 4 concurrent builds.) The problem is that the commits have to belong to that user, i.e., they have to come from their github/gitlab/bitbucket repository. (I could imagine that we could extend git trac to push to a corresponding github/… repository on every git trac push but I am not sure I like that idea.)
GitLab CI allows us to provision our own runners, so we could have as many as we want to pay for or volunteers want to provide.

Would there be strategies to reduce that consumption?

A build takes at the moment 35 minutes on CircleCI / 50 minutes on GitLab CI. I know how to bring the first number down to 25 minutes but I don't think it's worth it. Essentially the same goes for the second number.

In particular, are recompilations "relative" to the previous commit?

They are at the moment relative to the latest build of the develop branch, i.e., your branch needs to have develop merged in which is a good practice anyway to avoid merge conflicts in the future.

Secondary question: could we run a variant of the patchbot to test the result of the compilation and report?

You mean something like this? CircleCI

In principle yes. However, it is a bit annoying to make this work in trac.

For the short term I think that a few people who like this, should just try to use it. If it turns out to be actually stable and useful, more people are going to want this for their tickets. Eventually we can patch git trac or Trac or begin the migration away from Trac…whatever seems the right move then.

from sage-binder-env.

saraedum avatar saraedum commented on June 19, 2024

This is now tracked at https://trac.sagemath.org/ticket/24842.

from sage-binder-env.

kwankyu avatar kwankyu commented on June 19, 2024

This old issue seems to have been fulfilled in sagemath/sage#24842 when we were on trac. I don't remember, but presumably there were binder badges on trac tickets. I don't know the current status of the scripts(which I could not find) in our codebase.

Now that we are on github, I created sagemath/sage#36245 to do the same or something close. Please visit and give comments. It is not yet in "needs review" as the binder badge fails to build sage (incrementally), because of some defect of our current beta.

Anyway, this issue is outdated and there is nothing to do here about it. Hence I close it.

from sage-binder-env.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.