Coder Social home page Coder Social logo

Comments (8)

oyvindberg avatar oyvindberg commented on August 20, 2024

more than adding this I'd like an up to date index really. I wonder if something can be done to automate the scripts which produce that index file

from bleep.

megri avatar megri commented on August 20, 2024

I agree that would be preferable in this case. Still, what if I want to use a nightly build or something equally unofficial? It seems to me that I can work around not having the index parameter interpolated by publishing my own index and reading it from there, but that's just an inconvenience.

On the other hand, if the solution is always to update the default index then why expose the index parameter at all.

from bleep.

oyvindberg avatar oyvindberg commented on August 20, 2024

Using a nightly JVM feels very niche, so I tend to think that it's ok with that just being supported through the system JVM, honestly.

Why do you have that need? :D

from bleep.

oyvindberg avatar oyvindberg commented on August 20, 2024

You can by the way do like I do with the bleep coursier and just refer to a checked in version in git with its https url

from bleep.

megri avatar megri commented on August 20, 2024

Using a nightly JVM feels very niche, so I tend to think that it's ok with that just being supported through the system JVM, honestly.

Why do you have that need? :D

Well, the need stems from wanting to have reproducible builds ;) If I publish a repo with experiments using a pre-build of Valhalla for instance.

from bleep.

megri avatar megri commented on August 20, 2024

Just so I understand, are you opposed to doing placeholder injection in this part of the config, or is the use-case unclear? FWIW the default index is still not updated. I could of course publish the index file as mentioned before but that's at best an inconvenience and at worst not workable (private repository for instance.)

from bleep.

oyvindberg avatar oyvindberg commented on August 20, 2024

You're in luck, I also want a local index file now since the coursier index is slow to update :D

There seems to be some trouble with all the different graalvm releases, see coursier/jvm-index#216

I think I want to limit ${PROJECT_DIR} and friends as much as necessary since it feels hackish, but the rest of the build is oriented around relative paths. I think the index could be either a url or a relative path (relative to the build file), and this would work fantastically.

from bleep.

megri avatar megri commented on August 20, 2024

You're in luck, I also want a local index file now since the coursier index is slow to update :D
😁

There seems to be some trouble with all the different graalvm releases, see coursier/jvm-index#216

I think I want to limit ${PROJECT_DIR} and friends as much as necessary since it feels hackish, but the rest of the build is oriented around relative paths. I think the index could be either a url or a relative path (relative to the build file), and this would work fantastically.

That sounds great! As an additional benefit it would look nicer without the file:///… prefix.

from bleep.

Related Issues (20)

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.