Add 'patch_triples.sh'
This commit is contained in:
parent
f703f9865f
commit
0b8ea38b7b
3 changed files with 15 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ RUN rm /etc/apache2/sites-available/*.conf && \
|
||||||
rm /etc/apache2/sites-enabled/*.conf
|
rm /etc/apache2/sites-enabled/*.conf
|
||||||
|
|
||||||
ADD patch/easyrdf.patch /patch/easyrdf.patch
|
ADD patch/easyrdf.patch /patch/easyrdf.patch
|
||||||
|
ADD patch/triples.patch /patch/triples.patch
|
||||||
|
|
||||||
# Add wisski configuration
|
# Add wisski configuration
|
||||||
ADD conf/ports.conf /etc/apache2/ports.conf
|
ADD conf/ports.conf /etc/apache2/ports.conf
|
||||||
|
|
|
||||||
8
distillery/resources/compose/barrel/patch/triples.patch
Normal file
8
distillery/resources/compose/barrel/patch/triples.patch
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
100c100
|
||||||
|
< if($result->o instanceof \EasyRdf_Resource) {
|
||||||
|
---
|
||||||
|
> if($result->o instanceof \EasyRdf\Resource) {
|
||||||
|
118c118
|
||||||
|
< $object_text = $result->o->getValue();
|
||||||
|
---
|
||||||
|
> $object_text = $result->o->dumpValue('string');
|
||||||
6
distillery/utils/patch_triples.sh
Normal file
6
distillery/utils/patch_triples.sh
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This script can be used to repatch EasyRDF when needed.
|
||||||
|
cd /var/www/data/project/web/modules/contrib/wisski/ || exit 1
|
||||||
|
TRIPLESTABCONTROLLER="./wisski_adapter_sparql11_pb/src/Controller/Sparql11TriplesTabController.php"
|
||||||
|
patch -N "$TRIPLESTABCONTROLLER" < "/patch/triples.patch"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue