Comments (5)
For me this is working as expected... if "contributors" is missing, I get:
At least one contributor must be included
If it's a string and not an array, I get:
invalid type for contributors
In essence, Data.doCheck()
seems to be functioning as expected for me. And apparently that's been in there since May 5th, so should definitely be in the final Haxe 3 release. Can somebody else test this?
from haxelib.
Deleted my previously erroneous statement.
In fact the version I have does have a check in doCheck for contributors. However, doCheck apparently is not being called.
The haxelib command that is crashing is "haxelib path foo" where foo is a haxelib with a haxelib.json that does not have contributors.
from haxelib.
Ah, makes sense. Is that haxelib installed using "git" or "dev" commands?
Or did you get it from the haxelib repo?
On 31 May 2013 08:04, "bji" [email protected] wrote:
Deleted my previously erroneous statement.
In fact the version I have does have a check in doCheck for contributors.
However, doCheck apparently is not being called.The haxelib command that is crashing is "haxelib path foo" where foo is a
haxelib with a haxelib.json that does not have contributors.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-18716275
.
from haxelib.
The haxelib program was built from haxe source obtained by:
svn export -r 6586 http://haxe.googlecode.com/svn/trunk haxe
That version is from May 6.
Have you tried "haxelib path foo" for a foo with a deficient haxelib.json? It's not easy for me to try to reproduce with the latest haxe source as we import and built haxe in a cumbersome way.
from haxelib.
Yeah I think I understand the problem. I think the best solution will be
to get "path" to give more useful error messages by using doCheck(). The
previous assumption was that only libs installed via "haxelib" or "local"
had JSON checking in place, but now that "dev" and "git" do, it makes sense
to do the check when reading the file, not just when submitting to haxelib.
I'll try patch it tonight or tomorrow. Thanks for taking the time to
report :)
Jason
On Fri, May 31, 2013 at 8:30 AM, bji [email protected] wrote:
The haxelib program was built from haxe source obtained by:
svn export -r 6586 http://haxe.googlecode.com/svn/trunk haxe
That version is from May 6.
Have you tried "haxelib path foo" for a foo with a deficient haxelib.json?
It's not easy for me to try to reproduce with the latest haxe source as we
import and built haxe in a cumbersome way.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/48#issuecomment-18717070
.
from haxelib.
Related Issues (20)
- 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
- 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
- Allow .dev package versions to have relative paths
- Replaced with NekoVM on the Arch package HOT 2
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.