You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by ey...@apache.org on 2021/02/09 20:55:44 UTC
[incubator-age] branch master updated (9f14a94 -> 8ed5684)
This is an automated email from the ASF dual-hosted git repository.
eya pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git.
omit 9f14a94 Add variadic "any" for input to min() & max()
omit c2cefa1 Add aggregate function collect
omit c433b13 Patch for github issue #15
omit 549ac9f Update LICENSE
omit 40c046d Delete OpenCypher Directory
omit acdc110 Create DISCLAIMER-WIP
omit 2f37935 Create NOTICE
omit 38645ce Updated reead me file. (#11)
omit 259ed24 Modified README.md file (#12)
omit 0bc0276 Update LICENSE
omit 2382a1c Add release notes
omit 3e0bd99 Add aggregate functions percentileCont & percentileDisc
omit 7aa9205 Update README.md (#9)
omit b7ebeda Update README.md (#7)
omit 2f0e145 Update README.md (#1) (#8)
omit 398bb70 update readme.md (#6)
omit 6cadb6a Change AGE version from 0.2.0 to 0.3.0
omit 2d99e9c Update .asf.yaml
omit 09e7b04 Update .asf.yaml
omit a6f0ded Create .asf.yaml
omit 2dc07af Merge pull request #3 from procarrie/AGE_procarrie
omit ca1aa88 Update README.md
omit bb223a4 Add Apache 2.0 license to top level and regress sql directories
omit 042c224 Added License to the doc and tool directory
omit a11e595 Change license to Apache 2.0 Part 2
omit 573b17e Merge pull request #2 from aysko75/Apache_AGE_branch_by_AK
omit 5ec2914 Change license to Apache 2.0
omit 7ec19b3 Update README.md
omit 565c459 Merge pull request #1 from aysko75/2021-01-17_ak_branch_for_age
omit 920c068 Update README.md
omit 06fd2d4 Added Remove clause unit tests
omit bab98d9 Add REMOVE clause.
omit b3d6618 Add mixed types for min() & max()
omit 16c8893 Add aggregate functions stdev() & stdevp()
omit d0be81c Implemented set clause for updating a single cypher clause
omit f1c01bd Add aggregate functions min() & max()
omit 78e9e03 Add support for aggregate functions avg, sum, & count
omit fd4e6d9 Add support for user defined functions
omit dde2858 Refactor transform logic for functions - part 2
omit 46a0ac1 Refactor transform logic for functions - part 1
omit 91d4525 Support for Agtype BTree and Hash Indices and Distinct Clause
omit fc1903f Add the openCypher function sqrt()
omit 49b5ec8 Add openCypher function exp()
omit 01be6b4 Add openCypher e() function
omit e65fb40 Add openCypher log() and log10 functions
omit a73755e Add openCypher rand() function
omit 023250d Add openCypher abs(), ceil(), floor(), round(), & sign() functions
omit 26bf66e Add openCypher degrees() and radians() functions
omit 9ab41bc Add openCypher pi function
omit c005f0a Add Property Constraints
omit d2611af Add openCypher trig functions asin, acos, atan, & atan2
omit c12974c Add openCypher trig functions sin, cos, tan, and cot.
omit f569166 Add openCypher string function replace().
omit 0333e5d Add openCypher split() string command.
omit abf969a Add openCypher functions left(), right(), & substring()
omit 3c6c68e Add the Cypher functions rTrim(), lTrim(), and trim()
omit 0f53061 Add Cypher string functions toUpper() and toLower()
omit 7ff5187 Add the Cypher function reverse()
omit a786ba4 Add Cypher function toString()
omit 03384bd Add EXISTS(property) function
omit 744b119 Define behavior for DROP Extension Command
omit 80daedf Add EXISTS(pattern) to the WHERE clause
omit 3fbaffd Alpha release 0.2.0
omit e6dffe0 Support Return Clause after Create Clause
omit a418c9a Update README.md
omit d2e65e7 Update README.md
omit 4f3e984 Update README.md
omit f32b93c Update README.md
omit 4c71a9f Update README.md
omit fb37cde Update README.md
omit 057fa98 Update README.md
omit 62bce30 Update README.md
omit 08af179 Update README.md
omit 5ec9d36 Update README.md
omit ebb8b2b Update README.md
omit 4f229fe Update README.md
omit 0f5942c Update README.md
omit a355744 Update README.md
omit c0baf4a Update README.md
omit 1676333 Update README.md
omit 2f2d514 Update README.md
omit 3d382cd Update README.md
omit 3cf2e43 Update README.md
omit 105b523 Update README.md
omit b878904 Update README.md
omit 1ee880a Update README.md
omit 6a4e3b0 Update README.md
omit 9f57a17 Update README.md
omit 11d0602 Update README.md
omit 8fc64f1 Update README.md
omit 937e8b8 Update README.md
omit ad94cee Refactor AgensGraph to AGE
omit 2e783e8 Do not allow paths to be only one vertex
omit 9ceba21 CREATE clause supports input from previous clauses
omit eb6cb8c Add scalar functions
omit 411d672 Changed references from AgensGraph Extension to AGE in documentation
omit 9d051b0 alter id, startid, endid to return Agtype
omit 72e2589 Add path typecasting
omit c118825 Improve Match Clause
omit 8a66e74 Add object and array typecasting
omit 5202935 Add support for casting an agtype string to an agtype numeric
omit b8f304e Add support for casting an agtype to an agtype float
omit 621e2f8 Improve Cypher Create Clause
omit 856d360 Implement No Label Logic
omit f0d5ad5 Add typecast operator and numeric cast
omit 138e417 Implement edge type as an extended type of agtype
omit 40d83fa Create label information for edges
omit 5b985c0 Change version from 0.0.0 to 0.1.0
omit 6ab7421 Minor rewrites and formatting changes of documentation
omit 6733e23 Correct documentation typos
omit f406186 Add numeric type to agensgraph extension.
omit 4238de0 Fix: cypher_clause format issues
omit 7e33e7b Update documentation
omit 7ff95d9 Merge branch 'master' of https://github.com/bitnine-oss/agensgraph-ext
omit 062586b Call prev_object_access_hook if it exists
omit a7ace3a Implement simple CREATE clause
omit ab1410c Add documentation about drop_label() utility function
omit a44cd5c Drop labels when drop_graph()
omit 8f222ad Prevent users to drop backed schemas and tables of graphs
omit 928e44e Implement ag_label OID cache
omit 64b2074 Update documentation
omit 67c9c50 Implement simple MATCH clause
omit e76c581 Extend Agtype for Vertex
omit 7b07324 Implement logic for assigning unique ID
omit 210cb2f Fix: Uninitialized variable warnings
omit ac793ac Implement List Operators
omit 576c128 Assign a unique label ID to a created label
omit 6ebd726 Create a sequence to assign a unique ID to a label in a graph
omit 28fa94f Add NOT NULL, DEFAULT, and PRIMARY KEY constraints to vertex label
omit d27d9a9 Make graphid type indexable using btree
omit fee619a Add COMMUTATOR, NEGATOR, RESTRICT, and JOIN to comparison operators
omit 2c06e40 Do register_ag_nodes() only once
omit 4c4d1a3 Implement caches of ag_graph and ag_label
omit 20fa363 Remove tailing whitespaces
omit f614618 Remove resulting files of regression test when `make clean`
omit f7b38c7 Build documentation in Travis CI
omit 5374920 Remove doc-html target in Makefile
omit 9cfabd3 Revert "Remove the documentation from the repository"
omit f7611cc Remove compile warning messages
omit 9c855f4 Add build status image of Travis CI
omit a30b1dd Add initial .travis.yml file for Travis CI
omit cb5d1c5 Apply ALv2
omit 7ff25c7 Write README.md
omit 71ed98c Design and implement vertex label creation logic
omit b6ee7f4 Refactor vertex label creation logic
omit fbab0b9 Design and implement vertex label creation logic
omit 02db459 Implement subclauses of RETURN and WITH
omit 62482cb Implement simple WITH clause
omit 383b755 Revert cypher_clause_func_oid related changes
omit 84aad87 Write general transform routine to support multiple clauses
omit c8348a1 Refactor path and plan code for CREATE clause
omit 5851546 Remove cypher_dummy_clause() function
omit a2c59ac Reorganize the directory structure
omit 4b67b94 Introduce CustomScan for CREATE clause
omit 8639f8e Introduce `graphid` type
omit 388a9ed Introduce CustomPath for CREATE clause
omit 0939c26 Add extension comment
omit 454ba89 Implement result type casting
omit 1ca6984 Implement parameter
omit 3ab97a3 Add proper error code and adjust error position for ereport()
omit 9ecb76b Implement transform and execution logic for parameters
omit 34d5c0a Implement string specific comparison operators
omit 9779a0b Implement property and element access operators
omit 69f3b32 Implement + (concatenating strings) operator
omit ab50b5c Support Floating Point Precision in String Operators
omit cceebcd Implement String Operators
omit 6c36b80 Fix failed assertion when agtype_build_map() takes agtype as key
omit 304bc68 Refactor bool_to_agtype()
omit 40b40a9 Implement boolean operators
omit 05a0d39 Refactor functions that converts constants to agtypes
omit c11ca58 Fix comments for build map functions
omit 82ce288 Implement map literal expression
omit 6db3cd3 Refactor function transform_AEXPR_OP
omit c9849a4 Implement list literal expression
omit 4a18426 Add more efficient float comparison logic
omit 88802d0 Add comparability operators
omit 71edc2c Remove the documentation from the repository
omit de3d7bf Clean up coding style of agtype*.[c|h] files
omit b35e32a Implement mathematical operators
omit ebd57bf Add math operators transform logic for agtype
omit 75bb122 Add operators for agtype
omit dcbe57b Add functions for agtype math operators
omit 70b14d5 Use agtype for literal constant values
omit dae6462 Implement MATCH and CREATE parser
omit a9e1efd Add NaN and +/-Infinity to the agtype parser
omit 6d82c42 Change agtype regression file names
omit f56c626 Fix regression test failure
omit fc8201b Change JSON names to AGTYPE format
omit d0559c3 Rename files to AGTYPE
omit 682bf43 Apply Clang-format
omit 712ee6b Change JSON names in PG definitions & regression
omit 64995df Change JSON names to AGTYPE format in source files
omit 9999178 Change JSON names to AGTYPE format in header files
omit ce78bdf Implement map literal parser
omit e9496e6 Implement list literal parser
omit 6863673 Create a type that supports Cypher data types
omit 3e6c55f Add Integer8 & Float8 to categorize, compare, equals, & hash functions
omit 2b390b7 Add Clang formatted files
omit 90c80fc Add JSONBX regression tests
omit 137763f Fix jsonbx_out float8 representation
omit 0307e11 Link in extended library
omit 24a3af7 Create extended type definitions and library
omit cbdedef Add input/output functions for JSONBX
omit 6d6d427 Change names of exposed JSON functions
omit 84d09e0 Remove unnecessary functions from JSON
omit 6da0f73 Add JSON parser files
omit 78827c2 Add SQL type definition and in/out functions
omit 61d2236 Add new type definition and macro
omit c34811f Rename all references of JSONB type to JSONBX type
omit cb9a7dd Add PostgreSQL JSONB implementation for baseline
omit e5078de Improve the design of the documentation
omit 290e5cd Write basic documentation for SET and REMOVE
omit 5ab3824 Add reserved keywords to reserved_keyword rule
omit ceb3997 Write basic documentation for DELETE
omit 9429aae Implement openCypher DELETE clause
omit 70647ed Refactor SET and REMOVE clause parser
omit a65b12e Implement basic RETURN clause
omit 667bfd1 Use ResTarget and SortBy instead
omit d0b7e87 Implement openCypher SET and REMOVE parser
omit 026c090 Write basic documentation for expression
omit 8adf0b2 Implement basic expression parser
omit 7781940 Write basic documentation for RETURN and WITH clauses
omit 63ad5f2 Implement RETURN and WITH clauses parser
omit bf1fb07 Apply coding style changes
omit 902a520 Add documentation for alter_graph()
omit fb86846 Add missing header file
omit 30da04a Write basic documentation
omit e987bc7 Change options in clang-format.5
omit b72a6f7 Update minor things in regression tests for alter_graph()
omit 8d57357 Implement alter_graph(), for rename graph
omit c99ace6 Set up documentation environment using Sphinx
omit c3b69ba Add a Git commit-msg hook script
omit 962c19f Add clang-format.5 file as a coding standard
omit b68033c Implement create_graph() and drop_graph()
omit 4fd3f1a Refine big hexadecimal and octal integer literals
omit bb60a1c Implement a scanner for Cypher
omit c7c46fd Add openCypher references
omit 76e740f Change cypher(text) to cypher(cstring)
omit a702f69 Check return row and column definition row match
omit 4f2fa10 Use ParseState to point correct error position
omit 789f4ca Convert cypher(text) calls to corresponding subqueries
omit bef50e5 Implement dummy cypher(text) function
new 1a8c3f9 Initial commit
new c218340 more changes
new 7a479d1 Adding link to built docs
new 0105ca5 Fixing link to docs
new d71922f Fixing links for new tabs
new 2ce84ef Some mobile optimizations
new 3791be5 Tweak menu handling
new b760e0a Added team, contribution, footer
new 35071c4 adding dev docs
new 0a1f4ad More updates
new cac0842 Fixing menu on mobile
new 048f9f5 More changes
new 30278cc More updates
new 5fac932 More updates
new 540abf4 Adding .htaccess and contributor
new 2dce1d7 Updates
new 327a50f Small update
new 8ed5684 copyright date fix
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (9f14a94)
\
N -- N -- N refs/heads/master (8ed5684)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 18 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.DS_Store | Bin 0 -> 6148 bytes
.asf.yaml | 15 -
.gitignore | 3 +-
.htaccess | 1 +
.prettierrc | 7 +
.travis.yml | 23 -
DISCLAIMER-WIP | 20 -
LICENSE | 230 -
Makefile | 88 -
NOTICE | 8 -
README.md | 23 -
RELEASE | 86 -
age--0.3.0.sql | 1429 ------
age.control | 22 -
assets/.DS_Store | Bin 0 -> 6148 bytes
assets/images/ageworks.png | Bin 0 -> 65212 bytes
assets/images/favicon/apple-touch-icon.png | Bin 0 -> 12028 bytes
assets/images/favicon/favicon-16x16.png | Bin 0 -> 1893 bytes
assets/images/favicon/favicon-32x32.png | Bin 0 -> 2837 bytes
assets/images/incubator_ring_logo.png | Bin 0 -> 28717 bytes
assets/images/logo.png | Bin 0 -> 15864 bytes
assets/scripts/index.js | 47 +
assets/styles/index.css | 224 +
clang-format.5 | 82 -
doc/.gitignore | 1 -
doc/Makefile | 36 -
doc/_static/age_BI.png | Bin 45277 -> 0 bytes
doc/conf.py | 211 -
doc/cypher-query-language.rst | 473 --
doc/index.rst | 41 -
doc/installation.rst | 66 -
doc/tables.rst | 67 -
doc/utility-functions.rst | 240 -
examples.c | 99 +
index.html | 961 ++++
regress/.gitignore | 4 -
regress/expected/agtype.out | 1750 -------
regress/expected/catalog.out | 313 --
regress/expected/cypher.out | 123 -
regress/expected/cypher_create.out | 521 --
regress/expected/cypher_match.out | 846 ----
regress/expected/cypher_remove.out | 286 --
regress/expected/cypher_set.out | 279 -
regress/expected/cypher_with.out | 55 -
regress/expected/drop.out | 84 -
regress/expected/expr.out | 4550 -----------------
regress/expected/graphid.out | 86 -
regress/expected/scan.out | 507 --
regress/sql/agtype.sql | 618 ---
regress/sql/catalog.sql | 131 -
regress/sql/cypher.sql | 71 -
regress/sql/cypher_create.sql | 234 -
regress/sql/cypher_match.sql | 442 --
regress/sql/cypher_remove.sql | 118 -
regress/sql/cypher_set.sql | 114 -
regress/sql/cypher_with.sql | 36 -
regress/sql/drop.sql | 51 -
regress/sql/expr.sql | 1888 -------
regress/sql/graphid.sql | 47 -
regress/sql/scan.sql | 345 --
src/backend/age.c | 50 -
src/backend/catalog/ag_catalog.c | 239 -
src/backend/catalog/ag_graph.c | 180 -
src/backend/catalog/ag_label.c | 260 -
src/backend/catalog/ag_namespace.c | 34 -
src/backend/commands/graph_commands.c | 380 --
src/backend/commands/label_commands.c | 687 ---
src/backend/executor/cypher_create.c | 601 ---
src/backend/executor/cypher_set.c | 476 --
src/backend/executor/cypher_utils.c | 345 --
src/backend/nodes/ag_nodes.c | 126 -
src/backend/nodes/outfuncs.c | 249 -
src/backend/optimizer/cypher_createplan.c | 121 -
src/backend/optimizer/cypher_pathnode.c | 106 -
src/backend/optimizer/cypher_paths.c | 165 -
src/backend/parser/.gitignore | 2 -
src/backend/parser/ag_scanner.l | 1192 -----
src/backend/parser/cypher_analyze.c | 606 ---
src/backend/parser/cypher_clause.c | 2767 ----------
src/backend/parser/cypher_expr.c | 899 ----
src/backend/parser/cypher_gram.y | 1614 ------
src/backend/parser/cypher_item.c | 71 -
src/backend/parser/cypher_keywords.c | 139 -
src/backend/parser/cypher_parse_node.c | 121 -
src/backend/parser/cypher_parser.c | 144 -
src/backend/utils/adt/ag_float8_supp.c | 181 -
src/backend/utils/adt/agtype.c | 7612 ----------------------------
src/backend/utils/adt/agtype_ext.c | 182 -
src/backend/utils/adt/agtype_ops.c | 916 ----
src/backend/utils/adt/agtype_parser.c | 1470 ------
src/backend/utils/adt/agtype_util.c | 2191 --------
src/backend/utils/adt/cypher_funcs.c | 50 -
src/backend/utils/adt/graphid.c | 217 -
src/backend/utils/ag_func.c | 119 -
src/backend/utils/cache/ag_cache.c | 1113 ----
src/include/catalog/ag_catalog.h | 33 -
src/include/catalog/ag_graph.h | 49 -
src/include/catalog/ag_label.h | 82 -
src/include/catalog/ag_namespace.h | 28 -
src/include/commands/label_commands.h | 60 -
src/include/executor/cypher_executor.h | 33 -
src/include/executor/cypher_utils.h | 75 -
src/include/nodes/ag_nodes.h | 92 -
src/include/nodes/cypher_nodes.h | 338 --
src/include/optimizer/cypher_createplan.h | 35 -
src/include/optimizer/cypher_pathnode.h | 31 -
src/include/optimizer/cypher_paths.h | 26 -
src/include/parser/.gitignore | 1 -
src/include/parser/ag_scanner.h | 82 -
src/include/parser/cypher_analyze.h | 26 -
src/include/parser/cypher_clause.h | 46 -
src/include/parser/cypher_expr.h | 31 -
src/include/parser/cypher_gram.h | 68 -
src/include/parser/cypher_item.h | 38 -
src/include/parser/cypher_keywords.h | 28 -
src/include/parser/cypher_parse_node.h | 55 -
src/include/parser/cypher_parser.h | 27 -
src/include/utils/ag_cache.h | 52 -
src/include/utils/ag_float8_supp.h | 29 -
src/include/utils/ag_func.h | 29 -
src/include/utils/agtype.h | 481 --
src/include/utils/agtype_ext.h | 42 -
src/include/utils/agtype_parser.h | 148 -
src/include/utils/graphid.h | 65 -
tools/git/commit-msg | 66 -
125 files changed, 1340 insertions(+), 44483 deletions(-)
create mode 100644 .DS_Store
delete mode 100644 .asf.yaml
create mode 100644 .htaccess
create mode 100644 .prettierrc
delete mode 100644 .travis.yml
delete mode 100644 DISCLAIMER-WIP
delete mode 100644 LICENSE
delete mode 100644 Makefile
delete mode 100644 NOTICE
delete mode 100644 README.md
delete mode 100644 RELEASE
delete mode 100644 age--0.3.0.sql
delete mode 100644 age.control
create mode 100644 assets/.DS_Store
create mode 100755 assets/images/ageworks.png
create mode 100755 assets/images/favicon/apple-touch-icon.png
create mode 100755 assets/images/favicon/favicon-16x16.png
create mode 100755 assets/images/favicon/favicon-32x32.png
create mode 100755 assets/images/incubator_ring_logo.png
create mode 100755 assets/images/logo.png
create mode 100644 assets/scripts/index.js
create mode 100644 assets/styles/index.css
delete mode 100644 clang-format.5
delete mode 100644 doc/.gitignore
delete mode 100644 doc/Makefile
delete mode 100644 doc/_static/age_BI.png
delete mode 100644 doc/conf.py
delete mode 100644 doc/cypher-query-language.rst
delete mode 100644 doc/index.rst
delete mode 100644 doc/installation.rst
delete mode 100644 doc/tables.rst
delete mode 100644 doc/utility-functions.rst
create mode 100644 examples.c
create mode 100644 index.html
delete mode 100644 regress/.gitignore
delete mode 100644 regress/expected/agtype.out
delete mode 100644 regress/expected/catalog.out
delete mode 100644 regress/expected/cypher.out
delete mode 100644 regress/expected/cypher_create.out
delete mode 100644 regress/expected/cypher_match.out
delete mode 100644 regress/expected/cypher_remove.out
delete mode 100644 regress/expected/cypher_set.out
delete mode 100644 regress/expected/cypher_with.out
delete mode 100644 regress/expected/drop.out
delete mode 100644 regress/expected/expr.out
delete mode 100644 regress/expected/graphid.out
delete mode 100644 regress/expected/scan.out
delete mode 100644 regress/sql/agtype.sql
delete mode 100644 regress/sql/catalog.sql
delete mode 100644 regress/sql/cypher.sql
delete mode 100644 regress/sql/cypher_create.sql
delete mode 100644 regress/sql/cypher_match.sql
delete mode 100644 regress/sql/cypher_remove.sql
delete mode 100644 regress/sql/cypher_set.sql
delete mode 100644 regress/sql/cypher_with.sql
delete mode 100644 regress/sql/drop.sql
delete mode 100644 regress/sql/expr.sql
delete mode 100644 regress/sql/graphid.sql
delete mode 100644 regress/sql/scan.sql
delete mode 100644 src/backend/age.c
delete mode 100644 src/backend/catalog/ag_catalog.c
delete mode 100644 src/backend/catalog/ag_graph.c
delete mode 100644 src/backend/catalog/ag_label.c
delete mode 100644 src/backend/catalog/ag_namespace.c
delete mode 100644 src/backend/commands/graph_commands.c
delete mode 100644 src/backend/commands/label_commands.c
delete mode 100644 src/backend/executor/cypher_create.c
delete mode 100644 src/backend/executor/cypher_set.c
delete mode 100644 src/backend/executor/cypher_utils.c
delete mode 100644 src/backend/nodes/ag_nodes.c
delete mode 100644 src/backend/nodes/outfuncs.c
delete mode 100644 src/backend/optimizer/cypher_createplan.c
delete mode 100644 src/backend/optimizer/cypher_pathnode.c
delete mode 100644 src/backend/optimizer/cypher_paths.c
delete mode 100644 src/backend/parser/.gitignore
delete mode 100644 src/backend/parser/ag_scanner.l
delete mode 100644 src/backend/parser/cypher_analyze.c
delete mode 100644 src/backend/parser/cypher_clause.c
delete mode 100644 src/backend/parser/cypher_expr.c
delete mode 100644 src/backend/parser/cypher_gram.y
delete mode 100644 src/backend/parser/cypher_item.c
delete mode 100644 src/backend/parser/cypher_keywords.c
delete mode 100644 src/backend/parser/cypher_parse_node.c
delete mode 100644 src/backend/parser/cypher_parser.c
delete mode 100644 src/backend/utils/adt/ag_float8_supp.c
delete mode 100644 src/backend/utils/adt/agtype.c
delete mode 100644 src/backend/utils/adt/agtype_ext.c
delete mode 100644 src/backend/utils/adt/agtype_ops.c
delete mode 100644 src/backend/utils/adt/agtype_parser.c
delete mode 100644 src/backend/utils/adt/agtype_util.c
delete mode 100644 src/backend/utils/adt/cypher_funcs.c
delete mode 100644 src/backend/utils/adt/graphid.c
delete mode 100644 src/backend/utils/ag_func.c
delete mode 100644 src/backend/utils/cache/ag_cache.c
delete mode 100644 src/include/catalog/ag_catalog.h
delete mode 100644 src/include/catalog/ag_graph.h
delete mode 100644 src/include/catalog/ag_label.h
delete mode 100644 src/include/catalog/ag_namespace.h
delete mode 100644 src/include/commands/label_commands.h
delete mode 100644 src/include/executor/cypher_executor.h
delete mode 100644 src/include/executor/cypher_utils.h
delete mode 100644 src/include/nodes/ag_nodes.h
delete mode 100644 src/include/nodes/cypher_nodes.h
delete mode 100644 src/include/optimizer/cypher_createplan.h
delete mode 100644 src/include/optimizer/cypher_pathnode.h
delete mode 100644 src/include/optimizer/cypher_paths.h
delete mode 100644 src/include/parser/.gitignore
delete mode 100644 src/include/parser/ag_scanner.h
delete mode 100644 src/include/parser/cypher_analyze.h
delete mode 100644 src/include/parser/cypher_clause.h
delete mode 100644 src/include/parser/cypher_expr.h
delete mode 100644 src/include/parser/cypher_gram.h
delete mode 100644 src/include/parser/cypher_item.h
delete mode 100644 src/include/parser/cypher_keywords.h
delete mode 100644 src/include/parser/cypher_parse_node.h
delete mode 100644 src/include/parser/cypher_parser.h
delete mode 100644 src/include/utils/ag_cache.h
delete mode 100644 src/include/utils/ag_float8_supp.h
delete mode 100644 src/include/utils/ag_func.h
delete mode 100644 src/include/utils/agtype.h
delete mode 100644 src/include/utils/agtype_ext.h
delete mode 100644 src/include/utils/agtype_parser.h
delete mode 100644 src/include/utils/graphid.h
delete mode 100755 tools/git/commit-msg
[incubator-age] 07/18: Tweak menu handling
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 3791be5511bb06caafa587e61ec77571a2f1bee0
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Tue Dec 1 15:53:00 2020 -0500
Tweak menu handling
---
assets/scripts/index.js | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/assets/scripts/index.js b/assets/scripts/index.js
index b0b630d..31f7d9e 100644
--- a/assets/scripts/index.js
+++ b/assets/scripts/index.js
@@ -1,7 +1,7 @@
var handleClick = function (el) {
decorateSidebar(el);
showMainContent(el);
- handleMenuClick();
+ if (menuIsVisible()) handleMenuClick();
}
var decorateSidebar = function (el) {
@@ -21,6 +21,15 @@ var showMainContent = function (el) {
document.getElementById(divId).classList.add("main--selected");
}
+var menuIsVisible = function () {
+ let menu = document.getElementById("menu");
+ let display = window.getComputedStyle(menu).display;
+ if (display === "none") {
+ return false;
+ }
+ return true;
+}
+
var handleMenuClick = function (el) {
let sidebar = document.getElementById("sidebar");
let display = window.getComputedStyle(sidebar).display;
[incubator-age] 04/18: Fixing link to docs
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 0105ca58421360ba1ad0e23bba5edd858ea8fe15
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Tue Dec 1 15:15:41 2020 -0500
Fixing link to docs
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 4dc98f4..8f838b5 100644
--- a/index.html
+++ b/index.html
@@ -41,7 +41,7 @@
<span class="emph">DOCUMENTATION</span> <br />
<span id="sidebar-installing" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Installing AGE</a></span> <br />
<span id="sidebar-gettingstarted" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Getting Started</a></span> <br />
- <span id="sidebar-docs" class="sidebar-item"> <a target="_" class="sidebar-link" href="/docs/">Full Documentation</a></span> <br />
+ <span id="sidebar-docs" class="sidebar-item"> <a target="_" class="sidebar-link" href="docs/">Full Documentation</a></span> <br />
</p>
<p class="sidebar--section">
[incubator-age] 05/18: Fixing links for new tabs
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit d71922f6394e6c05be620bc45640e67fb6ab01eb
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Tue Dec 1 15:17:09 2020 -0500
Fixing links for new tabs
---
index.html | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/index.html b/index.html
index 8f838b5..aa96234 100644
--- a/index.html
+++ b/index.html
@@ -41,7 +41,7 @@
<span class="emph">DOCUMENTATION</span> <br />
<span id="sidebar-installing" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Installing AGE</a></span> <br />
<span id="sidebar-gettingstarted" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Getting Started</a></span> <br />
- <span id="sidebar-docs" class="sidebar-item"> <a target="_" class="sidebar-link" href="docs/">Full Documentation</a></span> <br />
+ <span id="sidebar-docs" class="sidebar-item"> <a target="_blank" class="sidebar-link" href="docs/">Full Documentation</a></span> <br />
</p>
<p class="sidebar--section">
@@ -55,16 +55,16 @@
<span class="emph">COMMUNITY</span> <br />
Team <br />
Mailing List <br />
- <a class="sidebar-link external-link" target="_" href="https://issues.apache.org/jira/projects/AGE/issues">Issue Tracker</a> <br />
- <a class="sidebar-link external-link" target="_" href="https://github.com/apache/incubator-age">Github</a> <br />
+ <a class="sidebar-link external-link" target="_blank" href="https://issues.apache.org/jira/projects/AGE/issues">Issue Tracker</a> <br />
+ <a class="sidebar-link external-link" target="_blank" href="https://github.com/apache/incubator-age">Github</a> <br />
</p>
<p class="sidebar--section">
<span class="emph">ASF</span> <br />
- <a class="sidebar-link external-link" target="_" href="https://www.apache.org/foundation/">Apache Software Foundation</a> <br />
- <a class="sidebar-link external-link" target="_" href="https://www.apache.org/foundation/how-it-works.html">How Apache Works</a> <br />
- <a class="sidebar-link external-link" target="_" href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a> <br />
- <a class="sidebar-link external-link" target="_" href="https://www.apache.org/foundation/thanks.html">Thanks</a> <br />
+ <a class="sidebar-link external-link" target="_blank" href="https://www.apache.org/foundation/">Apache Software Foundation</a> <br />
+ <a class="sidebar-link external-link" target="_blank" href="https://www.apache.org/foundation/how-it-works.html">How Apache Works</a> <br />
+ <a class="sidebar-link external-link" target="_blank" href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a> <br />
+ <a class="sidebar-link external-link" target="_blank" href="https://www.apache.org/foundation/thanks.html">Thanks</a> <br />
</p>
</div>
@@ -106,7 +106,7 @@
</div>
<div class="main-item" id="main-license">
<div class="title">License</div>
- <div class="main-body">Apache AGE is licensed under <a target="_" href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, version 2.0</a></div>
+ <div class="main-body">Apache AGE is licensed under <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, version 2.0</a></div>
</div>
<div class="main-item" id="main-roadmap">
<div class="title">Roadmap</div>
@@ -124,8 +124,8 @@
<div class="main-body">
Docker images are available on Docker Hub and are based on the official PostgreSQL 11 Debian and Alpine images. <br />
<ul>
- <li><a class="external-link" target="_" href="https://hub.docker.com/r/sorrell/agensgraph-extension">AGE Debian Docker Image</a></li>
- <li><a class="external-link" target="_" href="https://hub.docker.com/r/sorrell/agensgraph-extension-alpine">AGE Alpine Docker Image</a></li>
+ <li><a class="external-link" target="_blank" href="https://hub.docker.com/r/sorrell/agensgraph-extension">AGE Debian Docker Image</a></li>
+ <li><a class="external-link" target="_blank" href="https://hub.docker.com/r/sorrell/agensgraph-extension-alpine">AGE Alpine Docker Image</a></li>
</ul>
</div>
<div class="subtitle">Installing from source</div>
[incubator-age] 14/18: More updates
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 5fac93287992d43398e9e44e99d2a708be04655c
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Sat Dec 5 17:40:55 2020 -0500
More updates
---
assets/images/ageworks.png | Bin 126164 -> 65212 bytes
index.html | 43 +++++++++++++++++++++++++------------------
2 files changed, 25 insertions(+), 18 deletions(-)
diff --git a/assets/images/ageworks.png b/assets/images/ageworks.png
index 2ddf008..480e3e2 100755
Binary files a/assets/images/ageworks.png and b/assets/images/ageworks.png differ
diff --git a/index.html b/index.html
index 1bdf345..1da3060 100644
--- a/index.html
+++ b/index.html
@@ -90,23 +90,13 @@
<div class="heading"><h2>Features</h2></div>
<ul>
- <li> PostgreSQL version AGE supports</li>
- <li> openCypher ... version AGE supports </li>
- <li> Multi-graph ... brief explanation </li>
- <li> Label inheritance ... brief explanation </li>
- <li> Aggregation ... brief explanation </li>
- </ul>
-
- <div class="heading"><h2>News & Updates</h2></div>
- <ul>
- <li>2020-12-1
- <ul>
- <li>Redesigned page</li>
- <li>New releases</li>
- </ul>
+ <li>AGE is currently being developed for the PostgreSQL 11 release and will support PostgreSQL 12 and 13 in 2021 and all the future releases of PostgreSQL. </li>
+ <li>AGE supports the openCypher graph query language and label hierarchy.</li>
+ <li>AGE enables querying multiple graphs at the same time. This will allow a user to query two or more graphs at once with cypher, decide how to merge them and get the desired query outputs.</li>
+ <li>AGE will be enhanced with an aim to support all of the key features of AgensGraph (PostgreSQL fork extended with graph DB functionality). </li>
- </li>
</ul>
+
</div>
</div>
<div class="main-item" id="main-license">
@@ -911,6 +901,7 @@ make html
<div class="heading"><h1>Apache AGE Team Members</h1></div>
<div class="main-body">
<div class="heading center"><h2>✪ Champions and Mentors ✪</h2></div>
+ <p class="center">AGE's Mentors are (sorted on last name in alphabetical order):</p>
<table class="center">
<thead>
<tr><th scope="col">Name</th><th scope="col">Email</th></tr>
@@ -920,25 +911,41 @@ make html
<tr><td>Von Gosling</td> <td>vongosling at apachedot org</td></tr>
<tr><td>Jim Jagielski</td> <td>jim at apache dot org </td></tr>
<tr><td>Kevin Ratnasekera</td> <td>kevin at agsft dot com</td></tr>
+ <tr><td>Felix Cheung</td> <td></td></tr>
</tbody>
</table>
<div class="heading center"><h2>✰ Committers ✰</h2></div>
- <p class="center">AGE's active Committers are (sorted on lastname in alphabetical order):</p>
+ <p class="center">AGE's active Committers are (sorted on last name in alphabetical order):</p>
<table class="center">
<thead>
<tr><th scope="col">Name</th><th scope="col">Email</th></tr>
</thead>
<tbody>
- <tr><td>Jasper Blues</td> <td>jasper at liberation dash data dot com</td></tr>
<tr><td>John Gemignani</td> <td>john dot gemignani at bitnine dot net</td></tr>
<tr><td>Josh Innis</td> <td>josh dot innis at bitnine dot net</td></tr>
+ <tr><td>Eya Badal</td> <td>eya dot abdisho at bitnine dot net</td></tr>
+ </tbody>
+ </table>
+
+
+ <div class="heading center"><h2>✧ Contributors ✧</h2></div>
+ <p class="center">AGE's Contributors are (sorted on last name in alphabetical order):</p>
+ <table class="center">
+ <thead>
+ <tr><th scope="col">Name</th><th scope="col">Email</th></tr>
+ </thead>
+ <tbody>
+ <tr><td>Ghassan Al-Noubani</td> <td>g.noubani at qbs dot jo</td></tr>
+ <tr><td>Jasper Blues</td> <td>jasper at liberation dash data dot com</td></tr>
+ <tr><td>Dehowe Feng</td> <td></td></tr>
+ <tr><td>Andrew Ko</td> <td>andrew dot ko at bitnine dot net</td></tr>
+ <tr><td>Duane Nickull</td> <td>duane at webstationhq dot com</td></tr>
<tr><td>Mason Sharp</td> <td>mason dot sharp at gmail dot com</td></tr>
<tr><td>Nick Sorrell</td> <td>nick at canvouch dot com</td></tr>
<tr><td>Junseok Yang</td> <td>jsyang at bitnine dot net</td></tr>
</tbody>
</table>
-
</div>
</div>
</div>
[incubator-age] 09/18: adding dev docs
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 35071c44f6f2ecc560c9ffd98ad3ad8b1273e348
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Wed Dec 2 16:29:06 2020 -0500
adding dev docs
---
assets/styles/index.css | 15 +-
examples.c | 99 +++++++++++++
index.html | 360 +++++++++++++++++++++++++++++++++++++++++++-----
3 files changed, 436 insertions(+), 38 deletions(-)
diff --git a/assets/styles/index.css b/assets/styles/index.css
index 25f781a..97aac4c 100644
--- a/assets/styles/index.css
+++ b/assets/styles/index.css
@@ -52,6 +52,7 @@
background-color: rgb(240, 239, 239);
padding-left: 1rem;
padding-right: 1rem;
+ display: block;
}
@media only screen and (max-width: 800px) {
.sidebar {
@@ -82,6 +83,7 @@
grid-column: 2 / 3;
grid-row: 2;
padding-right: 2rem;
+ overflow: auto;
}
@media only screen and (max-width: 800px) {
.main {
@@ -121,7 +123,12 @@
* GENERAL
*/
- .center {
+.heading {
+ font-size: 1.3rem;
+ padding-left: .5rem;
+}
+
+.center {
text-align: center;
margin: auto;
}
@@ -161,6 +168,12 @@
padding-right: .4rem;
}
+.codebox {
+ border: 5px solid black;
+ white-space: pre;
+ overflow: auto;
+}
+
.external-link::after {
color: blue;
content: "➚";
diff --git a/examples.c b/examples.c
new file mode 100644
index 0000000..9977df7
--- /dev/null
+++ b/examples.c
@@ -0,0 +1,99 @@
+switch (suffix) {
+ case 'G':
+ case 'g':
+ mem <<= 30;
+ break;
+ case 'M':
+ case 'm':
+ mem <<= 20;
+ break;
+ case 'K':
+ case 'k':
+ mem <== 10;
+ // fall through
+ default:
+ break;
+}
+
+//
+int function(int x)
+{
+ body of function
+}
+
+struct s
+{
+ int a;
+ int b;
+}
+
+if (x is true)
+{
+ we do a
+}
+else if (y is true)
+{
+ we do b
+}
+else
+{
+ we do c
+ we do d
+}
+
+//
+if (x is true)
+ we do a
+if (y is true)
+ we do b
+else
+ we do c
+
+//
+do
+{
+ body of do-loop
+} while (condition);
+
+//
+
+/*
+ * This function
+ * does x
+ */
+void f(void)
+{
+ // This is to check...
+ if (y is true)
+ we do b
+
+ /*
+ * We need to do this here
+ * because of ...
+ */
+ for (;;)
+}
+
+//
+//do this
+#define Anum_ag_graph_name 1
+#define Anum_ag_graph_namespace 2
+
+//not this
+#define Anum_ag_graph_name 1
+#define Anum_ag_graph_namespace 2
+
+//
+// do this
+#define f() \
+ do \
+ { \
+ run(); \
+ } while (0)
+
+// not this
+#define f() \
+ do \
+ { \
+ run(); \
+ } while (0)
diff --git a/index.html b/index.html
index 047faa7..ed5baaf 100644
--- a/index.html
+++ b/index.html
@@ -47,7 +47,7 @@
<p class="sidebar--section">
<span class="emph">CONTRIBUTION</span> <br />
<span id="sidebar-contribute" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">How to Contribute</a></span> <br />
- Coding Guideline <br />
+ <span id="sidebar-devguidelines" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Developer Guidelines</a></span> <br />
</p>
<p class="sidebar--section">
@@ -74,7 +74,7 @@
*
-->
<div class="main-item main--selected" id="main-overview">
- <div class="title">Apache AGE (Incubating)</div>
+ <div class="heading"><h1>Apache AGE (Incubating)</h1></div>
<div class="main-body">
<p class="main-content">
Apache AGE a PostgreSQL extension that provides graph database functionality. AGE is an acronym for AgensGraph Extension, and is inspired by Bitnine's fork of
@@ -82,7 +82,7 @@
so that users can use standard ANSI SQL along with openCypher, the Graph query language.
</p>
- <div class="subtitle">Features</div>
+ <div class="heading"><h2>Features</h2></div>
<ul>
<li> PostgreSQL version AGE supports</li>
<li> openCypher ... version AGE supports </li>
@@ -91,7 +91,7 @@
<li> Aggregation ... brief explanation </li>
</ul>
- <div class="subtitle">News & Updates</div>
+ <div class="heading"><h2>News & Updates</h2></div>
<ul>
<li>2020-12-1
<ul>
@@ -104,11 +104,11 @@
</div>
</div>
<div class="main-item" id="main-license">
- <div class="title">License</div>
+ <div class="heading"><h1>License</h1></div>
<div class="main-body">Apache AGE is licensed under <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, version 2.0</a></div>
</div>
<div class="main-item" id="main-roadmap">
- <div class="title">Roadmap</div>
+ <div class="heading"><h1>Roadmap</h1></div>
<div class="main-body">here is the roadmap</div>
</div>
@@ -118,8 +118,8 @@
*
-->
<div class="main-item" id="main-installing">
- <div class="title">Installing AGE</div>
- <div class="subtitle">Using Docker</div>
+ <div class="heading"><h1>Installing AGE</h1></div>
+ <div class="heading"><h2>Using Docker</h2></div>
<div class="main-body">
Docker images are available on Docker Hub and are based on the official PostgreSQL 11 Debian and Alpine images. <br />
<ul>
@@ -127,7 +127,7 @@
<li><a class="external-link" target="_blank" href="https://hub.docker.com/r/sorrell/agensgraph-extension-alpine">AGE Alpine Docker Image</a></li>
</ul>
</div>
- <div class="subtitle">Installing from source</div>
+ <div class="heading"><h2>Installing from source</h2></div>
<div class="main-body">
Building AGE from source depends on the following Linux libraries (Ubuntu package names shown below):
@@ -155,9 +155,9 @@ SET
</div>
</div>
<div class="main-item" id="main-gettingstarted">
- <div class="title">Getting Started</div>
+ <div class="heading"><h1>Getting Started</h1></div>
<div class="main-body">
- <div class="subtitle">Loading AGE</div>
+ <div class="heading"><h2>Loading AGE</h2></div>
Connect to your containerized Postgres instance and then run the following commands:
<div class="code">
@@ -166,7 +166,7 @@ LOAD 'age';
SET search_path = ag_catalog, "$user", public;
</div>
- <div class="subtitle">Using AGE</div>
+ <div class="heading"><h2>Using AGE</h2></div>
First you will need to create a graph:
<div class="code">
@@ -302,22 +302,16 @@ $$) as (a agtype);
*
-->
<div class="main-item" id="main-contribute">
- <div class="title">
- How to contribute
- </div>
+ <div class="heading"><h1>How to contribute</h1></div>
<div class="main-body">
There are multiple ways you can contribute to the project.And help is always welcome! All details can be
found on the contributing page. Keep reading for a quick overview!
- <div class="subtitle">
- Becoming a Commiter
- </div>
+ <div class="heading"><h2>Becoming a Commiter</h2></div>
If you are interested in the project and looking for ways to help, consult the list of tasks in JIRA, or ask the mailing list.
- <div class="subtitle">
- Contributing by Helping Other Users
- </div>
+ <div class="heading"><h2>Contributing by Helping Other Users</h2></div>
A great way to contribute to AGE is to help answer user questions on the TODO_LINK:mailing list or on TODO_LINK:StackOverflow.
There are always many new AGE users; taking a few minutes to help answer a question is a very valuable community service.
<br>
@@ -328,27 +322,21 @@ $$) as (a agtype);
as well as forums like StackOverflow.
- <div class="subtitle">
- Contributing by Reviewing Changes
- </div>
+ <div class="heading"><h2>Contributing by Reviewing Changes</h2></div>
Changes to AGE source code are proposed, reviewed, and committed via Github pull requests (described in Instruction Link).
Anyone can view and comment on active changes here. Reviewing others' changes is a good way to learn how the change process works
and gain exposure to activity in various parts of the code. You can help by reviewing the changes and asking questions
or pointing out issues as simple as typos or small issues of style.
- <div class="subtitle">
- Contributing Documentation Changes
- </div>
+ <div class="heading"><h2>Contributing Documentation Changes</h2></div>
To propose a change to release documentation (that is, docs that appear under TODO_LINK:https://AGE.apache.org/instruction/),
edit the Markdown source files in AGE's <span class="inline-code">docs/</span> directory on GitHub, whose README file shows how to
build the documentation locally to test your changes. The process to propose a doc change is otherwise the same as the
process for proposing code changes below.
- <div class="subtitle">
- Contributing Bug Reports
- </div>
+ <div class="heading"><h2>Contributing Bug Reports</h2></div>
Ideally, bug reports are accompanied by a proposed code change to fix the bug. This isn't always possible, as those who discover a
bug may not have the experience to fix it. A bug may be reported by creating a JIRA issue but without creating a pull request.
<br>
@@ -368,9 +356,7 @@ $$) as (a agtype);
to prove the problem is indeed fixed.
- <div class="subtitle">
- Contributing to JIRA Maintenance
- </div>
+ <div class="heading"><h2>Contributing to JIRA Maintenance</h2></div>
Most contributors can directly resolve JIRA issues. Use judgment in determining whether you are confident the issue should be
resolved (although changes can be easily undone).
<br>
@@ -380,7 +366,7 @@ $$) as (a agtype);
Resolve as Fixed if there's a release or code commit that resolved the issue.
<ul>
<li>
- Set Fix Version(s), if and only if the resolution is Fixeds
+ Set Fix Version(s), if and only if the resolution is Fixed
</li>
<li>
Set Assignee to the person who contributed the most to its resolution, usually the person who opened the PR that resolved the issue.
@@ -408,7 +394,7 @@ $$) as (a agtype);
If the issue doesn't make sense or is not actionable resolve as Invalid.
</li>
<li>
- If it's a coherent issue, but there is a clear indication that there is not support or interest in acting on it, then resolve as Won't Fix.
+ If it's a coherent issue, but there is a clear indication that there is no support or interest in acting on it, then resolve as Won't Fix.
</li>
</ul>
<br>
@@ -441,13 +427,313 @@ $$) as (a agtype);
</div>
</div>
+ <div class="main-item" id="main-devguidelines">
+ <div class="heading"><h1>Developer Guidelines</h1></div>
+ <div class="main-body">
+ <div class="emph">Table of Contents</div>
+ <ul>
+ <li><a href="#codereview">Code Review Process</a></li>
+ <li><a href="#merge">How to Merge a Pull Request</a></li>
+ <li><a href="#style">Coding Style Guide</a></li>
+ <li><a href="#createdocs">Creating Documentation</a></li>
+ </ul>
+ <a id="codereview"></a>
+ <div class="heading"><h2>Code Review Process</h2></div>
+ <ul>
+ <li>Make a commit (or multiple commits) on your local branch.</li>
+ <li> Create .patch file(s) of the commit(s).
+ <ul><li>Use <span class="inline-code">git format-patch</span> command. </li></ul></li>
+ <li> Send the .patch file(s) to the reviewer.
+ <ul>
+ <li>The title of the email must be "[Review] [JIRA Ticket Name Here] summary-of-the-issue"
+ <br>(e.g. [Review] [JIRA Ticket Name] Support changing graph name)
+ <ul><li>If the commit is not for any issues on Jira, omit " [JIRA Ticket Name Here]". OR make a Jira ticket</li></ul>
+ </li>
+ <li> The email body will look like this:
+ <div class="codebox">
+Commit bef50e5d86d45707806f5733695a229f3e295b1a
+[one blank line]
+Description
+ </div>
+
+ <ul>
+ <li>
+ The first line is the hash code of the base commit, NOT the commit you've created.
+ <ul>
+ <li>This will help reviewers to quickly apply the .patch files.</li>
+ </ul>
+ </li>
+ <li>Put proper information to help the reviewer.</li>
+ </ul>
+ </li>
+ <li>
+ Attach .patch files.
+ <ul>
+ <li>Do NOT rename files. They are named with numbers in order.</li>
+ <li>Do NOT compress them unless the total file size is over 5MB.</li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ <li> Reply to the last email in the same thread to send a review of it.
+ <ul><li>You can attach some .diff files. </li></ul>
+ </li>
+ <li> Reply to the last email in the same thread to send updated patch(es) and opinions.
+ <ul><li>If you rebase commits, state the hash code of the new base commit. </li></ul>
+ </li>
+ <li>Repeat 4 and 5.</li>
+ </ul>
+ <!-- END CODE REVIEW -->
+ <hr>
+ <!-- BEGIN MERGE PR -->
+ <a id="merge"></a>
+ <div class="heading"><h2>How to Merge a Pull Request</h2></div>
+ <p class="emph">Single Commit for a Single Task</p>
+
+ In this case, the commit will be merged into the master branch with the following process.
+ <br>
+ <ol>
+ <li>
+ Change the current working branch to the local master branch by running the following command.
+ <div class="code">$ git checkout master </div>
+ </li>
+
+ <li> Make the local master branch up-to-date by running the following command (or any other commands that result the same.)
+ <div class="code">$ git pull </div></li>
+
+ <li> Change the current working branch to the local task branch that the commit resides in by running the following command.
+ <div class="code">$ git checkout</div> </li>
+
+ <li> Rebase the local task branch by running the following command.
+ <div class="code">$ git rebase master</div> </li>
+
+ <li>Resolve any conflicts that occur during rebase.</li>
+
+ <li> Change the current working branch to the local master branch by running the following command.
+ <div class="code">$ git checkout master</div> </li>
+
+ <li> Merge the local task branch into the local master branch by running the following command.
+ <div class="code">$ git merge </div> </li>
+ </ol>
+ <p class="emph">Multiple Commits for a Single Task</p>
+
+ Keeping Commit History <br>
+ Sometimes, having logically separated multiple commits for a single task helps developers to grasp the logical process of the work that had been done for the task. If the commits are merged with fast-forward strategy, the commits will not be grouped together. Therefore, to group the commits, create an explicit merge commit.
+ <br>
+ In this case, the commits will be merged into the master branch with the same process above except the last step(step 7).
+ <br>
+ For the last step, the local task branch will be merged into the local master branch with an explicit merge commit by running the following command. If you omit --no-ff option, the command will do fast-forward merge instead.
+
+ <div class="code">$ git merge --no-ff</div>
+
+ The above process will result, for example, the following commit history. (This is captured from bitnine/agensgraph-ext.) There is an explicit merge commit, 69f3b32. Each explicit merge commit groups related commits.
+ <div class="code codebox">
+* 9779a0b Implement property and element access operators
+* 69f3b32 Implement + (concatenating strings) operator
+|\
+| * ab50b5c Support Floating Point Precision in String Operators
+| * cceebcd Implement String Operators
+|/
+* 6c36b80 Fix failed assertion when agtype_build_map() takes agtype as key
+* 304bc68 Refactor bool_to_agtype() </div>
+ Note: There is no commit between an explicit merge commit and the parent commit, which is on the master branch, of the explicit merge commit. This is done by doing rebase before merge.
+
+ <!-- END MERGE PR -->
+ <hr>
+ <!-- BEGIN STYLE GUIDE -->
+ <a id="style"></a>
+ <div class="heading"><h2>Code Style Guide</h2></div>
+ For a full list of coding style guidelines, please refer to the style setup in the <a href="https://github.com/bitnine-oss/agensgraph-ext/blob/master/clang-format.5">clang-format.5</a> in the AGE git repository.
+
+ <div class="heading"><h3>Indentation</h3></div>
+ Use 4 spaces per indentation level. (no tab character)
+ <ul><li>You can see the same indentation in all environments.</li></ul>
+ <br>
+ For switch statement, see below.
+ <div class="code codebox">
+switch (suffix) {
+ case 'G':
+ case 'g':
+ mem <<= 30;
+ break;
+ case 'M':
+ case 'm':
+ mem <<= 20;
+ break;
+ case 'K':
+ case 'k':
+ mem <== 10;
+ // fall through
+ default:
+ break;
+}
+ </div>
+ <div class="heading"><h3>Breaking long lines and strings</h3></div>
+ The line length limit is 79 columns, except for strings longer than 79 characters.
+
+ <div class="heading"><h3>Placing Braces and Spaces</h3></div>
+ All braces are on their own line solely. See below.
+
+ <div class="code codebox">
+int function(int x)
+{
+ body of function
+}
+
+struct s
+{
+ int a;
+ int b;
+}
+
+if (x is true)
+{
+ we do a
+}
+else if (y is true)
+{
+ we do b
+}
+else
+{
+ we do c
+ we do d
+}
+ </div>
+ If all the bodies of if/else statement contain a single line, omit braces. See below.
+
+ <div class="code codebox">
+if (x is true)
+ we do a
+
+if (y is true)
+ we do b
+else
+ we do c
+ </div>
+ One exception is do statement. See the following example.
+
+ <div class="code codebox">
+do
+{
+ body of do-loop
+} while (condition);
+ </div>
+ <div class="heading"><h3>Naming</h3></div>
+ Use the underscore name convention for all variables, functions, structs, enums and define macros.
+
+ <div class="heading"><h3>Typedefs</h3></div>
+ Use typedef only for struct and enum. It must not be used for pointer types.
+
+ <div class="heading"><h3>Commenting</h3></div>
+ For multi-line comments, use C style multi-line comments.
+ <br>
+ For single-line comments, use C++ style single-line comments.
+ <br>
+ See below.
+
+ <div class="code codebox">
+/*
+ * This function
+ * does x
+ */
+void f(void)
+{
+ // This is to check...
+ if (y is true)
+ we do b
+
+ /*
+ * We need to do this here
+ * because of ...
+ */
+ for (;;)
+}
+ </div>
+
+ <div class="heading"><h3>Macros, Enums, and RTL</h3></div>
+ Don't align bodies of macros.
+
+ <ul><li>If names are changed or new entries are added, it may produces
+ unnecessary diffs and this makes it harder for you to find lines that are
+ actually modified</li></ul>
+ <div class="code codebox">
+//do this
+#define Anum_ag_graph_name 1
+#define Anum_ag_graph_namespace 2
+
+//not this
+#define Anum_ag_graph_name 1
+#define Anum_ag_graph_namespace 2
+ </div>
+ When you write a macro that spans multiple lines, don't align \ character.
+
+ <ul>
+ <li>If bodies of macros are modified, it may produce unnecessary diffs and
+ this makes it harder for you to find lines that are actually modified.</li>
+ <li>It is harder for you to find lines that are actually modified. </li>
+ </ul>
+ <div class="code codebox">
+// do this
+#define f() \
+ do \
+ { \
+ run(); \
+ } while (0)
+
+// not this
+#define f() \
+ do \
+ { \
+ run(); \
+ } while (0)
+
+ </div>
+
+ <div class="heading"><h3>Newlines</h3></div>
+ For newlines, only \n is allowed, not \r\n and \r.
+
+ <div class="heading"><h3>Conditions</h3></div>
+ If a pointer variable (including List *) is used as a condition, which means that it is
+ evaluated as true/false value, use it AS-IS. Do not perform explicit comparison with
+ NULL (or NIL). For negation, put ! before it.
+
+ <div class="heading"><h3>Rules for ereport()</h3></div>
+ An error message that is passed to <span class="inline-code">errmsg()</span> starts with a lower case letter.
+ <br>
+ An error detail/hint message that is passed to <span class="inline-code">errdetail()/errhint()</span> starts
+ with an upper case letter.
+
+ <!-- END CODING STYLE -->
+ <hr>
+ <!-- BEGIN CREATE DOCS -->
+ <a id="createdocs"></a>
+ <div class="heading"><h2>Creating Documentation</h2></div>
+ <ul>
+ <li>Dependencies: python3, python3-sphinx, sphinx_rtd_theme</li>
+ <li>Clone incubator-age repository (AGE) (https://github.com/apache/incubator-age)</li>
+ <li>Go to the doc folder of the project</li>
+ <li>Type <span class="inline-code">make html</span></li>
+ <li>The documents are in <span class="inline-code">_build/html</span></li>
+ </ul>
+ An example of the commands on Ubuntu follow:
+ <div class="code">
+sudo apt install python3 python3-sphinx
+pip3 install sphinx_rtd_theme
+git clone https://github.com/apache/incubator-age
+cd incubator-age/doc
+make html
+ </div>
+ </div>
+ </div>
+
<!--
*
* COMMUNITY
*
-->
<div class="main-item" id="main-mailinglists">
- <div class="title">Mailing Lists</div>
+ <div class="heading"><h1>Mailing Lists</h1></div>
<div class="main-body">
Get help using Apache AGE (Incubating) or contribute to the project on our mailing lists:
@@ -475,7 +761,7 @@ $$) as (a agtype);
</div>
<div class="main-item" id="main-team">
- <div class="title">Apache AGE Team Members</div>
+ <div class="heading"><h1>Apache AGE Team Members</h1></div>
<div class="main-body">
<div class="subtitle center">✪ Champions and Mentors ✪</div>
<table class="center">
[incubator-age] 03/18: Adding link to built docs
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 7a479d1d2836c886e45f790b99a75d0baa07278b
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Tue Dec 1 15:14:27 2020 -0500
Adding link to built docs
---
.gitignore | 1 +
index.html | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..77f12ae
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+docs/
diff --git a/index.html b/index.html
index c2c2fc1..4dc98f4 100644
--- a/index.html
+++ b/index.html
@@ -41,7 +41,7 @@
<span class="emph">DOCUMENTATION</span> <br />
<span id="sidebar-installing" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Installing AGE</a></span> <br />
<span id="sidebar-gettingstarted" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Getting Started</a></span> <br />
- Glossary <br />
+ <span id="sidebar-docs" class="sidebar-item"> <a target="_" class="sidebar-link" href="/docs/">Full Documentation</a></span> <br />
</p>
<p class="sidebar--section">
[incubator-age] 15/18: Adding .htaccess and contributor
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 540abf4b4107ba4394908f0ae4219ac784e86ff4
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Mon Dec 7 10:47:18 2020 -0500
Adding .htaccess and contributor
---
.htaccess | 1 +
index.html | 1 +
2 files changed, 2 insertions(+)
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..f29718f
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1 @@
+AddDefaultCharset UTF-8
\ No newline at end of file
diff --git a/index.html b/index.html
index 1da3060..5a879dc 100644
--- a/index.html
+++ b/index.html
@@ -938,6 +938,7 @@ make html
<tr><td>Ghassan Al-Noubani</td> <td>g.noubani at qbs dot jo</td></tr>
<tr><td>Jasper Blues</td> <td>jasper at liberation dash data dot com</td></tr>
<tr><td>Dehowe Feng</td> <td></td></tr>
+ <tr><td>Donghu Kim</td><td>donghu dot kim at oracle dot com</td></tr>
<tr><td>Andrew Ko</td> <td>andrew dot ko at bitnine dot net</td></tr>
<tr><td>Duane Nickull</td> <td>duane at webstationhq dot com</td></tr>
<tr><td>Mason Sharp</td> <td>mason dot sharp at gmail dot com</td></tr>
[incubator-age] 16/18: Updates
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 2dce1d79bbcccee330a6f3979d79621428f9ff5d
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Mon Dec 7 18:51:18 2020 -0500
Updates
---
index.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/index.html b/index.html
index 5a879dc..9fd8767 100644
--- a/index.html
+++ b/index.html
@@ -940,7 +940,6 @@ make html
<tr><td>Dehowe Feng</td> <td></td></tr>
<tr><td>Donghu Kim</td><td>donghu dot kim at oracle dot com</td></tr>
<tr><td>Andrew Ko</td> <td>andrew dot ko at bitnine dot net</td></tr>
- <tr><td>Duane Nickull</td> <td>duane at webstationhq dot com</td></tr>
<tr><td>Mason Sharp</td> <td>mason dot sharp at gmail dot com</td></tr>
<tr><td>Nick Sorrell</td> <td>nick at canvouch dot com</td></tr>
<tr><td>Junseok Yang</td> <td>jsyang at bitnine dot net</td></tr>
[incubator-age] 10/18: More updates
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 0a1f4ad9a4a8e32a3a022ef3921b981f232cdf83
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Wed Dec 2 16:48:16 2020 -0500
More updates
---
index.html | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/index.html b/index.html
index ed5baaf..3a5336c 100644
--- a/index.html
+++ b/index.html
@@ -54,7 +54,7 @@
<span class="emph">COMMUNITY</span> <br />
<span id="sidebar-team" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Team</a></span> <br />
<span id="sidebar-mailinglists" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Mailing Lists</a></span> <br />
- <a class="sidebar-link external-link" target="_blank" href="https://issues.apache.org/jira/projects/AGE/issues">Issue Tracker</a> <br />
+ <a class="sidebar-link external-link" target="_blank" href="https://issues.apache.org/jira/projects/AGE/issues">JIRA Issues</a> <br />
<a class="sidebar-link external-link" target="_blank" href="https://github.com/apache/incubator-age">Github</a> <br />
</p>
@@ -304,35 +304,36 @@ $$) as (a agtype);
<div class="main-item" id="main-contribute">
<div class="heading"><h1>How to contribute</h1></div>
<div class="main-body">
- There are multiple ways you can contribute to the project.And help is always welcome! All details can be
+ There are multiple ways you can contribute to the project. And help is always welcome! All details can be
found on the contributing page. Keep reading for a quick overview!
- <div class="heading"><h2>Becoming a Commiter</h2></div>
+ <div class="heading"><h2>Becoming a Committer</h2></div>
If you are interested in the project and looking for ways to help, consult the list of tasks in JIRA, or ask the mailing list.
<div class="heading"><h2>Contributing by Helping Other Users</h2></div>
- A great way to contribute to AGE is to help answer user questions on the TODO_LINK:mailing list or on TODO_LINK:StackOverflow.
+ A great way to contribute to AGE is to help answer user questions on the mailing list or on StackOverflow.
There are always many new AGE users; taking a few minutes to help answer a question is a very valuable community service.
<br>
Contributors should subscribe to this list and follow it to keep up to date on what's happening in AGE. Answering
questions is an excellent and visible way to help the community, which also demonstrates your expertise.
- <br>
- See the Mailing Lists guide for guidelines about how to effectively participate in discussions on the mailing list,
- as well as forums like StackOverflow.
<div class="heading"><h2>Contributing by Reviewing Changes</h2></div>
- Changes to AGE source code are proposed, reviewed, and committed via Github pull requests (described in Instruction Link).
+ Changes to AGE source code are proposed, reviewed, and committed via Github pull requests (described in
+ <span id="inline_contribure-devguidelines"> <a href="#" onclick="handleClick(this)">Developer Guidelines</a></span>).
Anyone can view and comment on active changes here. Reviewing others' changes is a good way to learn how the change process works
and gain exposure to activity in various parts of the code. You can help by reviewing the changes and asking questions
or pointing out issues as simple as typos or small issues of style.
<div class="heading"><h2>Contributing Documentation Changes</h2></div>
- To propose a change to release documentation (that is, docs that appear under TODO_LINK:https://AGE.apache.org/instruction/),
- edit the Markdown source files in AGE's <span class="inline-code">docs/</span> directory on GitHub, whose README file shows how to
- build the documentation locally to test your changes. The process to propose a doc change is otherwise the same as the
+ To propose a change to release documentation (that is, docs that appear under <a href="https://age.apache.org/docs/">https://age.apache.org/docs/</a>),
+ edit the Markdown source files in AGE's <span class="inline-code">doc/</span>
+ <a class="external-link" href="https://github.com/apache/incubator-age/tree/master/doc">directory on GitHub</a>.
+ Instructions for building the documentation can be found
+ <span id="inline_contribure-devguidelines"> <a href="#createdocs" onclick="handleClick(this)">here</a></span>.
+ The process to propose a doc change is otherwise the same as the
process for proposing code changes below.
@@ -447,7 +448,7 @@ $$) as (a agtype);
<ul>
<li>The title of the email must be "[Review] [JIRA Ticket Name Here] summary-of-the-issue"
<br>(e.g. [Review] [JIRA Ticket Name] Support changing graph name)
- <ul><li>If the commit is not for any issues on Jira, omit " [JIRA Ticket Name Here]". OR make a Jira ticket</li></ul>
+ <ul><li>If the commit is not for any issues on JIRA, omit " [JIRA Ticket Name Here]". OR make a JIRA ticket</li></ul>
</li>
<li> The email body will look like this:
<div class="codebox">
@@ -763,7 +764,7 @@ make html
<div class="main-item" id="main-team">
<div class="heading"><h1>Apache AGE Team Members</h1></div>
<div class="main-body">
- <div class="subtitle center">✪ Champions and Mentors ✪</div>
+ <div class="heading center"><h2>✪ Champions and Mentors ✪</h2></div>
<table class="center">
<thead>
<tr><th scope="col">Name</th><th scope="col">Email</th></tr>
@@ -775,7 +776,7 @@ make html
<tr><td>Kevin Ratnasekera</td> <td>kevin at agsft dot com</td></tr>
</tbody>
</table>
- <div class="subtitle center">✰ Committers ✰</div>
+ <div class="heading center"><h2>✰ Committers ✰</h2></div>
<p class="center">AGE's active Committers are (sorted on lastname in alphabetical order):</p>
<table class="center">
<thead>
[incubator-age] 06/18: Some mobile optimizations
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 2ce84efb1a15013a12b8ec58bbafed88d8a60553
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Tue Dec 1 15:42:04 2020 -0500
Some mobile optimizations
---
assets/scripts/index.js | 11 +++++++++++
assets/styles/index.css | 23 ++++++++++++++++++++---
index.html | 4 ++--
3 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/assets/scripts/index.js b/assets/scripts/index.js
index 6b19243..b0b630d 100644
--- a/assets/scripts/index.js
+++ b/assets/scripts/index.js
@@ -1,6 +1,7 @@
var handleClick = function (el) {
decorateSidebar(el);
showMainContent(el);
+ handleMenuClick();
}
var decorateSidebar = function (el) {
@@ -18,4 +19,14 @@ var showMainContent = function (el) {
}
let divId = "main-" + el.parentElement.id.split("-")[1];
document.getElementById(divId).classList.add("main--selected");
+}
+
+var handleMenuClick = function (el) {
+ let sidebar = document.getElementById("sidebar");
+ let display = window.getComputedStyle(sidebar).display;
+ if (display === "none") {
+ sidebar.style.display = "block";
+ } else {
+ sidebar.style.display = "none";
+ }
}
\ No newline at end of file
diff --git a/assets/styles/index.css b/assets/styles/index.css
index 1e7e2ad..9702ea2 100644
--- a/assets/styles/index.css
+++ b/assets/styles/index.css
@@ -24,17 +24,21 @@
}
.header--hamburger {
- display: none;
- float: right;
top: 1rem;
right: 1rem;
position: fixed;
+ cursor: pointer;
+}
+@media only screen and (min-width: 800px) {
+ .header--hamburger {
+ display: none;
+ }
}
.header--hamburger-div {
width: 35px;
height: 5px;
- background-color: white;
+ background-color: darkgoldenrod;
margin: 6px 0;
}
@@ -49,6 +53,12 @@
padding-left: 1rem;
padding-right: 1rem;
}
+@media only screen and (max-width: 800px) {
+ .sidebar {
+ display: none;
+ z-index: 100;
+ }
+}
.sidebar--selected {
border-bottom: 1px dotted blue;
@@ -67,11 +77,17 @@
* MAIN AREA
*/
+
.main {
grid-column: 2 / 3;
grid-row: 2;
padding-right: 2rem;
}
+@media only screen and (max-width: 800px) {
+ .main {
+ grid-column: 1 / -1;
+ }
+}
.main-body {
padding-left: 1rem;
@@ -113,6 +129,7 @@
padding-bottom: 1rem;
padding-top: 1rem;
white-space: pre;
+ overflow: auto;
}
.external-link::after {
diff --git a/index.html b/index.html
index aa96234..e5ddccf 100644
--- a/index.html
+++ b/index.html
@@ -20,14 +20,14 @@
<div class="header">
<img src="assets/images/logo.png" width="250px" />
<div class="header--title">A Graph Extension for PostgreSQL</div>
- <div class="header--hamburger" id="menu">
+ <div class="header--hamburger" id="menu" onclick="handleMenuClick(this)">
<div class="header--hamburger-div"></div>
<div class="header--hamburger-div"></div>
<div class="header--hamburger-div"></div>
</div>
</div>
- <div class="sidebar">
+ <div class="sidebar" id="sidebar">
<p class="sidebar--section">
<span class="emph">APACHE AGE</span><br />
<span id="sidebar-overview" class="sidebar-item sidebar--selected"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Overview</a></span> <br />
[incubator-age] 17/18: Small update
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 327a50f44f2f63fe4b4c5b452301e3d1817350be
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Mon Dec 7 18:56:20 2020 -0500
Small update
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 9fd8767..d5fe743 100644
--- a/index.html
+++ b/index.html
@@ -942,7 +942,7 @@ make html
<tr><td>Andrew Ko</td> <td>andrew dot ko at bitnine dot net</td></tr>
<tr><td>Mason Sharp</td> <td>mason dot sharp at gmail dot com</td></tr>
<tr><td>Nick Sorrell</td> <td>nick at canvouch dot com</td></tr>
- <tr><td>Junseok Yang</td> <td>jsyang at bitnine dot net</td></tr>
+ <tr><td>Junseok Yang</td> <td></td></tr>
</tbody>
</table>
[incubator-age] 12/18: More changes
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 048f9f5b969d4aba94910aead76a1c6adb5f98b3
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Thu Dec 3 10:17:00 2020 -0500
More changes
---
assets/images/ageworks.png | Bin 0 -> 126164 bytes
assets/styles/index.css | 6 +-
index.html | 170 +++++++++++++++++++++++++++++++++++++++++----
3 files changed, 158 insertions(+), 18 deletions(-)
diff --git a/assets/images/ageworks.png b/assets/images/ageworks.png
new file mode 100755
index 0000000..2ddf008
Binary files /dev/null and b/assets/images/ageworks.png differ
diff --git a/assets/styles/index.css b/assets/styles/index.css
index 97aac4c..9141107 100644
--- a/assets/styles/index.css
+++ b/assets/styles/index.css
@@ -214,11 +214,11 @@ td,
th {
border: 1px solid black;
padding: 5px 10px;
- width: 40%;
}
tr:nth-child(even) {
background-color: lightgrey;
}
-td {
- text-align: center;
+
+.tblhead {
+ width: 9rem;
}
\ No newline at end of file
diff --git a/index.html b/index.html
index 3a5336c..9eb468b 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta name="description" content="Apache AGE - PostgreSQL extension for graph database functionality" />
+ <meta name="description" content="Apache AGE - A Graph Extension for PostgreSQL" />
<meta name="theme-color" content="#ffffff" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -10,7 +10,7 @@
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon/favicon-16x16.png" />
- <title>Apache AGE - PostgreSQL extension for graph database functionality</title>
+ <title>Apache AGE - A Graph Extension for PostgreSQL</title>
<script type="text/javascript" src="assets/scripts/index.js"></script>
</head>
@@ -41,7 +41,8 @@
<span class="emph">DOCUMENTATION</span> <br />
<span id="sidebar-installing" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Installing AGE</a></span> <br />
<span id="sidebar-gettingstarted" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Getting Started</a></span> <br />
- <span id="sidebar-docs" class="sidebar-item"> <a target="_blank" class="sidebar-link" href="docs/">Full Documentation</a></span> <br />
+ <span id="sidebar-ageworks" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">How AGE Works</a></span> <br />
+ <span id="sidebar-docs" class="sidebar-item"> <a target="_blank" class="sidebar-link" href="docs/">Release Docs</a></span> <br />
</p>
<p class="sidebar--section">
@@ -109,7 +110,133 @@
</div>
<div class="main-item" id="main-roadmap">
<div class="heading"><h1>Roadmap</h1></div>
- <div class="main-body">here is the roadmap</div>
+ <div class="main-body">
+ <table>
+ <tbody>
+ <tr>
+ <td colspan="2"><b>v0.1.0-alpha</b> ✅</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Date</td>
+ <td>2020 Q1</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Notes</td>
+ <td><a href="https://github.com/apache/incubator-age/releases/tag/v0.1.0">https://github.com/apache/incubator-age/releases/tag/v0.1.0</a></td>
+ </tr>
+ <tr>
+ <td class="tblhead">Functionality</td>
+ <td>
+ <ul>
+ <li>Agtype to support all datatype requirements in Cypher queries</li>
+ <li>Basic MATCH and CREATE clause support</li>
+ <li>Expression support</li>
+ </ul>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <br>
+ <table>
+ <tbody>
+ <tr>
+ <td colspan="2"><b>v0.2.0-alpha</b> ✅</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Date</td>
+ <td>2020 Q2</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Notes</td>
+ <td><a href="https://github.com/apache/incubator-age/releases/tag/v0.2.0">https://github.com/apache/incubator-age/releases/tag/v0.2.0</a></td>
+ </tr>
+ <tr>
+ <td class="tblhead">Functionality</td>
+ <td>
+ <ul>
+ <li>Extend Agtype to function better for SQL queries</li>
+ <li>Scalar functions</li>
+ <li>Advanced MATCH and CREATE clause support (except for VLE)</li>
+ </ul>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <br>
+ <table>
+ <tbody>
+ <tr>
+ <td colspan="2"><b>v0.3.0-alpha</b> ⌛</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Date</td>
+ <td>Target 2020-12-31</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Notes</td>
+ <td>N/A</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Functionality</td>
+ <td>
+ <ul>
+ <li>DELETE, SET, REMOVE, MERGE clause support</li>
+ <li>Label Inheritance</li>
+ <li>Mathematical computation functions</li>
+ </ul>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <br>
+ <table>
+ <tbody>
+ <tr>
+ <td colspan="2"><b>v0.4.0-beta</b></td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Date</td>
+ <td>Target 2021-02-28</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Notes</td>
+ <td>N/A</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Functionality</td>
+ <td>
+ <ul>
+ <li>Aggregation query support</li>
+ <li>Java driver support</li>
+ </ul>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <br>
+ <table>
+ <tbody>
+ <tr>
+ <td colspan="2"><b>v1.0.0-incubating (first stable release)</b></td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Date</td>
+ <td>Target 2021-02-28</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Release Notes</td>
+ <td>N/A</td>
+ </tr>
+ <tr>
+ <td class="tblhead">Functionality</td>
+ <td>
+ N/A
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <p>* Support for PostgreSQL 12+ and VLE will be added in the later releases in 2021.</p>
+ </div>
</div>
<!--
@@ -133,12 +260,13 @@
<div class="code">$ sudo apt-get install bison build-essential flex postgresql-server-dev-11</div>
- The build process will attempt to use the first path in the PATH environment variable when installing AGE. If the pg_config path if located there, run the following
+ The build process will attempt to use the first path in the PATH environment variable when installing AGE.
+ If the <span class="inline-code">pg_config</span> path if located there, run the following
command in the source code directory of Apache AGE to build and install the extension.
<div class="code">$ make install</div>
- If the path to your Postgres installation is not in the PATH variable, add the path in the arguements:
+ If the path to your Postgres installation is not in the PATH variable, add the path in the arguments:
<div class="code">$ make PG_CONFIG=/path/to/postgres/bin/pg_config install</div>
@@ -296,6 +424,13 @@ $$) as (a agtype);
</div>
</div>
+ <div class="main-item" id="main-ageworks">
+ <div class="heading"><h1>How AGE Works</h1></div>
+ <div class="main-body">
+ <img src="assets/images/ageworks.png">
+ </div>
+ </div>
+
<!--
*
* CONTRIBUTION
@@ -328,7 +463,7 @@ $$) as (a agtype);
<div class="heading"><h2>Contributing Documentation Changes</h2></div>
- To propose a change to release documentation (that is, docs that appear under <a href="https://age.apache.org/docs/">https://age.apache.org/docs/</a>),
+ To propose a change to release documentation (that is, docs that appear <a href="docs/">here</a>),
edit the Markdown source files in AGE's <span class="inline-code">doc/</span>
<a class="external-link" href="https://github.com/apache/incubator-age/tree/master/doc">directory on GitHub</a>.
Instructions for building the documentation can be found
@@ -404,14 +539,14 @@ $$) as (a agtype);
<ol>
<li><span class="emph">Basic:</span>
<ol>
- <li>Visit <a href="https://issues.apache.org/jira/projects/AGE/issues">AGE JIRA</a></li>
+ <li>Visit <a class="external-link" target="_blank" href="https://issues.apache.org/jira/projects/AGE/issues">AGE JIRA</a></li>
<li>Type query into search box in top right (beware this will return results from all projects)</li>
</ol>
</li>
<li>
<span class="emph">Advanced: </span>
<ol>
- <li>Visit <a href="https://issues.apache.org/jira/issues/?jql=(project%3DAGE)%20and%20text%20~%20%22%22">AGE JIRA Advanced Search</a></li>
+ <li>Visit <a class="external-link" target="_blank" href="https://issues.apache.org/jira/issues/?jql=(project%3DAGE)%20and%20text%20~%20%22%22">AGE JIRA Advanced Search</a></li>
<li>Replace the empty quotes with quoted text (such as "cypher")</li>
</ol>
</li>
@@ -419,7 +554,7 @@ $$) as (a agtype);
<span class="emph">Search Now:</span>
<ol>
<li>Use the search box below</li>
- <li><input class="search" id="jira-search" placeholder="search term"><button class="search" id="jira-submit" onclick="handleJiraSearch()">Search</button></li>
+ <li><input class="search" id="jira-search" placeholder="search term"><button class="search external-link" id="jira-submit" onclick="handleJiraSearch()">Search</button></li>
</ol>
</li>
@@ -519,15 +654,18 @@ Description
<p class="emph">Multiple Commits for a Single Task</p>
Keeping Commit History <br>
- Sometimes, having logically separated multiple commits for a single task helps developers to grasp the logical process of the work that had been done for the task. If the commits are merged with fast-forward strategy, the commits will not be grouped together. Therefore, to group the commits, create an explicit merge commit.
+ Sometimes, having logically separated multiple commits for a single task helps developers to grasp the logical process of the work that had been done for the task.
+ If the commits are merged with fast-forward strategy, the commits will not be grouped together. Therefore, to group the commits, create an explicit merge commit.
<br>
In this case, the commits will be merged into the master branch with the same process above except the last step(step 7).
<br>
- For the last step, the local task branch will be merged into the local master branch with an explicit merge commit by running the following command. If you omit --no-ff option, the command will do fast-forward merge instead.
+ For the last step, the local task branch will be merged into the local master branch with an explicit merge commit by running the following command.
+ If you omit --no-ff option, the command will do fast-forward merge instead.
<div class="code">$ git merge --no-ff</div>
- The above process will result, for example, the following commit history. (This is captured from bitnine/agensgraph-ext.) There is an explicit merge commit, 69f3b32. Each explicit merge commit groups related commits.
+ The above process will result, for example, the following commit history. (This is captured from apache/incubator-age.) There is an explicit merge commit,
+ 69f3b32. Each explicit merge commit groups related commits.
<div class="code codebox">
* 9779a0b Implement property and element access operators
* 69f3b32 Implement + (concatenating strings) operator
@@ -544,7 +682,8 @@ Description
<!-- BEGIN STYLE GUIDE -->
<a id="style"></a>
<div class="heading"><h2>Code Style Guide</h2></div>
- For a full list of coding style guidelines, please refer to the style setup in the <a href="https://github.com/bitnine-oss/agensgraph-ext/blob/master/clang-format.5">clang-format.5</a> in the AGE git repository.
+ For a full list of coding style guidelines, please refer to the style setup in the
+ <a href="https://github.com/bitnine-oss/agensgraph-ext/blob/master/clang-format.5">clang-format.5</a> in the AGE git repository.
<div class="heading"><h3>Indentation</h3></div>
Use 4 spaces per indentation level. (no tab character)
@@ -800,7 +939,8 @@ make html
<div class="footer">
<hr>
<img class="footer-img" src="assets/images/incubator_ring_logo.png"> <br>
- <p class="center">Copyright © 2020 The Apache Software Foundation.Apache and the Apache feather logo are trademarks of The Apache Software Foundation</p>
+ <p class="center">Copyright © 2020 The Apache Software Foundation. <br>
+ Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</div>
</body>
</html>
[incubator-age] 13/18: More updates
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 30278ccbe04df03e8e0ed97ed81d53402e20e09e
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Sat Dec 5 12:12:18 2020 -0500
More updates
---
index.html | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/index.html b/index.html
index 9eb468b..1bdf345 100644
--- a/index.html
+++ b/index.html
@@ -41,7 +41,7 @@
<span class="emph">DOCUMENTATION</span> <br />
<span id="sidebar-installing" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Installing AGE</a></span> <br />
<span id="sidebar-gettingstarted" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Getting Started</a></span> <br />
- <span id="sidebar-ageworks" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">How AGE Works</a></span> <br />
+ <!-- <span id="sidebar-ageworks" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">How AGE Works</a></span> <br /> -->
<span id="sidebar-docs" class="sidebar-item"> <a target="_blank" class="sidebar-link" href="docs/">Release Docs</a></span> <br />
</p>
@@ -82,6 +82,11 @@
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.
</p>
+ <p>
+ Below is a brief overview of the AGE architecture in relation to the PostgreSQL architecture and backend.
+ Every component runs on the PostgreSQL transaction cache layer and storage layer.
+ <img src="assets/images/ageworks.png">
+ </p>
<div class="heading"><h2>Features</h2></div>
<ul>
@@ -423,13 +428,15 @@ $$) as (a agtype);
</div>
</div>
-
+<!--
<div class="main-item" id="main-ageworks">
<div class="heading"><h1>How AGE Works</h1></div>
<div class="main-body">
+ Here is the brief overview of the AGE architecture in which some are related to the PostgreSQL architecture and backend.
+ Every component runs on the PostgreSQL transaction cache layer and storage layer.
<img src="assets/images/ageworks.png">
</div>
- </div>
+ </div> -->
<!--
*
@@ -654,10 +661,10 @@ Description
<p class="emph">Multiple Commits for a Single Task</p>
Keeping Commit History <br>
- Sometimes, having logically separated multiple commits for a single task helps developers to grasp the logical process of the work that had been done for the task.
+ Sometimes, having logically separated, multiple commits for a single task helps developers to grasp the logical process of the work that had been done for the task.
If the commits are merged with fast-forward strategy, the commits will not be grouped together. Therefore, to group the commits, create an explicit merge commit.
<br>
- In this case, the commits will be merged into the master branch with the same process above except the last step(step 7).
+ In this case, the commits will be merged into the master branch with the same process above except the last step (step 7).
<br>
For the last step, the local task branch will be merged into the local master branch with an explicit merge commit by running the following command.
If you omit --no-ff option, the command will do fast-forward merge instead.
@@ -702,7 +709,7 @@ switch (suffix) {
break;
case 'K':
case 'k':
- mem <== 10;
+ mem <<= 10;
// fall through
default:
break;
@@ -926,6 +933,7 @@ make html
<tr><td>John Gemignani</td> <td>john dot gemignani at bitnine dot net</td></tr>
<tr><td>Josh Innis</td> <td>josh dot innis at bitnine dot net</td></tr>
<tr><td>Mason Sharp</td> <td>mason dot sharp at gmail dot com</td></tr>
+ <tr><td>Nick Sorrell</td> <td>nick at canvouch dot com</td></tr>
<tr><td>Junseok Yang</td> <td>jsyang at bitnine dot net</td></tr>
</tbody>
</table>
[incubator-age] 02/18: more changes
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit c218340bf465f958dc06d2bfa49a5a053b33602e
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Tue Dec 1 15:10:32 2020 -0500
more changes
---
assets/styles/index.css | 5 +-
index.html | 233 ++++++++++++++++++++++++++----------------------
2 files changed, 128 insertions(+), 110 deletions(-)
diff --git a/assets/styles/index.css b/assets/styles/index.css
index 8b6e3cd..1e7e2ad 100644
--- a/assets/styles/index.css
+++ b/assets/styles/index.css
@@ -1,7 +1,7 @@
.root {
display: grid;
grid-template-columns: 1.5fr 5fr;
- grid-template-rows: 20vh 80vh;
+ grid-template-rows: 20vh auto-fill;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
max-width: 1600px;
margin: auto;
@@ -111,7 +111,8 @@
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 1rem;
- white-space: pre-line;
+ padding-top: 1rem;
+ white-space: pre;
}
.external-link::after {
diff --git a/index.html b/index.html
index 8f0a151..c2c2fc1 100644
--- a/index.html
+++ b/index.html
@@ -84,6 +84,24 @@
</p>
<div class="subtitle">Features</div>
+ <ul>
+ <li> PostgreSQL version AGE supports</li>
+ <li> openCypher ... version AGE supports </li>
+ <li> Multi-graph ... brief explanation </li>
+ <li> Label inheritance ... brief explanation </li>
+ <li> Aggregation ... brief explanation </li>
+ </ul>
+
+ <div class="subtitle">News & Updates</div>
+ <ul>
+ <li>2020-12-1
+ <ul>
+ <li>Redesigned page</li>
+ <li>New releases</li>
+ </ul>
+
+ </li>
+ </ul>
</div>
</div>
<div class="main-item" id="main-license">
@@ -106,8 +124,8 @@
<div class="main-body">
Docker images are available on Docker Hub and are based on the official PostgreSQL 11 Debian and Alpine images. <br />
<ul>
- <li><a class="external-link" target="_" href="https://hub.docker.com/r/sorrell/agensgraph-extension">Debian AGE</a></li>
- <li><a class="external-link" target="_" href="https://hub.docker.com/r/sorrell/agensgraph-extension-alpine">Alpine AGE</a></li>
+ <li><a class="external-link" target="_" href="https://hub.docker.com/r/sorrell/agensgraph-extension">AGE Debian Docker Image</a></li>
+ <li><a class="external-link" target="_" href="https://hub.docker.com/r/sorrell/agensgraph-extension-alpine">AGE Alpine Docker Image</a></li>
</ul>
</div>
<div class="subtitle">Installing from source</div>
@@ -128,13 +146,12 @@
Since Apache AGE will be installed in the directory of the PostgreSQL installation, proper permissions on the directory are required. Run the following statements in
psql to create and load age in PostgreSQL.
- <div class="code">
- =# CREATE EXTENSION age; -- run this statement only once
- CREATE EXTENSION
- =# LOAD 'age';
- LOAD
- =# SET search_path = ag_catalog, "$user", public;
- SET
+ <div class="code">=# CREATE EXTENSION age; -- run this statement only once
+CREATE EXTENSION
+=# LOAD 'age';
+LOAD
+=# SET search_path = ag_catalog, "$user", public;
+SET
</div>
</div>
</div>
@@ -145,136 +162,136 @@
Connect to your containerized Postgres instance and then run the following commands:
<div class="code">
- CREATE EXTENSION age;
- LOAD 'age';
- SET search_path = ag_catalog, "$user", public;
+CREATE EXTENSION age;
+LOAD 'age';
+SET search_path = ag_catalog, "$user", public;
</div>
<div class="subtitle">Using AGE</div>
First you will need to create a graph:
<div class="code">
- SELECT create_graph('my_graph_name');
+SELECT create_graph('my_graph_name');
</div>
To execute Cypher queries, you will need to wrap them in the following syntax:
<div class="code">
- SELECT * from cypher('my_graph_name', $$
- CypherQuery
- $$) as (a agtype);
+SELECT * from cypher('my_graph_name', $$
+ CypherQuery
+$$) as (a agtype);
</div>
For example, if we wanted to create a graph with 4 nodes, we could do something as shown below:
<div class="code">
- SELECT * from cypher('my_graph_name', $$
- CREATE (a:Part {part_num: '123'}),
- (b:Part {part_num: '345'}),
- (c:Part {part_num: '456'}),
- (d:Part {part_num: '789'})
- $$) as (a agtype);
-
- --- RESULTS
- a
- ---
- (0 rows)
+SELECT * from cypher('my_graph_name', $$
+ CREATE (a:Part {part_num: '123'}),
+ (b:Part {part_num: '345'}),
+ (c:Part {part_num: '456'}),
+ (d:Part {part_num: '789'})
+$$) as (a agtype);
+
+--- RESULTS
+a
+---
+(0 rows)
</div>
Then we could query the graph with the following:
<div class="code">
- SELECT * from cypher('my_graph_name', $$
- MATCH (a)
- RETURN a
- $$) as (a agtype);
-
- --- RESULTS
- a
- -------------------------------------------------------------------------------------
- {"id": 844424930131969, "label": "Part", "properties": {"part_num": "123"}}::vertex
- {"id": 844424930131970, "label": "Part", "properties": {"part_num": "345"}}::vertex
- {"id": 844424930131971, "label": "Part", "properties": {"part_num": "456"}}::vertex
- {"id": 844424930131972, "label": "Part", "properties": {"part_num": "789"}}::vertex
- (4 rows)
+SELECT * from cypher('my_graph_name', $$
+ MATCH (a)
+ RETURN a
+$$) as (a agtype);
+
+--- RESULTS
+ a
+-------------------------------------------------------------------------------------
+{"id": 844424930131969, "label": "Part", "properties": {"part_num": "123"}}::vertex
+{"id": 844424930131970, "label": "Part", "properties": {"part_num": "345"}}::vertex
+{"id": 844424930131971, "label": "Part", "properties": {"part_num": "456"}}::vertex
+{"id": 844424930131972, "label": "Part", "properties": {"part_num": "789"}}::vertex
+(4 rows)
</div>
Next, we could create a relationship between a couple of nodes:
<div class="code">
- SELECT * from cypher('my_graph_name', $$
- MATCH (a:Part {part_num: '123'}), (b:Part {part_num: '345'})
- CREATE (a)-[u:used_by { quantity: 1 }]->(b)
- $$) as (a agtype);
-
- --- RESULTS
- a
- ---
- (0 rows)
+SELECT * from cypher('my_graph_name', $$
+ MATCH (a:Part {part_num: '123'}), (b:Part {part_num: '345'})
+ CREATE (a)-[u:used_by { quantity: 1 }]->(b)
+$$) as (a agtype);
+
+--- RESULTS
+a
+---
+(0 rows)
</div>
Next we can return the path we just created (results have been formatted for readability):
<div class="code">
- SELECT * from cypher('age', $$
- MATCH p=(a)-[]-(b)
- RETURN p
- $$) as (a agtype);
-
- // RESULTS
- // ROW 1
- [
- {
- "id":844424930131969,
- "label":"Part",
- "properties":{
- "part_num":"123"
- }
- }::"vertex",
- {
- "id":1125899906842625,
- "label":"used_by",
- "end_id":844424930131970,
- "start_id":844424930131969,
- "properties":{
- "quantity":1
- }
- }::"edge",
- {
- "id":844424930131970,
- "label":"Part",
- "properties":{
- "part_num":"345"
- }
- }::"vertex"
- ]::"path"
- // ROW 2
- [
- {
- "id":844424930131970,
- "label":"Part",
- "properties":{
- "part_num":"345"
- }
- }::"vertex",
- {
- "id":1125899906842625,
- "label":"used_by",
- "end_id":844424930131970,
- "start_id":844424930131969,
- "properties":{
- "quantity":1
- }
- }::"edge",
- {
- "id":844424930131969,
- "label":"Part",
- "properties":{
- "part_num":"123"
- }
- }::"vertex"
- ]::"path"
- (2 rows)
+SELECT * from cypher('age', $$
+ MATCH p=(a)-[]-(b)
+ RETURN p
+$$) as (a agtype);
+
+// RESULTS
+// ROW 1
+[
+ {
+ "id":844424930131969,
+ "label":"Part",
+ "properties":{
+ "part_num":"123"
+ }
+ }::"vertex",
+ {
+ "id":1125899906842625,
+ "label":"used_by",
+ "end_id":844424930131970,
+ "start_id":844424930131969,
+ "properties":{
+ "quantity":1
+ }
+ }::"edge",
+ {
+ "id":844424930131970,
+ "label":"Part",
+ "properties":{
+ "part_num":"345"
+ }
+ }::"vertex"
+]::"path"
+// ROW 2
+[
+ {
+ "id":844424930131970,
+ "label":"Part",
+ "properties":{
+ "part_num":"345"
+ }
+ }::"vertex",
+ {
+ "id":1125899906842625,
+ "label":"used_by",
+ "end_id":844424930131970,
+ "start_id":844424930131969,
+ "properties":{
+ "quantity":1
+ }
+ }::"edge",
+ {
+ "id":844424930131969,
+ "label":"Part",
+ "properties":{
+ "part_num":"123"
+ }
+ }::"vertex"
+]::"path"
+(2 rows)
</div>
</div>
[incubator-age] 08/18: Added team, contribution, footer
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit b760e0a2cdfe3804fb86cdb6652dff48c9eb7087
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Wed Dec 2 14:35:11 2020 -0500
Added team, contribution, footer
---
assets/images/incubator_ring_logo.png | Bin 0 -> 28717 bytes
assets/scripts/index.js | 7 +-
assets/styles/index.css | 75 +++++++++++-
index.html | 225 +++++++++++++++++++++++++++++++++-
4 files changed, 301 insertions(+), 6 deletions(-)
diff --git a/assets/images/incubator_ring_logo.png b/assets/images/incubator_ring_logo.png
new file mode 100755
index 0000000..30bf2cb
Binary files /dev/null and b/assets/images/incubator_ring_logo.png differ
diff --git a/assets/scripts/index.js b/assets/scripts/index.js
index 31f7d9e..2253c2b 100644
--- a/assets/scripts/index.js
+++ b/assets/scripts/index.js
@@ -36,6 +36,11 @@ var handleMenuClick = function (el) {
if (display === "none") {
sidebar.style.display = "block";
} else {
- sidebar.style.display = "none";
+ sidebar.style.gridColumn = 0;
}
+}
+
+var handleJiraSearch = function () {
+ let searchTerms = document.getElementById("jira-search").value;
+ window.open(`https://issues.apache.org/jira/browse/AGE-1?jql=(project%3DAGE)%20and%20text%20~%20%22${searchTerms}%22`, "_blank");
}
\ No newline at end of file
diff --git a/assets/styles/index.css b/assets/styles/index.css
index 9702ea2..25f781a 100644
--- a/assets/styles/index.css
+++ b/assets/styles/index.css
@@ -60,6 +60,7 @@
}
}
+
.sidebar--selected {
border-bottom: 1px dotted blue;
}
@@ -77,7 +78,6 @@
* MAIN AREA
*/
-
.main {
grid-column: 2 / 3;
grid-row: 2;
@@ -102,9 +102,30 @@
}
/*
+ * FOOTER
+ */
+
+.footer {
+ width: 100%;
+ margin-bottom: 2rem;
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+}
+
+.footer-img {
+ display: block;
+ margin: auto;
+}
+
+
+/*
* GENERAL
*/
+ .center {
+ text-align: center;
+ margin: auto;
+ }
+
.emph {
font-weight: 700;
}
@@ -118,6 +139,7 @@
.subtitle {
font-size: 2rem;
padding-left: 1rem;
+ padding-top: 1rem;
}
.code {
@@ -132,7 +154,58 @@
overflow: auto;
}
+.inline-code {
+ background-color: lightgray;
+ font-family: "Courier New", Courier, monospace;
+ padding-left: .4rem;
+ padding-right: .4rem;
+}
+
.external-link::after {
color: blue;
content: "➚";
}
+
+.mail-link::after {
+ color: red;
+ content: "✉"
+}
+
+.search {
+ line-height: 2rem;
+}
+
+br {
+ content: "";
+ margin: 2em;
+ display: block;
+ font-size: 24%;
+}
+
+table {
+ border-collapse: collapse;
+ border: 2px solid black;
+ width: 80%;
+}
+thead,
+tfoot {
+ background-color: lightblue;
+ font-size: 1.2rem;
+}
+
+tbody {
+ background-color: #e4f0f5;
+}
+
+td,
+th {
+ border: 1px solid black;
+ padding: 5px 10px;
+ width: 40%;
+}
+tr:nth-child(even) {
+ background-color: lightgrey;
+}
+td {
+ text-align: center;
+}
\ No newline at end of file
diff --git a/index.html b/index.html
index e5ddccf..047faa7 100644
--- a/index.html
+++ b/index.html
@@ -46,15 +46,14 @@
<p class="sidebar--section">
<span class="emph">CONTRIBUTION</span> <br />
- Welcome <br />
- Committer Guide <br />
+ <span id="sidebar-contribute" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">How to Contribute</a></span> <br />
Coding Guideline <br />
</p>
<p class="sidebar--section">
<span class="emph">COMMUNITY</span> <br />
- Team <br />
- Mailing List <br />
+ <span id="sidebar-team" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Team</a></span> <br />
+ <span id="sidebar-mailinglists" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Mailing Lists</a></span> <br />
<a class="sidebar-link external-link" target="_blank" href="https://issues.apache.org/jira/projects/AGE/issues">Issue Tracker</a> <br />
<a class="sidebar-link external-link" target="_blank" href="https://github.com/apache/incubator-age">Github</a> <br />
</p>
@@ -296,7 +295,225 @@ $$) as (a agtype);
</div>
</div>
+
+ <!--
+ *
+ * CONTRIBUTION
+ *
+ -->
+ <div class="main-item" id="main-contribute">
+ <div class="title">
+ How to contribute
+ </div>
+ <div class="main-body">
+ There are multiple ways you can contribute to the project.And help is always welcome! All details can be
+ found on the contributing page. Keep reading for a quick overview!
+
+ <div class="subtitle">
+ Becoming a Commiter
+ </div>
+ If you are interested in the project and looking for ways to help, consult the list of tasks in JIRA, or ask the mailing list.
+
+
+ <div class="subtitle">
+ Contributing by Helping Other Users
+ </div>
+ A great way to contribute to AGE is to help answer user questions on the TODO_LINK:mailing list or on TODO_LINK:StackOverflow.
+ There are always many new AGE users; taking a few minutes to help answer a question is a very valuable community service.
+ <br>
+ Contributors should subscribe to this list and follow it to keep up to date on what's happening in AGE. Answering
+ questions is an excellent and visible way to help the community, which also demonstrates your expertise.
+ <br>
+ See the Mailing Lists guide for guidelines about how to effectively participate in discussions on the mailing list,
+ as well as forums like StackOverflow.
+
+
+ <div class="subtitle">
+ Contributing by Reviewing Changes
+ </div>
+ Changes to AGE source code are proposed, reviewed, and committed via Github pull requests (described in Instruction Link).
+ Anyone can view and comment on active changes here. Reviewing others' changes is a good way to learn how the change process works
+ and gain exposure to activity in various parts of the code. You can help by reviewing the changes and asking questions
+ or pointing out issues as simple as typos or small issues of style.
+
+
+ <div class="subtitle">
+ Contributing Documentation Changes
+ </div>
+ To propose a change to release documentation (that is, docs that appear under TODO_LINK:https://AGE.apache.org/instruction/),
+ edit the Markdown source files in AGE's <span class="inline-code">docs/</span> directory on GitHub, whose README file shows how to
+ build the documentation locally to test your changes. The process to propose a doc change is otherwise the same as the
+ process for proposing code changes below.
+
+
+ <div class="subtitle">
+ Contributing Bug Reports
+ </div>
+ Ideally, bug reports are accompanied by a proposed code change to fix the bug. This isn't always possible, as those who discover a
+ bug may not have the experience to fix it. A bug may be reported by creating a JIRA issue but without creating a pull request.
+ <br>
+ Bug reports are only useful, however, if they include enough information to understand, isolate and ideally reproduce the bug.
+ Simply encountering an error does not mean a bug should be reported; search JIRA and inquire on the AGE user / dev mailing
+ lists first. Unreproducible bugs, or simple error reports, may be closed.
+ <br>
+ The more context the reporter can give about a bug, the better, such as: how the bug was introduced, by which
+ commit, etc. It assists the committers in the decision process on how far the bug fix should be backported,
+ when the pull request is merged. The pull request to fix the bug should narrow down the problem to the root cause.
+ <br>
+ Data correctness/data loss bugs are very serious. Make sure the corresponding bug report JIRA issue is labeled
+ as correctness or data-loss. Please send an email to <a href="mailto:dev@age.apache.org">dev@age.apache.org</a> after submitting
+ the bug report, to quickly draw attention to the issue.
+ <br>
+ Performance issues are classified as bugs. The pull request to fix a performance bug must provide a benchmark
+ to prove the problem is indeed fixed.
+
+
+ <div class="subtitle">
+ Contributing to JIRA Maintenance
+ </div>
+ Most contributors can directly resolve JIRA issues. Use judgment in determining whether you are confident the issue should be
+ resolved (although changes can be easily undone).
+ <br>
+ When resolving JIRA tickets, please observe the following conventions:
+ <ul>
+ <li>
+ Resolve as Fixed if there's a release or code commit that resolved the issue.
+ <ul>
+ <li>
+ Set Fix Version(s), if and only if the resolution is Fixeds
+ </li>
+ <li>
+ Set Assignee to the person who contributed the most to its resolution, usually the person who opened the PR that resolved the issue.
+ </li>
+ </ul>
+ </li>
+ <li>
+ For issues that can't be reproduced against master as reported, resolve as Cannot Reproduce.
+ </li>
+ <li>
+ If the issue is the same as or a subset of another issue, resolved as Duplicate
+ <ul>
+ <li>
+ Mark the issue that has less activity or discussion as the duplicate.
+ </li>
+ <li>
+ Link it to the JIRA ticket it duplicates.
+ </li>
+ </ul>
+ </li>
+ <li>
+ If the issue seems clearly obsolete and applies to issues or components that have changed radically since it was opened, resolve as Not a Problem
+ </li>
+ <li>
+ If the issue doesn't make sense or is not actionable resolve as Invalid.
+ </li>
+ <li>
+ If it's a coherent issue, but there is a clear indication that there is not support or interest in acting on it, then resolve as Won't Fix.
+ </li>
+ </ul>
+ <br>
+ <span class="emph">Searching JIRA</span>
+ How to search JIRA for existing issues:
+ <ol>
+ <li><span class="emph">Basic:</span>
+ <ol>
+ <li>Visit <a href="https://issues.apache.org/jira/projects/AGE/issues">AGE JIRA</a></li>
+ <li>Type query into search box in top right (beware this will return results from all projects)</li>
+ </ol>
+ </li>
+ <li>
+ <span class="emph">Advanced: </span>
+ <ol>
+ <li>Visit <a href="https://issues.apache.org/jira/issues/?jql=(project%3DAGE)%20and%20text%20~%20%22%22">AGE JIRA Advanced Search</a></li>
+ <li>Replace the empty quotes with quoted text (such as "cypher")</li>
+ </ol>
+ </li>
+ <li>
+ <span class="emph">Search Now:</span>
+ <ol>
+ <li>Use the search box below</li>
+ <li><input class="search" id="jira-search" placeholder="search term"><button class="search" id="jira-submit" onclick="handleJiraSearch()">Search</button></li>
+ </ol>
+
+ </li>
+ </ol>
+ If a logically similar issue already exists, then contribute to the discussion on the existing JIRA ticket and pull request, instead of creating a new ticket and PR.
+ </div>
+ </div>
+
+ <!--
+ *
+ * COMMUNITY
+ *
+ -->
+ <div class="main-item" id="main-mailinglists">
+ <div class="title">Mailing Lists</div>
+ <div class="main-body">
+ Get help using Apache AGE (Incubating) or contribute to the project on our mailing lists:
+
+ <ul>
+ <li>
+ Visit <a target="_blank" class="external-link" href="https://lists.apache.org/list.html?commits@age.apache.org">
+ Commits</a>
+ or <a class="mail-link" href="mailto:commits-subscribe@age.apache.org">subscribe</a>
+ for people following commits to the project.
+ </li>
+ <li>
+ Visit <a target="_blank" class="external-link" href="https://lists.apache.org/list.html?dev@age.apache.org">
+ Developer</a>
+ or <a class="mail-link" href="mailto:dev-subscribe@age.apache.org">subscribe</a>
+ for developers wanting to commit code to the project.
+ </li>
+ <li>
+ Visit <a target="_blank" class="external-link" href="https://lists.apache.org/list.html?users@age.apache.org">
+ Users</a>
+ or <a class="mail-link" href="mailto:users-subscribe@age.apache.org">subscribe</a>
+ for users wanting to learn more about the project.
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ <div class="main-item" id="main-team">
+ <div class="title">Apache AGE Team Members</div>
+ <div class="main-body">
+ <div class="subtitle center">✪ Champions and Mentors ✪</div>
+ <table class="center">
+ <thead>
+ <tr><th scope="col">Name</th><th scope="col">Email</th></tr>
+ </thead>
+ <tbody>
+ <tr><td>Raphael Bircher</td> <td>rbircher at apache dot org</td></tr>
+ <tr><td>Von Gosling</td> <td>vongosling at apachedot org</td></tr>
+ <tr><td>Jim Jagielski</td> <td>jim at apache dot org </td></tr>
+ <tr><td>Kevin Ratnasekera</td> <td>kevin at agsft dot com</td></tr>
+ </tbody>
+ </table>
+ <div class="subtitle center">✰ Committers ✰</div>
+ <p class="center">AGE's active Committers are (sorted on lastname in alphabetical order):</p>
+ <table class="center">
+ <thead>
+ <tr><th scope="col">Name</th><th scope="col">Email</th></tr>
+ </thead>
+ <tbody>
+ <tr><td>Jasper Blues</td> <td>jasper at liberation dash data dot com</td></tr>
+ <tr><td>John Gemignani</td> <td>john dot gemignani at bitnine dot net</td></tr>
+ <tr><td>Josh Innis</td> <td>josh dot innis at bitnine dot net</td></tr>
+ <tr><td>Mason Sharp</td> <td>mason dot sharp at gmail dot com</td></tr>
+ <tr><td>Junseok Yang</td> <td>jsyang at bitnine dot net</td></tr>
+ </tbody>
+ </table>
+
+
+ </div>
+ </div>
</div>
+
+ </div>
+ <div class="footer">
+ <hr>
+ <img class="footer-img" src="assets/images/incubator_ring_logo.png"> <br>
+ <p class="center">Copyright © 2020 The Apache Software Foundation.Apache and the Apache feather logo are trademarks of The Apache Software Foundation</p>
</div>
</body>
</html>
[incubator-age] 11/18: Fixing menu on mobile
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit cac0842680bf66a9f90b5b4475d807a161e45e95
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Wed Dec 2 17:00:28 2020 -0500
Fixing menu on mobile
---
assets/scripts/index.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/assets/scripts/index.js b/assets/scripts/index.js
index 2253c2b..1af5b34 100644
--- a/assets/scripts/index.js
+++ b/assets/scripts/index.js
@@ -35,8 +35,9 @@ var handleMenuClick = function (el) {
let display = window.getComputedStyle(sidebar).display;
if (display === "none") {
sidebar.style.display = "block";
+ document.getElementById("sidebar-overview").scrollIntoView();
} else {
- sidebar.style.gridColumn = 0;
+ sidebar.style.display = "none";
}
}
[incubator-age] 18/18: copyright date fix
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 8ed56841ff94379e548ae377a553209800df7dda
Author: eyab <ba...@gmail.com>
AuthorDate: Tue Feb 9 12:28:33 2021 -0800
copyright date fix
---
.DS_Store | Bin 0 -> 6148 bytes
assets/.DS_Store | Bin 0 -> 6148 bytes
2 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..e115746
Binary files /dev/null and b/.DS_Store differ
diff --git a/assets/.DS_Store b/assets/.DS_Store
new file mode 100644
index 0000000..c89c282
Binary files /dev/null and b/assets/.DS_Store differ
[incubator-age] 01/18: Initial commit
Posted by ey...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
eya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-age.git
commit 1a8c3f999f5e46eeb68e3702c5ed66288f752e92
Author: Nick Sorrell <ni...@cint.io>
AuthorDate: Tue Dec 1 14:26:12 2020 -0500
Initial commit
---
.prettierrc | 7 +
assets/images/favicon/apple-touch-icon.png | Bin 0 -> 12028 bytes
assets/images/favicon/favicon-16x16.png | Bin 0 -> 1893 bytes
assets/images/favicon/favicon-32x32.png | Bin 0 -> 2837 bytes
assets/images/logo.png | Bin 0 -> 15864 bytes
assets/scripts/index.js | 21 +++
assets/styles/index.css | 120 ++++++++++++
index.html | 285 +++++++++++++++++++++++++++++
8 files changed, 433 insertions(+)
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..daf741e
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,7 @@
+{
+ "useTabs": false,
+ "printWidth": 180,
+ "tabWidth": 2,
+ "singleQuote": false,
+ "trailingComma": "none"
+}
\ No newline at end of file
diff --git a/assets/images/favicon/apple-touch-icon.png b/assets/images/favicon/apple-touch-icon.png
new file mode 100755
index 0000000..755da9c
Binary files /dev/null and b/assets/images/favicon/apple-touch-icon.png differ
diff --git a/assets/images/favicon/favicon-16x16.png b/assets/images/favicon/favicon-16x16.png
new file mode 100755
index 0000000..7e3e4c3
Binary files /dev/null and b/assets/images/favicon/favicon-16x16.png differ
diff --git a/assets/images/favicon/favicon-32x32.png b/assets/images/favicon/favicon-32x32.png
new file mode 100755
index 0000000..325f38b
Binary files /dev/null and b/assets/images/favicon/favicon-32x32.png differ
diff --git a/assets/images/logo.png b/assets/images/logo.png
new file mode 100755
index 0000000..da70215
Binary files /dev/null and b/assets/images/logo.png differ
diff --git a/assets/scripts/index.js b/assets/scripts/index.js
new file mode 100644
index 0000000..6b19243
--- /dev/null
+++ b/assets/scripts/index.js
@@ -0,0 +1,21 @@
+var handleClick = function (el) {
+ decorateSidebar(el);
+ showMainContent(el);
+}
+
+var decorateSidebar = function (el) {
+ let items = document.getElementsByClassName("sidebar-item");
+ for (let i = 0; i < items.length; i++) {
+ items[i].classList.remove("sidebar--selected");
+ }
+ el.parentElement.classList.add("sidebar--selected");
+}
+
+var showMainContent = function (el) {
+ let items = document.getElementsByClassName("main-item");
+ for (let i = 0; i < items.length; i++) {
+ items[i].classList.remove("main--selected");
+ }
+ let divId = "main-" + el.parentElement.id.split("-")[1];
+ document.getElementById(divId).classList.add("main--selected");
+}
\ No newline at end of file
diff --git a/assets/styles/index.css b/assets/styles/index.css
new file mode 100644
index 0000000..8b6e3cd
--- /dev/null
+++ b/assets/styles/index.css
@@ -0,0 +1,120 @@
+.root {
+ display: grid;
+ grid-template-columns: 1.5fr 5fr;
+ grid-template-rows: 20vh 80vh;
+ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
+ max-width: 1600px;
+ margin: auto;
+}
+
+/*
+ * HEADER
+ */
+
+.header {
+ grid-column: 1 / -1;
+ background-color: black;
+ padding-bottom: 0.5rem;
+}
+
+.header--title {
+ color: antiquewhite;
+ font-size: 1.3rem;
+ padding-left: 1rem;
+}
+
+.header--hamburger {
+ display: none;
+ float: right;
+ top: 1rem;
+ right: 1rem;
+ position: fixed;
+}
+
+.header--hamburger-div {
+ width: 35px;
+ height: 5px;
+ background-color: white;
+ margin: 6px 0;
+}
+
+/*
+ * SIDEBAR
+ */
+
+.sidebar {
+ grid-column: 1 / 2;
+ grid-row: 2;
+ background-color: rgb(240, 239, 239);
+ padding-left: 1rem;
+ padding-right: 1rem;
+}
+
+.sidebar--selected {
+ border-bottom: 1px dotted blue;
+}
+
+.sidebar--selected::before {
+ content: "➔";
+}
+
+.sidebar-link {
+ text-decoration: none;
+ color: black;
+}
+
+/*
+ * MAIN AREA
+ */
+
+.main {
+ grid-column: 2 / 3;
+ grid-row: 2;
+ padding-right: 2rem;
+}
+
+.main-body {
+ padding-left: 1rem;
+}
+
+.main-item {
+ display: none;
+}
+
+.main--selected {
+ display: contents;
+}
+
+/*
+ * GENERAL
+ */
+
+.emph {
+ font-weight: 700;
+}
+
+.title {
+ font-size: 3rem;
+ padding-bottom: 1rem;
+ padding-left: 1rem;
+}
+
+.subtitle {
+ font-size: 2rem;
+ padding-left: 1rem;
+}
+
+.code {
+ margin: 1rem;
+ background-color: lightgoldenrodyellow;
+ font-family: "Courier New", Courier, monospace;
+ padding-left: 1rem;
+ padding-right: 1rem;
+ padding-bottom: 1rem;
+ white-space: pre-line;
+}
+
+.external-link::after {
+ color: blue;
+ content: "➚";
+}
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..8f0a151
--- /dev/null
+++ b/index.html
@@ -0,0 +1,285 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta name="description" content="Apache AGE - PostgreSQL extension for graph database functionality" />
+ <meta name="theme-color" content="#ffffff" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+
+ <link rel="stylesheet" href="assets/styles/index.css" />
+ <link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicon/apple-touch-icon.png" />
+ <link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon/favicon-32x32.png" />
+ <link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon/favicon-16x16.png" />
+
+ <title>Apache AGE - PostgreSQL extension for graph database functionality</title>
+
+ <script type="text/javascript" src="assets/scripts/index.js"></script>
+ </head>
+
+ <body>
+ <div class="root">
+ <div class="header">
+ <img src="assets/images/logo.png" width="250px" />
+ <div class="header--title">A Graph Extension for PostgreSQL</div>
+ <div class="header--hamburger" id="menu">
+ <div class="header--hamburger-div"></div>
+ <div class="header--hamburger-div"></div>
+ <div class="header--hamburger-div"></div>
+ </div>
+ </div>
+
+ <div class="sidebar">
+ <p class="sidebar--section">
+ <span class="emph">APACHE AGE</span><br />
+ <span id="sidebar-overview" class="sidebar-item sidebar--selected"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Overview</a></span> <br />
+ <!-- FAQs <br /> -->
+ <span id="sidebar-license" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">License</a></span> <br />
+ <!-- Downloads <br /> -->
+ <span id="sidebar-roadmap" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Roadmap</a></span> <br />
+ </p>
+
+ <p class="sidebar--section">
+ <span class="emph">DOCUMENTATION</span> <br />
+ <span id="sidebar-installing" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Installing AGE</a></span> <br />
+ <span id="sidebar-gettingstarted" class="sidebar-item"> <a class="sidebar-link" href="#" onclick="handleClick(this)">Getting Started</a></span> <br />
+ Glossary <br />
+ </p>
+
+ <p class="sidebar--section">
+ <span class="emph">CONTRIBUTION</span> <br />
+ Welcome <br />
+ Committer Guide <br />
+ Coding Guideline <br />
+ </p>
+
+ <p class="sidebar--section">
+ <span class="emph">COMMUNITY</span> <br />
+ Team <br />
+ Mailing List <br />
+ <a class="sidebar-link external-link" target="_" href="https://issues.apache.org/jira/projects/AGE/issues">Issue Tracker</a> <br />
+ <a class="sidebar-link external-link" target="_" href="https://github.com/apache/incubator-age">Github</a> <br />
+ </p>
+
+ <p class="sidebar--section">
+ <span class="emph">ASF</span> <br />
+ <a class="sidebar-link external-link" target="_" href="https://www.apache.org/foundation/">Apache Software Foundation</a> <br />
+ <a class="sidebar-link external-link" target="_" href="https://www.apache.org/foundation/how-it-works.html">How Apache Works</a> <br />
+ <a class="sidebar-link external-link" target="_" href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a> <br />
+ <a class="sidebar-link external-link" target="_" href="https://www.apache.org/foundation/thanks.html">Thanks</a> <br />
+ </p>
+ </div>
+
+ <div class="main">
+ <!--
+ *
+ * AGE
+ *
+ -->
+ <div class="main-item main--selected" id="main-overview">
+ <div class="title">Apache AGE (Incubating)</div>
+ <div class="main-body">
+ <p class="main-content">
+ Apache AGE a PostgreSQL extension that provides graph database functionality. AGE is an acronym for AgensGraph 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.
+ </p>
+
+ <div class="subtitle">Features</div>
+ </div>
+ </div>
+ <div class="main-item" id="main-license">
+ <div class="title">License</div>
+ <div class="main-body">Apache AGE is licensed under <a target="_" href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, version 2.0</a></div>
+ </div>
+ <div class="main-item" id="main-roadmap">
+ <div class="title">Roadmap</div>
+ <div class="main-body">here is the roadmap</div>
+ </div>
+
+ <!--
+ *
+ * DOCUMENTATION
+ *
+ -->
+ <div class="main-item" id="main-installing">
+ <div class="title">Installing AGE</div>
+ <div class="subtitle">Using Docker</div>
+ <div class="main-body">
+ Docker images are available on Docker Hub and are based on the official PostgreSQL 11 Debian and Alpine images. <br />
+ <ul>
+ <li><a class="external-link" target="_" href="https://hub.docker.com/r/sorrell/agensgraph-extension">Debian AGE</a></li>
+ <li><a class="external-link" target="_" href="https://hub.docker.com/r/sorrell/agensgraph-extension-alpine">Alpine AGE</a></li>
+ </ul>
+ </div>
+ <div class="subtitle">Installing from source</div>
+ <div class="main-body">
+ Building AGE from source depends on the following Linux libraries (Ubuntu package names shown below):
+
+ <div class="code">$ sudo apt-get install bison build-essential flex postgresql-server-dev-11</div>
+
+ The build process will attempt to use the first path in the PATH environment variable when installing AGE. If the pg_config path if located there, run the following
+ command in the source code directory of Apache AGE to build and install the extension.
+
+ <div class="code">$ make install</div>
+
+ If the path to your Postgres installation is not in the PATH variable, add the path in the arguements:
+
+ <div class="code">$ make PG_CONFIG=/path/to/postgres/bin/pg_config install</div>
+
+ Since Apache AGE will be installed in the directory of the PostgreSQL installation, proper permissions on the directory are required. Run the following statements in
+ psql to create and load age in PostgreSQL.
+
+ <div class="code">
+ =# CREATE EXTENSION age; -- run this statement only once
+ CREATE EXTENSION
+ =# LOAD 'age';
+ LOAD
+ =# SET search_path = ag_catalog, "$user", public;
+ SET
+ </div>
+ </div>
+ </div>
+ <div class="main-item" id="main-gettingstarted">
+ <div class="title">Getting Started</div>
+ <div class="main-body">
+ <div class="subtitle">Loading AGE</div>
+ Connect to your containerized Postgres instance and then run the following commands:
+
+ <div class="code">
+ CREATE EXTENSION age;
+ LOAD 'age';
+ SET search_path = ag_catalog, "$user", public;
+ </div>
+
+ <div class="subtitle">Using AGE</div>
+ First you will need to create a graph:
+
+ <div class="code">
+ SELECT create_graph('my_graph_name');
+ </div>
+
+ To execute Cypher queries, you will need to wrap them in the following syntax:
+
+ <div class="code">
+ SELECT * from cypher('my_graph_name', $$
+ CypherQuery
+ $$) as (a agtype);
+ </div>
+
+ For example, if we wanted to create a graph with 4 nodes, we could do something as shown below:
+
+ <div class="code">
+ SELECT * from cypher('my_graph_name', $$
+ CREATE (a:Part {part_num: '123'}),
+ (b:Part {part_num: '345'}),
+ (c:Part {part_num: '456'}),
+ (d:Part {part_num: '789'})
+ $$) as (a agtype);
+
+ --- RESULTS
+ a
+ ---
+ (0 rows)
+ </div>
+
+ Then we could query the graph with the following:
+
+ <div class="code">
+ SELECT * from cypher('my_graph_name', $$
+ MATCH (a)
+ RETURN a
+ $$) as (a agtype);
+
+ --- RESULTS
+ a
+ -------------------------------------------------------------------------------------
+ {"id": 844424930131969, "label": "Part", "properties": {"part_num": "123"}}::vertex
+ {"id": 844424930131970, "label": "Part", "properties": {"part_num": "345"}}::vertex
+ {"id": 844424930131971, "label": "Part", "properties": {"part_num": "456"}}::vertex
+ {"id": 844424930131972, "label": "Part", "properties": {"part_num": "789"}}::vertex
+ (4 rows)
+ </div>
+
+ Next, we could create a relationship between a couple of nodes:
+
+ <div class="code">
+ SELECT * from cypher('my_graph_name', $$
+ MATCH (a:Part {part_num: '123'}), (b:Part {part_num: '345'})
+ CREATE (a)-[u:used_by { quantity: 1 }]->(b)
+ $$) as (a agtype);
+
+ --- RESULTS
+ a
+ ---
+ (0 rows)
+ </div>
+
+ Next we can return the path we just created (results have been formatted for readability):
+
+ <div class="code">
+ SELECT * from cypher('age', $$
+ MATCH p=(a)-[]-(b)
+ RETURN p
+ $$) as (a agtype);
+
+ // RESULTS
+ // ROW 1
+ [
+ {
+ "id":844424930131969,
+ "label":"Part",
+ "properties":{
+ "part_num":"123"
+ }
+ }::"vertex",
+ {
+ "id":1125899906842625,
+ "label":"used_by",
+ "end_id":844424930131970,
+ "start_id":844424930131969,
+ "properties":{
+ "quantity":1
+ }
+ }::"edge",
+ {
+ "id":844424930131970,
+ "label":"Part",
+ "properties":{
+ "part_num":"345"
+ }
+ }::"vertex"
+ ]::"path"
+ // ROW 2
+ [
+ {
+ "id":844424930131970,
+ "label":"Part",
+ "properties":{
+ "part_num":"345"
+ }
+ }::"vertex",
+ {
+ "id":1125899906842625,
+ "label":"used_by",
+ "end_id":844424930131970,
+ "start_id":844424930131969,
+ "properties":{
+ "quantity":1
+ }
+ }::"edge",
+ {
+ "id":844424930131969,
+ "label":"Part",
+ "properties":{
+ "part_num":"123"
+ }
+ }::"vertex"
+ ]::"path"
+ (2 rows)
+ </div>
+
+ </div>
+ </div>
+ </div>
+ </div>
+ </body>
+</html>