Kea merge requestshttps://gitlab.isc.org/isc-projects/kea/-/merge_requests2024-03-21T16:16:37Zhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2239[#3267] add tools/find-uninstalled-headers.py2024-03-21T16:16:37ZAndrei Pavelandrei@isc.org[#3267] add tools/find-uninstalled-headers.pyPart of #3267.Part of #3267.kea2.5.7Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/2034Resolve "Missing header file (cfg_globals.h) in install paths causes custom h...2023-06-19T13:16:00ZThomas MarkwalderResolve "Missing header file (cfg_globals.h) in install paths causes custom hook compilation to fail"Closes #2608Closes #2608kea2.4.0Thomas MarkwalderThomas Markwalderhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1952Resolve "Add CodeQL on github"2023-05-19T11:49:17ZTomek MrugalskiResolve "Add CodeQL on github"Closes #2760Closes #2760kea2.3.8Tomek MrugalskiTomek Mrugalskihttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1789Resolve "Make Kea use its own image for Danger in CI"2022-09-26T13:31:41ZAndrei Pavelandrei@isc.orgResolve "Make Kea use its own image for Danger in CI"Closes #2559.
* [x] Gitlab CI: leave danger step to the default Kea CI imageCloses #2559.
* [x] Gitlab CI: leave danger step to the default Kea CI imageAndrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1725[#2491] Add hammer support for alpine 3.162022-07-20T11:32:05ZDan Theisen[#2491] Add hammer support for alpine 3.16Add hammer support to Alpine 3.16
This also installs log4cplus from the community repo instead of testing, as it is now maintained on Alpine.Add hammer support to Alpine 3.16
This also installs log4cplus from the community repo instead of testing, as it is now maintained on Alpine.Dan TheisenDan Theisenhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1705Resolve "Have the CI check for missing files in src/share/api"2022-07-01T15:44:24ZAndrei Pavelandrei@isc.orgResolve "Have the CI check for missing files in src/share/api"Closes #2379Closes #2379kea2.2.0 - a new stable branchAndrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1586Resolve "are-scripts-in-sync.py matches wrong lines if the lines are similar ...2022-02-24T15:42:19ZAndrei Pavelandrei@isc.orgResolve "are-scripts-in-sync.py matches wrong lines if the lines are similar enough"Closes #2326.
This solution truncates the create script to the upgrade script's length to remove any chance of wrong matching. This happens when the latest upgrade script is being diffed. For all other upgrade scripts, the usual diff is...Closes #2326.
This solution truncates the create script to the upgrade script's length to remove any chance of wrong matching. This happens when the latest upgrade script is being diffed. For all other upgrade scripts, the usual diff is shown along with a warning that it might contain false errors, although the chance is slim.
Also solved some lints that I missed the first time I created the script:
```
are-scripts-in-sync.py:88:39: W1401: Anomalous backslash in string: '\$'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
are-scripts-in-sync.py:96:4: W0621: Redefining name 'diff' from outer scope (line 66) (redefined-outer-name)
are-scripts-in-sync.py:77:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
are-scripts-in-sync.py:80:9: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
are-scripts-in-sync.py:104:4: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
are-scripts-in-sync.py:115:4: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
are-scripts-in-sync.py:116:11: R1716: Simplify chained comparison between the operands (chained-comparison)
are-scripts-in-sync.py:155:8: R1722: Consider using sys.exit() (consider-using-sys-exit)
are-scripts-in-sync.py:150:8: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
are-scripts-in-sync.py:189:8: R1722: Consider using sys.exit() (consider-using-sys-exit)
are-scripts-in-sync.py:202:12: R1722: Consider using sys.exit() (consider-using-sys-exit)
are-scripts-in-sync.py:206:50: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
```Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1507Resolve "CI job to detect that dhcpdb_create scripts and upgrade scripts are ...2022-01-21T12:30:20ZAndrei Pavelandrei@isc.orgResolve "CI job to detect that dhcpdb_create scripts and upgrade scripts are in sync"Closes #2205.
Multiple ways to run the script. When run without parameters, the logic is:
1. Look at all the changed files in src/share/database/scripts.
1. If it is a dhcpdb_create script.
1. Then compare it with the latest upgrade ...Closes #2205.
Multiple ways to run the script. When run without parameters, the logic is:
1. Look at all the changed files in src/share/database/scripts.
1. If it is a dhcpdb_create script.
1. Then compare it with the latest upgrade script, but only the common sections.
1. If it is an upgrade script.
1. Then compare it with dhcpdb_create, but only the common sections.
The common sections are decided based on the python difflib's library.
Please ask me to regenerate the CI image before you review. It needs python3 installed as you may have noticed in the CI results.
Disclaimers:
* line numbers cannot be easily shown because of how python difflib works
* you might be tempted to test by adding something to the end of a `dhcpdb_create` script. This will not work because that is outside of the common sections. Add to a common section instead.kea2.1.2Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1361Configure SAST in Gitlab CI2022-02-07T10:48:18ZAndrei Pavelandrei@isc.orgConfigure SAST in Gitlab CIConfigure SAST in `.gitlab-ci.yml` using the GitLab managed template. You can [add variable overrides](https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings) to customize SAST settings.Configure SAST in `.gitlab-ci.yml` using the GitLab managed template. You can [add variable overrides](https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings) to customize SAST settings.Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1359Resolve "fix CI which fails after registry image rebuild"2021-08-06T09:04:01ZAndrei Pavelandrei@isc.orgResolve "fix CI which fails after registry image rebuild"Closes #2014Closes #2014kea1.9.11Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1342Draft: Resolve "CI: check for unused messages"2022-06-10T15:27:28ZAndrei Pavelandrei@isc.orgDraft: Resolve "CI: check for unused messages"Closes #1723Closes #1723https://gitlab.isc.org/isc-projects/kea/-/merge_requests/1118Draft: Resolve "Fix gtest cp -p flag"2021-08-31T21:08:17ZTomek MrugalskiDraft: Resolve "Fix gtest cp -p flag"Closes #1702Closes #1702kea1.9.5Tomek MrugalskiTomek Mrugalskihttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1112Resolve "git not installed causes Gitlab CI job to fail silently"2021-07-01T18:46:47ZAndrei Pavelandrei@isc.orgResolve "git not installed causes Gitlab CI job to fail silently"Closes #1692Closes #1692Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1081Resolve "Script to check for duplicate includes in Kea"2020-12-30T13:59:31ZAndrei Pavelandrei@isc.orgResolve "Script to check for duplicate includes in Kea"Closes #1602Closes #1602kea1.9.4Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/620Resolve "CI improvement: add Danger checking tool"2019-12-19T12:35:12ZMichal NowikowskiResolve "CI improvement: add Danger checking tool"Closes #672Closes #672kea1.7.3Michal NowikowskiMichal Nowikowskihttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/613Resolve "CI automate git commit message"2019-12-13T17:41:05ZTomek MrugalskiResolve "CI automate git commit message"Closes #1042Closes #1042kea1.7.3Tomek MrugalskiTomek Mrugalski