Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
815 commits
Select commit Hold shift + click to select a range
44af515
(withPointsCost/docqueries) adjusting documentation examples with new…
cvvergara Jun 7, 2025
069880b
(withPointsCostMatrix/docqueries) adjusting documentation examples wi…
cvvergara Jun 7, 2025
588122a
(withPoints/pgtap) adjusting compare between overloads
cvvergara Jun 7, 2025
86aa247
(withPoints/doc) standarizing documentation
cvvergara Jun 7, 2025
0273e06
(withPoints/doc) standarizing documentation
cvvergara Jun 7, 2025
754be73
(withPointsCostMatrix/doc) standarizing documentation
cvvergara Jun 7, 2025
d4d7df3
(withPoints/src) Fixing parameter order on C code
cvvergara Jun 7, 2025
6c15518
(tools) creating a single_path_types_check function
cvvergara Jun 7, 2025
5eeedd5
(bellman_ford/doc) standarizing documentation
cvvergara Jun 7, 2025
79c6582
(sigs) updating the signatures
cvvergara Jun 7, 2025
d6b7fab
(docqueries) Updating other examples affected by the code changes
cvvergara Jun 7, 2025
4ee3462
Adjusting migration and release notes & NEWS
cvvergara Jun 7, 2025
9404143
(build) preparing for when NOTICES are shown
cvvergara Jun 7, 2025
e70aead
(pgtap) adjusting trsp equivalence tests
cvvergara Jun 8, 2025
b14469c
(tools) Adding lines/instructions in run.sh for developing with macOS…
cvvergara Jun 10, 2025
4885035
Commenting line for macOS Homebrew
cvvergara Jun 11, 2025
c3e092e
Standardizing pgr_edwardMoore to one path result columns
cvvergara Jun 11, 2025
03fe386
(pgr_edwardMoore) updating NEWS and release notes about standardization
cvvergara Jun 11, 2025
30d45a2
Update locale: commit d1825729bf
github-actions[bot] Jun 11, 2025
15d04f1
Standardizing pgr_bellmanFord to one path result columns
cvvergara Jun 12, 2025
de39f95
(pgr_bellmanFord) updating NEWS and release notes about standardization
cvvergara Jun 12, 2025
b0821fe
Update locale: commit 158eda454d
github-actions[bot] Jun 12, 2025
43cb2d9
Standardizing pgr_DAGshortestPath to one path result columns
cvvergara Jun 12, 2025
0bc0fd0
(pgr_DAGshortestPath) updating NEWS and release notes about standardi…
cvvergara Jun 13, 2025
f582cfe
Update locale: commit 386ec71f1f
github-actions[bot] Jun 14, 2025
bd2cff4
Ignore run.sh in root
sanak Jun 15, 2025
8079ecf
Standardizing pgr_binaryBreadthFirstSearch to one path result columns
cvvergara Jun 14, 2025
cd2bdad
(pgr_binaryBreadthFirstSearch) updating NEWS and release notes about …
cvvergara Jun 14, 2025
402a4fb
Update locale: commit 07304c4b70
github-actions[bot] Jun 16, 2025
8279c69
(sql, src) pgr_trspVia_withPoints: Driving side is compulsory unnamed
cvvergara Jun 22, 2025
eada7c9
(pgtap) pgr_trspVia_withPoints: test the new signatures with unamed d…
cvvergara Jun 22, 2025
3841c51
(docqueries) pgr_trspVia_withPoints: Adjusting documentation examples
cvvergara Jun 22, 2025
898aac8
(doc) pgr_trspVia_withPoints: Adjusting documentation about driving side
cvvergara Jun 22, 2025
3de77e0
(sql, src) pgr_trsp_withPoints: Driving side is compulsory unnamed
cvvergara Jun 22, 2025
d6c40f6
(pgtap) pgr_trsp_withpoints: test the new signatures with unamed driv…
cvvergara Jun 22, 2025
0e7f8c0
(docqueries) pgr_trsp_withPoints: Adjusting documentation examples
cvvergara Jun 22, 2025
6ecd28e
(doc) pgr_trsp_withPoints: Adjusting documentation about driving side
cvvergara Jun 22, 2025
e88aac3
(sql, src) pgr_withPointsDD: Driving side is compulsory unnamed
cvvergara Jun 22, 2025
e33c7b2
(pgtap) pgr_withPointsDD: test the new signatures with unamed driving…
cvvergara Jun 22, 2025
77def58
(doc) pgr_withPointsDD: Adjusting documentation about driving side
cvvergara Jun 22, 2025
40d3456
(sql, src) pgr_withPointsVia: Driving side is compulsory unnamed
cvvergara Jun 22, 2025
1dfe32c
(pgtap) pgr_withPointsVia: test the new signatures with unamed drivin…
cvvergara Jun 22, 2025
2d26bbb
(docqueries) pgr_withPointsVia: Adjusting documentation examples
cvvergara Jun 22, 2025
03432af
(doc) pgr_withPointsVia: Adjusting documentation about driving side
cvvergara Jun 22, 2025
b12f27f
(sql, src) pgr_withPoints: Driving side is compulsory unnamed
cvvergara Jun 22, 2025
bcc8285
(pgtap) pgr_withPoints: test the new signatures with unamed driving side
cvvergara Jun 22, 2025
7804a09
(docqueries) pgr_withPoints: Adjusting documentation examples
cvvergara Jun 22, 2025
3d91528
(doc) pgr_withPoints: Adjusting documentation about driving side
cvvergara Jun 22, 2025
47c2691
(sql, src) pgr_withPoints_KSP: Driving side is compulsory unnamed
cvvergara Jun 22, 2025
de8a2cb
(doc) pgr_withPointsKSP: Adjusting documentation about driving side
cvvergara Jun 22, 2025
b9c5d6f
(sql) pgr_withPointsCost: Driving side is compulsory unnamed
cvvergara Jun 22, 2025
6219579
(pgtap) pgr_withPointsCost: test the new signatures with unamed drivi…
cvvergara Jun 22, 2025
e84518a
(doc) pgr_withPointsCost: Adjusting documentation about driving side
cvvergara Jun 22, 2025
d3e6c67
(sql) pgr_withPointsCostMatrix: Driving side is compulsory unnamed
cvvergara Jun 22, 2025
fdbaa3f
(pgtap) pgr_withPointsCostMatrix: test the new signatures with unamed…
cvvergara Jun 22, 2025
0f8746d
(doc) pgr_withPointsCostMatrix: Adjusting documentation about driving…
cvvergara Jun 22, 2025
5cde171
(src) Using ERRCODE_WARNING_DEPRECATED_FEATURE for deprecated function
cvvergara Jun 22, 2025
25a66b8
(build) Adjusting script to build-extension-update-files
cvvergara Jun 22, 2025
9c4fd71
(signatures) pgrouting--4.0: Adjusting for changes because of driving…
cvvergara Jun 22, 2025
18d1450
(tools) Adjusting function tests because of driving side
cvvergara Jun 22, 2025
caa44c2
(pgtap) Adjust other tests that use new signature or test function ch…
cvvergara Jun 22, 2025
10b133b
Adding test file for testing flags and driving side
cvvergara Jun 22, 2025
1067688
(docqueries) migration: Adjusting documentation examples
cvvergara Jun 22, 2025
a560220
(docqueries) pgr_TSP: Adjusting documentation examples
cvvergara Jun 22, 2025
934be38
(doc) standardizing availability becuase of 4.0.0
cvvergara Jun 22, 2025
0d8f64e
(doc) Adusting to consider recent offical functions
cvvergara Jun 22, 2025
830da0b
Adjusting NEWS about driving side changes
cvvergara Jun 22, 2025
60e6f39
fixing NEWS
cvvergara Jun 22, 2025
716163e
Standardizing output columns pgr_edgeColoring to (edge,color)
cvvergara Jun 24, 2025
97de361
Adding migration of pgr_edgeColoring
cvvergara Jun 24, 2025
9232fd8
News and release notes about pgr_edgeColoring
cvvergara Jun 24, 2025
955eb7b
NEWS and release notes : Adding missing information
cvvergara Jun 24, 2025
fffdd39
(doc) Adjusting some references
cvvergara Jun 24, 2025
2b5ebac
Updating News
cvvergara Jun 24, 2025
468caf7
Fixing failing NEWS
cvvergara Jun 24, 2025
071ee97
Standardizing output columns pgr_bipartite to (node,color)
cvvergara Jun 24, 2025
2a3d696
pgr_bipartite: updating documentation
cvvergara Jun 24, 2025
6797aad
Updating News about pgr_bipartite
cvvergara Jun 24, 2025
b39933f
Standardizing output columns pgr_sequentialVertexColoring to (node,co…
cvvergara Jun 24, 2025
c44a4b8
pgr_sequentialVertexColoring: updating documentation
cvvergara Jun 24, 2025
6a3dfc1
Updating NEWS about pgr_sequentialVertexColoring
cvvergara Jun 24, 2025
fe11d28
(tools) refining single_path_types_check
cvvergara Jun 25, 2025
35d6695
(tools) creating cost_types_check for cost and costMatrix functions
cvvergara Jun 25, 2025
1bedc89
(tools) Removing obsolete tests for astar and bdastar
cvvergara Jun 26, 2025
a212306
Removing obsolete pseudo test
cvvergara Jun 26, 2025
c9473f6
Using refined code single_path_types_check
cvvergara Jun 25, 2025
996c1e2
Using refined code cost_types_check
cvvergara Jun 26, 2025
e4657c6
(tools) creating traversal_types_check for mst and dd functions
cvvergara Jun 26, 2025
0cbd9c8
Using traversal_types_check
cvvergara Jun 26, 2025
f4b6190
(src,sql,pgtap,docqueries) pgr_depthFirstSearch: Standardizing output
cvvergara Jun 26, 2025
bc1ee8f
(src,sql,pgtap,docqueries) pgr_breadthFirstSearch: Standardizing output
cvvergara Jun 26, 2025
013a150
(build) updating signatures and update script
cvvergara Jun 26, 2025
f68eab2
(doc) Updating documentation about BFS and DFS
cvvergara Jun 26, 2025
7ae558b
Adding migration notes about FirstSearch functions
cvvergara Jun 27, 2025
a18d2f7
Updating NEWS and release notes about FirstSearch functions
cvvergara Jun 27, 2025
ee7ff37
(test) fixing for update test
cvvergara Jun 27, 2025
0fbbd1e
(src,sql,pgtap,docqueries) pgr_turnRestrictedPath: Standardizing output
cvvergara Jun 28, 2025
fdab289
(sql,pgtap,docqueries) pgr_turnRestrictedPath: Standardizing output
cvvergara Jun 28, 2025
43c228b
(build) Adjusting build becuase of changes
cvvergara Jun 28, 2025
5b8f2a7
Updating migration: adding info about multi path changes and reorgani…
cvvergara Jun 29, 2025
4ff7e96
Updating NEWS and release notes about multipath
cvvergara Jun 29, 2025
6575e64
Update locale: commit f9f98cc1bd
github-actions[bot] Jun 29, 2025
a045af5
Adding missing information on NEWS
cvvergara Jun 29, 2025
e66bd50
Update locale: commit 7900b0c267
github-actions[bot] Jun 29, 2025
70ea35a
(sql,pgtap,docqueries) pgr_transitiveClosure: Standardizing output
cvvergara Jun 29, 2025
d143855
(sql,pgtap,docqueries) pgr_topologicalSort: Standardizing output
cvvergara Jun 29, 2025
4be9ddd
(pgtap) refining pgtap tests
cvvergara Jun 29, 2025
f071631
(C/C++) Adding flag for deprecation
cvvergara Jun 29, 2025
b9b2b20
(doc) pgr_topologicalSort pgr_transitiveClosure and migration
cvvergara Jun 29, 2025
8fa118f
Updating NEWS and release notes about result colum name change
cvvergara Jun 29, 2025
bafcf64
(pgtap) fix spelling errors
cvvergara Jun 29, 2025
27cb0fb
(sql) fix spelling errors
cvvergara Jun 29, 2025
452ab96
(tools) fix spelling errors
cvvergara Jun 29, 2025
2dee6b4
(others) fix spelling errors
cvvergara Jun 29, 2025
f565636
(C/C++) fixing spelling errors
cvvergara Jun 29, 2025
2b7450c
Update locale: commit e444922c89
github-actions[bot] Jun 29, 2025
33c0226
Updating missing NEWS
cvvergara Jun 29, 2025
6e774b0
Fixing by reordering include directive
cvvergara Jun 29, 2025
f8350e2
Removing warnings in windows compilation
cvvergara Jun 29, 2025
4062932
(doc) fixing NEWS
cvvergara Jun 30, 2025
13e003a
Fixing basic clang tidy errors
cvvergara Jun 30, 2025
191a2d6
Translated using Weblate (Chinese (Simplified))
w345731923 Jul 1, 2025
b8349a2
Added translation using Weblate (Swedish)
weblate Jul 1, 2025
2d417e6
Added translation using Weblate (Swedish)
cvvergara Jul 1, 2025
2eee998
Update translation files
weblate Jul 1, 2025
9788e68
Translated using Weblate (Swedish)
Jul 1, 2025
732153d
(doxygen) Updating doxygen configuration
cvvergara Jul 2, 2025
a41dd78
(ci) Moving check of doxygen configuration to files-check
cvvergara Jul 2, 2025
4b7ba04
Remove unused files cpp
cvvergara Jul 2, 2025
5a6a0f1
Moving to wiki development hints
cvvergara Jul 4, 2025
8a402f9
(src) Fixing doxygen problems
cvvergara Jul 4, 2025
5debd61
(doc) epilog with underscore:
cvvergara Jul 2, 2025
715c4f7
Update locale: commit 1e61ff77ff
github-actions[bot] Jul 4, 2025
35562ef
(build/doc) adjustments for release notes
cvvergara Jul 27, 2025
76abf22
(doc)(lint)removing unused files
cvvergara Jul 27, 2025
c3818c8
(doc) Reorganizing the build
cvvergara Jul 27, 2025
cbe1dfc
Updating release notes and news about user documentation build
cvvergara Jul 27, 2025
4271b17
(locale) moving scripts to CI actions scripts
cvvergara Jul 27, 2025
a161f38
Doxygen documentation build by default
cvvergara Jul 27, 2025
94cc857
sphinx-collapse is not a package can not use
cvvergara Jul 27, 2025
602a324
Adjusting documentation without collapse
cvvergara Jul 27, 2025
4bca9cc
(CI) Adjusting workflows
cvvergara Jul 27, 2025
80c7615
(NEWS) adjusting release notes and news about documentation
cvvergara Jul 27, 2025
cfe6384
Doing some cleanup and minor adjustments
cvvergara Jul 27, 2025
6599bd6
Adjusting installation instructions for v4.0.0
cvvergara Jul 27, 2025
e87148f
(src) Fixing doxygen problems
cvvergara Jul 4, 2025
9df2bb3
Changing standard to C++17
cvvergara Jul 1, 2025
01d9e1f
(build) Adding configuration for clang tidy
cvvergara Jul 30, 2025
a0c7281
(CI) tidy is run on clang test
cvvergara Jul 30, 2025
0446d44
(tidy) Fix clang-tidy error
cvvergara Jul 30, 2025
dee03ee
Updating release notes and news
cvvergara Jul 30, 2025
ef46950
(doc/pgr_jhonson) Fix name
cvvergara Aug 11, 2025
81c5b18
Version changes
robe2 Aug 18, 2025
bf2324d
Update locale: commit fb33fbf535
github-actions[bot] Aug 18, 2025
ddf5a69
DOC Fixes for pgRouting 4.0.0
robe2 Aug 11, 2025
56ba85a
Update locale: commit ddf5a69e89
github-actions[bot] Aug 18, 2025
450b7a6
(doc) fixing sentence
cvvergara Aug 19, 2025
45c588c
(SQL) setting big costs on functions
cvvergara Aug 19, 2025
de15dde
(docqueries) making deterministic some queries
cvvergara Aug 19, 2025
8fd514f
(bandwidth/pgtap) Adding test files for pgr_bandwidth
Saloni-2005 Aug 20, 2025
95754ad
(bandwidth/sql) Adding test SQL code for pgr_bandwidth
Saloni-2005 Aug 20, 2025
150d3f1
(bandwidth/C/C++) Adding test C/C++ code for pgr_bandwidth
Saloni-2005 Aug 20, 2025
1484c50
(bandwidth/docqueries) Adding test documentation examples code for pg…
Saloni-2005 Aug 20, 2025
be70aac
(bandwidth/doc) Adding test documentation for pgr_bandwidth
Saloni-2005 Aug 20, 2025
4edc4bc
Updating release notes and NEWS about the new function pgr_bandwidth
Saloni-2005 Aug 20, 2025
4275f2c
Update locale: commit 9edc0b59b
github-actions[bot] Aug 20, 2025
50ac5fa
(kingOrdering/pgtap) Adding test files for pgr_kingOrdering
Aug 21, 2025
83a3201
(kingOrdering/sql) Adding SQL code for pgr_kingOrdering
Aug 21, 2025
b36839d
(kingOrdering/C/C++) Adding C/C++ code for pgr_kingOrdering
Aug 21, 2025
1143c80
(kingOrdering/docqueries) Adding test documentation examples code for…
Aug 21, 2025
3285b24
(kingOrdering/doc) Adding documentation for pgr_kingOrdering
Aug 21, 2025
87f94df
Updating release notes and NEWS about the new function pgr kingOrdering
Aug 23, 2025
e3097cd
Update locale: commit 87f94dfae
github-actions[bot] Aug 23, 2025
cfc8f92
Merge pull request #2956 from wifiBlack/new-function-king-ordering
wifiBlack Aug 23, 2025
add26fc
(sloanOrdering/pgtap) Adding test files for pgr_sloanOrdering
bipashabg Aug 24, 2025
c8f4646
(sloanOrdering/sql) Adding SQL code for pgr_sloanOrdering
bipashabg Aug 24, 2025
2ed2c6d
(sloanOrdering/C/C++) Adding C/C++ code for pgr_sloanOrdering
bipashabg Aug 24, 2025
9eadf7a
(sloanOrdering/docqueries) Adding test documentation examples code fo…
bipashabg Aug 24, 2025
e19f387
(sloanOrdering/doc) Adding documentation for pgr_sloanOrdering
bipashabg Aug 24, 2025
7c9193b
Updating release notes and NEWS about the new function pgr sloanOrdering
bipashabg Aug 24, 2025
f65a300
(C++) File rename: */common/basePath_SSEC.cpp -> */common/path.cpp
cvvergara Aug 23, 2025
f1e6478
(C++) Adjusting includes to file name changes
cvvergara Aug 23, 2025
b5ec2bb
(clang-tidy) fix-google-readability-braces-around-statements
cvvergara Aug 23, 2025
6532eb9
(C/C++) Reorganizing code: removing duplicated get_route code
cvvergara Aug 24, 2025
1894d12
(binaryBFS/pgtap) Fix update test, there was a spelling error
cvvergara Aug 25, 2025
e822898
Bump actions/checkout from 4 to 5
dependabot[bot] Aug 25, 2025
80d70b4
(fix) Some small errors from previous PR
cvvergara Aug 25, 2025
f08b768
(withPoints) Adding functions without driving side
cvvergara Aug 19, 2025
81204c8
(withPoints) Do not throw if user wants weird driving sides
cvvergara Aug 19, 2025
facfa73
(widhtPoints/pgtap) Adjusting pgtap tests to changes
cvvergara Aug 19, 2025
6edbe0c
(withPoints/doc) Documentation adjustments
cvvergara Aug 25, 2025
ab32ee4
(withPoints/docqueries) adjusting documentation examples
cvvergara Aug 25, 2025
375976f
(CI) Updating ubuntu and ubuntu with clang
cvvergara Aug 25, 2025
257c53d
Update translation files
weblate Aug 23, 2025
622af61
Translated using Weblate (Swedish)
Aug 23, 2025
fda3fef
Translated using Weblate (Spanish)
cvvergara Aug 23, 2025
6f4397e
Update locale: commit 5df92ddea1
github-actions[bot] Aug 27, 2025
fc5665e
Merge pull request #2877 from oddegen/test-topologicalSort
cvvergara Aug 28, 2025
ba8ab51
(tools) updating run.sh to current build
cvvergara Aug 27, 2025
6a52ca7
(doc/build) Adding SV to the documentation
cvvergara Aug 27, 2025
3012128
(CI) Adding SV for checking the documentation
cvvergara Aug 27, 2025
a7155f2
(SV) fixing sphinx problems
cvvergara Aug 28, 2025
c893dd1
(doc) adding translators
cvvergara Aug 28, 2025
30341df
(SV) fixing references
cvvergara Aug 28, 2025
2e801bd
(SV) fixing sphinx problems
cvvergara Aug 28, 2025
c387f9a
(winnie) Fixing edefinition of struct stat
cvvergara Sep 8, 2025
4cd6337
(lint) Removing trailing spaces
cvvergara Sep 8, 2025
15d1f75
Update locale: commit 31c6d9dc88
github-actions[bot] Sep 8, 2025
7500775
Pump up to 4.0.0-alpha1
cvvergara Sep 7, 2025
4b30a59
Update locale: commit 7500775f54
github-actions[bot] Sep 11, 2025
148e09b
Bump actions/setup-python from 5 to 6
dependabot[bot] Sep 8, 2025
14297e4
Updating pgtap tests that are no longer valid for old versions
cvvergara Sep 14, 2025
95c0110
(CI) Forcing update test to run when files change
cvvergara Sep 14, 2025
cf0f6ca
(CI) Several fixes on actions
cvvergara Sep 14, 2025
ed67f20
gitignore: grouping with logical blocks and anchoring
cvvergara Sep 14, 2025
907d643
(build) Some fixes on CMakelists
cvvergara Sep 14, 2025
241adca
(doc) Several fixes on documentation
cvvergara Sep 14, 2025
db47453
Update locale: commit 241adcaf85
github-actions[bot] Sep 14, 2025
c89ff36
(doc) Fix |Boost| substitution case mismatch
cvvergara Sep 14, 2025
6cbe34a
(doc) standardizing message with period
cvvergara Sep 14, 2025
a92d47c
Update locale: commit 6cbe34a1b9
github-actions[bot] Sep 14, 2025
e6890b9
Fix conflicts
cvvergara Sep 14, 2025
63e8227
Fixing NEWS
cvvergara Sep 14, 2025
7ed9fb1
(doc) Using rubric instead of Rubric
cvvergara Sep 14, 2025
398295f
(doc) Using canonical names
cvvergara Sep 14, 2025
327cd96
(doc) Use https for license URL
cvvergara Sep 14, 2025
b80e544
Update locale: commit 327cd968f4
github-actions[bot] Sep 14, 2025
7edf506
fixing .github/workflows/update.yml
cvvergara Sep 14, 2025
8e5f934
(doc) refining release notes & NEWS
cvvergara Sep 14, 2025
43ddaa8
Update locale: commit 8e5f934c31
github-actions[bot] Sep 14, 2025
b0017f3
Bump actions/setup-python from 5 to 6
dependabot[bot] Sep 14, 2025
ebb83ad
(build) Making require PostgreSQL to fail fast
cvvergara Sep 14, 2025
912620b
APT purge should be non-interactive
cvvergara Sep 14, 2025
eb8934b
Remove empty “tags: []” (actionlint).
cvvergara Sep 14, 2025
65a8b41
Typo: “mayor.micro” → “major.minor”.
cvvergara Sep 14, 2025
229f1b7
Style nit: use lowercase set() for consistency.
cvvergara Sep 14, 2025
da2ec0c
Fix binary copy mode and path variable typo.
cvvergara Sep 14, 2025
d95f085
Removing old tools to add licenses
cvvergara Sep 14, 2025
7a3086c
(doc) fix grammar and Punctuation and spacing nit.
cvvergara Sep 14, 2025
4a6e8a7
(doc) pgr_sloanOrdering.rst fixing sphinx issues
cvvergara Sep 14, 2025
06dfa99
Update locale: commit 4a6e8a72f6
github-actions[bot] Sep 15, 2025
61a3012
Style nit: use lowercase set() for consistency.
cvvergara Sep 15, 2025
901f608
Fixing typo
cvvergara Sep 15, 2025
414d1ee
Fixing running time
cvvergara Sep 15, 2025
efd9d8c
Update locale: commit 414d1ee1f2
github-actions[bot] Sep 15, 2025
ebf8876
(build) Regex bug: character class used instead of alternation.
cvvergara Sep 17, 2025
51c219e
(doc) fixing grammar, spelling and sphinx issues
cvvergara Sep 17, 2025
91d6e20
Update locale: commit 51c219e139
github-actions[bot] Sep 17, 2025
2219bdb
(doc) fixing grammar, spelling and sphinx issues
cvvergara Sep 17, 2025
105513c
Update locale: commit 2219bdb996
github-actions[bot] Sep 17, 2025
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
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Checks: >
google-*,
-google-readability-casting,
clang-analyzer-*,
clang-diagnostic-*,
cppcoreguidelines-avoid-capturing-lambda-coroutines,
cppcoreguidelines-avoid-goto,
cppcoreguidelines-avoid-non-const-global-variables,
cppcoreguidelines-avoid-reference-coroutine-parameters

WarningsAsErrors: ''
HeaderFilterRegex: './include'
FormatStyle: none
InheritParentConfig: true
39 changes: 0 additions & 39 deletions .github/scripts/tidy-vs-commit.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@
# ------------------------------------------------------------------------------



DIR=$(git rev-parse --show-toplevel)

pushd "${DIR}" > /dev/null || exit 1

mkdir -p build
pushd build > /dev/null || exit 1
cmake -DWITH_DOC=ON -DCMAKE_BUILD_TYPE=Release -DLOCALE=ON ..
cmake -DBUILD_HTML=OFF -DBUILD_LOCALE=ON ..

make locale
popd > /dev/null || exit 1
Expand All @@ -39,7 +38,9 @@ perl -ne '/\/en\// && print' build/doc/locale_changes_po.txt | \
perl -pe 's/(.*)en\/LC_MESSAGES(.*)/$1pot$2t/' >> build/doc/locale_changes_po_pot.txt # .pot files

# Remove obsolete entries #~ from .po files
bash tools/transifex/remove_obsolete_entries.sh
find locale -type f -name '*.po' -exec sh -c '
msgattrib --no-obsolete -o "$f" "$f"
' sh {} \;

while read -r f; do git add "$f"; done < build/doc/locale_changes_po_pot.txt

Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/boost_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,19 @@ on:
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'
- 'CMakeLists.txt'

branches-ignore:
- 'gh-pages'

tags: []

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

branches-ignore:
- 'gh-pages'
Expand Down Expand Up @@ -131,5 +129,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.8.0"
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "4.0.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 @@ -12,7 +12,7 @@ on:
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'
- 'CMakeLists.txt'

branches-ignore:
- 'gh-pages'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Requirements
- name: Checkout cpplint
uses: actions/checkout@v5
with:
repository: 'cpplint/cpplint'
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/check-queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ on:
branches-ignore:
- 'gh-pages'

tags: []

pull_request:
paths:
- '.github/workflows/check-queries.yml'
Expand All @@ -50,7 +48,7 @@ permissions:

jobs:
build:
name: Check queries
name: Build
runs-on: ubuntu-latest

strategy:
Expand Down Expand Up @@ -78,6 +76,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y \
doxygen graphviz \
libboost-graph-dev \
libtap-parser-sourcehandler-pgtap-perl \
postgresql-${PGVER} \
Expand All @@ -91,7 +90,7 @@ jobs:
export PATH=/usr/lib/postgresql/${PGVER}/bin:$PATH
mkdir build
cd build
cmake -DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Debug ..
cmake -DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Debug -DBUILD_DOXY=ON ..

- name: Build
run: |
Expand Down Expand Up @@ -121,3 +120,11 @@ jobs:
done

./tools/testers/doc_queries_generator.pl -pgver "${PGVER}"

- name: Check Developers Documentation
run: |
cd build
make doxy
more DOXYLOG
[ ! -s DOXYLOG ] || echo "There are Doxygen warnings"
[ ! -s DOXYLOG ] || exit 1
34 changes: 23 additions & 11 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,19 @@ on:
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'
- 'CMakeLists.txt'

branches-ignore:
- 'gh-pages'

tags: []

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

branches-ignore:
- 'gh-pages'
Expand All @@ -48,10 +46,13 @@ permissions:
jobs:
Test_clang:
name: Ubuntu clang
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
release: [Debug, Release]
os: [ubuntu-latest, ubuntu-22.04]

steps:
- uses: actions/checkout@v5
Expand All @@ -64,12 +65,21 @@ jobs:
echo "PGIS=3" >> $GITHUB_ENV
echo "PGPORT=5432" >> $GITHUB_ENV

- name: 'Raise Priority for apt.postgresql.org'
run: |
cat << EOF >> ./pgdg.pref
Package: *
Pin: release o=apt.postgresql.org
Pin-Priority: 600
EOF
sudo mv ./pgdg.pref /etc/apt/preferences.d/
sudo apt update

Comment on lines +68 to +77
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick (assertive)

APT pinning step: OK, but keep file mode and idempotency in mind.

Consider using install -m 644 to set perms explicitly; current approach is acceptable.

-          cat << EOF >> ./pgdg.pref
+          install -m 644 /dev/stdin ./pgdg.pref << 'EOF'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: 'Raise Priority for apt.postgresql.org'
run: |
cat << EOF >> ./pgdg.pref
Package: *
Pin: release o=apt.postgresql.org
Pin-Priority: 600
EOF
sudo mv ./pgdg.pref /etc/apt/preferences.d/
sudo apt update
- name: 'Raise Priority for apt.postgresql.org'
run: |
install -m 644 /dev/stdin ./pgdg.pref << 'EOF'
Package: *
Pin: release o=apt.postgresql.org
Pin-Priority: 600
EOF
sudo mv ./pgdg.pref /etc/apt/preferences.d/
sudo apt update
🤖 Prompt for AI Agents
In .github/workflows/clang.yml around lines 70-79, the workflow writes pgdg.pref
with a heredoc then moves it which doesn't explicitly set permissions or ensure
idempotency; replace that sequence by creating/overwriting the target
/etc/apt/preferences.d/pgdg.pref with mode 0644 (use install -m 644 or sudo tee
combined with chmod) so permissions are explicit and ensure the step always
overwrites the file (idempotent) before running sudo apt update.

- name: Add PostgreSQL APT repository
run: |
sudo apt-get install curl ca-certificates gnupg
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ \
$(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt-get -y purge postgresql-*
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg-testing main ${PGVER}" > /etc/apt/sources.list.d/pgdg.list'
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null

- name: Install dependencies
run: |
Expand All @@ -84,12 +94,14 @@ jobs:
postgresql-${PGVER}-postgis-${PGIS}-scripts \
postgresql-server-dev-${PGVER}

- name: Configure
- name: Configure for clang
run: |
export PATH=/usr/lib/postgresql/${PGVER}/bin:$PATH
mkdir build
cd build
CXX=clang++ CC=clang cmake -DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Debug -DWITH_DOC=OFF ..
CXX=clang++ CC=clang cmake -DPOSTGRESQL_VERSION=${PGVER} \
-DCMAKE_BUILD_TYPE=${{ matrix.release }} -DBUILD_HTML=OFF -DBUILD_DOXY=OFF \
-DUSE_CLANG_TIDY=ON ..

Comment on lines +97 to 105
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick (assertive)

Good: clang-tidy enabled and HTML/DOXY disabled for speed.

Also pass -DBUILD_CCOV=OFF if present to trim deps.

🤖 Prompt for AI Agents
.github/workflows/clang.yml around lines 99 to 107: the CI cmake invocation
disables HTML/DOXY but doesn't disable code coverage builds; add the
-DBUILD_CCOV=OFF flag to the CMake command line so coverage-related dependencies
are not pulled in (i.e., append -DBUILD_CCOV=OFF alongside the existing
-DBUILD_HTML=OFF and -DBUILD_DOXY=OFF).

- name: Build
run: |
Expand Down
30 changes: 9 additions & 21 deletions .github/workflows/doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ on:
branches-ignore:
- 'gh-pages'

tags: []

pull_request:
paths:
- '.github/workflows/doc-check.yml'
Expand All @@ -52,7 +50,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [en,es,zh_Hans]
language: [en, es, zh_Hans, sv]

steps:
- uses: actions/checkout@v5
Expand All @@ -62,7 +60,7 @@ jobs:
- name: check modified files
id: check_files
run: |
# allways processing english, no matter what the change was
# always processing english, no matter what the change was
if [[ "${{ matrix.language }}" == "en" ]]; then echo "PROCESS=true" >> $GITHUB_ENV; exit 0; fi

# when this file changes all languages are tested
Expand Down Expand Up @@ -93,7 +91,7 @@ jobs:

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

Expand All @@ -103,38 +101,28 @@ jobs:
sudo apt-get update
sudo apt-get install -y \
libboost-graph-dev \
python3-sphinx \
python3-sphinx-bootstrap-theme \
postgresql-${PGVER} \
postgresql-server-dev-${PGVER} \
graphviz \
doxygen
python -m pip install --upgrade pip
pip install -r requirements.txt
pip list

graphviz

- name: Configure
if: env.PROCESS == 'true'
run: |
export PATH=/usr/lib/postgresql/${PGVER}/bin:$PATH
mkdir build
cd build
cmake -DLINKCHECK=ON -DWITH_DOC=ON \
-DES=ON -DZH_HANS=ON -DBUILD_DOXY=ON \
-DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Release ..
cmake -DBUILD_LINKCHECK=ON \
-DSPHINX_FLAGS='-W -v -j auto --keep-going' \
-DPOSTGRESQL_VERSION=${PGVER} ..

- name: Check Documentation
if: env.PROCESS == 'true'
run: |
cd build
make html-${{ matrix.language }}

- name: Check Developers Documentation
if: env.PROCESS == 'true'
run: |
cd build
make doxy
[ ! -s build/doxygen/LOG ] || exit 1

- name: Check Links
if: env.CHK_LINK == 'true'
run: |
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,19 @@ on:
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'
- 'CMakeLists.txt'

branches-ignore:
- 'gh-pages'

tags: []

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

branches-ignore:
- 'gh-pages'
Expand Down
Loading