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

Update osgeo4w.yml explore #23

Open
wants to merge 160 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
93427da
Update osgeo4w.yml remove quiet flag
echoix Dec 31, 2023
0189d27
Use msys2 as default shell
echoix Dec 31, 2023
60536ce
Update osgeo4w.yml monitor action
echoix Dec 31, 2023
9585662
Update osgeo4w.yml install osgeo4w differently
echoix Dec 31, 2023
61c3c81
Update osgeo4w.yml set pwsh shell
echoix Dec 31, 2023
b096205
Update osgeo4w.yml Remove extra slash at end of url
echoix Dec 31, 2023
d9d7bea
Update osgeo4w.yml use pwsh shell to download osgeo4w
echoix Dec 31, 2023
38c919c
Update osgeo4w.yml remove line split
echoix Dec 31, 2023
d55e2d6
Update osgeo4w.yml Add wait to OSGeo4W install, comment out old insta…
echoix Dec 31, 2023
5dcaed4
Update osgeo4w.yml Remove \ at end of line in OSGeo4w install
echoix Dec 31, 2023
eb7090e
Update osgeo4w.yml Remove -Wait in execution of osgeo4w setup
echoix Dec 31, 2023
653e53a
Update osgeo4w.yml download and install separately
echoix Dec 31, 2023
2de1300
Update osgeo4w.yml
echoix Dec 31, 2023
6c61da6
Update osgeo4w.yml Retry adding -PassThru
echoix Dec 31, 2023
d33508b
Update osgeo4w.yml $exe variable
echoix Dec 31, 2023
f3ba5b0
Update osgeo4w.yml -NoNewWindow
echoix Dec 31, 2023
6c64798
Update osgeo4w.yml use direct call
echoix Dec 31, 2023
e4450af
Update osgeo4w.yml Out-Default
echoix Dec 31, 2023
9085d94
Update osgeo4w.yml no spaces
echoix Dec 31, 2023
0bc57ae
Update osgeo4w.yml add local package dir
echoix Dec 31, 2023
52f895e
Update osgeo4w.yml add single quote to path
echoix Dec 31, 2023
cff4cb0
Update osgeo4w.yml quote temp
echoix Dec 31, 2023
a3f26c2
Update osgeo4w.yml list files in cache
echoix Dec 31, 2023
5d274a7
Update osgeo4w.yml
echoix Dec 31, 2023
b0a42a4
Update osgeo4w.yml
echoix Dec 31, 2023
d96aa2b
Update osgeo4w.yml see temp
echoix Dec 31, 2023
0f321d6
Update osgeo4w.yml try using env temp
echoix Dec 31, 2023
565603a
Update osgeo4w.yml fix invalid workflow
echoix Dec 31, 2023
6957e47
Update osgeo4w.yml directory listing
echoix Dec 31, 2023
af0919d
Update osgeo4w.yml directory listing
echoix Dec 31, 2023
f7f3e48
Update osgeo4w.yml proj data cache
echoix Dec 31, 2023
445b16d
Update osgeo4w.yml cache v3
echoix Dec 31, 2023
23d864d
Update osgeo4w.yml
echoix Dec 31, 2023
56dc057
Clean old package cache
echoix Jan 1, 2024
442fe91
Fix PackageDir path
echoix Jan 2, 2024
3a2b679
Fix find errors
echoix Jan 2, 2024
8b9db8e
See hashfiles proj
echoix Jan 2, 2024
f0b3d90
Restore and save proj-data and package cache
echoix Jan 2, 2024
b2e1f3e
Add path on restore-key
echoix Jan 2, 2024
204c970
Update osgeo4w.yml start of glob for cache
echoix Jan 2, 2024
b72a5ad
Update osgeo4w.yml reenable compilation
echoix Jan 2, 2024
decaf96
Update osgeo4w.yml mswindows/osgeo4w/build_osgeo4w.sh
echoix Jan 2, 2024
72d1fed
Update build_osgeo4w.sh remove liblas
echoix Jan 2, 2024
4b69d71
Clean workflow
echoix Jan 2, 2024
cbf5b4e
Remove dependencies patched in OSGeo4W builds
echoix Jan 2, 2024
ae73043
Set SRC env var
echoix Jan 2, 2024
6ab62a5
Apply patched changes from OSGeo4W
echoix Jan 2, 2024
a5c8aef
Comment out osgeo4w cache
echoix Jan 2, 2024
b7d36e7
Print env in script
echoix Jan 2, 2024
4c29683
print pwd
echoix Jan 2, 2024
da9f4b9
Set SRC env
echoix Jan 2, 2024
caa023c
remove PDAL from osgeo4w installer, since not used in configure
echoix Jan 2, 2024
c3c4830
Readd mingw-w64-x86_64-libpng
echoix Jan 2, 2024
d8ba9f1
Use ${} in mswindows/osgeo4w/package.sh
echoix Jan 2, 2024
d8ec1d6
list osgeo4w bin folder
echoix Jan 2, 2024
9f648c6
Add quoting in package.sh
echoix Jan 2, 2024
5aa11fc
Do not use & to launch osgeo installer
echoix Jan 2, 2024
220926c
Add double quotes in mswindows/osgeo4w/build_osgeo4w.sh
echoix Jan 2, 2024
d6e369e
Add other calls to list files in /c/osgeo4w/bin
echoix Jan 2, 2024
8b1054b
List files again
echoix Jan 2, 2024
aecf3e2
Update osgeo4w.yml [skip ci]
echoix Jan 3, 2024
fab6598
Try without shortcuts or start menu, to see if creating the files fro…
echoix Jan 3, 2024
0c48fd4
Use old invocation for OSGeo4W install
echoix Jan 3, 2024
6c67909
Pipe old install to Out-Default
echoix Jan 3, 2024
3306ad3
Run install two times to see if it completes
echoix Jan 3, 2024
28bde68
Try without spaces in package list
echoix Jan 3, 2024
aa81ccc
try with comma on new line instead of end
echoix Jan 3, 2024
7c16772
Try using fromJson
echoix Jan 4, 2024
a6bbd5e
Try using fromJson not quoted
echoix Jan 4, 2024
e6e6240
Try adding brackets to json
echoix Jan 4, 2024
a23fc4b
try creating a json object
echoix Jan 4, 2024
319e1dd
Use tojson in env
echoix Jan 4, 2024
3eb7f6a
use fromJson inside env
echoix Jan 4, 2024
a65a025
fromJson(toJson()) in env
echoix Jan 4, 2024
dc365c8
Add an object filter
echoix Jan 4, 2024
dbafb36
use .* object filter
echoix Jan 4, 2024
a9ee48f
tojson without bracket
echoix Jan 4, 2024
10539bf
try using join
echoix Jan 4, 2024
86169f6
add a fromjson before join
echoix Jan 4, 2024
df3e34c
try with a complete object
echoix Jan 4, 2024
0eee0d8
Change to toJson
echoix Jan 4, 2024
107fa97
use only join and string
echoix Jan 4, 2024
fccecba
Disable bad try
echoix Jan 4, 2024
43afa73
example join one line
echoix Jan 4, 2024
83b3e2a
fix bad yaml indentation
echoix Jan 4, 2024
c0d249f
try fromjson
echoix Jan 4, 2024
17b8e9a
Use github-script to split
echoix Jan 4, 2024
082587c
github.env
echoix Jan 4, 2024
adb0f39
Debug context
echoix Jan 4, 2024
312f34f
add return
echoix Jan 4, 2024
c3adca8
split join
echoix Jan 4, 2024
085abce
Split spaces
echoix Jan 4, 2024
d9d4465
Split space then comma
echoix Jan 4, 2024
2c40787
Split space, join comma split comma
echoix Jan 4, 2024
27039a3
Filter "" items
echoix Jan 4, 2024
c07aca1
Format script
echoix Jan 4, 2024
379bd26
join in github
echoix Jan 4, 2024
f829089
different join
echoix Jan 4, 2024
18b3b75
Join with .*
echoix Jan 4, 2024
aee8458
return obj
echoix Jan 4, 2024
1b8f2d3
Different env tries
echoix Jan 4, 2024
f318fee
Add fromJson
echoix Jan 4, 2024
68b8633
Remove join
echoix Jan 4, 2024
8577e8a
remove result as obj
echoix Jan 4, 2024
b60729a
comment fromjson
echoix Jan 4, 2024
1c1196d
single quote
echoix Jan 4, 2024
0d8b183
Add join in env
echoix Jan 4, 2024
9ec2217
Try with labels
echoix Jan 4, 2024
c8ec9b8
Add env
echoix Jan 4, 2024
5e34d39
comment out bad template
echoix Jan 4, 2024
9ad44b6
Try .result[*]
echoix Jan 4, 2024
afec59f
Try .result.*[0]
echoix Jan 4, 2024
c5f2b3c
Try steps.osgeo4w-pkgs.outputs.result.*
echoix Jan 4, 2024
4ce137a
Try other with a tojson
echoix Jan 4, 2024
af0b814
tojson result
echoix Jan 4, 2024
5821efe
Try other accessing
echoix Jan 4, 2024
899e3d9
Change output of github script as string
echoix Jan 4, 2024
9674330
Join with -P
echoix Jan 4, 2024
1f10085
join with -P
echoix Jan 4, 2024
4824d16
Apply deps
echoix Jan 4, 2024
2f2027e
Start cleaning workflow
echoix Jan 4, 2024
77d46b0
Remove with lapack
echoix Jan 4, 2024
c4f5cfb
Continue cleaning
echoix Jan 4, 2024
0979655
Use make -j for infinite jobs
echoix Jan 4, 2024
aba3d2c
Use pacboy
echoix Jan 4, 2024
7523c35
GCC_COLORS
echoix Jan 4, 2024
19d2038
some packages aren't available in mingw-w64-x86_64- only
echoix Jan 4, 2024
e3a5ee4
pacboy with only `name:` suffix
echoix Jan 4, 2024
cc42b20
`make:` only
echoix Jan 4, 2024
6a64f08
Add ccache status
echoix Jan 4, 2024
cde516b
Comment out ccache manual
echoix Jan 4, 2024
5fc780e
Add ccache action
echoix Jan 4, 2024
93a458f
add ccache env var
echoix Jan 4, 2024
30dab51
Use -j 2
echoix Jan 4, 2024
a9a025e
Changing builtin import since it was python 2 syntax only
echoix Jan 4, 2024
33e6a5e
Use -j 4
echoix Jan 4, 2024
dddd3b9
Set ccache after msys install
echoix Jan 4, 2024
7199c81
Pytest: Add codecov upload
echoix Jan 20, 2024
02d0ebf
CI: Configure code coverage for codecov
echoix Jan 21, 2024
cf88824
pytest: Use numprocesses auto instead of logical cores
echoix Jan 23, 2024
0699188
CI: Configure code coverage for python subprocess calls
echoix Jan 27, 2024
ad1319a
CI: Split Ubuntu tests into jobs to reduce each job's execution time
echoix Jan 27, 2024
2d01191
Update ubuntu.yml
echoix Jan 27, 2024
ca97788
CI: Wait for code coverage uploads to be finished before posting noti…
echoix Jan 31, 2024
4ef0a12
Update codecov/codecov-action action to v4
renovate[bot] Feb 3, 2024
e751913
Update codecov.yml
echoix Feb 3, 2024
2e2302f
CI: Use hyphen-delimited inclusion tag for filenames
echoix Feb 3, 2024
8a544ce
CI: Fix shellcheck issues in inclusion list bash script
echoix Feb 3, 2024
1fee1a1
CI: Truncate flag name if too long
echoix Feb 3, 2024
dc1b68d
CI: Wait for 7 code coverage uploads before notifying
echoix Feb 3, 2024
fdd44d8
CI: Install python coverage through pip for a more recent version
echoix Feb 3, 2024
ff9ec39
CI: Clean up codecov.yml file
echoix Feb 3, 2024
cd704a4
CI: Install python coverage through pip for a more recent version
echoix Feb 3, 2024
c6d275b
CI: Changes for codecov-action@v4
echoix Feb 3, 2024
9b58797
CI: Truncate codecov upload name if too long
echoix Feb 3, 2024
a3005c3
CI(clang-format): use workflow from pr
echoix Mar 6, 2024
48cb58d
Delete renovate.json
echoix Mar 25, 2024
b0c01ba
Add renovate.json
renovate[bot] Mar 25, 2024
3dfae90
Merge pull request #67 from echoix/renovate/configure
echoix Mar 25, 2024
71ecdc4
Merge branch 'main' into osgeo4w-explore
echoix Apr 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[run]
branch = True
dynamic_context = test_function
concurrency = multiprocessing,thread
parallel = True
data_file = ${INITIAL_PWD-.}/.coverage
omit = ${INITIAL_PWD-.}/testreport
source =
${INITIAL_PWD-.}/
${INITIAL_GISBASE-/usr/local/grass84}/


[report]
; Regexes for lines to exclude from consideration
exclude_also =
; Don't complain about missing debug-only code:
def __repr__
if self\.debug

; Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

; Don't complain if non-runnable code isn't run:
; if 0:
; if __name__ == .__main__.:

; Don't complain about abstract methods, they aren't run:
@(abc\.)?abstractmethod

ignore_errors = True
precision = 2

[html]
directory = coverage_html_report
show_contexts = true
90 changes: 66 additions & 24 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,67 @@
---
name: ClangFormat Check
on:
push:
branches:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '15'
check-path: .
name: ClangFormat Check
on:
push:
branches:
- main
- releasebranch_*
pull_request:
branches:
- main
- releasebranch_*
- "*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_protected != true }}
# permissions: {}
permissions: write-all
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
# permissions:
# pull-requests: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: DoozyX/clang-format-lint-action@11b773b1598aa4ae3b32f023701bca5201c3817d # v0.17
with:
source: "."
clangFormatVersion: 15
inplace: True
- name: Verify Changed files
uses: tj-actions/verify-changed-files@d774a4c7ebe335445d79c7b44138f56a76058ba0 # v19.0.0
id: verify-changed-files
- run: echo '${{toJson(steps.verify-changed-files.outputs)}}'
- name: List all changed files tracked and untracked files
run: |
echo "Changed files: ${{ steps.verify-changed-files.outputs.changed_files }}"
- name: Add job summary without changed files
if: ${{ steps.verify-changed-files.outputs.files_changed == 'false' }}
run: |
{
echo "### Changed files:"
echo "No files were changed by clang-format"
} >> "$GITHUB_STEP_SUMMARY"
- name: Add job summary with changed files
if: ${{ steps.verify-changed-files.outputs.files_changed == 'true' }}
run: |
{
echo '### Changed files:'
echo '```'
echo '${{ steps.verify-changed-files.outputs.changed_files }}'
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
- uses: parkerbxyz/suggest-changes@f5b10bcbfe35840153c0e823095d260d5abad1f9 # v1.0.0
with:
comment: |
Please commit the suggested changes from clang-format.

Suggestions can only be added to lines near lines changed in this PR.
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
if: always()
with:
name: my-artifact
path: |
.clang-format
${{ steps.verify-changed-files.outputs.changed_files }}

Loading
Loading