Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 86f3b5d

Browse files
committed
Review fixes #3.
1 parent 2357fb7 commit 86f3b5d

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

graphql/accessor_general.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ local avro_schema = require('avro_schema')
1010
local utils = require('graphql.utils')
1111
local clock = require('clock')
1212
local bit = require('bit')
13+
package.cpath = package.cpath .. ";/usr/share/tarantool/pcre2/?.so"
1314
local rex, is_pcre2 = utils.optional_require_rex()
1415
local avro_helpers = require('graphql.avro_helpers')
1516
local db_schema_helpers = require('graphql.db_schema_helpers')
1617
local error_codes = require('graphql.error_codes')
1718

18-
package.cpath = package.cpath .. ";/usr/share/tarantool/pcre2/?.so"
1919

2020
local check = utils.check
2121
local e = error_codes

rpm/tarantool-graphql.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Name: tarantool-graphql
1+
Name: graphql
22
# During package building {version} is overwritten by Packpack with
33
# VERSION. It is set to major.minor.patch.number_of_commits_above_last_tag.
44
# major.minor.patch tag and number of commits above are taken from the
@@ -24,7 +24,7 @@ BuildRequires: tarantool-lrexlib-pcre2
2424

2525
# Dependencies for a user
2626
Requires: tarantool >= 1.9.0.0
27-
Requires: tarantool-avro-schema >= 2.0.0
27+
Requires: tarantool-avro-schema >= 2.0.71
2828
Requires: tarantool-lulpeg
2929
#Suggests: tarantool-lrexlib-pcre2
3030
#Suggests: tarantool-shard

tools/ubuntu.trusty.test.sh

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,31 @@ echo "deb-src http://download.tarantool.org/tarantool/1.9/ubuntu/ ${release} mai
2020
sudo apt-get update
2121
sudo apt-get -q -y install tarantool tarantool-dev
2222

23-
cd ..
24-
git clone https://github.com/rtsisyk/msgpuck
25-
cd msgpuck
26-
cmake .
27-
sudo make install
28-
cd ..
29-
cd graphql
23+
#cd ..
24+
#git clone https://github.com/rtsisyk/msgpuck
25+
#cd msgpuck
26+
#cmake .
27+
#sudo make install
28+
#cd ..
29+
#cd graphql
3030
git submodule update --recursive --init
3131
tarantoolctl rocks install lulpeg
3232
tarantoolctl rocks install lrexlib-pcre
3333
tarantoolctl rocks install http
3434
tarantoolctl rocks install shard "${SHARD_VERSION}"
3535
tarantoolctl rocks install avro-schema "${AVRO_SCHEMA}"
36-
cd ..
36+
#cd ..
3737
# lua (with dev headers) is necessary for luacheck
3838
sudo apt-get install lua5.1
3939
sudo apt-get install liblua5.1-0-dev
40-
wget "http://luarocks.github.io/luarocks/releases/luarocks-2.4.4.tar.gz"
41-
tar xf luarocks-2.4.4.tar.gz
42-
cd luarocks-2.4.4
43-
./configure
44-
make build
45-
sudo make install
46-
cd ../graphql
40+
#wget "http://luarocks.github.io/luarocks/releases/luarocks-2.4.4.tar.gz"
41+
#tar xf luarocks-2.4.4.tar.gz
42+
#cd luarocks-2.4.4
43+
#./configure
44+
#make build
45+
#sudo make install
46+
#cd ../graphql
47+
sudo apt-get install luarocks
4748
sudo luarocks install luacheck
4849
sudo pip install virtualenv
4950
make test

0 commit comments

Comments
 (0)