Comments (2)
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 bymassiveinteractive
infos
: grab thehaxelib.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.
@dpeek another solution is to write your own front end that replaces haxelib and eventually fallback to it
from haxelib.
Related Issues (20)
- Better handling of run script ndll paths
- Lose hx3compat dependency HOT 2
- lib.haxe.org is down HOT 1
- Define lib.name HOT 10
- Support SPDX license identifiers HOT 3
- Request to remove library from lib.haxe.org HOT 6
- haxelib install hxcpp failed with error: Blocking HOT 2
- Request to delete library HOT 2
- `haxelib` throws an exception when installing any library
- Error: Failed with error: Http Error #502 when submitting .zip file HOT 1
- Run haxelib main relative to classpath
- lib.haxe.org weekly downloads ? HOT 7
- SQL query leak
- Misleading instructions HOT 1
- Local repositories break with libraries which use native C++ files HOT 6
- change password request HOT 3
- Migrate away from mysql 5.7 HOT 2
- std@sys_remove_dir when trying to install git library with specific branch HOT 2
- I want to rename a lib HOT 2
- Dont spam the terminal on download HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haxelib.