Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparing for release 3.7.0 #2674

Draft
wants to merge 429 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
429 commits
Select commit Hold shift + click to select a range
83608a3
Fixing codacy error
cvvergara May 7, 2024
6afe2ca
fixing NEWS.md
cvvergara May 7, 2024
792c9fb
Update locale: commit 6afe2ca1c6
github-actions[bot] May 7, 2024
996e7ca
(lineGraph)(pgtap) tests from wiki and mathworld
cvvergara Feb 26, 2024
5acff54
(lineGraph)(pgtap) design test rewritten on pgtap
cvvergara Feb 26, 2024
3e1f3af
(CI) refining tidy-vs-commit to not process .conf files
cvvergara Feb 26, 2024
dc1996f
(lineGraph) wrong code -> good code
cvvergara Feb 26, 2024
7e3338f
(lineGraph) Using fixed code
cvvergara Feb 26, 2024
a0c6e64
(lineGraph)(docq) Updating to new results
cvvergara Feb 26, 2024
771c3c0
(docqueries/pgr_lineGraph) adding additional examples
cvvergara May 9, 2024
c859e24
(doc/pgr_lineGraph) adding additional examples
cvvergara May 9, 2024
096739c
(pgtap/pgr_lineGraph) adjusting mathworld unit test
cvvergara May 9, 2024
a1c5f41
Adding self loops on directed graphs
cvvergara May 9, 2024
db2b66e
updating NEWS and release notes
cvvergara May 9, 2024
8582944
Fixing conflicts
cvvergara May 9, 2024
78df738
Update locale: commit 8582944d03
github-actions[bot] May 13, 2024
373f9d9
Update translation files
weblate Jan 5, 2024
997deea
Translated using Weblate (Chinese (Simplified))
cvvergara Jan 5, 2024
907f8bf
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
0ab4b5f
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
02231df
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
e8fa897
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
781b4f4
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
c27eaad
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
cff3a51
Update translation files
weblate Jan 6, 2024
da40458
Translated using Weblate (Spanish)
Jan 6, 2024
b176054
Translated using Weblate (Spanish)
cvvergara Jan 6, 2024
9e3216d
Translated using Weblate (Spanish)
cvvergara Jan 6, 2024
8b2cf2e
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
7c56b54
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
ac8a05d
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
88d61b0
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
2db34e2
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
7134ad0
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
033842a
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
bad988b
Update translation files
weblate Jan 24, 2024
a804bb7
Update translation files
weblate Feb 1, 2024
ca1a02d
Update translation files
weblate Feb 6, 2024
2da8d99
Update translation files
weblate Feb 13, 2024
e00124c
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
57d97ec
Translated using Weblate (Spanish)
Apr 11, 2024
d06a10b
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
4999b8a
Translated using Weblate (Spanish)
Apr 11, 2024
753c99c
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
1dc6dda
Translated using Weblate (Spanish)
Apr 11, 2024
a040f0b
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
87631cb
Translated using Weblate (Spanish)
Apr 11, 2024
b2b7a74
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
52bad06
Translated using Weblate (Spanish)
Apr 11, 2024
7033955
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
9514b3c
Translated using Weblate (Spanish)
Apr 11, 2024
26af087
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
742457b
Translated using Weblate (Spanish)
Apr 11, 2024
8f2f507
Translated using Weblate (Spanish)
Apr 11, 2024
5254320
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
b5fbfc3
Translated using Weblate (Spanish)
cvvergara Apr 23, 2024
cf972aa
Translated using Weblate (Spanish)
cvvergara Apr 28, 2024
4bcfcb5
Translated using Weblate (Chinese (Simplified))
cvvergara Apr 28, 2024
e1f97af
Update translation files
weblate Apr 29, 2024
c61cd66
Translated using Weblate (Japanese)
cvvergara Apr 30, 2024
dd472be
Translated using Weblate (Japanese)
cvvergara Apr 30, 2024
232830f
Translated using Weblate (Chinese (Simplified))
cvvergara Apr 30, 2024
7f03918
Translated using Weblate (Chinese (Simplified))
Apr 30, 2024
5dbc488
Update translation files
weblate May 7, 2024
8ada27d
Update translation files
weblate May 13, 2024
c92f85e
Translated using Weblate (Spanish)
cvvergara May 28, 2024
b3f47ae
Translated using Weblate (Spanish)
May 28, 2024
d56448b
Translated using Weblate (Spanish)
cvvergara May 28, 2024
4181f3b
Translated using Weblate (Spanish)
May 28, 2024
e616d48
Translated using Weblate (Spanish)
cvvergara May 28, 2024
f56e0e0
Translated using Weblate (Spanish)
May 28, 2024
76d6606
Translated using Weblate (Spanish)
May 28, 2024
c5a773b
Translated using Weblate (Spanish)
cvvergara May 28, 2024
54410c8
Translated using Weblate (Spanish)
cvvergara May 28, 2024
05e69e1
Translated using Weblate (Spanish)
May 28, 2024
e61262e
Translated using Weblate (Spanish)
cvvergara May 28, 2024
4398116
Translated using Weblate (Spanish)
May 28, 2024
534042e
Translated using Weblate (Spanish)
cvvergara May 28, 2024
5242858
Translated using Weblate (Spanish)
May 28, 2024
e2cc093
Translated using Weblate (Spanish)
cvvergara May 28, 2024
6cf93e7
Translated using Weblate (Spanish)
May 28, 2024
ed5c1c6
Translated using Weblate (Spanish)
May 28, 2024
ed3823e
Translated using Weblate (Spanish)
cvvergara May 28, 2024
f4396a5
Translated using Weblate (Spanish)
cvvergara May 28, 2024
7a18b69
Translated using Weblate (Spanish)
May 28, 2024
45ff9f7
Translated using Weblate (Spanish)
cvvergara May 28, 2024
7af9b4c
Translated using Weblate (Spanish)
May 28, 2024
f539e20
Translated using Weblate (Chinese (Simplified))
cvvergara May 28, 2024
bd6a655
Translated using Weblate (Chinese (Simplified))
May 28, 2024
b571548
Translated using Weblate (Chinese (Simplified))
cvvergara May 28, 2024
a97f495
Update locale: commit b571548adb
github-actions[bot] May 28, 2024
2629123
tools/testers/doc_queries_generator.pl
cvvergara May 28, 2024
2ff764c
(docqueries/allpairs) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
5bb44ae
(docqueries/alpha_shape) renaming queries files. Removing prefix ands…
cvvergara May 28, 2024
918b17c
(docqueries/astar) renaming queries files. Removing prefix andsuffix …
cvvergara May 28, 2024
07d78e4
(docqueries/bdAstar) renaming queries files. Removing prefix andsuffi…
cvvergara May 28, 2024
5d540ff
(docqueries/bdDijkstra) renaming queries files. Removing prefix andsu…
cvvergara May 28, 2024
589dd8f
(docqueries/bellman_ford) renaming queries files. Removing prefix and…
cvvergara May 28, 2024
94a1b65
(docqueries/breadthFirstSearch) renaming queries files. Removing pref…
cvvergara May 28, 2024
bdd377a
(docqueries/chinese) renaming queries files. Removing prefix andsuffi…
cvvergara May 28, 2024
501631b
(docqueries/circuits) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
8ee6151
(docqueries/coloring) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
52cf62e
(docqueries/common) renaming queries files. Removing prefix andsuffix…
cvvergara May 28, 2024
6067448
(docqueries/components) renaming queries files. Removing prefix andsu…
cvvergara May 28, 2024
730736f
(docqueries/contraction) renaming queries files. Removing prefix ands…
cvvergara May 28, 2024
a270457
(docqueries/dagShortestPath) renaming queries files. Removing prefix …
cvvergara May 28, 2024
6dd05f8
(docqueries/dijkstra) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
8304639
(docqueries/dominator) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
8693293
(docqueries/driving_distance) renaming queries files. Removing prefix…
cvvergara May 28, 2024
a6f587b
(docqueries/ksp) renaming queries files. Removing prefix andsuffix is pg
cvvergara May 28, 2024
6abb1cc
(docqueries/lineGraph) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
228c21f
(docqueries/max_flow) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
74807ef
(docqueries/mincut) renaming queries files. Removing prefix andsuffix…
cvvergara May 28, 2024
e38d4a1
(docqueries/ordering) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
d18e8c6
(docqueries/pickDeliver) renaming queries files. Removing prefix ands…
cvvergara May 28, 2024
4f40aa9
(docqueries/planar) renaming queries files. Removing prefix andsuffix…
cvvergara May 28, 2024
3278c59
(docqueries/spanningTree) renaming queries files. Removing prefix and…
cvvergara May 28, 2024
6e73986
(docqueries/src) renaming queries files. Removing prefix andsuffix is pg
cvvergara May 28, 2024
6f09dce
(docqueries/topologicalSort) renaming queries files. Removing prefix …
cvvergara May 28, 2024
41e931f
(docqueries/topology) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
756351f
(docqueries/transitiveClosure) renaming queries files. Removing prefi…
cvvergara May 28, 2024
37a3002
(docqueries/traversal) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
af9e8cd
(docqueries/trsp) renaming queries files. Removing prefix andsuffix i…
cvvergara May 28, 2024
6d5e9b9
(docqueries/tsp) renaming queries files. Removing prefix andsuffix is pg
cvvergara May 28, 2024
dc4afaa
(docqueries/utilities) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
730ba2d
(docqueries/version) renaming queries files. Removing prefix andsuffi…
cvvergara May 28, 2024
6c742c1
(docqueries/vrp_basic) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
660d7ff
(docqueries/withPoints) renaming queries files. Removing prefix andsu…
cvvergara May 28, 2024
d4e36bd
Updating the build to the new names
cvvergara May 28, 2024
cc86276
Adjusting test.conf to have only files key
cvvergara May 28, 2024
c1bde1e
(doc) Adjusting include file.queries to the new file names
cvvergara May 28, 2024
1139dbf
adjusting scripts to new filenames
cvvergara May 28, 2024
0c47a51
doc_queries_generator.pl drop/create with if exists
cvvergara May 28, 2024
aaf4c66
(e_report) free memory of logs on function call
cvvergara Aug 12, 2024
163a7b0
(C/C++) Remove unnecessary pfree
cvvergara Aug 12, 2024
5e02f26
(lint) Fix additional lint errors
cvvergara Aug 12, 2024
bda02b7
(lint) Fix additional lint errors
cvvergara Aug 12, 2024
0fb07be
(CI) Adding workflow_dispatch where missing
cvvergara Aug 12, 2024
0a3b989
(lint) Removing trailing spaces
cvvergara Aug 12, 2024
95d26cf
(lineGraph/pgtap) fix for update test
cvvergara Aug 12, 2024
eabdbd1
New function pgr betweenness centrality (#2647)
bedupako12mas Aug 26, 2024
84b0948
Update locale: commit 641dc3321d
github-actions[bot] Aug 16, 2024
bf52d37
Update translation files
weblate Aug 16, 2024
d4e02cf
Translated using Weblate (Spanish)
Aug 16, 2024
dab3cb4
Translated using Weblate (Spanish)
cvvergara Aug 16, 2024
dbf9aab
Translated using Weblate (Spanish)
Aug 16, 2024
5077087
Translated using Weblate (Spanish)
cvvergara Aug 16, 2024
f4c1fe4
Translated using Weblate (Spanish)
Aug 16, 2024
059e3c9
Translated using Weblate (Spanish)
Aug 16, 2024
ff05f5e
Translated using Weblate (Spanish)
cvvergara Aug 16, 2024
08a510d
Translated using Weblate (Spanish)
cvvergara Aug 16, 2024
72f6bd9
Translated using Weblate (Spanish)
Aug 16, 2024
1f708bb
Update locale: commit eabdbd13db
github-actions[bot] Aug 26, 2024
d0d5284
Merge branch 'develop' into weblate-pgrouting-pgrouting-develop
cvvergara Sep 19, 2024
b09618a
(C) forward declaration of struct ArrayType
cvvergara Sep 19, 2024
a4de476
postgres headers go before all other headers
cvvergara Sep 19, 2024
7983550
wrap a define
cvvergara Sep 19, 2024
f391c91
Undef bind and unlink defined in postgres
cvvergara Sep 19, 2024
78644d1
adjust code_checker to ignore include order
cvvergara Sep 19, 2024
d38f00f
(lint) fixing lint errors
cvvergara Sep 19, 2024
bd7b54f
Merge pull request #2645 from osgeoweblate/weblate-pgrouting-pgroutin…
cvvergara Sep 22, 2024
0b78b07
Fixing some errors detected on weblate
cvvergara Sep 23, 2024
e24ef9d
Update locale: commit 0b78b07099
github-actions[bot] Sep 23, 2024
2e96c1d
Update translation files
weblate Sep 23, 2024
4c3f4bd
Translated using Weblate (Spanish)
cvvergara Sep 23, 2024
ceb2e80
Update translation files
weblate Sep 23, 2024
60ae6ac
Translated using Weblate (Spanish)
Sep 23, 2024
0df0ba2
Translated using Weblate (Spanish)
Sep 23, 2024
024ba94
Translated using Weblate (Spanish)
cvvergara Sep 23, 2024
1425bb2
Translated using Weblate (Spanish)
cvvergara Sep 23, 2024
8d3eb0d
Translated using Weblate (Chinese (Simplified))
cvvergara Sep 23, 2024
b378097
Translated using Weblate (Chinese (Simplified))
cvvergara Sep 23, 2024
6575672
Translated using Weblate (Chinese (Simplified))
Sep 23, 2024
4d36e1b
Translated using Weblate (Chinese (Simplified))
cvvergara Sep 23, 2024
60dad36
Translated using Weblate (Chinese (Simplified))
cvvergara Sep 23, 2024
34869fc
Translated using Weblate (Chinese (Simplified))
cvvergara Sep 23, 2024
21fe8f1
Translated using Weblate (Spanish)
cvvergara Sep 23, 2024
b4d23e8
Update locale: commit 21fe8f1378
github-actions[bot] Sep 23, 2024
08463e5
some manual changes to fix sphinx errors in chinese
cvvergara Sep 23, 2024
8dd5107
Reducing to 558 warnings
cvvergara Sep 24, 2024
8c209f0
Reducing to 476 warnings
cvvergara Sep 24, 2024
aba1792
Reducing to 451 warnings
cvvergara Sep 24, 2024
b943974
Reducing to 363 warnings
cvvergara Sep 24, 2024
a5e17e7
Reducing to 305 warnings
cvvergara Sep 24, 2024
c5a635e
Reducing to 278 warnings
cvvergara Sep 24, 2024
7ac5ece
Reducing to 225 warnings
cvvergara Sep 24, 2024
5516ecf
Reducing to 118 warnings
cvvergara Sep 24, 2024
6fbc733
Restoring some changes on original message
cvvergara Sep 24, 2024
93412ea
(zh_Hans) removing all chinese errors
cvvergara Sep 27, 2024
d711ec6
(CI/website) processing zh_Hans simplified chinese for the documentation
cvvergara Sep 27, 2024
c32df45
Adding page history to zh-Hans
cvvergara Sep 27, 2024
2bc5510
Adjust CI macos build and test
sanak Feb 15, 2024
5e66987
Start postgresql by brew services in macos CI
sanak Feb 15, 2024
a0c6cb9
Use postgresql@14 as macos postgresql data location
sanak Feb 15, 2024
daee09b
Add pg_prove symbolic link into homebrew bin
sanak Feb 15, 2024
01fd6dd
Use only macos-latest (=macos-14)
sanak Jun 16, 2024
98bc041
(lint) removing unused developer tool
cvvergara Oct 9, 2024
19d7b82
(build) postgres min version 13.0.0 & numeric value for postgres version
cvvergara Oct 9, 2024
9f2ec2b
(winnie) removing unused parameter
cvvergara Oct 9, 2024
48f3d85
(CI) Adjusting workflows including ubuntu-22.04
cvvergara Oct 9, 2024
46408ba
(doc) Stopping support of PostgreSQL 12
cvvergara Oct 9, 2024
dee50b4
Update locale: commit 46408bac3f
github-actions[bot] Oct 10, 2024
0b3dcd6
(doc) updating 3.6.3 release notes and NEWS
cvvergara Oct 10, 2024
abea1a2
Remove the Boost_VERSION_MACRO define from C++
vslashg Oct 3, 2023
c9d5f5e
Update locale: commit abea1a2d8e
github-actions[bot] Oct 10, 2024
b7deb66
Update translation files
weblate Oct 10, 2024
34cb4d4
Translated using Weblate (Spanish)
cvvergara Oct 10, 2024
e462066
Translated using Weblate (Spanish)
Oct 10, 2024
d3e8bd5
Translated using Weblate (Spanish)
cvvergara Oct 10, 2024
378f2ec
Translated using Weblate (Spanish)
Oct 10, 2024
4437046
Translated using Weblate (Spanish)
cvvergara Oct 10, 2024
aeb2e47
Translated using Weblate (Spanish)
Oct 10, 2024
86762f5
Translated using Weblate (Spanish)
cvvergara Oct 10, 2024
1792c14
Translated using Weblate (Spanish)
Oct 10, 2024
0722438
Translated using Weblate (Chinese (Simplified))
cvvergara Oct 10, 2024
dd787ba
Translated using Weblate (Chinese (Simplified))
Oct 10, 2024
a8122b7
Update locale: commit dd787ba1fd
github-actions[bot] Oct 10, 2024
a29e74e
Update release actions
krashish8 Oct 16, 2024
17e5184
(C++) adding missing include to be fully compatible with C++13
cvvergara Oct 12, 2024
a7e75ab
(doc) documenting changes
cvvergara Oct 12, 2024
4bbb8cc
Bump actions/checkout from 3 to 4
dependabot[bot] Oct 27, 2023
7dd9444
(license test) fix docqueries license test
cvvergara Oct 10, 2024
323e0ea
(license test) on docqueries Adjust to .pg extension
cvvergara Oct 13, 2024
3c09f3d
(clan-tidy) fix script not finding postgres.h
cvvergara Oct 9, 2024
098079b
(CI) boost graph v0.86 has fixes in functions we use
cvvergara Oct 13, 2024
992f4d2
(CI) Using python-v5
cvvergara Oct 16, 2024
6186e8f
(CI/macos) Remove warning
cvvergara Oct 12, 2024
d73eff0
Bump softprops/action-gh-release from 1 to 2
dependabot[bot] Oct 14, 2024
e14c3f9
(CI) dependabot to work also on develop
cvvergara Oct 16, 2024
499dbc7
Update locale: commit e14c3f904e
github-actions[bot] Oct 17, 2024
236d8f9
(lint) emoving unused files
cvvergara Oct 10, 2024
516b65a
(sql) Removing pgr_ prefix from filenames pgr_filename.* -> filename.*
cvvergara Oct 10, 2024
abb847f
(include) Removing pgr_ prefix from filenames pgr_filename.* -> filen…
cvvergara Oct 10, 2024
09818dc
(src) Removing pgr_ prefix from filenames pgr_filename.* -> filename.*
cvvergara Oct 10, 2024
f5a2137
(src) Removing other prefixes on filenames
cvvergara Oct 10, 2024
16cd445
(src) Adjusting code to filename changes
cvvergara Oct 10, 2024
1a43627
(include) Adjusting includes to filename changes
cvvergara Oct 10, 2024
5ef896e
(build) Adjusting CMakelists to name changes
cvvergara Oct 10, 2024
dbd3920
(trsp) Renaming files with deprecated code
cvvergara Oct 10, 2024
9130e32
(src/trsp) new_trsp.c -> trsp.c
cvvergara Oct 10, 2024
39f7a7e
(trsp) Adjusting code to file renames
cvvergara Oct 13, 2024
fddc49e
(Build) Adjusting CMakeLists to file renames
cvvergara Oct 10, 2024
48eea30
(C/C++) removing unused code
cvvergara Oct 10, 2024
39fce9c
(cpplint) ignoring flag because of clang-tidy fixes
cvvergara Oct 13, 2024
27041cc
(tidy) Fixing errors
cvvergara Oct 10, 2024
6b9c445
(C++) fix warning on C++13.2
cvvergara Oct 13, 2024
002343b
(CI) Testing update from new 3.6.3 version
cvvergara Oct 22, 2024
f9dd979
(tool) remove trailing space on NEWS.md
cvvergara Oct 22, 2024
e77a427
Update translation files
weblate Oct 17, 2024
407888b
Remove -dev before PR to main
cvvergara Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@ updates:
directory: "/"
schedule:
interval: "weekly"
target-branch: main

#develop branch starts here
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
target-branch: develop
39 changes: 39 additions & 0 deletions .github/scripts/tidy-vs-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env bash
# Runs clang-tidy only on changed files

readonly BASE=$1
readonly BUILD_DIR=build

MODIFIED_FILES=$(git diff-tree --no-commit-id --diff-filter=d --name-only -r "$BASE" HEAD | grep '\.c')
MODIFIED_HEADERS=$(git diff-tree --no-commit-id --diff-filter=d --name-only -r "$BASE" HEAD | grep '\.h')
POSTGRES_SERVER=$(grep -o -m1 '\-isystem .*' "${BUILD_DIR}/compile_commands.json" | head -1 | awk '{print $2}')

echo "POSTGRES_SERVER ${POSTGRES_SERVER}"

CHECKS="-checks=clang-analyzer-*"

if [ -z "${MODIFIED_FILES}" ] && [ -z "${MODIFIED_HEADERS}" ]; then
echo "No paths modified"
exit 0
fi

# C/C++ use the compile command
if [ ${#MODIFIED_FILES[@]} != 0 ] ; then
for f in ${MODIFIED_FILES}
do
if [ "${f##*.}" == 'conf' ]; then continue; fi
echo "${f}"
clang-tidy -p "${BUILD_DIR}" "${CHECKS}" -header-filter="^$(pwd).*" "${f}"
done
fi

# H/HPP do not have a compile command
# workaround: add the includes
if [ ${#MODIFIED_HEADERS[@]} != 0 ] ; then
for f in ${MODIFIED_HEADERS}
do
echo "${f}"
clang-tidy "${CHECKS}" -header-filter=.* "${f}" \
-- -I./include -isystem "${POSTGRES_SERVER}"
done
fi
26 changes: 12 additions & 14 deletions .github/workflows/boost_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ name: Boost supported versions
# Currently
# - boost::geometry has not changed anything we use
#
# - boost::graph changed on 1.80
# - boost::graph 1.75 requires C++14
# - boost::graph changed on 1.68
# - 1.56 is the minimum version we ask
# boost::graph
# - 1.86 does not support C++11 (Aug 2024)
# - 1.84 is failing its own tests (Jul 2022)
# - 1.83 transitive closure & stoer wagner changed on 83 (Jul 2022)
# - 1.80 changed on 1.80 (Aug 2022)
# - 1.75 requires C++14 (Dec 2020)
# - 1.68 changed on 1.68 (Aug 2018)
# - 1.56 is the minimum version we ask (Aug 2014)

on:
workflow_dispatch:
push:
paths:
- '.github/workflows/boost_version.yml'
Expand Down Expand Up @@ -65,7 +70,7 @@ jobs:
strategy:
fail-fast: false
matrix:
boost_minor: [56, 68, 75]
boost_minor: [56, 68, 75, 76, 77, 78, 79, 80, 83, 84, 86]

steps:
- uses: actions/checkout@v4
Expand All @@ -91,11 +96,6 @@ jobs:
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ \
$(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
sudo apt-get update
Expand All @@ -107,8 +107,6 @@ jobs:
postgresql-${PGVER}-postgis-${PGIS}-scripts \
postgresql-server-dev-${PGVER}

python -m pip install --upgrade pip
pip install -r requirements.txt
wget https://sourceforge.net/projects/boost/files/boost/1.${{ matrix.boost_minor }}.0/boost_1_${{ matrix.boost_minor }}_0.tar.bz2
#wget https://dl.bintray.com/boostorg/release/1.${{ matrix.boost_minor }}.0/source/boost_1_${{ matrix.boost_minor }}_0.tar.bz2
sudo tar --bzip2 -xf boost_1_${{ matrix.boost_minor }}_0.tar.bz2
Expand All @@ -120,7 +118,7 @@ jobs:
export PATH=/usr/lib/postgresql/${PGVER}/bin:$PATH
mkdir build
cd build
cmake -DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Debug -DWITH_DOC=OFF ..
cmake -DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Debug ..

- name: Build
run: |
Expand All @@ -133,5 +131,5 @@ jobs:
sudo service postgresql start
psql -c "CREATE DATABASE ___pgr___test___;"
DIR=$(git rev-parse --show-toplevel)
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "3.6.0"
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "3.7.0"
pg_prove -Q -f --normalize --directives --recurse -U "${PG_RUNNER_USER}" -d ___pgr___test___ "pgtap"
2 changes: 1 addition & 1 deletion .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- centos-7 gcc-4.8.5

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: get postgres version
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: News file up to date
run: |
tools/release-scripts/notes2news.pl
if git status | grep 'NEWS'; then echo "NEWS is not up to date"; exit 1; fi
if ! grep -q $(grep -Po '(?<=project\(PGROUTING VERSION )[^;]+' CMakeLists.txt) NEWS; then echo "Missing section in NEWS"; exit 1; fi
if git status | grep 'NEWS.md'; then echo "NEWS.md is not up to date"; exit 1; fi
if ! grep -q $(grep -Po '(?<=project\(PGROUTING VERSION )[^;]+' CMakeLists.txt) NEWS.md; then echo "Missing section in NEWS.md"; exit 1; fi

License_check:
runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/check-queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ name: Check queries
# - the latest postgis version

on:
workflow_dispatch:
push:
paths:
- '.github/workflows/check-queries.yml'
Expand Down Expand Up @@ -110,10 +111,13 @@ jobs:
- name: Test documentation queries are up to date
run: |
sudo -u postgres createdb -p ${PGPORT} pgr_test__db__test
TESTDIRS="version"
# queries that might change
# version: will catch the current version
# mincut: results change depending on boost
TESTDIRS="version mincut"
for d in ${TESTDIRS}
do
./tools/testers/doc_queries_generator.pl -pgver "${PGVER}" -pguser runner -documentation -alg "${d}"
./tools/testers/doc_queries_generator.pl -pgver "${PGVER}" -pguser runner -documentation -alg "docqueries/${d}"
done

./tools/testers/doc_queries_generator.pl -pgver "${PGVER}"
1 change: 1 addition & 0 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ name: Build for Ubuntu with clang
# - postgis 3

on:
workflow_dispatch:
push:
paths:
- '.github/workflows/clang.yml'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [en,es]
language: [en,es,zh_Hans]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

- name: Install python
if: env.PROCESS == 'true'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -119,7 +119,7 @@ jobs:
mkdir build
cd build
cmake -DLINKCHECK=ON -DWITH_DOC=ON \
-DES=ON -DBUILD_DOXY=ON \
-DES=ON -DZH_HANS=ON -DBUILD_DOXY=ON \
-DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Release ..

- name: Check Documentation
Expand Down
47 changes: 38 additions & 9 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@ name: Build for macOS

on:
workflow_dispatch:
push:
paths:
- '.github/workflows/macos.yml'
- 'src/**'
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'

branches-ignore:
- 'gh-pages'

tags: []

pull_request:
paths:
- '.github/workflows/macos.yml'
- 'src/**'
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'

branches-ignore:
- 'gh-pages'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -16,15 +41,20 @@ permissions:
jobs:
build:
name: macos
runs-on: macos-latest
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-14]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: install deps
run: |
brew install postgresql postgis boost
brew install postgresql@14 postgis boost

- name: Configure
run: |
Expand All @@ -36,22 +66,21 @@ jobs:
run: |
cd build
make -j
sudo make install
make install

- name: Install pgTAP
run: |
git clone https://github.com/theory/pgtap.git pgTapExtension
cd pgTapExtension
make -j
sudo make install
sudo cpan TAP::Parser::SourceHandler::pgTAP
sudo find /usr/local -name pg_prove
sudo ln -s /usr/local/Cellar/perl/5.32.1_1/bin/pg_prove symlink it into /usr/local/bin
make install
cpan TAP::Parser::SourceHandler::pgTAP
ln -s $(find `brew --prefix` -name pg_prove) symlink it into $(brew --prefix)/bin

- name: Test
run: |
export PATH=/usr/local/Cellar/perl/$(perl -e 'print substr($^V, 1)')/bin:$PATH
pg_ctl -D /usr/local/var/postgres start
export PATH=$(brew --prefix)/Cellar/perl/$(perl -e 'print substr($^V, 1)')/bin:$PATH
pg_ctl -D $(brew --prefix)/var/postgresql@14 start
createuser -s postgres
createdb ___pgr___test___
bash ./tools/testers/pg_prove_tests.sh postgres 5432 Release
Loading
Loading