gs1 / EPCIS

Draft files being shared for EPCIS 2.0 development
Other
20 stars 7 forks source link

sync examples and ontoogies #346

Closed VladimirAlexiev closed 2 years ago

VladimirAlexiev commented 2 years ago

Fixes #344. @mgh128 and @CraigRe please merge

VladimirAlexiev commented 2 years ago

@mgh128 @CraigRe Can you please accept this? The freshly regenerated examples are important, so we can resolve #307

VladimirAlexiev commented 2 years ago

@mgh128 @CraigRe Can you please accept this? I've just refreshed all examples in Turtle, Turtle-simple-context, Turtle-diff. And a couple of small fixes in my context and Mark's DiffTurtleFiles_v2.pl

VladimirAlexiev commented 2 years ago

@CraigRe I think you closed the MR but didn't merge it.

CraigRe commented 2 years ago

@CraigRe I think you closed the MR but didn't merge it.

@VladimirAlexiev it is also showing "This branch has conflicts that must be resolved".

Can you see these conflicts? How would you suggest resolving them (so that we can merge)?

Thanks!

VladimirAlexiev commented 2 years ago

@CraigRe yeah, the longer wait the more conflicts... Are there conflicts apart from the derived files (turtle, turtle diff)?

@mgh128 can you help Craig?

mgh128 commented 2 years ago

@CraigRe yeah, the longer wait the more conflicts... Are there conflicts apart from the derived files (turtle, turtle diff)?

@mgh128 can you help Craig?

There are three conflicts in JSON-simple-context/Example_9.6.1-ObjectEvent-with-pseudo-SBDH-headers.jsonld JSON/WithSensorData/SensorDataExample1.jsonld Ontology/CBV.jsonld

I tried to resolve these manually via the command line. There are 73 other conflicts in the Turtle files and diffs. How do we simply drop the conflicting files and let your latest regenerated files take precedence?

VladimirAlexiev commented 2 years ago

@mgh128 Checked the differences above:

You can reset all JSON-simple-context by:

These fixes to DiffTurtleFiles_v2.pl are lost:

-       $diff = `/usr/bin/diff --ignore-space-change -U 0 --ignore-matching-lines=RE $pathA $pathB`;
+       $diff = `diff --ignore-space-change -U 0 $pathA $pathB`;

You can regen the Turtles like this:

cd Turtle
make clean
make
cd ../Turtle-simple-context
make clean
make
cd ../Turtle-diff
perl DiffTurtleFiles_v2.pl