Hello community,

here is the log from the commit of package haxe for openSUSE:Factory checked in 
at 2019-11-12 11:56:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/haxe (Old)
 and      /work/SRC/openSUSE:Factory/.haxe.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "haxe"

Tue Nov 12 11:56:24 2019 rev:12 rq:747464 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/haxe/haxe.changes        2019-11-09 
23:38:26.289116912 +0100
+++ /work/SRC/openSUSE:Factory/.haxe.new.2990/haxe.changes      2019-11-12 
11:58:18.811528163 +0100
@@ -1,0 +2,12 @@
+Tue Nov 12 04:10:09 UTC 2019 - Andy Li <[email protected]>
+
+- Update to 4.0.2
+  * php: Improved performance of haxe.io.Bytes and enum-related
+    methods in Type class of standard library.
+  * haxelib: Fixed too strict requirements to haxelib.json data
+    for private libs.
+  * Fixed @:using static extensions on Null<SomeType>.
+  * php: Fixed static methods with the same name in parent and
+    child classes.
+
+-------------------------------------------------------------------

Old:
----
  haxe-4.0.1.tar.gz
  haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140.tar.gz

New:
----
  haxe-4.0.2.tar.gz
  haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ haxe.spec ++++++
--- /var/tmp/diff_new_pack.xs2op9/_old  2019-11-12 11:58:19.307528691 +0100
+++ /var/tmp/diff_new_pack.xs2op9/_new  2019-11-12 11:58:19.311528696 +0100
@@ -15,11 +15,11 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global commit_haxelib c994dc451635a84d7a3d53cc9b2e517d50bf0140
+%global commit_haxelib 4b27f91d8a4ff279d9903091680fee2c93a0d574
 %global commit_hx3compat f1f18201e5c0479cb5adf5f6028788b37f37b730
 
 Name:           haxe
-Version:        4.0.1
+Version:        4.0.2
 Release:        0
 Summary:        Multiplatform programming language
 License:        GPL-2.0+ and MIT

++++++ haxe-4.0.1.tar.gz -> haxe-4.0.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/haxe/haxe-4.0.1.tar.gz 
/work/SRC/openSUSE:Factory/.haxe.new.2990/haxe-4.0.2.tar.gz differ: char 16, 
line 1

++++++ haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140.tar.gz -> 
haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/CHANGES.md 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/CHANGES.md
--- old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/CHANGES.md     
2019-11-02 12:48:36.000000000 +0100
+++ new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/CHANGES.md     
2019-11-11 15:50:28.000000000 +0100
@@ -1,3 +1,6 @@
+## 4.0.2 (2019-11-11)
+ - Fixed too strict requirements to haxelib.json data for private libs 
([#484](https://github.com/HaxeFoundation/haxelib/issues/484))
+
 ## 4.0.1 (2019-11-02)
  - Fixed git dependencies support in haxelib.json 
([#476](https://github.com/HaxeFoundation/haxelib/issues/476))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/appveyor.yml 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/appveyor.yml
--- old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/appveyor.yml   
2019-11-02 12:48:36.000000000 +0100
+++ new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/appveyor.yml   
2019-11-11 15:50:28.000000000 +0100
@@ -4,6 +4,7 @@
   - mysql
 
 install:
+  - git submodule update --init --recursive
   - ps: Set-Service wuauserv -StartupType Manual
   - cinst haxe -y
   - cinst nssm -y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/ci.hxml 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/ci.hxml
--- old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/ci.hxml        
2019-11-02 12:48:36.000000000 +0100
+++ new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/ci.hxml        
2019-11-11 15:50:28.000000000 +0100
@@ -1,2 +1,4 @@
 -cp test
--x RunCi
+-main RunCi
+-neko bin/ci.n
+-cmd neko bin/ci.n
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/haxelib.json 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/haxelib.json
--- old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/haxelib.json   
2019-11-02 12:48:36.000000000 +0100
+++ new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/haxelib.json   
2019-11-11 15:50:28.000000000 +0100
@@ -5,7 +5,7 @@
        "tags": ["haxelib", "core"],
        "description": "The haxelib client",
        "classPath": "src",
-       "version": "4.0.1",
-       "releasenote": " * Fixed git dependencies support in haxelib.json 
(#476)",
+       "version": "4.0.2",
+       "releasenote": " * Fixed too strict requirements to haxelib.json data 
for private libs (#484)",
        "contributors": ["HaxeFoundation", "back2dos", "ncannasse", "jason", 
"Simn", "nadako", "andyli"]
 }
Binary files old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/run.n and 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/run.n differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/src/Package.hx 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/src/Package.hx
--- old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/src/Package.hx 
2019-11-02 12:48:36.000000000 +0100
+++ new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/src/Package.hx 
2019-11-11 15:50:28.000000000 +0100
@@ -15,7 +15,16 @@
 
     static function main() {
         checkVersion();
+        switch Sys.systemName() {
+            case 'Windows':
+                zipWindows();
+            case _:
+                var exitCode = Sys.command('zip', ['-r', outPath, 
'src/haxelib', 'haxelib.json', 'run.n', 'README.md']);
+                Sys.exit(exitCode);
+        }
+    }
 
+    static function zipWindows() {
         var entries = new List<Entry>();
 
         function add(path:String, ?target:String) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/src/haxelib/Data.hx 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/src/haxelib/Data.hx
--- old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/src/haxelib/Data.hx    
2019-11-02 12:48:36.000000000 +0100
+++ new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/src/haxelib/Data.hx    
2019-11-11 15:50:28.000000000 +0100
@@ -58,6 +58,22 @@
        var tags : List<String>;
 }
 
+@:enum abstract CheckLevel(Int) {
+       var NoCheck = 0;
+       var CheckSyntax = 1;
+       var CheckData = 2;
+
+       @:from static inline function fromBool(check:Bool):CheckLevel {
+               return check ? CheckData : NoCheck;
+       }
+
+       @:op(A > B) function gt(b:CheckLevel):Bool;
+       @:op(A >= B) function gte(b:CheckLevel):Bool;
+       @:op(A == B) function eq(b:CheckLevel):Bool;
+       @:op(A <= B) function lte(b:CheckLevel):Bool;
+       @:op(A < B) function lt(b:CheckLevel):Bool;
+}
+
 abstract DependencyVersion(String) to String from SemVer {
        inline function new(s:String)
                this = s;
@@ -298,7 +314,7 @@
                }
 
 
-       public static function readInfos( zip : List<Entry>, check : Bool ) : 
Infos
+       public static function readInfos( zip : List<Entry>, check : CheckLevel 
) : Infos
                return readData(Reader.unzip(getJson(zip)).toString(), check);
 
        public static function checkClassPath( zip : List<Entry>, infos : Infos 
) {
@@ -314,11 +330,11 @@
                }
        }
 
-       public static function readData( jsondata: String, check : Bool ) : 
Infos {
+       public static function readData( jsondata: String, check : CheckLevel ) 
: Infos {
                var doc:Infos =
                        try Json.parse(jsondata)
                        catch ( e : Dynamic )
-                               if (check)
+                               if (check >= CheckLevel.CheckSyntax)
                                        throw 'JSON parse error: $e';
                                else {
                                        name : ProjectName.DEFAULT,
@@ -330,7 +346,7 @@
                                        contributors: [],
                                }
 
-               if (check)
+               if (check >= CheckLevel.CheckData)
                        Validator.validate(doc);
                else {
                        if (!doc.version.valid)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/src/haxelib/client/Main.hx 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/src/haxelib/client/Main.hx
--- 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/src/haxelib/client/Main.hx 
    2019-11-02 12:48:36.000000000 +0100
+++ 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/src/haxelib/client/Main.hx 
    2019-11-11 15:50:28.000000000 +0100
@@ -1465,7 +1465,7 @@
                                throw "Library "+prj+" has two versions 
included : "+version+" and "+p.version;
                        }
                var json = try File.getContent(vdir+"/"+Data.JSON) catch( e : 
Dynamic ) null;
-               var inf = Data.readData(json, json != null);
+               var inf = Data.readData(json, json != null ? CheckSyntax : 
NoCheck);
                l.add({ project : prj, version : version, dir : 
Path.addTrailingSlash(vdir), info: inf });
                if( returnDependencies ) {
                        for( d in inf.dependencies )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/test/Prepare.hx 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/test/Prepare.hx
--- old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/test/Prepare.hx        
2019-11-02 12:48:36.000000000 +0100
+++ new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/test/Prepare.hx        
2019-11-11 15:50:28.000000000 +0100
@@ -1,7 +1,6 @@
 import sys.*;
 import sys.io.*;
 import haxe.io.*;
-using StringTools;
 
 class Prepare {
        static function zipDir(dir:String, outPath:String):Void {
@@ -38,6 +37,8 @@
        }
 
        static function main():Void {
+               var system = Sys.systemName();
+               var cwd = Sys.getCwd();
                /*
                        (re)package the dummy libraries
                */
@@ -45,8 +46,17 @@
                for (item in FileSystem.readDirectory(libsPath)) {
                        var path = Path.join([libsPath, item]);
                        if (FileSystem.isDirectory(path)) {
-                               trace('Preparing $item');
-                               zipDir(path, 'test/libraries/${item}.zip');
+                               switch system {
+                                       case 'Windows':
+                                               zipDir(path, 
'test/libraries/${item}.zip');
+                                       case _:
+                                               Sys.setCwd(path);
+                                               var exitCode = 
Sys.command('zip', ['-r', '../${item}.zip', '.']);
+                                               Sys.setCwd(cwd);
+                                               if(exitCode != 0) {
+                                                       
Sys.stderr().writeString('Failed to zip $item\n');
+                                               }
+                               }
                        }
                }
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/test/RunCi.hx 
new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/test/RunCi.hx
--- old/haxelib-c994dc451635a84d7a3d53cc9b2e517d50bf0140/test/RunCi.hx  
2019-11-02 12:48:36.000000000 +0100
+++ new/haxelib-4b27f91d8a4ff279d9903091680fee2c93a0d574/test/RunCi.hx  
2019-11-11 15:50:28.000000000 +0100
@@ -198,6 +198,7 @@
                                return;
                        } catch (e:Dynamic) {
                                trace(e);
+                               
trace(CallStack.toString(CallStack.exceptionStack()));
                                Sys.sleep(5.0);
                        }
                        throw "cannot config database";


Reply via email to