Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
aef5e1a
Add upgrade script for 1.0.0 to 1.1.0
jrgemignani Aug 10, 2022
9b67e00
Upgrade AGE version from 1.0.0-->1.1.0
dehowef Aug 10, 2022
0c1f4e7
Update NOTICE file
jrgemignani Aug 10, 2022
3bd002c
Implement CALL ...[YIELD] for cypher functions.
dehowef Jul 19, 2022
dbc4584
Graph names with empty string '' are no more allowed. (#251)
muhammadshoaib Aug 22, 2022
e426e94
Update README.md
aked21 Sep 6, 2022
4547d2d
Updated drivers, minor docs fixes
Dzordzu Sep 4, 2022
6283dd4
Update README.md
gorgonzola-oh Sep 7, 2022
9407ece
Update documentation link in README.md
Sep 8, 2022
bae4fac
Update README.md
Sep 16, 2022
aad430c
Update README.md
Sep 17, 2022
c7cc0bf
Update README.md
Sep 17, 2022
015434e
Fix Bug with CALL... YIELD clause ignores WHERE
dehowef Sep 29, 2022
c9c07f7
Fix EXPLAIN to allow for nested cypher commands
jrgemignani Oct 4, 2022
07d9133
Update README.md (#322)
Nataliapark Oct 11, 2022
623ed00
Update README.md (#323)
jbiz805 Oct 11, 2022
ff82d3d
Update README.md (#324)
jbiz805 Oct 11, 2022
a5d19ba
Update README.md (#325)
jbiz805 Oct 11, 2022
649f32f
Update README.md (#327)
jbiz805 Oct 12, 2022
4510fac
Update README.md (#331)
jbiz805 Oct 13, 2022
0aba332
Fix delete_global_graphs
jrgemignani Oct 17, 2022
492e778
Update CONTRIBUTING.md
eyab Oct 20, 2022
24a7be5
Delete DISCLAIMER
eyab Oct 20, 2022
0375ecb
Update README.md
eyab Oct 20, 2022
327014a
Remove incubating from GO driver
jrgemignani Oct 20, 2022
cd4c6b4
Fix GO driver module version
jrgemignani Oct 20, 2022
01e64f1
Remove incubating from Python driver
jrgemignani Oct 20, 2022
567d2b0
Remove incubating from ag_load
jrgemignani Oct 20, 2022
04fd148
add regression tests for delete_global_graphs (#336)
rafsun42 Oct 25, 2022
17714bc
Update README.md (#340)
jbiz805 Oct 26, 2022
2fabc17
Invalid labels now return NULL
dehowef Oct 22, 2022
8e5497c
Update CONTRIBUTING.md (#348)
jbiz805 Nov 15, 2022
4e9110d
Use Debian Buster base image (#243)
jgaskins Nov 21, 2022
f49c322
Add the ability to pass parameters to the cypher function
jrgemignani Nov 21, 2022
c17d833
Add license header
jrgemignani Nov 23, 2022
ed44f91
Modify the python driver's parameterization
dehowef Nov 23, 2022
69f9a91
Implement CI testing for Golang Driver (#372)
lukehinds Nov 28, 2022
4d4173e
Update README.md
eyab Nov 28, 2022
bce56ed
added new images for README
eyab Nov 29, 2022
6e89f3e
Update README.md
eyab Nov 29, 2022
680cd1e
Update README.md
eyab Nov 29, 2022
cdbb31f
Add more content and images
eyab Nov 29, 2022
57c6b5b
Add image for news header section
eyab Nov 29, 2022
26c2f41
Add header logo for news section
eyab Nov 29, 2022
bdf836c
Remove News Section
eyab Nov 30, 2022
78b901c
Update README.md
eyab Nov 30, 2022
397aec1
Update README Typo
eyab Nov 30, 2022
ccd413d
Fix null pointer on name compare (#376)
parvit Dec 8, 2022
a5202c1
Update to go version 1.19, as 1.16 is EOL (#373)
lukehinds Dec 10, 2022
cb0b3a9
Fix Travis CI warning message
jrgemignani Dec 12, 2022
203f61a
Fix Travis CI warning message
jrgemignani Dec 12, 2022
dc5895e
create complete graph function (#342)
susano0 Dec 12, 2022
a3cdba0
Fix compare_agtype_scalar_values returned result
jrgemignani Dec 14, 2022
ba2046d
Edit python driver README.md for clarity
dehowef Dec 15, 2022
934d763
Regression tests for age_global_graph (#341)
PragyanD Dec 19, 2022
2811a07
Readme Added for AGE-JDBC-Driver (#383)
imranzaheer612 Dec 20, 2022
4e6ccd4
Changed volatility category of functions age_atan2, age_degrees, age_…
Hunaid2000 Dec 24, 2022
5aa551a
Changed age_split, age_replace, age_sin from STABLE TO IMMUTABLE (#402)
Zahid07 Dec 25, 2022
caed340
Modified the Volatility Category of functions age_asin and age_acos f…
RC-002 Dec 25, 2022
933a4f1
Changed age_head, age_last and age_properties to IMMUTABLE (#406)
MatheusFarias03 Dec 27, 2022
da73984
Changed age_id, age_start_id and age_end_id function signatures to IM…
markgomer Dec 27, 2022
c64b517
Changed age_sqrt & age_floor volatility to IMMUTABLE (#411)
imranzaheer612 Dec 27, 2022
516e6af
Changed volatility types of age_substring, age_left and age_right to …
KamleshKumar427 Dec 27, 2022
098e452
Changed age_cos, age_tan and age_cot to Immutable from Stable (#409)
Pratikkapsime Dec 27, 2022
9c253db
agtype_typecast funcs changed to immutable (#407)
maazzzzz Dec 27, 2022
0b30da1
Changed volatility category of age_rtrim,age_ltrim,age_trim (#410)
fatimafatimaprogrammer Dec 27, 2022
7aff75f
Create graph instruction fixed (#414)
Munmud Dec 27, 2022
30edc59
Changed the definition of graphid_eq, graphid_ne, and graphid_lt from…
FahadZaheerfzr Dec 27, 2022
14a4440
Fix function signature (age_length, age_toboolean, age_tofloat) from …
MuhammadTahaNaveed Dec 27, 2022
da7b415
Changed Volatility of agtype_typecase_path (#417)
sarthak-19 Dec 27, 2022
8a5191c
,
emotionbug Dec 28, 2022
98bd8b0
Revert ","
emotionbug Dec 28, 2022
28cdee7
string reverse change Stable to immutable (#419)
Munmud Dec 28, 2022
6cbcccf
Changed the volatility of String function age_toupper() : from STABLE…
Munmud Dec 28, 2022
8f07805
Changed the volatility of String function age_tolower() (#421)
Munmud Dec 28, 2022
89b2510
typecast_vertex and typecast_edge functions volatility changed from S…
umer200 Dec 28, 2022
bc3e287
Update age_log10, age_e, age_exp VOLATILITY Classes (#427)
moeed-k Dec 28, 2022
a4388e8
Modified the volatility of functions age_atan, age_round and age_ceil…
GhostVaibhav Dec 28, 2022
49ac01f
Change volatility category of range(), unnest(). (#418)
AhmarZaidi Dec 29, 2022
acab46b
Fixed a typo in README (#436)
GhostVaibhav Dec 29, 2022
ad0a491
Issue 317: Graph naming convention (#349)
rafsun42 Dec 29, 2022
26ae7d9
Updated volatility information of function age_tointeger(),age_tostri…
intrigued-rishi Dec 31, 2022
9bc3607
Fixed typos at multiple locations (#470)
uhayat Jan 3, 2023
e396815
Fix bug #339 - entities in WHERE clause have wrong Expr (#391)
rafsun42 Jan 3, 2023
f7bb3b1
Update SET clause to support assigning a map to a variable (#468)
rafsun42 Jan 4, 2023
0e96fbb
Patch to address PR 203 that appears to be inactive.
jrgemignani Jan 5, 2023
218e4c8
Issue #388 - Fix python driver build from source (#389)
Hunaid2000 Jan 5, 2023
67cb875
Updated files for PG11 AGE release to 1.2.0
jrgemignani Jan 10, 2023
69fe252
Added some comments for create_graph function (#582)
intrigued-rishi Jan 23, 2023
2a233e3
Optimize age_exists function (#586)
moeed-k Jan 25, 2023
cbde580
Implement plus-equal operator in SET clause (#638)
rafsun42 Feb 1, 2023
57ee011
Implement CI test for python driver (#587)
MuhammadTahaNaveed Feb 1, 2023
bc1d15c
Update readme (#649)
Nandhini1809 Feb 2, 2023
4988b1b
Update Readme (#650)
yadav9887 Feb 2, 2023
9622656
Add video links (#634)
waleedahmed0001 Feb 7, 2023
47ddb82
Update README.md (#651)
udaiganny67 Feb 8, 2023
fe9de2b
Update README.md (#564)
jbiz805 Feb 9, 2023
33590ca
Move from travis CI to github actions for build (#676)
MuhammadTahaNaveed Feb 14, 2023
63d5b10
Fix golang driver workflow (#563)
MuhammadTahaNaveed Feb 14, 2023
de91f4a
Added some comments for create_graph function (#582)
intrigued-rishi Jan 23, 2023
6540ccf
Optimize age_exists function (#586)
moeed-k Jan 25, 2023
9b06aaf
Implement plus-equal operator in SET clause (#638)
rafsun42 Feb 1, 2023
42f94e7
Implement CI test for python driver (#587)
MuhammadTahaNaveed Feb 1, 2023
0a089f3
Update readme (#649)
Nandhini1809 Feb 2, 2023
13e647c
Update Readme (#650)
yadav9887 Feb 2, 2023
9e41690
Add video links (#634)
waleedahmed0001 Feb 7, 2023
7a68d68
Update README.md (#651)
udaiganny67 Feb 8, 2023
ed483c7
Move from travis CI to github actions for build (#676)
MuhammadTahaNaveed Feb 14, 2023
5d75141
Fix golang driver workflow (#563)
MuhammadTahaNaveed Feb 14, 2023
e87a844
Updated Readme for drivers folder (#642)
fatimafatimaprogrammer Feb 16, 2023
66c3ca6
Implement CI test for jdbc driver (#665)
MuhammadTahaNaveed Feb 16, 2023
cf87827
Update Go driver CI to run on every PR/commit (#683)
MuhammadTahaNaveed Feb 16, 2023
74eef31
Removed async from function definitions (#680)
FahadZaheerfzr Feb 16, 2023
1af3f44
Update python driver CI to run on every PR/commit (#684)
MuhammadTahaNaveed Feb 17, 2023
7628c85
Barbell graph generation (#648)
markgomer Feb 17, 2023
a4df471
UPDATED Python Driver ANTLR 4.9.3 -> 4.11.1 (#706)
Feb 23, 2023
3340170
Modify docker url for JDBC driver tests (#716)
MuhammadTahaNaveed Feb 24, 2023
67f519f
Fix WITH ignoring WHERE clause (#646)
MuhammadTahaNaveed Feb 25, 2023
6e8836b
Implement isEmpty() predicate function (#710)
MuhammadTahaNaveed Feb 27, 2023
49ae33a
Barbell regress tests (#708)
markgomer Mar 1, 2023
7ae6db2
Fix cypher function input argument checks (issue #718)
jrgemignani Mar 1, 2023
fbed473
Fix Issue #693 - server termination from return exists(path) (#721)
MuhammadTahaNaveed Mar 2, 2023
b09160f
Implemented CI test for nodejs driver (#720)
MuhammadTahaNaveed Mar 2, 2023
debe398
Update regression tests for cypher_with (#725)
MuhammadTahaNaveed Mar 3, 2023
377e1d7
Fix issue #733 - create_complete_graph() terminates the server (#734)
MuhammadTahaNaveed Mar 6, 2023
7a85e83
Prevent MATCH from following OPTIONAL MATCH (#740)
dehowef Mar 11, 2023
16d9c08
Remove check for scalar agtypes in unwind (#736)
MuhammadTahaNaveed Mar 11, 2023
c596757
Fix property constraints against resolved variables in concurrent MAT…
jrgemignani Mar 17, 2023
58a46ed
Updated Readme for drivers folder (#642)
fatimafatimaprogrammer Feb 16, 2023
5026427
Implement CI test for jdbc driver (#665)
MuhammadTahaNaveed Feb 16, 2023
6a3fa92
Update Go driver CI to run on every PR/commit (#683)
MuhammadTahaNaveed Feb 16, 2023
1df55f5
Removed async from function definitions (#680)
FahadZaheerfzr Feb 16, 2023
5df5d44
Update python driver CI to run on every PR/commit (#684)
MuhammadTahaNaveed Feb 17, 2023
0c79370
Barbell graph generation (#648)
markgomer Feb 17, 2023
73353c5
UPDATED Python Driver ANTLR 4.9.3 -> 4.11.1 (#706)
Feb 23, 2023
c3331ed
Modify docker url for JDBC driver tests (#716)
MuhammadTahaNaveed Feb 24, 2023
4817bfb
Fix WITH ignoring WHERE clause (#646)
MuhammadTahaNaveed Feb 25, 2023
88c44b9
Implement isEmpty() predicate function (#710)
MuhammadTahaNaveed Feb 27, 2023
1b226ef
Barbell regress tests (#708)
markgomer Mar 1, 2023
8d1febe
Fix cypher function input argument checks (issue #718)
jrgemignani Mar 1, 2023
4c8ee36
Fix Issue #693 - server termination from return exists(path) (#721)
MuhammadTahaNaveed Mar 2, 2023
ef82b9d
Implemented CI test for nodejs driver (#720)
MuhammadTahaNaveed Mar 2, 2023
9dbdde9
Update regression tests for cypher_with (#725)
MuhammadTahaNaveed Mar 3, 2023
89feda1
Fix issue #733 - create_complete_graph() terminates the server (#734)
MuhammadTahaNaveed Mar 6, 2023
0822093
Prevent MATCH from following OPTIONAL MATCH (#740)
dehowef Mar 11, 2023
68e3b5a
Remove check for scalar agtypes in unwind (#736)
MuhammadTahaNaveed Mar 11, 2023
1a70328
Fix property constraints against resolved variables in concurrent MAT…
jrgemignani Mar 17, 2023
d0c91c6
Merge branch 'master' of https://github.com/apache/age
jrgemignani Mar 20, 2023
0ef2dc2
Fix property constraints against resolved variables (#724) (#751)
jrgemignani Mar 22, 2023
b7fc389
Update CIs to pull age image from corresponding pg version tag (#757)
MuhammadTahaNaveed Mar 22, 2023
86d3b82
Fix python driver CI (#760)
MuhammadTahaNaveed Mar 22, 2023
a84c039
Include invalid labels in reused variables. (#751) (#762)
dehowef Mar 23, 2023
467e207
Update readme and version for python driver (#780)
MuhammadTahaNaveed Mar 30, 2023
871bcd3
Fixed typos mainly in comments (#750)
panosfol Apr 19, 2023
f35f343
ADD: Generation of Parser & Lexer AND installer (#714)
aru-d-at Apr 20, 2023
5819375
Add optional argument for python driver unitTest (#814)
Munmud Apr 20, 2023
3120bcb
Update README.md (#727)
kenwoon Apr 20, 2023
2c8a0bc
Update Quickstart section (#731)
Zainab-Saad Apr 24, 2023
2e3f838
Introduce age_pi and age_rand functions and related updates (#823)
mohayu22 Apr 24, 2023
083f683
Updated test_age_py - Added missing assert statements to tests - Gave…
safi50 Apr 24, 2023
9188a64
Fix reuse of variable with label constraint (#840)
MuhammadTahaNaveed Apr 25, 2023
3182b61
Fixed indentation of vertexExp (#850)
rrrokhtar Apr 26, 2023
19c05ae
Update jdbc driver and workflows (#861)
MuhammadTahaNaveed Apr 26, 2023
d0323f9
Cast bool to pg_bigint (#827)
Zainab-Saad Apr 27, 2023
a485844
Fix issue #878 - unrecognized node type error (#889)
MuhammadTahaNaveed May 3, 2023
ffa0f76
Updated README.md; Grammar correction (#742)
kenwoon May 3, 2023
b0c9e9c
Moved create_empty_agtype out of loops (#888)
mohayu22 May 3, 2023
e8322ea
Updated the module import statement for python driver sample (#900)
FahadZaheerfzr May 8, 2023
b50a5cf
Fix issue #898 - Crash on property access of node in same MATCH (#903)
MuhammadTahaNaveed May 8, 2023
68e7524
Fix SET bug, issue #899 (#904)
jrgemignani May 9, 2023
15b12d8
Fix issue #883 - operator does not exist: @> agtype (#901)
MuhammadTahaNaveed May 9, 2023
87f8601
Typecast bool to integer and vice versa (#905)
Zainab-Saad May 10, 2023
a43002a
Added string to pg_float8 typecasting (#895)
mohayu22 May 10, 2023
e31f470
Changed author name and email (#922)
Munmud May 15, 2023
52bfe9b
Remove implicit casting from int to bool (#923)
Zainab-Saad May 15, 2023
9df285a
Fix multiple label name usage in reused variables (#916)
jrgemignani May 18, 2023
ca7e174
Fix CASE and boolean typecasting in WHEN... THEN (#914)
dehowef May 19, 2023
b7a28a1
Update file for PG11 AGE release to 1.3.0
jrgemignani Apr 20, 2023
27d4375
Fix issue #876 - column reference "_age_default_alias_0" is ambiguous…
MuhammadTahaNaveed Jun 1, 2023
9d06d50
Fix MERGE crashes due to incorrect label type (#957)
jrgemignani Jun 1, 2023
5d9017b
Fix memory leaks in MERGE (merge_edge & merge_vertex) (#958)
jrgemignani Jun 1, 2023
69c275e
Fix complex MERGE causes crash (#897) (#961)
jrgemignani Jun 5, 2023
e22c5ac
Fix issue #975 Invalid reuse of variables in CREATE clause (#977)
MuhammadTahaNaveed Jun 9, 2023
9c30331
Modified test_agtypes to view useful testing message (#992)
Munmud Jun 15, 2023
986f478
Added License in Python Driver README.md (#956)
FahadZaheerfzr Jun 16, 2023
1c29317
Made changes to the readme.md file i.e. Aligned logo and modified tit…
RahimullahShaheen Jun 19, 2023
75a0e43
Fix MERGE variable reuse (#997)
jrgemignani Jun 20, 2023
6e314e8
Fix issue #989: Impossible to create array with > 100 items (#1001)
jrgemignani Jun 21, 2023
0ab0ebb
Fix issue #1002 Invalid reuse of variables in MATCH clause (#1003)
MuhammadTahaNaveed Jun 22, 2023
d3a3bd5
Fix misspellings in many AGE files (#985)
jsoref Jun 27, 2023
88ead70
[AGE agtype_util.c] Fix issue #870 regarding orderability and added r…
CapnSpek Jun 29, 2023
c075703
Merge branch PG12 (version 1.3.0) into the master branch. (#1015)
jrgemignani Jul 7, 2023
7802232
Merge branch 'master' into PG12
jrgemignani Jul 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 28 additions & 6 deletions .github/workflows/go-driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,54 @@ name: Go Driver Tests

on:
push:
branches: [ "PG12" ]
branches: [ "master", "PG12" ]

pull_request:
branches: [ "PG12" ]
branches: [ "master", "PG12" ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18', '1.19' ]

defaults:
run:
working-directory: drivers/golang/age/

steps:
- uses: actions/checkout@v3


- name: Set tag based on branch
run: |
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
fi

- name: Run apache/age docker image
run: docker-compose up -d
run: |
export TAG=$TAG
docker-compose up -d

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Generate
run: go generate ./../...

- name: Build
run: go build -v ./...

Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/installcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build / Regression

on:
push:
branches: [ 'master', 'PG12' ]
pull_request:
branches: [ 'master', 'PG12' ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Get latest commit id of PostgreSQL 12
run: |
echo "PG_COMMIT_HASH=$(git ls-remote git://git.postgresql.org/git/postgresql.git refs/heads/REL_12_STABLE | awk '{print $1}')" >> $GITHUB_ENV

- name: Cache PostgreSQL 12
uses: actions/cache@v3
id: pg12cache
with:
path: ~/pg12
key: ${{ runner.os }}-v1-pg12-${{ env.PG_COMMIT_HASH }}

- name: Install PostgreSQL 12
if: steps.pg12cache.outputs.cache-hit != 'true'
run: |
git clone --depth 1 --branch REL_12_STABLE git://git.postgresql.org/git/postgresql.git ~/pg12source
cd ~/pg12source
./configure --prefix=$HOME/pg12 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert
make install -j$(nproc) > /dev/null

- uses: actions/checkout@v3

- name: Build
id: build
run: |
make PG_CONFIG=$HOME/pg12/bin/pg_config install -j$(nproc)

- name: Regression tests
id: regression_tests
run: |
make PG_CONFIG=$HOME/pg12/bin/pg_config installcheck
continue-on-error: true

- name: Dump regression test errors
if: steps.regression_tests.outcome != 'success'
run: |
echo "Dump section begin."
cat $HOME/work/age/age/regress/regression.diffs
echo "Dump section end."
exit 1
33 changes: 23 additions & 10 deletions .github/workflows/jdbc-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@ name: JDBC Driver Tests

on:
push:
branches: [ "PG12" ]
branches: [ "master", "PG12" ]

pull_request:
branches: [ "PG12" ]
branches: [ "master", "PG12" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
distributions: ['zulu', 'temurin', 'microsoft']

defaults:
run:
working-directory: drivers/jdbc
Expand All @@ -25,8 +20,26 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.distributions }}
distribution: 'zulu'
java-version: '17'

- name: Set tag based on branch
run: |
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
fi

- name: Build and Test
run: gradle build
run: |
export TAG=$TAG
gradle build
30 changes: 24 additions & 6 deletions .github/workflows/nodejs-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Nodejs Driver Tests

on:
push:
branches: [ "PG12" ]
branches: [ "master", "PG12" ]

pull_request:
branches: [ "PG12" ]
branches: [ "master", "PG12" ]

jobs:
build:
Expand All @@ -14,12 +14,30 @@ jobs:
defaults:
run:
working-directory: drivers/nodejs/

steps:
- uses: actions/checkout@v3


- name: Set tag based on branch
run: |
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
fi

- name: Run apache/age docker image
run: docker-compose up -d
run: |
export TAG=$TAG
docker-compose up -d

- name: Set up Node
uses: actions/setup-node@v3
Expand All @@ -33,4 +51,4 @@ jobs:
run: npm run build

- name: Test
run: npm test
run: npm test
32 changes: 25 additions & 7 deletions .github/workflows/python-driver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Python Driver Tests

on:
push:
branches: [ "PG12" ]
branches: [ "master", "PG12" ]

pull_request:
branches: [ "PG12" ]
branches: [ "master", "PG12" ]

jobs:
build:
Expand All @@ -14,12 +14,30 @@ jobs:
defaults:
run:
working-directory: drivers/python

steps:
- uses: actions/checkout@v3


- name: Set tag based on branch
run: |
if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_REF" == "refs/heads/PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
if [[ "$GITHUB_BASE_REF" == "master" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
elif [[ "$GITHUB_BASE_REF" == "PG12" ]]; then
echo "TAG=PG12_latest" >> $GITHUB_ENV
fi
fi

- name: Run apache/age docker image
run: docker-compose up -d
run: |
export TAG=$TAG
docker-compose up -d

- name: Set up python
uses: actions/setup-python@v4
Expand All @@ -37,5 +55,5 @@ jobs:

- name: Test
run: |
python -m unittest -v test_age_py.py
python test_age_py.py -db "postgres" -u "postgres" -pass "agens"
python -m unittest -v test_agtypes.py
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,18 @@
# limitations under the License.
#


FROM postgres:12

RUN apt-get update
RUN apt-get update
RUN apt-get install --assume-yes --no-install-recommends --no-install-suggests \
bison \
build-essential \
flex \
postgresql-server-dev-12
postgresql-server-dev-12

COPY . /age
RUN cd /age && make install
COPY . /age
RUN cd /age && make install

COPY docker-entrypoint-initdb.d/00-create-extension-age.sql /docker-entrypoint-initdb.d/00-create-extension-age.sql

CMD ["postgres", "-c", "shared_preload_libraries=age"]
CMD ["postgres", "-c", "shared_preload_libraries=age"]
8 changes: 4 additions & 4 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"name": "ApacheAGE",
"abstract": "Apache AGE is a PostgreSQL Extension that provides graph database functionality",
"description": "Apache AGE is a PostgreSQL Extension that provides graph database functionality. AGE is an acronym for A Graph Extension, and is inspired by Bitnine's fork of PostgreSQL 10, AgensGraph, which is a multi-model database. The goal of the project is to create single storage that can handle both relational and graph model data so that users can use standard ANSI SQL along with openCypher, the Graph query language. A graph consists of a set of vertices (also called nodes) and edges, where each individual vertex and edge possesses a map of properties. A vertex is the basic object of a graph, that can exist independently of everything else in the graph. An edge creates a directed connection between two vertices. A graph database is simply composed of vertices and edges. This type of database is useful when the meaning is in the relationships between the data. Relational databases can easily handle direct relationships, but indirect relationships are more difficult to deal with in relational databases. A graph database stores relationship information as a first-class entity. Apache AGE gives you the best of both worlds, simultaneously.",
"version": "1.1.0",
"version": "1.3.0",
"maintainer": [
"users@age.apache.org"
],
"license": "apache_2_0",
"provides": {
"ApacheAGE": {
"abstract": "Apache AGE is a PostgreSQL Extension that provides graph database functionality",
"file": "age--1.1.0.sql",
"file": "age--1.3.0.sql",
"docfile": "README.md",
"version": "1.1.0"
"version": "1.3.0"
}
},
"prereqs": {
Expand All @@ -23,7 +23,7 @@
}
},
"resources": {
"homepage": "https://github.com/apache/age/tree/AGE_PG12.1.0_ALPHA",
"homepage": "https://github.com/apache/age/tree/PG12",
"bugtracker": {
"web": "https://github.com/apache/age/issues"
},
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
MODULE_big = age



OBJS = src/backend/age.o \
src/backend/catalog/ag_catalog.o \
src/backend/catalog/ag_graph.o \
Expand Down
Loading