Giter Club home page Giter Club logo

Comments (2)

back2dos avatar back2dos commented on May 30, 2024

Having a single, homogeneous solution on the client side makes development of 3rd party tools easier. You can simply grab lib haxelib_client and build your stuff on top of that (some refactoring might be necessary, but patches are always welcome ;)).

So I am not really in favor of the proposal, but I do have a counter-proposal to make, that might solve your problems just as well.


One of our next steps is to make it easy to setup 3rd party haxelib repo servers and configure those in the client. Isnt't that maybe a better point to hook in?

If the general internal architecture of the haxelib server doesn't suit you, you only have to implement this interface: https://github.com/HaxeFoundation/haxelib/blob/master/src/tools/haxelib/SiteApi.hx

IIRC, Massive uses github for their proprietary stuff also. I think a read-only implementation of said interface on top of github (or possibly an arbitrary repository server) shouldn't be too hard. You need:

  • search: construct the information from all (private?) projects owned by massiveinteractive
  • infos: grab the haxelib.json of all release tags of a given project and construct the information from there (you might want to cache that, or to rebuild that during a commit hook or something)
  • postInstall: this could just be a noop

The biggest weak point I see in this scenario, is that the haxelib.json isn't ever validated until it reaches the client, where it's basically a little too late for mistakes to show up. But that should be manageable.

If you feel like it, we can have a short meeting in Skype/IRC on that later this week. Just send me an email for the details.

from haxelib.

ncannasse avatar ncannasse commented on May 30, 2024

@dpeek another solution is to write your own front end that replaces haxelib and eventually fallback to it

from haxelib.

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.