Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JitPack-like (generic) alternative #1063

Open
vorburger opened this issue Feb 8, 2025 · 1 comment
Open

JitPack-like (generic) alternative #1063

vorburger opened this issue Feb 8, 2025 · 1 comment

Comments

@vorburger
Copy link
Member

vorburger commented Feb 8, 2025

If I keep going with what I envision for Enola.dev, then I would like it to one fine day be able to resolve URLs looking probably something like:

http://example.org/maven-repo/https://github.com/vorburger/java-multihash@ed14893c86/com.github.multiformats:java-multihash:1.3.5

which would be a shortcut for something along the lines of:

/build
    ?image=java-temurin-21-maven-3.9.9:99367bc006651b3151f73aa033044fc1f97fc4ca
    &mount1=https://github.com/vorburger/java-multihash@ed14893c86=/work
    &command=mvn install
    &store=~/.m2/repository/com/github/multiformats/java-multihash

The starting point for anything like this should be an enola run file:/bin/ls, which returns a Thing, with content addressable output.

https://github.com/nektos/act integration would be key.

I've had this idea at the back of my mind for a while, but the discussion in #1040 (comment) prompted me to write this issue.

This is, of course, essentially a https://jitpack.io clone. But it wouldn't be specific to the Maven ecosystem, but a very generic immutable remote build cache.

It would be better than JitPack, and address e.g. some of the criticisms raised e.g. on https://committing-crimes.com/articles/2024-09-09-jitpack, notably:

At my current rate of progress in this project, I'll probably get to this one fine day next but not this century anymore. ⏲

@cstamas
Copy link

cstamas commented Feb 8, 2025

Using IPFS in Maven is something I was also tinkering of...
For start, Mimir would benefit from it a lot (ie distributed vs centralized "Maven Central")
https://github.com/maveniverse/mimir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants