instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SAP__jenkins-library__4092 | SAP/jenkins-library | 4,092 | defect | cfacde97bef55d7ba42d758585597f7afcf153e5 | 2f8a29424fbe7c09200f18f5b655aa0699f97708 | Update WaitForBuildToFinish to use Poll() method | https://pkg.go.dev/github.com/bndr/gojenkins#readme-to-always-get-fresh-data-use-the-poll-method https://github.com/bndr/gojenkins#usage
# Changes
- [ ] Tests
- [ ] Documentation
| diff --git a/pkg/jenkins/build.go b/pkg/jenkins/build.go
index 81fc2c0809..de1c954bd7 100644
--- a/pkg/jenkins/build.go
+++ b/pkg/jenkins/build.go
@@ -21,7 +21,7 @@ func WaitForBuildToFinish(ctx context.Context, build Build, pollInterval time.Du
//TODO: handle timeout?
for build.IsRunning(ctx) {
time.Sleep(pollI... | 2 | 2 | 2 | [{"id": "G0", "claim": "The Build interface must gain the Poll method (GetArtifacts, IsRunning, Poll(ctx, ...interface{}) (int, error)) so the build can satisfy the interface and the Poll() call compiles.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
SAP__jenkins-library__4141 | SAP/jenkins-library | 4,141 | defect | 8071337a44bb26bbce3f91f262cbfadbf42755fd | 7541e0dc3c67fdbeace00c968732b44647301455 | Add credentialdiggerScan step | # Changes
This PR introduces Credential Digger as a new piper step (`credentialdiggerScan`).
[Credential Digger](https://github.com/SAP/credential-digger) is maintained by SAP Security Research, and it's a secret scanner able to find hardcoded passwords in source code with a low false positive rate.
The step can ... | diff --git a/cmd/credentialdiggerScan.go b/cmd/credentialdiggerScan.go
new file mode 100644
index 0000000000..611a3946a8
--- /dev/null
+++ b/cmd/credentialdiggerScan.go
@@ -0,0 +1,241 @@
+package cmd
+
+import (
+ "fmt"
+ "os"
+ "path/filepath"
+ "strconv"
+
+ "github.com/SAP/jenkins-library/pkg/command"
+ piperhttp "g... | 4 | 3 | 0 | [{"id": "G0", "claim": "The error message \"Error with Credential Digger orchestrator.\" could be improved, e.g. to \"credentialdiggerScan: unable to load orchestrator specific configuration\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
SAP__jenkins-library__4212 | SAP/jenkins-library | 4,212 | defect | 9533280459855c605882290277b1993cd0db19f5 | a113d71784f89fd4ba227d0b8f3700c2c044ba8f | fix (npmExecuteScripts) fix for npmrc _auth | # Changes
See https://github.blog/changelog/2022-10-24-npm-v9-0-0-released/
where it states :the presence of auth related settings that are not scoped to a specific registry found in a config file is no longer supported and will throw errors
- [x] Tests
- [ ] Documentation
| diff --git a/pkg/npm/publish.go b/pkg/npm/publish.go
index 4311b8a599..32178d005d 100644
--- a/pkg/npm/publish.go
+++ b/pkg/npm/publish.go
@@ -5,6 +5,7 @@ import (
"fmt"
"path/filepath"
"regexp"
+ "strings"
"github.com/pkg/errors"
@@ -111,7 +112,10 @@ func (exec *Execute) publish(packageJSON, registry, user... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment should read \"states: the\" instead of \"states :the\" — fix the spacing after the colon.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__jenkins-library__4240 | SAP/jenkins-library | 4,240 | defect | 278c5a71258d58640e41ea9b02f88621dc91d291 | 838a866dd0e1e8fca27a5d4ce6a874310be34b04 | feat(codeql): added generating file toolrun_codeql.json | Added generation of toolrun file for codeql as it is implemented for other SAST tools.
- [ ] Tests
- [ ] Documentation
| diff --git a/cmd/codeqlExecuteScan.go b/cmd/codeqlExecuteScan.go
index 9410e5098a..3661aca55d 100644
--- a/cmd/codeqlExecuteScan.go
+++ b/cmd/codeqlExecuteScan.go
@@ -4,12 +4,14 @@ import (
"fmt"
"os"
"regexp"
+ "strings"
"github.com/SAP/jenkins-library/pkg/command"
"github.com/SAP/jenkins-library/pkg/log"
... | 3 | 3 | 2 | [{"id": "G0", "claim": "Create the tool record file after uploading the results, because the links in the tool record only make sense once the sarif files have been uploaded.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add tests for the new creat... | null |
SAP__jenkins-library__4250 | SAP/jenkins-library | 4,250 | defect | dcc688f9be89699177795d8d30496e1866ddb886 | 666a4cdf66a3d1f8ccd52a5e3ecc92acd7bc7f4b | GHActions: Add the possibility to fetch logs | # Changes
This PR adds the possibility to fetch logs. This PR is the successor of https://github.com/SAP/jenkins-library/pull/4139.
We decided to take all the best from parent PR and not touch things that are not related to fetching logs.
- [x] Tests
- [ ] Documentation
| diff --git a/go.mod b/go.mod
index 66822b5963..806ccbff76 100644
--- a/go.mod
+++ b/go.mod
@@ -305,7 +305,7 @@ require (
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
- golang.org/x/sync v0.0... | 10 | 9 | 1 | [{"id": "G0", "claim": "Use t.Skip(\"to be fixed\") instead of the '// to be fixed' placeholder comment in the test file, since it is less likely to be forgotten.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The defensive copy is unnecessary — the lin... | null |
SAP__jenkins-library__4261 | SAP/jenkins-library | 4,261 | defect | 34fc844ac0eeab323cf8df04c746cf85c199b0a9 | f26c71d0d833b7ff8c3d22e0e660de7e388fa1ff | fix(detectExecuteScan) Removed downloading of detect script version 6 | # Changes
- [x] Tests
- [x] Documentation
Removed code for downloading detect.sh version 6 because this version is no longer supported by Synopsys and isn't available for downloading. | diff --git a/cmd/detectExecuteScan.go b/cmd/detectExecuteScan.go
index 7a481cae69..b27cefef0e 100644
--- a/cmd/detectExecuteScan.go
+++ b/cmd/detectExecuteScan.go
@@ -7,7 +7,6 @@ import (
"io"
"net/http"
"path/filepath"
- "regexp"
"sort"
"strconv"
"strings"
@@ -291,22 +290,7 @@ func getDetectScript(config d... | 1 | 1 | 0 | [{"id": "G0", "claim": "Consider recycling the removed versioned-download logic once the project upgrades to detect8 and needs backwards compatibility to detect7.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}] | null |
SAP__jenkins-library__4312 | SAP/jenkins-library | 4,312 | defect | 81d9a0ac8c58b3a7ad3ec58ffe16211985cba18d | cd95b8eba7966e4302c2586ee2b4387f64d2d2fe | feat(helmExecute): Allow custom delimiter | Allow custom delimiter for go templating in case the values.yaml file already contain templates that are meant to be resolved by `helm` and not piper (see unit test for an example).
# Changes
- [x] Tests
- [x] Documentation
| diff --git a/cmd/helmExecute.go b/cmd/helmExecute.go
index f6d92dc2f7..a4ed655b57 100644
--- a/cmd/helmExecute.go
+++ b/cmd/helmExecute.go
@@ -174,7 +174,7 @@ func parseAndRenderCPETemplate(config helmExecuteOptions, rootPath string, utils
if err != nil {
return fmt.Errorf("failed to read file: %v", err)
}
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new templateStartDelimiter and templateEndDelimiter parameters may also need the PARAMETERS scope, so they can be configured when directly interacting with the Azure DevOps task.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__jenkins-library__4360 | SAP/jenkins-library | 4,360 | defect | 659cf9f9880024923a61f4e91aa71f097611ccff | 011881880ba64bc4eea77d4c9711295416bf5b2f | feat(vault): support for multiple general purpose credential paths | # Changes
Created a wrapper for an existing function to support multiple iterations of fetching secrets from the vault.
- [x] Tests
- [x] Documentation
| diff --git a/documentation/docs/infrastructure/vault.md b/documentation/docs/infrastructure/vault.md
index a780f57c7c..d58a592593 100644
--- a/documentation/docs/infrastructure/vault.md
+++ b/documentation/docs/infrastructure/vault.md
@@ -109,6 +109,18 @@ steps:
vaultCredentialKeys: ['myAppId', 'myAppSecret']
```... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `[][]interface{}` type assertion on `vaultCredentialKeysCopy` is not working out, so using multiple general purpose credential paths falls through to \"Not fetching credentials from vault since they are not (properly) configured\" instead of fetching the credentials.", "category": "correctne... | null |
SAP__jenkins-library__4407 | SAP/jenkins-library | 4,407 | defect | 799853e7910db80e082916ff22e9dc518111734a | 3a5b2bc1c7cf15cd1f36c42f95a00f520f4ab039 | Adjust npmExecuteLint (output-format, print output to console) | Up to now
- we support only output format `checkstyle`
- we redirect the lint results into a log file
With this change
- we support several output formats, default is `checkstyle`
- we provide the option to write the lint results to the log instead to a file. By default the log will still be redirected to a file... | diff --git a/cmd/npmExecuteLint.go b/cmd/npmExecuteLint.go
index d84160d1bd..9dcc1f453d 100644
--- a/cmd/npmExecuteLint.go
+++ b/cmd/npmExecuteLint.go
@@ -106,7 +106,8 @@ func runNpmExecuteLint(npmExecutor npm.Executor, utils lintUtils, config *npmExe
}
}
- err := runDefaultLint(npmExecutor, utils, config.Fai... | 3 | 3 | 0 | [{"id": "G0", "claim": "The outputFormat parameter description should read 'checkstyle' instead of the typo 'checkmarx'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The leftover debug printf '[MH] outputFileName:%s' should be removed from prepa... | null |
SAP__jenkins-library__4605 | SAP/jenkins-library | 4,605 | defect | c81e322986bb0e12255d8f2213a726dab29c3bcc | feae65e555e42490ee345b350f0ac53e54fcfb53 | feat(config): exporting generateConfig function and applying minor changes | # Changes
Exporting generateConfig function and applying minor changes
- [ ] Tests
- [ ] Documentation
| diff --git a/cmd/cnbBuild_test.go b/cmd/cnbBuild_test.go
index 75ba12e4a0..24dd2331d3 100644
--- a/cmd/cnbBuild_test.go
+++ b/cmd/cnbBuild_test.go
@@ -105,7 +105,7 @@ func assetBuildEnv(t *testing.T, utils cnbutils.MockUtils, key, value string) bo
}
func TestRunCnbBuild(t *testing.T) {
- configOptions.openFile = pi... | 3 | 3 | 1 | [{"id": "G0", "claim": "Running the getConfig command directly cannot produce YAML output (e.g. `piper getConfig --outputFile stepConfig.yml --output yaml`) because the command hardcodes the JSON formatter; the output flag should drive formatter selection and an exported function should take the output format as a para... | null |
SAP__jenkins-library__4685 | SAP/jenkins-library | 4,685 | defect | 63b7fd79bd536d5888eedda31f5d50bafe43964e | 64352ae471f1c4630d7765695959b959cd7515cc | orchestrator(GHActions): align GetJobURL method with Piper's expectations | # Changes
The GetJobURL (and GetBuildURL) functions are (particularly) used by the telemetry package to populate the PipelineURLHash and BuildURLHash.
The expected value of the PipelineURLHash is a URL (hashed value) that points to the project’s pipelines.
The expected value of the BuildURLHash is a URL (hashed... | diff --git a/pkg/orchestrator/gitHubActions.go b/pkg/orchestrator/gitHubActions.go
index 9847fbacce..b8114fff8f 100644
--- a/pkg/orchestrator/gitHubActions.go
+++ b/pkg/orchestrator/gitHubActions.go
@@ -26,7 +26,6 @@ type GitHubActionsConfigProvider struct {
runData run
jobs []job
jobsFetched bool
- cu... | 3 | 2 | 2 | [{"id": "G0", "claim": "The PR author asks whether the guessCurrentJob logic should have been removed or kept, since getting the current job might be needed in the future.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Unit tests should be adjusted because... | null |
SAP__jenkins-library__4916 | SAP/jenkins-library | 4,916 | defect | b18f8578d0b3a5a8750638151749ddf149cd2240 | ccc7c18f5ec46c80a514c72b7d53150a08241951 | feat(vault): Facilitate Vault OIDC token | Is based on changes in https://github.com/SAP/jenkins-library/pull/4901 that have been moved here.
# Changes
- [x] Tests
- [ ] Documentation
| diff --git a/cmd/piper.go b/cmd/piper.go
index 8377f61a41..e7b323a778 100644
--- a/cmd/piper.go
+++ b/cmd/piper.go
@@ -54,6 +54,7 @@ type HookConfiguration struct {
SentryConfig SentryConfiguration `json:"sentry,omitempty"`
SplunkConfig SplunkConfiguration `json:"splunk,omitempty"`
PendoConfig PendoConfiguration... | 1 | 1 | 0 | [{"id": "G0", "claim": "The wrapped error message on the failure path should be lowercased and not use a printf-style %s placeholder: return \"\", errors.Wrap(err, \"failed to get OIDC token\") instead of \"Failed to get OIDC token: %s\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope... | null |
SAP__jenkins-library__4945 | SAP/jenkins-library | 4,945 | defect | e2a5b0928a8ec653f6bd7b3700b5b97ba25e60f9 | b19ebfed3e86fb94f962539f916f996fbd717e79 | added sed cmd to transform querySuite | # Changes
Added new param 'transformString' that will be applied to the querySuite using the sed command.
- [x] Tests
- [ ] Documentation
| diff --git a/cmd/codeqlExecuteScan.go b/cmd/codeqlExecuteScan.go
index 546a310dd5..8dbef7d438 100644
--- a/cmd/codeqlExecuteScan.go
+++ b/cmd/codeqlExecuteScan.go
@@ -59,9 +59,23 @@ func codeqlExecuteScan(config codeqlExecuteScanOptions, telemetryData *telemetry
influx.step_data.fields.codeql = true
}
-func append... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new string parameter should be renamed from transformString to transformQuerySuite in the step metadata.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__jenkins-library__5014 | SAP/jenkins-library | 5,014 | defect | 97e28683f5093c1bca76e734b6ac24fffd4e7e80 | 7e49067ea305e0cc289b1941363d73ec5e8d9ad0 | Fix security issues reported by Black Duck | # Changes
- Updates golang version and couple of dependencies to fix
CVE-2024-21626 / BDSA-2024-0240, BDSA-2024-0275 / CVE-2024-23653, BDSA-2024-0273 / CVE-2024-23652, BDSA-2024-0271 / CVE-2024-23651
| diff --git a/go.mod b/go.mod
index f4338dcf43..724b4c6ee8 100644
--- a/go.mod
+++ b/go.mod
@@ -1,12 +1,6 @@
module github.com/SAP/jenkins-library
-go 1.21
-
-toolchain go1.21.9
-
-// It is a locked dependency of github.com/buildpacks/lifecycle@v0.18.4. The maintainers may remove the lock
-// in future releases. Chec... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Go version bump to 1.22.4 must also be applied in the GitHub workflows (findable by the keyword `1.21`) and in src/com/sap/piper/PiperGoUtils.groovy, not only in go.mod.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__jenkins-library__5043 | SAP/jenkins-library | 5,043 | defect | 085a8c003b6f22c6544d7c550ac930eb1f07cf55 | 510f0553b274b39ac5f05be1e6331d2218df6566 | feat(build): add buildSettingsInfo for gradleExecuteBuild | # Changes
build settings metadata extension for the gradle build step
- [ ] Tests
- [ ] Documentation
| diff --git a/cmd/gradleExecuteBuild.go b/cmd/gradleExecuteBuild.go
index 8a635adf2b..74c5e82839 100644
--- a/cmd/gradleExecuteBuild.go
+++ b/cmd/gradleExecuteBuild.go
@@ -9,6 +9,7 @@ import (
"strings"
"text/template"
+ "github.com/SAP/jenkins-library/pkg/buildsettings"
"github.com/SAP/jenkins-library/pkg/comma... | 6 | 4 | 1 | [{"id": "G0", "claim": "The switch case in CreateBuildSettingsInfo must be changed from \"gradleBuild\" to \"gradleExecuteBuild\" so the step's call with the step name actually produces the gradle build settings.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
SAP__jenkins-library__5092 | SAP/jenkins-library | 5,092 | defect | 7eb4495e51148dd1fd3f0185caf947cd25e00696 | 31568cb748861f1af3502945fe0d623284641822 | Include purl info in the event | # Changes
As part of build coordinates purl information is added by reading the cyclonedx BOM.
- [x] Tests
- [ ] Documentation
| diff --git a/cmd/mavenBuild.go b/cmd/mavenBuild.go
index af6461a8af..286ce24853 100644
--- a/cmd/mavenBuild.go
+++ b/cmd/mavenBuild.go
@@ -27,7 +27,6 @@ const (
func mavenBuild(config mavenBuildOptions, telemetryData *telemetry.CustomData, commonPipelineEnvironment *mavenBuildCommonPipelineEnvironment) {
utils := ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The BOM-reading helpers in cmd/mavenBuild.go and pkg/npm/publish.go should be rewritten in a more idiomatic Go style with early returns, removing the nested if-else blocks to reduce cognitive load.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"},... | null |
SAP__jenkins-library__5166 | SAP/jenkins-library | 5,166 | defect | 183004a80d2b240b642fa23bdd0c7631058d2a58 | e64ac61c0c03c665923cf57b9a0e7ca5e47bb1b6 | feat: add build artifacts metadata for mtaBuild | As part of [HSPIPER-290](https://jira.tools.sap/secure/RapidBoard.jspa?rapidView=34089&projectKey=HSPIPER&view=detail&selectedIssue=HSPIPER-290) we need to add build artifacts for mta
| diff --git a/cmd/mtaBuild.go b/cmd/mtaBuild.go
index 4f1ef4c64c..bbbe840998 100644
--- a/cmd/mtaBuild.go
+++ b/cmd/mtaBuild.go
@@ -5,6 +5,7 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
+ "io"
"net/http"
"os"
"path"
@@ -14,8 +15,10 @@ import (
"text/template"
"time"
+ "github.com/SAP/jenkins-lib... | 4 | 3 | 1 | [{"id": "G0", "claim": "The PURL-lookup logic added in mtaBuild.go repeats logic already in mavenBuild.go and npm/publish.go, so move it into pkg/piperutils/cyclonedxBom.go and use the same helper in all places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
SAP__jenkins-library__5224 | SAP/jenkins-library | 5,224 | defect | 6dfccc5753718b20927d59a8224722582a041415 | 0c9f69746a66658c19bf26721ae277b147d3087e | feat(detect): Add support for Detect 10 | # Description
Added the detect 10 parameter, user can use useDetect10 field to use the detect version 10 in their scan.
Change the repo name from detect.synopsys.com to detect.blackduck.com as per vendor instruction.
Changed the failErrorLevel flag from true to false as by-default.
# Checklist
- [x] Tests
- [... | diff --git a/cmd/detectExecuteScan.go b/cmd/detectExecuteScan.go
index 9dd948f7a8..eded85bd8c 100644
--- a/cmd/detectExecuteScan.go
+++ b/cmd/detectExecuteScan.go
@@ -429,9 +429,11 @@ func getDetectScript(config detectExecuteScanOptions, utils detectUtils) error {
downloadScript := func() error {
if config.UseDe... | 2 | 1 | 1 | [{"id": "G0", "claim": "The failErrorLevel Force:true->false change in pkg/whitesource/configHelper.go is unrelated to the Detect 10 work and should be removed from this pull request.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of adding useDete... | null |
SAP__jenkins-library__5346 | SAP/jenkins-library | 5,346 | defect | 892543de5306fe7ea4121104349b80d751b1c7b7 | 6fe7a89f89029a264ee23e6af88f29e5f98e5fa3 | fix: escape path in maven when user inputs a space | # Description
User reported issues when a maven path contains a space. This PR wraps such paths in single quotes.
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/detectExecuteScan.go b/cmd/detectExecuteScan.go
index 5ab7de92e8..e5a006a1e3 100644
--- a/cmd/detectExecuteScan.go
+++ b/cmd/detectExecuteScan.go
@@ -546,7 +546,7 @@ func addDetectArgs(args []string, config detectExecuteScanOptions, utils detectU
args = append(args, fmt.Sprintf("\"--detect.code.locat... | 3 | 1 | 0 | [{"id": "G0", "claim": "Users may be able to escape the space in the path themselves, which would make quoting the path in the step unnecessary.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The single-quote wrapping added for arguments containing spaces ... | null |
SAP__jenkins-library__5384 | SAP/jenkins-library | 5,384 | defect | 177500765d547b592da454c3d452bf144a6baa84 | 23e838a434a2f922d08c70e450894c1c93e87069 | Changed the documents link from Synopsys to Blackduck | # Description
This pull request updates the document references for the detectExecuteScan step. Since Synopsys Detect has transitioned to Black Duck domain, the previous links had become invalid. This update includes the correct set of links required for the Black Duck scan.
# Checklist
- [x] Tests
- [x] Docume... | diff --git a/cmd/detectExecuteScan.go b/cmd/detectExecuteScan.go
index 5ab7de92e8..5108ce2b7e 100644
--- a/cmd/detectExecuteScan.go
+++ b/cmd/detectExecuteScan.go
@@ -183,7 +183,7 @@ func detectExecuteScan(config detectExecuteScanOptions, _ *telemetry.CustomData,
}
func runDetect(ctx context.Context, config detectE... | 2 | 1 | 0 | [{"id": "G0", "claim": "The product name should be written consistently (one capitalization of the `d` in BlackDuck) in the text this pull request adds to resources/metadata/detectExecuteScan.yaml.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
SAP__jenkins-library__5404 | SAP/jenkins-library | 5,404 | defect | 5bccaa6395f4c6b2cc9cd10f50b87ea64d801ff1 | a8636ab9e8afac7e344dde4e8566be1217440fd1 | fix(splunk): add default value for TemplateName | Splunk is omiting the field if it's an empty string and it doesn't show up in metrics. This PR makes 'custom' as default value. | diff --git a/pkg/piperutils/strings.go b/pkg/piperutils/strings.go
index 4cc69e833e..fd3367689e 100644
--- a/pkg/piperutils/strings.go
+++ b/pkg/piperutils/strings.go
@@ -8,3 +8,10 @@ import (
func Title(in string) string {
return cases.Title(language.English, cases.NoLower).String(in)
}
+
+func StringWithDefault(i... | 4 | 3 | 2 | [{"id": "G0", "claim": "The default TemplateName should be `unknown`/`n/a` instead of `custom`, since an unset template name is not known to be custom.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "StringWithDefault should trim its input so whitespace-o... | null |
SAP__jenkins-library__5405 | SAP/jenkins-library | 5,405 | defect | 5bccaa6395f4c6b2cc9cd10f50b87ea64d801ff1 | ff3b32a86a8e75d2d3d4db7496ec1eccc4f65e53 | feat: add pnpm version field to npmExecuteScripts | # Description
- Added pnpmVersion parameter to npmExecuteScripts step configuration
- Enhanced pnpm installation logic to use specified version when provided
- Improved pnpm detection to check global → local → install fallback
- Added comprehensive test coverage for pnpm version scenarios
- Fixed pnpm in... | diff --git a/cmd/npmExecuteScripts.go b/cmd/npmExecuteScripts.go
index 0b6cd4b18a..5db8034fe9 100644
--- a/cmd/npmExecuteScripts.go
+++ b/cmd/npmExecuteScripts.go
@@ -13,7 +13,10 @@ import (
)
func npmExecuteScripts(config npmExecuteScriptsOptions, telemetryData *telemetry.CustomData, commonPipelineEnvironment *npm... | 1 | 1 | 1 | [{"id": "G0", "claim": "What happens if the locally or globally installed pnpm version differs from the pnpmVersion specified by the user is unaddressed, so the step may use a pnpm that does not match the requested version.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__jenkins-library__5428 | SAP/jenkins-library | 5,428 | defect | 15492ee8331ff0642bd7379da4c4f65251fe3141 | 58c08d88d2c89355f987d4613383b83d08f6ca0b | feat: extend the generate build artifact metadata for golang | # Description
the build artifact metadata cpe needs to be extended for the golang build use case
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/golangBuild.go b/cmd/golangBuild.go
index a4b0dc237a..d02cd01b28 100644
--- a/cmd/golangBuild.go
+++ b/cmd/golangBuild.go
@@ -2,6 +2,7 @@ package cmd
import (
"bytes"
+ "encoding/json"
"fmt"
"net/http"
"os"
@@ -9,6 +10,7 @@ import (
"path/filepath"
"strings"
+ "github.com/SAP/jenkins-l... | 1 | 1 | 1 | [{"id": "G0", "claim": "Tests are required for the new createGoBuildArtifactsMetadata functionality added by this pull request.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__jenkins-library__5435 | SAP/jenkins-library | 5,435 | defect | eedfeccc88a91bc3df229b4ec727291863aa8a9c | f8d1a469227ae930d74af85845c52744214c91d8 | feat: creating kaniko build artifact metadata | # Description
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/kanikoExecute.go b/cmd/kanikoExecute.go
index 3eaf4c9180..1b0ec8e22d 100644
--- a/cmd/kanikoExecute.go
+++ b/cmd/kanikoExecute.go
@@ -1,13 +1,16 @@
package cmd
import (
+ "encoding/json"
"fmt"
+ "path/filepath"
"slices"
"strings"
"github.com/mitchellh/mapstructure"
"github.com/pkg/error... | 5 | 4 | 1 | [{"id": "G0", "claim": "The two consecutive guard blocks in createDockerBuildArtifactMetadata (err from filepath.Glob and len(files) == 0) should be combined into a single block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks t... | null |
SAP__jenkins-library__5448 | SAP/jenkins-library | 5,448 | defect | b05b4d4717aac649a8173b28fcf56c485bfd3bd5 | 9e64ff77306628911a96157a19950880f763f4c6 | chore(logging): clean/refactor up unnecessary warnings | # Description
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/awsS3Upload.go b/cmd/awsS3Upload.go
index 679d2070a3..3644f8d3b0 100644
--- a/cmd/awsS3Upload.go
+++ b/cmd/awsS3Upload.go
@@ -3,11 +3,13 @@ package cmd
import (
"context"
"encoding/json"
+ "fmt"
"os"
"path/filepath"
"github.com/SAP/jenkins-library/pkg/log"
"github.com/SAP/jenkins-library... | 3 | 2 | 0 | [{"id": "G0", "claim": "In cmd/awsS3Upload.go the error returns added by the PR should use fmt.Errorf instead of errors.Wrapf for consistency with the rest of the change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log call for a failed p... | null |
SAP__jenkins-library__5459 | SAP/jenkins-library | 5,459 | defect | 81de44855091e6ebea3bed504e2e86e00a7a5ef6 | b2162ab8cab1830f87db00aa616d4c4a062e855c | fix(sonar): Fix null value for errors entry in sonarscan report | The categories has been initialized to refer an empty list.
# Description
In case of no issues detected at static code check the
sonarscan report should contains empty list for Errors entry
instead of null value.
# Checklist
- [ ] Tests
| diff --git a/cmd/sonarExecuteScan.go b/cmd/sonarExecuteScan.go
index 307f4e09be9..1eaedbb9f03 100644
--- a/cmd/sonarExecuteScan.go
+++ b/cmd/sonarExecuteScan.go
@@ -252,7 +252,7 @@ func runSonar(config sonarExecuteScanOptions, client piperhttp.Downloader, runne
}
// fetch number of issues by severity
issueService... | 1 | 1 | 0 | [{"id": "G0", "claim": "The code comment misspells 'locad' and should read '// load sonarscan report file', as proposed in the suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
SAP__jenkins-library__5462 | SAP/jenkins-library | 5,462 | defect | 88d899fe18f252a7e056c0279ba7a38fab6f4928 | 91d12d702f51a430ac8a7a8eddbb248c270d8b10 | feat(codeqlExecuteScan): multi language support | # Description
Support for CodeQL multi language setup
# Checklist
- [x] Tests
- [x] Documentation | diff --git a/cmd/codeqlExecuteScan.go b/cmd/codeqlExecuteScan.go
index c292272410..198e2be842 100644
--- a/cmd/codeqlExecuteScan.go
+++ b/cmd/codeqlExecuteScan.go
@@ -8,6 +8,9 @@ import (
"path/filepath"
"strings"
+ "github.com/google/shlex"
+ "github.com/pkg/errors"
+
"github.com/SAP/jenkins-library/pkg/codeql... | 1 | 1 | 0 | [{"id": "G0", "claim": "getLanguageList should be called after the !isMultiLang check rather than unconditionally at the top of runDatabaseAnalyze, to avoid the unnecessary call in the single-language path.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__jenkins-library__5482 | SAP/jenkins-library | 5,482 | defect | 11e20cc37fb13b1a85177156cba2f7b6e3d0cca3 | dbd0cdc00607e1679cc1d734a6535be5cfe16c8f | refactor(python): create python package | # Description
This extracts parts of the python step to an own `python` package and adding dedicated tests.
additional changes:
- disable [pip warning](https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-root-user-action) with `--root-user-action=ignore`
- use `python` from virtualEnv and install therefore... | diff --git a/cmd/pythonBuild.go b/cmd/pythonBuild.go
index 7dfadb06e6..5a04ad097b 100644
--- a/cmd/pythonBuild.go
+++ b/cmd/pythonBuild.go
@@ -2,20 +2,19 @@ package cmd
import (
"fmt"
- "path/filepath"
"github.com/SAP/jenkins-library/pkg/buildsettings"
"github.com/SAP/jenkins-library/pkg/command"
"github.c... | 2 | 2 | 1 | [{"id": "G0", "claim": "Fix the typo in VirutalEnvironmentName, keeping the current misspelled parameter name as a deprecated alias so the change is non-breaking.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The virtual environment removal cou... | null |
SAP__jenkins-library__5492 | SAP/jenkins-library | 5,492 | defect | 6740963b68e903581f17caa168c605f170e42606 | 355acb941e1a128204fd0859cb42d4f792ed5d76 | feat(python): support toml file in versioning step | # Description
Handle version of `pyproject.toml` file.
Requires #5463
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/pythonBuild.go b/cmd/pythonBuild.go
index 871f15b2dc..b65dff4e78 100644
--- a/cmd/pythonBuild.go
+++ b/cmd/pythonBuild.go
@@ -2,6 +2,9 @@ package cmd
import (
"fmt"
+ "os"
+ "path/filepath"
+ "strings"
"github.com/SAP/jenkins-library/pkg/buildsettings"
"github.com/SAP/jenkins-library/pkg/com... | 6 | 5 | 1 | [{"id": "G0", "claim": "The hasMatch helper is just a wrapper around evaluateResult and could probably be inlined with regexp.MatchString.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Parsing pyproject.toml with regular expressions is fragile;... | null |
SAP__jenkins-library__5496 | SAP/jenkins-library | 5,496 | defect | 916a26be3de27b94a14e8c1d786f908eb684dc15 | bc02283ab8b9b47470ed2073a7d710b6993807dc | feat: update TLS verify flag in kubernetesDeploy | # Description
Added the option to have custom --insecure-skip-tls-verify flag and added a new flag for CA certificates.
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/kubernetesDeploy.go b/cmd/kubernetesDeploy.go
index 23caf9b561e..4520a695cbe 100644
--- a/cmd/kubernetesDeploy.go
+++ b/cmd/kubernetesDeploy.go
@@ -263,10 +263,16 @@ func runKubectlDeploy(config kubernetesDeployOptions, utils kubernetes.DeployUti
}
kubeParams := []string{
- "--insecure-skip-tls-... | 4 | 3 | 2 | [{"id": "G0", "claim": "When both skip-TLS and a CA certificate are set the code should either warn the user or use the CA certificate and not skip TLS verification, instead of silently combining the two flags.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
SAP__jenkins-library__5544 | SAP/jenkins-library | 5,544 | defect | 7674ab621325731136cdabe89d0ebab34a4e6c8a | dc940097d4438b7cef60031ec87375a167b5db4d | fix(python): make step compatible with Python 3.12+ by adding setuptools explicitly | # Description
Added setuptools explicit download
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/pkg/python/env.go b/pkg/python/env.go
index 643e54c4171..adc6d705dc6 100644
--- a/pkg/python/env.go
+++ b/pkg/python/env.go
@@ -32,5 +32,10 @@ func CreateVirtualEnvironment(
if err := executeFn("bash", "-c", fmt.Sprintf("source %s", filepath.Join(virtualEnv, "bin", "activate"))); err != nil {
return e... | 1 | 1 | 0 | [{"id": "G0", "claim": "The added install of pip, build, wheel and setuptools duplicates installs that happen again later in the toml build; the existing helper functions for installing wheel and build should be reused, or the installs unified.", "category": "maintainability", "verdict": "supported", "priority": "P2", ... | null |
SAP__jenkins-library__5556 | SAP/jenkins-library | 5,556 | defect | 7c2a418d34f843cdbb5fab8f83cc9fcb59427efa | ff4a9efedc0fa6ab9cab2e19193f9b0ec7d3d1b2 | introduce detect11 as default, deprecate detect9 | # Description
# Checklist
- [x] Tests
- [x] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/detectExecuteScan.go b/cmd/detectExecuteScan.go
index 35d02d7e9f..a46204b376 100644
--- a/cmd/detectExecuteScan.go
+++ b/cmd/detectExecuteScan.go
@@ -448,13 +448,17 @@ func getDetectScript(config detectExecuteScanOptions, utils detectUtils) error {
log.Entry().Infof("Downloading Detect Script")
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "Please remove the detect8 references (the useDetect8 option and its deprecation-warning branch), as Detect 8 is no longer supported.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
SAP__jenkins-library__5564 | SAP/jenkins-library | 5,564 | defect | a06d9ce2d4ae4dcdad004fd82e12951ed1c92414 | 2d55ee7765b16eb164e57b878653dec02777ce0c | chore(telemetry): report version | # Description
~~This changes the way the version is determined to a go-native way.~~
This exposes the binary, orchestrator task and pipeline template version to the telemetry system.
- ~~use [`debug.ReadBuildInfo`](https://pkg.go.dev/runtime/debug#ReadBuildInfo) to determine the exact binary version~~
- expos... | diff --git a/cmd/version.go b/cmd/version.go
index f42e9ef3c3..2988c932c5 100644
--- a/cmd/version.go
+++ b/cmd/version.go
@@ -4,13 +4,17 @@ import (
"fmt"
"os"
- "github.com/SAP/jenkins-library/pkg/log"
"github.com/spf13/cobra"
+
+ "github.com/SAP/jenkins-library/pkg/log"
+ "github.com/SAP/jenkins-library/pkg/... | 2 | 2 | 2 | [{"id": "G0", "claim": "The pull request's change ships without updated unit tests: the author states the unit tests were not yet updated and were expected to fail, and the reviewer asked that unit tests be added before the PR can be merged.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "i... | null |
SAP__jenkins-library__5565 | SAP/jenkins-library | 5,565 | defect | db0e8e015094002d3032b6003fa05f14920736f0 | ff1a293d8fe43d118578a8a58ce364aa33df1b5c | feat: Artifact prepare version exclusion flag | # Description
Added a new file exclusion flag for artifactPrepareVersion step
Test pipes:
https://github.tools.sap/piper-test/piper-sample-npm/actions/runs/22066233
https://github.tools.sap/piper-test/piper-sample-npm/actions/runs/22063954
https://github.tools.sap/piper-test/piper-sample-npm/actions/runs/2206332... | diff --git a/cmd/artifactPrepareVersion.go b/cmd/artifactPrepareVersion.go
index 566ce11eea..7f9c9c932d 100644
--- a/cmd/artifactPrepareVersion.go
+++ b/cmd/artifactPrepareVersion.go
@@ -6,6 +6,7 @@ import (
"io"
netHttp "net/http"
"os"
+ "path/filepath"
"strings"
"text/template"
"time"
@@ -44,6 +45,8 @@ ty... | 1 | 1 | 1 | [{"id": "G0", "claim": "shouldExclude discards the error returned by filepath.Match with '_', so an invalid exclusion pattern silently never matches; it should log a warning for the invalid pattern and only return true on a successful match.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"... | null |
SAP__jenkins-library__5576 | SAP/jenkins-library | 5,576 | defect | ceb05835af23f0afcf6ef980d326fbad437073f2 | 898424e4c96defca3d744089372ad2961024564c | Fix: shellExecute script download fails with query parameters in URL | # Description
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/shellExecute.go b/cmd/shellExecute.go
index 56d230792b..860755752f 100644
--- a/cmd/shellExecute.go
+++ b/cmd/shellExecute.go
@@ -54,16 +54,17 @@ func runShellExecute(config *shellExecuteOptions, telemetryData *telemetry.Custo
// check input data
// example for script: sources: ["./script.sh"]
fo... | 3 | 3 | 0 | [{"id": "G0", "claim": "The `sanitizedSource` variable added in the script-source loop of runShellExecute seems redundant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "SanitizePath should be placed in `pkg/piperutils/strings.go` rather than in... | null |
SAP__jenkins-library__5600 | SAP/jenkins-library | 5,600 | defect | f7d9349923ba1b1bc6473146b1fe0a1387faae51 | bc8bf2600b936a726d311c08838f355a57513485 | chore: Rework of Vault logging. Removing duplicate logs on retries | # Description
We get these unclear logs
```
[2025-12-12T10:26:40.379Z] debug golangBuild - Vault response: 200 OK 200 <nil>
[2025-12-12T10:26:40.379Z] debug golangBuild - Vault response: 200 OK 200 <nil>
```
or
```
[2025-12-12T10:26:40.380Z] debug golangBuild - Vault response: 200 OK 200 <nil>
[2025-12-... | diff --git a/pkg/vault/client.go b/pkg/vault/client.go
index 9aa3b97ef1..af100f93b1 100644
--- a/pkg/vault/client.go
+++ b/pkg/vault/client.go
@@ -3,14 +3,15 @@ package vault
import (
"context"
"fmt"
- "github.com/SAP/jenkins-library/pkg/log"
- vaultAPI "github.com/hashicorp/vault/api"
- "github.com/hashicorp/vaul... | 4 | 4 | 0 | [{"id": "G0", "claim": "In pkg/vault/vault_test.go the SAP dependency (the vault mocks import) should be separated from the third-party imports by a blank line, per the usual convention.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In pkg/vaul... | null |
SAP__jenkins-library__5609 | SAP/jenkins-library | 5,609 | defect | e042b984eb96fd4644a15c4d3a37ad30ddee5c43 | db3eef50b989c436fd8ce65bbc0753d3b40c1585 | fix: filter out GHA jobs and truncate response body on http wrappers | This PR addresses two issues:
1) Excessively Large Log Outputs:
Previously, some steps (such as the sapReportPipeline step) would download and print entire stage logs, resulting in overly long response bodies that flood the logs. This PR limits the amount of log data output to prevent this.
2) Unrelated Jobs I... | diff --git a/pkg/http/http.go b/pkg/http/http.go
index 07e79f14cc..4f128b1e11 100644
--- a/pkg/http/http.go
+++ b/pkg/http/http.go
@@ -464,13 +464,18 @@ func transformCookies(cookies []*http.Cookie) string {
return result
}
+const maxLogBodyLength = 2 * 1024
+
func transformBody(body io.Reader) string {
if body... | 1 | 1 | 0 | [{"id": "G0", "claim": "filterJobs should be rewritten in a more modern style using slices.Clone and slices.DeleteFunc instead of a manual loop, importing \"slices\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__jenkins-library__5615 | SAP/jenkins-library | 5,615 | defect | 7081e812259b44b7e12b49a235b0a87608c61740 | 98e4e7ac95d3d57a5d74d758ab50c8e886f4a793 | feat(npm): make publish tag configurable | # Description
Addition to https://github.com/SAP/jenkins-library/pull/5554 where `npm publish` command automatically adds `--tag prerelease` if the version being publish is a semver prerelease. This PR makes publish tag configurable.
| diff --git a/cmd/npmExecuteScripts.go b/cmd/npmExecuteScripts.go
index 5db8034fe9..842a9c6e2c 100644
--- a/cmd/npmExecuteScripts.go
+++ b/cmd/npmExecuteScripts.go
@@ -95,7 +95,7 @@ func runNpmExecuteScripts(npmExecutor npm.Executor, config *npmExecuteScriptsOpt
if config.Publish {
if len(config.BuildDescriptorLi... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR removed TestIsPrerelease from pkg/npm/publish_test.go even though isPrerelease is still used, and the test case should be restored.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SAP__jenkins-library__5616 | SAP/jenkins-library | 5,616 | defect | ff07bd1c46541ae0041514886fc6fd164b805eee | 55d79ae8711da54925b9666451ac442317f9a1a8 | fix: Introduces FileSize check for io.Copy in fileUtils.go | # Description
Due to security concerns, filesize check need to be introduced for io.copy
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/pkg/docker/docker.go b/pkg/docker/docker.go
index 4de096186d..ac8f257289 100644
--- a/pkg/docker/docker.go
+++ b/pkg/docker/docker.go
@@ -133,7 +133,7 @@ func CreateDockerConfigJSON(registryURL, username, password, targetPath, configP
return "", fmt.Errorf("failed to marshal Docker config.json: %w", err... | 6 | 5 | 4 | [{"id": "G0", "claim": "Questions why one more copy function is needed, asking that the copy logic be handled by the existing function itself instead of adding another one.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In Copy, the error from os.Create(ds... | null |
SAP__jenkins-library__5631 | SAP/jenkins-library | 5,631 | defect | 3decb3235d60ad70c6b4a412e7c6ec09f46b0743 | 9b629012cc159125c044a5a1ed09e3ee9bdda7ed | fix(ci): update GitHub owner in integration tests and adjust expected res… |
# Description
Update GitHub owner in integration tests and adjust expected results so integration tests pass against the new owner.
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/integration/integration_github_test.go b/integration/integration_github_test.go
index a4f22c98cc..5036a04335 100644
--- a/integration/integration_github_test.go
+++ b/integration/integration_github_test.go
@@ -27,7 +27,7 @@ func TestGitHubIntegrationPiperPublishRelease(t *testing.T) {
}
owner := os.Get... | 1 | 1 | 0 | [{"id": "G0", "claim": "The integration tests should not be tied to a personal user's repository; some other, non-personal repository should be used as the default owner instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SAP__jenkins-library__5639 | SAP/jenkins-library | 5,639 | defect | 791ceec3d57cd849747e8c760a53c408a9e6dbd6 | 98d7103a9b7030e01b4ff24f7bb47c9565961035 | feat: update system trust to support scope | # Description
The Trust team introduced a second parameter, scope, to retrieve the system token. They also changed the request from a GET with query parameters to a POST request when the system and scope must be defined.
This PR addresses these changes so that systems already using system trust can continue to us... | diff --git a/pkg/config/systemtrust_test.go b/pkg/config/systemtrust_test.go
index cd74b560fa..fc83580f53 100644
--- a/pkg/config/systemtrust_test.go
+++ b/pkg/config/systemtrust_test.go
@@ -4,14 +4,16 @@
package config
import (
+ "bytes"
+ "encoding/json"
"fmt"
+ "io"
"net/http"
"testing"
piperhttp "gith... | 3 | 3 | 2 | [{"id": "G0", "claim": "Since a default scope is now always applied, scope is effectively mandatory, so the json tag should not mark it optional with omitempty.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The error returned when marshalling the token ... | null |
SAP__jenkins-library__5652 | SAP/jenkins-library | 5,652 | defect | 63a6c8b75efd66142d652452a8e543fe5d27e642 | 23373242bfa934ef8524280db4e41c3f5ae3703c | fix: bug in go mod version reading | # Description
Before removing deprecated errors package, the error returned here was silently swallowed
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/pkg/versioning/gomodfile.go b/pkg/versioning/gomodfile.go
index 63ce226cc5..3776ab2680 100644
--- a/pkg/versioning/gomodfile.go
+++ b/pkg/versioning/gomodfile.go
@@ -1,14 +1,13 @@
package versioning
import (
+ "errors"
"fmt"
"os"
"strings"
"golang.org/x/mod/modfile"
"golang.org/x/mod/module... | 1 | 1 | 1 | [{"id": "G0", "claim": "The go.mod fallback path always returns an error even on success: because `err` is non-nil at that point, `parsed.Module.Mod.Version` being empty returns a wrapped non-nil `err` (and this shadowing risk also taints the error messages), so the reviewer asks that this be fixed.", "category": "corr... | null |
SAP__jenkins-library__5657 | SAP/jenkins-library | 5,657 | defect | 51bf11359ff4b034f64cca29193455943dd9b1f9 | 286fc21d6b99fe7b8ff8503df861332413f89946 | chore: add retry logic to docker crane | # Description
Add retry logic with exponential backoff to imagePushToRegistry to handle transient HTTP/2 stream errors during Docker image copy/push operations
# Checklist
- [ ] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/pkg/docker/crane.go b/pkg/docker/crane.go
index 5fcc563a1e..536c7f0f03 100644
--- a/pkg/docker/crane.go
+++ b/pkg/docker/crane.go
@@ -2,19 +2,152 @@ package docker
import (
"context"
+ "crypto/tls"
+ "net"
+ "net/http"
+ "strings"
+ "time"
"github.com/google/go-containerregistry/pkg/crane"
v1 "g... | 7 | 6 | 1 | [{"id": "G0", "claim": "Rewrite the chain of ifs in isRetryableError as a switch statement with multiple case expressions, as in the suggested code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the retryOperation parameter fn to somethi... | null |
SAP__jenkins-library__5668 | SAP/jenkins-library | 5,668 | defect | 978ecb6fccc5dad6f07b5018e8951d67f2f66437 | ca681a412fe280ad3ae83174d62b55400e4d9ae4 | Introduce --wait flag during cloudFoundryDeleteService step | # Description
Due to incompatible changes of the SAP BTP Cloud Foundry CLI, the '--wait' flag needs to be introduced as a default for deleting Cloud Foundry Services and Service Keys.
# Checklist
- [X] Tests
- [ ] Documentation
- [ ] Inner source library needs updating
| diff --git a/cmd/cloudFoundryDeleteService.go b/cmd/cloudFoundryDeleteService.go
index ec7be5629a1..36ff763c1ca 100644
--- a/cmd/cloudFoundryDeleteService.go
+++ b/cmd/cloudFoundryDeleteService.go
@@ -23,7 +23,7 @@ func cloudFoundryDeleteService(options cloudFoundryDeleteServiceOptions, telemet
Exec: &c,
}
- err... | 2 | 1 | 1 | [{"id": "G0", "claim": "Since the previous behaviour would correspond to cfAsync = true, the cfAsync parameter's default should be true rather than false.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The cfAsync parameter should not be exposed in ... | null |
SAP__jenkins-library__5684 | SAP/jenkins-library | 5,684 | defect | d78f641e567d0ce72c5dd94837ce0e0e31a8ceec | 921ecbc7f4d7082b275d059efe5c08acb6510634 | fix: warning if orchestrator is unknown | # Description
Changes the unknown orchestrator from an error to a warning as it's non blocking
## Behavioral Changes
| Call site | Before (with error) | After | Risk |
|-----------|-------------------|-------|------|
| `cmd/piper.go:initStageName` | StageName left as `""` | StageName set to `"n/a"` | Could aff... | diff --git a/cmd/artifactPrepareVersion.go b/cmd/artifactPrepareVersion.go
index dd2cb2b826..44509b22aa 100644
--- a/cmd/artifactPrepareVersion.go
+++ b/cmd/artifactPrepareVersion.go
@@ -68,7 +68,7 @@ type artifactPrepareVersionUtils interface {
FileRead(path string) ([]byte, error)
FileRemove(path string) error
... | 1 | 1 | 0 | [{"id": "G0", "claim": "In Telemetry.Initialize, the two statements `provider := orchestrator.GetOrchestratorConfigProvider(nil)` and `t.provider = provider` should be collapsed into the single suggestion `t.provider = orchestrator.GetOrchestratorConfigProvider(nil)`.", "category": "maintainability", "verdict": "suppor... | null |
SAP__jenkins-library__5688 | SAP/jenkins-library | 5,688 | defect | d0684757cf1fae87b4f7e5f30c34f2cd995b3486 | 9c31ac9e9a7458a5d6d4aaf48b17a3e04b40dc9d | cloudFoundryDeleteService Service Key deletion adaptations | # Description
Due to an incompatible change in the CF CLI v8, the command `cf service-keys` returns a string of Service Key names including information about the latest operation. Furthermore, Service Keys can be freely named by the user on the SAP BTP Cockpit which therefore does not allow for a meaningful String con... | diff --git a/cmd/cloudFoundryDeleteService.go b/cmd/cloudFoundryDeleteService.go
index 36ff763c1c..fa5c93530d 100644
--- a/cmd/cloudFoundryDeleteService.go
+++ b/cmd/cloudFoundryDeleteService.go
@@ -2,6 +2,7 @@ package cmd
import (
"bytes"
+ "encoding/json"
"fmt"
"strings"
@@ -70,33 +71,29 @@ func cloudFound... | 2 | 1 | 1 | [{"id": "G0", "claim": "Since service bindings are now always processed asynchronously, the step should always pass --wait and the CfAsync option should be deprecated.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The error returned by cloudFoundryFindSer... | null |
SAP__open-ux-tools__4419 | SAP/open-ux-tools | 4,419 | defect | 55334de5e246b7a8a9136de7e03a93f07847e2df | 878cac6602f0c91640958e8389d241e8b470e6f6 | fix(ADP): Change prompt's order, first appear applications then projectType if applicable. | #4391
* Change the order the application and project type prompts appear. First we display the application prompt, second the project type if certain conditions are met. The below flowchart illustrates the new workflow:
<img width="1980" height="2362" alt="Detect project type" src="https://github.com/user-attachm... | diff --git a/.changeset/tender-laws-taste.md b/.changeset/tender-laws-taste.md
new file mode 100644
index 00000000000..e22b8042c16
--- /dev/null
+++ b/.changeset/tender-laws-taste.md
@@ -0,0 +1,6 @@
+---
+'@sap-ux/generator-adp': patch
+'@sap-ux/adp-tooling': patch
+---
+
+fix(ADP): Change prompt's order, first appear ... | 3 | 3 | 0 | [{"id": "G0", "claim": "Restore the capitalised string 'Cloud Ready' for the projectTypeCloudReadyName translation that this PR lower-cased.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the capitalised string 'Classic' for the projectTypeOnPre... | null |
SAP__sap-btp-service-operator__338 | SAP/sap-btp-service-operator | 338 | defect | c1c65cd3328b00280eca2555abf236bd65712e7a | f61648533376a689e54d37deab439bef9c01d446 | Use instance.external_name in secret.instance_name | Use instance.external_name in secret.instance_name | diff --git a/api/common.go b/api/common.go
index b87046dc..32a780fe 100644
--- a/api/common.go
+++ b/api/common.go
@@ -18,6 +18,7 @@ const (
StaleBindingRotationOfLabel string = "services.cloud.sap.com/rotationOf"
ForceRotateAnnotation string = "services.cloud.sap.com/forceRotate"
PreventDel... | 4 | 4 | 1 | [{"id": "G0", "claim": "The nested `if useMetaName == \"true\"` should be collapsed into the annotation lookup condition (`ok && useMetaName == \"true\"`) for readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The helper `getInstanceNam... | null |
SAP__sap-btp-service-operator__81 | SAP/sap-btp-service-operator | 81 | defect | a2116ef5889cec0e8f0a5595ef778d3eb9a4f745 | 5943d8166ee7133ab7d9cce5bda108f5e48f5062 | enrich binding with instance info and tags | With this change an additional keys: tags, instance_name, instance_guid, label, plan will be added to the ServiceBinding secret.
some of the services require this info additionally to actual credentials.
#78 | diff --git a/api/v1alpha1/servicebinding_types.go b/api/v1alpha1/servicebinding_types.go
index acceac4d..28448cef 100644
--- a/api/v1alpha1/servicebinding_types.go
+++ b/api/v1alpha1/servicebinding_types.go
@@ -73,6 +73,10 @@ type ServiceBindingSpec struct {
// end-user. User-provided values for this field are not sa... | 1 | 1 | 0 | [{"id": "G0", "claim": "The added line `credentialsMap[\"label\"] = []byte(instance.Spec.ServiceOfferingName)` uses spaces instead of a tab and should be fixed to use a tab (go/tab indentation like the surrounding lines).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
SBoudrias__Inquirer.js__1593 | SBoudrias/Inquirer.js | 1,593 | defect | fb143e241c159a2f31b7f8a65ef0c63ed77a9571 | 340f6132ecb23d7f9bd8a3c92fe8ea7cc758054f | Expose `external-editor` file options on the editor prompt | Using the editor plugin in macos raise an error due the directory path was not found, this PR will allow more flexibility to change the temporary file for the editor, by leveraging the `external-editor` options
- Updated editor prompt configuration to accept `file` options (`IFileOptions`) instead of only `postfix`,... | diff --git a/packages/editor/editor.test.ts b/packages/editor/editor.test.ts
index d26ace2d33..009f95fe14 100644
--- a/packages/editor/editor.test.ts
+++ b/packages/editor/editor.test.ts
@@ -24,6 +24,7 @@ describe('editor prompt', () => {
it('open editor after pressing enter', async () => {
const { answer, even... | 2 | 2 | 1 | [{"id": "G0", "claim": "Removing the top-level `postfix` option is a breaking change that risks leaving a fair amount of the community behind; maintain backward compatibility for it, e.g. by defaulting `file.postfix` to `config.postfix ?? '.txt'` as suggested.", "category": "design", "verdict": "supported", "priority":... | null |
SBoudrias__Inquirer.js__1844 | SBoudrias/Inquirer.js | 1,844 | defect | f4579f4575e06bd8712b4a9bec7e08a4921fa633 | 1713e40be1be35930add78d6182e409918705806 | feat: show checkedName for selected checkbox options | This PR updates the checkbox prompt to display the `checkedName` property for selected options,
falling back to `name` if `checkedName` is not provided. It includes:
- Updated `normalizeChoices` to handle `checkedName`.
- Updated `renderItem` logic to display `checkedName` when an item is checked.
- Test case ad... | diff --git a/packages/checkbox/checkbox.test.ts b/packages/checkbox/checkbox.test.ts
index 7413690f34..46f98c0dd6 100644
--- a/packages/checkbox/checkbox.test.ts
+++ b/packages/checkbox/checkbox.test.ts
@@ -1279,5 +1279,53 @@ describe('checkbox prompt', () => {
events.keypress('enter');
await expect(answe... | 2 | 2 | 1 | [{"id": "G0", "claim": "The normalization should default checkedName to name (checkedName: choice.checkedName ?? name) so the key is always defined in the normalized type, reducing conditionals elsewhere.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
SBoudrias__Inquirer.js__1862 | SBoudrias/Inquirer.js | 1,862 | defect | 5b24ea7e3478a46ef30cda688d944953773153a2 | f068115c481c6307c8e60904ea83ef25172e270a | feat(input): add pattern-based validation and error handling for input prompt | 1. Introduced `pattern` and `patternError` options in InputConfig
2. Added real-time pattern validation on keypress and submit
3. Updated demo and tests to cover pattern validation flow | diff --git a/README.md b/README.md
index 6df2351064..8db2ad561b 120000
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-packages/prompts/README.md
\ No newline at end of file
+packages/prompts/README.md
diff --git a/packages/input/input.test.ts b/packages/input/input.test.ts
index c4289113d4..9555202e3c 100644
--- a/packag... | 5 | 5 | 1 | [{"id": "G0", "claim": "The PR touches README.md only to add a trailing newline (inserted by the linter), an unexplained change unrelated to the feature, and the reviewer asks what changed there.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It... | null |
SCADA-LTS__Scada-LTS__2094 | SCADA-LTS/Scada-LTS | 2,094 | defect | 13dee5be88a0f60a001f1b234fa0b2b598379884 | c43b58ec784dac34247aab49ed8e12017ca1b987 | #2093 Added an endpoint returning the hierarchy of datapoints - added… | …: PointHierarchyUtils with Hierarchy Points based on permissions; added junit test: GetPointHierarchyRootTest; convert to Spring beans: DataPointDAO, HierarchyDAO, PointHierarchyXidDAO, PointHierarchyDAO, PointHierarchyService, PointHierarchyXidService; use Spring Container in: DataPointService, PointHierarchyAPI, Poi... | diff --git a/WebContent/WEB-INF/applicationContext.xml b/WebContent/WEB-INF/applicationContext.xml
index 5cea3b5125..4526c8d857 100644
--- a/WebContent/WEB-INF/applicationContext.xml
+++ b/WebContent/WEB-INF/applicationContext.xml
@@ -177,4 +177,23 @@
<bean id="sessionRepository" class="org.springframework.session... | 1 | 1 | 0 | [{"id": "G0", "claim": "The local recursion-limit variable (safe = 10) in PointHierarchyUtils should be moved up to a class constant property, or alternatively to environment variables (properties.env), instead of staying a local magic number.", "category": "maintainability", "verdict": "supported", "priority": "P2", "... | null |
SCADA-LTS__Scada-LTS__2984 | SCADA-LTS/Scada-LTS | 2,984 | defect | 43ac2487830c3930b5142f68613c1ed50ee3d2a5 | cbe952ed654e4e72c23f58df288c0c8fa33b6f68 | #2983 Prevent XSS for URLs | Added:
- XssFilter, XSSUtils for checkign if URL has an illegal character
- Changed paths in pointHierarchySLTS.jsp
- bean in spring-utils as well as strictHttpFirewall | diff --git a/WebContent/WEB-INF/jsp/pointHierarchySLTS.jsp b/WebContent/WEB-INF/jsp/pointHierarchySLTS.jsp
index 5070db6808..626b293769 100644
--- a/WebContent/WEB-INF/jsp/pointHierarchySLTS.jsp
+++ b/WebContent/WEB-INF/jsp/pointHierarchySLTS.jsp
@@ -601,7 +601,7 @@ var messages = {
$.ajax({
type: "G... | 3 | 3 | 0 | [{"id": "G0", "claim": "The XssUtils utility class should be made final with a private no-args constructor so it is highlighted in the IDE, instead of the current approach that only fails at runtime through a throwing constructor.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},... | null |
SCOREC__core__163 | SCOREC/core | 163 | defect | 06f2b772d525db91bc7b71d69ffb1acca210355f | 2f8ea165d7da79f0f8fd9435652bcd07212ae138 | implement FieldData::clone() | this adds an implementation to clone field data which is needed for
apf::convert to copy fields. closes #162 | diff --git a/apf/apfArrayData.cc b/apf/apfArrayData.cc
index 289afaa28..138ba5a01 100644
--- a/apf/apfArrayData.cc
+++ b/apf/apfArrayData.cc
@@ -1,135 +1,133 @@
#include "apfArrayData.h"
#include "apfNumbering.h"
#include "apfTagData.h"
-
namespace apf {
-
-template <class T>
-class ArrayDataOf : public FieldDataOf... | 5 | 5 | 2 | [{"id": "G0", "claim": "FieldData::clone() hard-codes creation of a TagDataOf<double>, so copied fields are always double mesh-tag fields; clone() should be virtual and templated so the created type depends on the subclass.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
SCOREC__core__191 | SCOREC/core | 191 | defect | 064e132738c0a8cd426ef96c0c409fb0a6d2b0d3 | 9ac08bef7980b6ea942ef71b223c5ca33719b1b5 | integrate over non-mesh dimension | closes #190 | diff --git a/apf/apf.h b/apf/apf.h
index e6aaeba66..1d1718386 100644
--- a/apf/apf.h
+++ b/apf/apf.h
@@ -411,8 +411,13 @@ class Integrator
/** \brief Construct an Integrator given an order of accuracy. */
Integrator(int o);
virtual ~Integrator();
- /** \brief Run the Integrator over the local Mesh. */... | 3 | 2 | 0 | [{"id": "G0", "claim": "A basic automated test case should be added to cover the integrator's existing functionality and the new non-mesh-dimension functionality, e.g. a counting integrator over a mesh with a known number of entities.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_exis... | null |
SCOREC__core__274 | SCOREC/core | 274 | defect | f4a049447bc0b1a871d36d5930c4354f95225fa5 | cc3a58a787aea68f87fd34c03d8e1d20874106da | Partial solution for issue #272 | This commit shows at a high level how the memory leak should be expected
to be fixed. It however causes a segfault for some test cases
(verify_convert, and mixedNumbering).
The segfault seems to come from mds trying to delete the same tags
multiple times. | diff --git a/apf/apf.cc b/apf/apf.cc
index c7b60a1a2..ceefdf53f 100644
--- a/apf/apf.cc
+++ b/apf/apf.cc
@@ -19,6 +19,7 @@
#include "apfUserData.h"
#include "apfVtk.h"
#include "apfNumberingClass.h"
+#include "apfNumbering.h"
#include <cstdio>
#include <cstdlib>
#include <pcu_util.h>
@@ -28,6 +29,11 @@ namespace ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The FIXME comment claiming a use-after-free in NumberingOf::init is incorrect because the string assignment operator copies the const char* contents, so the comment should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
SCOREC__core__325 | SCOREC/core | 325 | defect | 8072fdbafd53e0c9a63248a269f4cce5000a4a8e | 6305c61830f99efd9f76678abc0fccadea906617 | High-order Nodal Fields and Solution Transfer | This pull request achieves the following
- adds higher order nodal (hierarchic) fields similar to the implementation of MFEM
- adds a regression test for such fields
- updates the solution transfer codes so that these higher order fields are also transferred during adapt
- adds a regression test for higher order... | diff --git a/apf/CMakeLists.txt b/apf/CMakeLists.txt
index 47b943f46..fc5aaf347 100644
--- a/apf/CMakeLists.txt
+++ b/apf/CMakeLists.txt
@@ -28,6 +28,7 @@ set(SOURCES
apfPolyBasis1D.cc
apfNedelec.cc
apfL2Shapes.cc
+ apfH1Shapes.cc
apfVector.cc
apfVectorElement.cc
apfVectorField.cc
diff --git a/apf/ap... | 8 | 8 | 0 | [{"id": "G0", "claim": "There is a stray tab in the indentation of computeTetTi in apf/apfH1Shapes.cc (at the loop-closing brace) that should be replaced with spaces.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The '#include <iostream>' and '... | null |
SCOREC__core__342 | SCOREC/core | 342 | defect | 4dd330e960b1921ae0d8d4039b8de8680a20d993 | 2b541add6242dbe38e5a433486f8dabadbc29197 | Options for mesh adapt | This pull request includes a couple of logic for setting mesh adapt options. In particular,
1. logic to compute `in->maximumIterations` based on the requested size field and current mesh size.
2. logic to invoke Pre, Post, or Mid balancer if the mesh imbalance becomes larger than `in->maximumImbalance` during mesh ... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index ade7eb39f..86359c804 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,6 +120,10 @@ if(ENABLE_OMEGA_H)
bob_public_dep(Omega_h)
endif()
+if(ENABLE_ZOLTAN)
+ add_definitions(-DHAVE_ZOLTAN)
+endif()
+
# Include the SCOREC project packages
add_subdirectory(... | 3 | 3 | 1 | [{"id": "G0", "claim": "The newly added validation that rejects more than one of the pre-balance flags being true conflicts with existing tests such as refine2x.cc, which appears to set both shouldRunPreZoltanRib and shouldRunPreParma; the author asks why both options are turned on there.", "category": "correctness", "... | null |
SCOREC__core__344 | SCOREC/core | 344 | defect | 3fc901e3717cbf80395aa423168385aba70cd17b | 20fa0ba1584b566101ee84e25ae80c07048a76f6 | Hiding Adapt Options From the Users | This is achieved by making the return value of `configure` APIs const. This way normal users cannot change the options after the call to `configure`. Advanced users can get a modifiable `Input` pointer by calling `ma::makeAdvanced()` API and then modify the options manually, if they choose to. All the `adapt` APIs will... | diff --git a/crv/crvAdapt.cc b/crv/crvAdapt.cc
index 3b6baec15..7e33c9729 100644
--- a/crv/crvAdapt.cc
+++ b/crv/crvAdapt.cc
@@ -154,7 +154,7 @@ ma::Input* configureShapeCorrection(
ma::Mesh* m, ma::SizeField* f,
ma::SolutionTransfer* s)
{
- ma::Input* in = ma::configureIdentity(m,f,s);
+ ma::Input* in = m... | 6 | 4 | 2 | [{"id": "G0", "claim": "The C-style casts to (const Input*) on the return statements of the configure functions in ma/maInput.cc are unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "makeAdvanced's const_cast caus... | null |
SCOREC__core__375 | SCOREC/core | 375 | defect | 9992fd4f04d6c2ea08a10b91969331805adac2ac | a15f1318e1f915142b311c48f6bc35d2c709d54f | PR for extrusion tags only | ## Extrusion Tags
Enable convert to discover the "father node" for all nodes that are extruded from one or more model faces with Simmetrix mesher. PHASTA uses this for span wise averaging.
Current interface is one more integer on the command line for the number of model faces and then a flat text files with the... | diff --git a/apf_sim/apfSIM.cc b/apf_sim/apfSIM.cc
index a5b14a0d3..8132edfe7 100644
--- a/apf_sim/apfSIM.cc
+++ b/apf_sim/apfSIM.cc
@@ -542,6 +542,19 @@ class TagSIM
comm = AttachDataCommu_new(unitSize/sizeof(int),0,count);
PM_setMigrId(mesh,id);
}
+ TagSIM(pParMesh m,
+ pMeshDataId sim... | 1 | 1 | 1 | [{"id": "G0", "claim": "The removal of the code creating the 'fathers2D' tag should be confirmed as OK, since the other convert tests don't have the 'fathers2d' tag (i.e., restore the tag creation unless dropping it is safe).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SCOREC__core__412 | SCOREC/core | 412 | defect | 50567e5e201c60c67fc49960e0b6546273086b3b | 388c71d1c4d757e2834ccb206512fd054be404a0 | Increased platform support for PCU | ## Increased platform support for PCU
Add CMake check for mallctl and use it in PCU_GetMem if available (for BSD).
Add private PCU link to libexecinfo on BSD.
Enable pcu/reel/reel.c functions on BSD.
Make PUMI_HAS_MALLINFO, PUMI_HAS_MALLINFO2, PUMI_HAS_MALLCTL private compiler definitions for pcu.
Fixes #409 | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59d8fa390..e1536e115 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,11 +193,21 @@ scorec_export_library(core)
#check for mallinfo2
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
include(CheckCXXSymbolExists)
+ c... | 5 | 4 | 0 | [{"id": "G0", "claim": "The PUMI_HAS_MALLINFO/MALLINFO2/MALLCTL detection block should be moved from the top-level CMakeLists.txt into pcu/CMakeLists.txt, and the core INTERFACE compile definitions are unnecessary because the definitions are only needed by private pcu code.", "category": "design", "verdict": "supported... | null |
SCOREC__core__436 | SCOREC/core | 436 | defect | 2caab7a43ad9552b0241cdbd3ed66b83626eb6c9 | 73018b6ffcd8c118f07491d91f06bf082ba75a85 | Use snprintf in tests | - I missed some sprintf calls before. I don't see any others (find + grep).
- These deprecation errors come up with LLVM so others might not notice. | diff --git a/parma/diffMC/maximalIndependentSet/test/testMIS.cc b/parma/diffMC/maximalIndependentSet/test/testMIS.cc
index a96c98d82..f4b7bb481 100644
--- a/parma/diffMC/maximalIndependentSet/test/testMIS.cc
+++ b/parma/diffMC/maximalIndependentSet/test/testMIS.cc
@@ -319,10 +319,10 @@ int test_2dStencil(const int rank... | 1 | 1 | 1 | [{"id": "G0", "claim": "In test/viz.cc the snprintf size argument (256) does not match the size of the output buffer it writes into (char output[128]); the reviewer asks whether it should be 128.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
SCOREC__core__499 | SCOREC/core | 499 | defect | 0250bc3b3dc5981bfea394beabd99f5635a18733 | 055487d39195aa4c3f9d481e20be75df62b05a49 | Fix balancing empty parts with metis | ## Fix balancing empty parts with metis
- added test mbalanceEmpty.cc to confirm that balancing with empty parts works.
- metis/apfMETISbalancer.cc: fixed helper function preconditions.
- (MetisBalancer::balance): allow balancing with one part (no work to do anyway).
- test/testing.cmake: update msplit dependency... | diff --git a/metis/apfMETISbalancer.cc b/metis/apfMETISbalancer.cc
index f86756968..a310716c2 100644
--- a/metis/apfMETISbalancer.cc
+++ b/metis/apfMETISbalancer.cc
@@ -33,9 +33,9 @@ static void gatherGraph(
std::vector<idx_t>& xadj, std::vector<idx_t>& adjncy,
std::vector<int>& vtx_cts
) {
- PCU_ALWAYS_ASSERT(... | 2 | 2 | 1 | [{"id": "G0", "claim": "The test's usage message misstates the output argument as `<out.smd>`; it should read `<outMesh.smb>`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test case should include an assert/error message ensuring that `inPar... | null |
SELinuxProject__selint__247 | SELinuxProject/selint | 247 | defect | 39aa318d77ba404266f008bfdd38c7698c81abb2 | e2f8e2e0fcca11523421906d227b5d190b13dd2d | Add new check to warn about incorrect usage of audit_access permission | The audit_access permissions for the common file class has only an
affect in dontaudit rules (and to an extend in neverallow rules).
Warn about occurrences in allow and auditallow rules.
Refpolicy findings (due to usage in unconfined access):
kernel.te: 551: (W): Allow rule with audit_access permis... | diff --git a/README b/README
index 9e6dfab5..bfd5be5c 100644
--- a/README
+++ b/README
@@ -187,6 +187,7 @@ CHECK IDS
W-010: Call to unknown interface
W-011: Declaration in require block not defined in own module
W-012: Conditional expression contains unknown identifier
+ W-013: Incorrect usage of audit_access per... | 2 | 1 | 0 | [{"id": "G0", "claim": "For thoroughness, maybe also add a check trigger for another object class, such as dir, to the w13.te test policy.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Classifying the new check as a 'warning' rather than 'style' seems ... | null |
SELinuxProject__selint__83 | SELinuxProject/selint | 83 | defect | 07d71745a47488e51ae7e895a2eab761e46b95c7 | 7dbaddb92974b944b754a447a449dce15feefb44 | Add checks for unknown interface calls/declarations in require blocks | * Add check for unknown interface call
* Add check for declaration in require block not declared in own module | diff --git a/README b/README
index 5f1d4016..00f6e476 100644
--- a/README
+++ b/README
@@ -170,6 +170,7 @@ CHECK IDS
W-007: Unquoted space in argument of interface call
W-008: Allow rule with complement or wildcard permission
W-009: Module name does not match file name
+ W-010: Call to unknown interface
E-002... | 4 | 2 | 0 | [{"id": "G0", "claim": "The W-010 prefix-matching approach may warn on user-defined m4 macros it cannot distinguish from interface calls, misses typos in the module prefix, and the reviewer asked to consider the alternative design of only triggering on calls whose prefix matches a known module name.", "category": "desi... | null |
SELinuxProject__setools__15 | SELinuxProject/setools | 15 | defect | 36c6a4a721d77ff36243fdb7d4c43069558e1fc3 | 907fee1d5867b79ac8bd86c146ac0976c2374a3b | Add feature to select only the default tunable rules | This feature was added to support analysis of policy for systems that do not allow changing of booleans from their default state. | diff --git a/seinfoflow b/seinfoflow
index 3ec05ca9..ed4a7a17 100755
--- a/seinfoflow
+++ b/seinfoflow
@@ -53,6 +53,8 @@ opts.add_argument("-w", "--min_weight", default=3, type=int,
help="Minimum permission weight. Default is 3.")
opts.add_argument("-l", "--limit_flows", default=0, type=int,
... | 7 | 7 | 2 | [{"id": "G0", "claim": "The RuleNotConditional exception should be imported directly (e.g. `from .exception import RuleNotConditional`) instead of being referenced as `setools.exception.RuleNotConditional` in the except clause.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
SELinuxProject__setools__27 | SELinuxProject/setools | 27 | defect | 2557369f00c32b01e371f1e5271f741779d5334c | 0b19fae0e57ac5d2b96063efd606b96f6e6339f9 | Change how differences in AV rules are generated in sediff | The primary motivation for the change is to correctly handle redundant
rules. Recent changes in the SELinux toolchain added support for an
optimization that removes redundant rules from a policy. These are
conditional rules that are either already specified in unconditional
policy or rules using types that are also... | diff --git a/setools/diff/terules.py b/setools/diff/terules.py
index 1c4eec9a..98f60867 100644
--- a/setools/diff/terules.py
+++ b/setools/diff/terules.py
@@ -19,6 +19,7 @@
#
import logging
from collections import defaultdict, namedtuple
+from sys import intern
from ..exception import RuleNotConditional, RuleUseE... | 7 | 6 | 2 | [{"id": "G0", "claim": "The side_data tuple should be a named tuple or a new class so its fields are accessible by name (e.g. data.perms) instead of obtuse [0] and [1] indexing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The side_data creati... | null |
SFML__SFML__2466 | SFML/SFML | 2,466 | defect | 10584485a328cf8a441f329f6da37abafff4cad6 | 4186590eded6eca23bbf046d75ca4358260f938a | Add tests for `sf::String` | ## Description
These tests don't bother covering all edge or corner case behavior. Their intent is to test all the simple cases of `sf::String` and lay the groundwork for more sophisticated tests which may come later. I'm not experienced with wide strings or UTF-32 strings so I'm not even sure how to tackle testing ... | diff --git a/test/System/String.test.cpp b/test/System/String.test.cpp
index a6d3c01fde6..965145dbe3e 100644
--- a/test/System/String.test.cpp
+++ b/test/System/String.test.cpp
@@ -1,8 +1,370 @@
#include <SFML/System/String.hpp>
+#include <doctest/doctest.h>
+
+#include <GraphicsUtil.hpp>
+#include <array>
#include... | 7 | 5 | 2 | [{"id": "G0", "claim": "The new tests exercise only ASCII values; they should also use actual non-ASCII/wide/UTF-32 characters where applicable, including testing how characters that do not fit the target encoding are converted.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ... | null |
SFML__SFML__2480 | SFML/SFML | 2,480 | defect | ccda8a9db04ef616afac30cc3e27634bb425edf6 | 5be08aec9f5f64e8f8b1ea12cfdc672faf941782 | Implement `sf::String` in terms of `std::u32string` | ## Description
Closes #2470
This will make it easier to do things like use UTF-32 string literals since `sf::String` will have a constructor that perfectly matches that type. | diff --git a/include/SFML/System/String.hpp b/include/SFML/System/String.hpp
index d13341dde86..14e5b755f95 100644
--- a/include/SFML/System/String.hpp
+++ b/include/SFML/System/String.hpp
@@ -48,15 +48,15 @@ class SFML_SYSTEM_API String
////////////////////////////////////////////////////////////
// Types
... | 2 | 1 | 0 | [{"id": "G0", "claim": "sf::Packet has no operator>> overload for char32_t, so Packet.cpp has to read a std::uint32_t and cast it, and the reviewer asks whether such an overload exists or should be added.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
SFML__SFML__2741 | SFML/SFML | 2,741 | defect | 0fcd1dd0f10f26b671346ac46e05ae6bf3036777 | ff0babd4901b190f6efa94f8967c2f450561b775 | Bevel shape outline beyond threshold | ## Description
This changes `sf::Shape` outline computation by beveling outline around small angles.
This is to fix #2727.
I noticed and fixed another issue that was visible with my test program below. See the first commit.
Here are videos showing the behavior of the test program before and after this PR comm... | diff --git a/include/SFML/Graphics/Shape.hpp b/include/SFML/Graphics/Shape.hpp
index 9687f1fbc35..a4979f93ff5 100644
--- a/include/SFML/Graphics/Shape.hpp
+++ b/include/SFML/Graphics/Shape.hpp
@@ -127,6 +127,24 @@ class SFML_GRAPHICS_API Shape : public Drawable, public Transformable
///////////////////////////////... | 18 | 11 | 2 | [{"id": "G0", "claim": "The miter size should be exposed as a settable parameter (getter/setter API) rather than being a hardcoded constant.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The miter-limit behaviour should be opt-in rather than changing how d... | null |
SFML__SFML__2885 | SFML/SFML | 2,885 | defect | 30a986e63261eea3ae90e5d16b5b894f2f712403 | 5dcc08ece14e30f8c2f99ee0f57907e84d2ff811 | Define character traits for `std::uint8_t` | ## Description
Closes #2670
Character traits are only standardized for character types of which std::uint8_t is not. All major C++ implementations happen to define this specialization but because it is not standard C++ they are allowed to remove it as LLVM has done by deprecating this specialization in LLVM 18. ... | diff --git a/include/SFML/System/String.hpp b/include/SFML/System/String.hpp
index e22cfae2125..70df8f5f1d0 100644
--- a/include/SFML/System/String.hpp
+++ b/include/SFML/System/String.hpp
@@ -39,6 +39,39 @@
namespace sf
{
+////////////////////////////////////////////////////////////
+/// \brief Character traits fo... | 5 | 4 | 2 | [{"id": "G0", "claim": "The commit summary still says `std::char_traits` when it means something like a user-defined traits class and should be cleaned up.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "These small trait functions are perfect cand... | null |
SFML__SFML__2898 | SFML/SFML | 2,898 | defect | f3d5762a17687a23b2c1e50d18b8902364b751a4 | 8b496d2d660bc8aa4f129309aa032e3d76565454 | Turn `sf::Vertex` into an aggregate `struct` | As the title says. Figured it'd be faster to make the change and show you what it looks like rather than discuss whether it's worthwhile doing it.
IMHO, this is a good simplification that promotes the use of simple `struct`s and aggregate initialization instead of exposing several manually-crafted constructors that ... | diff --git a/examples/shader/Shader.cpp b/examples/shader/Shader.cpp
index eb81423490b..df3f24287e6 100644
--- a/examples/shader/Shader.cpp
+++ b/examples/shader/Shader.cpp
@@ -151,7 +151,7 @@ class StormBlink : public Effect
const auto r = static_cast<std::uint8_t>(colorDistribution(rng));
co... | 3 | 1 | 1 | [{"id": "G0", "claim": "The order of sf::Vertex's members should be reversed so the more common textured-vertex case (position, texCoords, no explicit color) reads naturally in the new aggregate.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The braces sh... | null |
SFML__SFML__2968 | SFML/SFML | 2,968 | defect | 59447dd8e50c9e354bc8730862b99bdfab2eaeb1 | 1aaf7d773472c313d7bc2b7f3a25907c53dcd418 | `Event::operator bool` | <!--
Thanks a lot for making a contribution to SFML! 🙂
Before you create the pull request, we ask you to check the follow boxes. (For small changes not everything needs to ticked, but the more the better!)
- [x] Has this change been discussed on [the forum](https://en.sfml-dev.org/forums/index.php#c3) or in a... | diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 49f871afbfa..69e9e25ab55 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -57,7 +57,7 @@ body:
while (window.isOpen())
{
- ... | 4 | 2 | 2 | [{"id": "G0", "claim": "The operator bool conversion should be declared explicit so that Event converts to bool only in conditionals like while, not in arbitrary implicit conversions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new Event popEvent(... | null |
SFML__SFML__3025 | SFML/SFML | 3,025 | defect | 504b850f03c71385eed293ff5106f58c31423973 | 56a4af1cb3e09e8dc4072b8a0431444e9c1241ae | Remove default empty state of `sf::Shader` | ## Description
Expanding on #3020, #3021, and #3022. | diff --git a/examples/island/Island.cpp b/examples/island/Island.cpp
index 0ce43c6f724..f8afb94231d 100644
--- a/examples/island/Island.cpp
+++ b/examples/island/Island.cpp
@@ -94,11 +94,11 @@ int main()
const auto font = sf::Font::loadFromFile("resources/tuffy.ttf").value();
// Create all of our graphics r... | 6 | 5 | 0 | [{"id": "G0", "claim": "The way examples/island/Island.cpp had to be changed is not clean, and the author hopes to find a cleaner solution even though the current one technically works.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "examples/isl... | null |
SFML__SFML__3032 | SFML/SFML | 3,032 | defect | 53ade4baf18d8880e6dec97abf4e6f9d8bd8f2b3 | e7c307580effd7b706341ffa015e4a9835ce650e | Remove default empty state of `sf::RenderTexture` | ## Description
Merging this first may simplify some things about #3027. | diff --git a/examples/shader/Shader.cpp b/examples/shader/Shader.cpp
index 1096d2ae73..151dc8d18e 100644
--- a/examples/shader/Shader.cpp
+++ b/examples/shader/Shader.cpp
@@ -182,9 +182,6 @@ class Edge : public Effect
bool onLoad() override
{
- // Create the off-screen surface
- if (!m_surface... | 1 | 1 | 0 | [{"id": "G0", "claim": "The doc comment of the private texture-taking constructor should not read \"Default constructor\"; it should be updated to say the constructor is from a texture.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
SFML__SFML__3067 | SFML/SFML | 3,067 | defect | 3f38738a08c727fa9725b67b2d3995b36d520b17 | 7c3280cc58550bd6f428f86e7cdb7dbf0e1787bb | Simplify `sf::Sprite` implementation and reduce branches | Few various improvements:
- Initialize data members on construction, rather than default-constructing them and then assigning
- Remove unnecessary branches during construction
- Define simpler constructor via delegation
- Merge `updatePositions` and `updateTexCoords` in the same function, as they're always called t... | diff --git a/include/SFML/Graphics/Sprite.hpp b/include/SFML/Graphics/Sprite.hpp
index 67cfdace76f..4cad6cd6ea3 100644
--- a/include/SFML/Graphics/Sprite.hpp
+++ b/include/SFML/Graphics/Sprite.hpp
@@ -108,7 +108,7 @@ class SFML_GRAPHICS_API Sprite : public Drawable, public Transformable
/// \brief Disallow setting... | 3 | 1 | 1 | [{"id": "G0", "claim": "Removing the default argument from the deleted `setTexture(Texture&&, bool)` overload means a call with an rvalue texture and no second argument no longer matches the deleted overload and will silently bind to `setTexture(const Texture&)` instead of producing the intended compile-time error.", "... | null |
SFML__SFML__3257 | SFML/SFML | 3,257 | defect | 71594d402e8fa297fbf5b964a2921e514e28e5eb | e99b35fed156c09b647e0a5f48c913fdd56a9da8 | Use explicit conversion operator instead of explicit constructor | I also added a type trait test to check whether the conversion operator is marked explicit. (via using std::is_convertible)
this change has the advantage of being clearer imo as it is a conversion operator for conersions not a constructor.
and also it allows users to take the address of convesion operator which ... | diff --git a/include/SFML/Graphics/Rect.hpp b/include/SFML/Graphics/Rect.hpp
index 0e8650804e6..d7033288932 100644
--- a/include/SFML/Graphics/Rect.hpp
+++ b/include/SFML/Graphics/Rect.hpp
@@ -64,18 +64,11 @@ class Rect
constexpr Rect(Vector2<T> position, Vector2<T> size);
//////////////////////////////////... | 3 | 2 | 1 | [{"id": "G0", "claim": "Rename the test sections from \"Conversion constructor\" to \"Conversion operator\" now that the conversion is an operator instead of a constructor.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change moves the operation to... | null |
SFML__SFML__3332 | SFML/SFML | 3,332 | defect | 51e38f51d43fb365c51b5645746901fb2049ab45 | e942f7ca3ee84eb26b2c4c13c59c62b61afec6fd | Use `char32_t` for UTF-32 characters | ## Description
Closes #3324
This is probably an oversight from https://github.com/SFML/SFML/pull/2480
| diff --git a/examples/keyboard/Keyboard.cpp b/examples/keyboard/Keyboard.cpp
index f9ed9f7c88..ae6fa641d3 100644
--- a/examples/keyboard/Keyboard.cpp
+++ b/examples/keyboard/Keyboard.cpp
@@ -730,7 +730,7 @@ sf::String keyEventDescription(sf::String text, const KeyEventType& keyEvent)
sf::String textEventDescription(co... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer is unsure whether the unchanged Glyph/Font implementation is correct now that the character type is char32_t, asking in particular whether char32_t is implicitly (and losslessly) convertible to FT_ULong, which is unsigned long.", "category": "correctness", "verdict": "supported", "p... | null |
SFML__SFML__3418 | SFML/SFML | 3,418 | defect | 52ef7c9955e30ca29ea8d80cb98fcffabd51e9ad | ea6df261fc035e3d28e2cf3ff0d4b24849a8fa97 | Revamp `sf::String` tests | ## Description
Related to #3406
I wrote the `sf::String` tests (see #2466) with no knowledge of how Unicode works, therefore the tests did a poor job actually testing all the Unicode-aware features of the class. I rewrote most of the tests to use Unicode codepoints more often. These new tests will do a much bett... | diff --git a/cmake/Macros.cmake b/cmake/Macros.cmake
index eed932f3f6d..dc3ca351a23 100644
--- a/cmake/Macros.cmake
+++ b/cmake/Macros.cmake
@@ -274,6 +274,10 @@ macro(sfml_add_library module)
target_compile_definitions(${target} PUBLIC "SFML_STATIC")
endif()
+ # Enable support for UTF-8 characters i... | 5 | 1 | 0 | [{"id": "G0", "claim": "The /utf-8 compile option is needed only for the tests, so it should not be added for the SFML libraries and examples too.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment added above the /utf-8 option should also tell why... | null |
SFML__SFML__3436 | SFML/SFML | 3,436 | defect | 601b5032e74c0a2ade6ba944e57f203f39fd2187 | 82db725b7d8d354f4736c850e25db73125eafb6a | iOS fixes | Been a while since I've properly looked at iOS bits so there's a few things accumulated:
- Removed the CI tests for shared libraries on iOS as they [aren't supported by apple](https://developer.apple.com/library/archive/technotes/tn2435/_index.html#//apple_ref/doc/uid/DTS40017543-CH1-TROUBLESHOOTING-BUNDLE_ERRORS)
- ... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3b6dd27c539..4ff88153f11 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -101,6 +101,11 @@ jobs:
arch: arm64-v8a
api: 33
type: { name: Debug, flags: -DCMAKE_BUILD_TYPE=Debug }
+ exc... | 6 | 4 | 0 | [{"id": "G0", "claim": "sfml-main should not be given a link dependency on SFML::Window for iOS.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A fixed string should be enough to name the app delegate class instead of resolving it via NSStringFromClass."... | null |
SOF3__include-flate__22 | SOF3/include-flate | 22 | defect | 4d79700ba0a67b764700f591c0ab8635b6ba5bac | a0aed3438d834253739785ae0973ffc20879764d | Drop deprecated proc-macro-hack | These changes do up the actual MSRV to at least Rust 1.45, but that was released 3 years ago on `July 16, 2020` so it shouldn't be an issue. I did a version bump anyway due to the MSRV bump and the updated 2021 edition is more constricting anyway.
From the `proc-macro-hack` crate:
> As of Rust 1.45 this crate is su... | diff --git a/Cargo.toml b/Cargo.toml
index edbe40a..86472bd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,9 +3,9 @@ members = [".", "codegen-exports", "codegen"]
[package]
name = "include-flate"
-version = "0.2.0"
+version = "0.3.0"
authors = ["SOFe <sofe2038@gmail.com>"]
-edition = "2018"
+edition = "2021"
lice... | 1 | 1 | 0 | [{"id": "G0", "claim": "The codegen-exports reexport crate could just as well be deleted outright now that the proc-macro-hack shim lines are gone.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
SOF3__include-flate__25 | SOF3/include-flate | 25 | defect | cee7272a6389f6af5174ad00dfe5a8a2f8cb7dd9 | 0ccec8d42ae218a814994355605b1b4a0b798372 | Add Zstd support as optional and compile-time low ratio report | Zstd (*ZStandard*) is a fast real-time compression algorithm.
~~I've added Zstd support in compression/decompression as optional. Users can select which one to use by specifying feature flags: `zstd` and `deflate`.~~
```toml
# Cargo.toml
[dependencies]
include-flate = { version = "...", default-features = fals... | diff --git a/Cargo.toml b/Cargo.toml
index 9968035..e007c5a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,4 +16,10 @@ keywords = ["compression", "deflate", "macro", "include", "assets"]
[dependencies]
include-flate-codegen = { version = "0.2.0", path = "codegen" }
once_cell = "1.18.0"
-libflate = "2.0.0"
+libflate... | 3 | 3 | 1 | [{"id": "G0", "claim": "The CI pipeline should also run against the different Cargo feature combinations introduced by this pull request.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The compression algorithm should be configured at the call site inst... | null |
SOF3__include-flate__31 | SOF3/include-flate | 31 | defect | 8a877cd12d08d582686284c1ea383ab0a5f09e55 | af86ed9a5d3db0f659bd8dead8d329e08267c3c1 | Add IFlate struct giving access to uncompressed data | Some tests aren't passing yet.
I think it is because I'm using write_all instead of io::copy
I'm opening the PR to start the discussion
#30 | diff --git a/compress/src/lib.rs b/compress/src/lib.rs
index aa22ce4..7f57113 100644
--- a/compress/src/lib.rs
+++ b/compress/src/lib.rs
@@ -95,6 +95,31 @@ impl Default for CompressionMethod {
}
}
+impl std::str::FromStr for CompressionMethod {
+ type Err = std::convert::Infallible;
+
+ fn from_str(s: &st... | 3 | 3 | 2 | [{"id": "G0", "claim": "Use the plain `CompressionMethod::$algo` match with a separate pattern resolving to `default` instead of adding a `FromStr` impl for `CompressionMethod`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since `CompressionMethod` is ... | null |
SQLDroid__SQLDroid__65 | SQLDroid/SQLDroid | 65 | defect | c3f129748fc8a590b8771b1481ff3cce730d015b | 56347a2318f54335e2fec295c2a5b34dc8ab50eb | Fixes for getting changed rows count and for getting a generated row id | Changed rows count is obtained using the "select changes();" statement.
Generated row id is obtained using the "select last_insert_rowid();"
statement.
Other related changes.
| diff --git a/.gitignore b/.gitignore
index a60aa4e..e18d63c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,64 @@
*~
-/.idea
-/bin
-/gen
/pkg
/target
/lib/sqldroid/sqldroid-*.jar
/sources_list.txt
-/*.iml
+
+# Source: https://gist.github.com/nesquena/5617544/raw/53710b374e7df3302df43b552488d876040ada3d/.gitign... | 4 | 3 | 0 | [{"id": "G0", "claim": "Remove all commented-out code lines and generated/binary files such as test/bin from the pull request unless there is a strong reason to keep them.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Why remove the android:ico... | null |
SSSD__sssd__8251 | SSSD/sssd | 8,251 | defect | be5df34126b3755cd63f829a885b68cb93fb6fa6 | 87d2d5f0440d5346b053be5ee1bca96ffe730796 | Add OAuth2 prompting config | This splits the OAuth2 prompt `Authenticate at <url> and press ENTER.` into an info message `Authenticate at "<url>"` and a prompt `Press ENTER to continue`.
The latter can be skipped by setting the PAM option `skip_enter_prompt`. | diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index a33e0561efd..ff6329b3fdb 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -304,6 +304,9 @@
#define CONFDB_PC_PASSKEY_INTERACTIVE_PROMPT "interactive_prompt"
#define CONFDB_PC_PASSKEY_TOUCH "touch"
#define CONFDB_PC_PASSKEY_TOUCH_PROMPT "touch_... | 8 | 7 | 2 | [{"id": "G0", "claim": "OAuth2 prompting should be configured through a [prompting/oauth2] prompting-configuration section in sssd.conf rather than through PAM module options.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The changes to the *.pot files sho... | null |
SSSD__sssd__8265 | SSSD/sssd | 8,265 | defect | 74911bc384f7646cc7115c67b6b3532a2c3d8e78 | 0dea868daa8891e7224f3051ad4a1b984780d57b | [autobackport: sssd-2-9] sbus: defer notification callbacks | This is an automatic backport of [PR#8202 sbus: defer notification callbacks](https://github.com/SSSD/sssd/pull/8202) to branch sssd-2-9, created by @pbrezina.
> [!CAUTION]
> @pbrezina The patches did not apply cleanly. It is necessary to **resolve conflicts** before merging this pull request. Commits that introduced ... | diff --git a/src/responder/common/cache_req/cache_req.c b/src/responder/common/cache_req/cache_req.c
index b8275953261..1d0fa824cec 100644
--- a/src/responder/common/cache_req/cache_req.c
+++ b/src/responder/common/cache_req/cache_req.c
@@ -163,7 +163,10 @@ cache_req_create(TALLOC_CTX *mem_ctx,
talloc_free(cr)... | 2 | 2 | 2 | [{"id": "G0", "claim": "The test file src/tests/system/tests/test_identity.py contains unresolved merge conflict markers (<<<<<<<, =======, >>>>>>>) that must be removed and the changes correctly integrated before the pull request can be merged.", "category": "correctness", "verdict": "supported", "priority": "P0", "sc... | null |
SSSD__sssd__8266 | SSSD/sssd | 8,266 | defect | af7c3b6a2c885cd5bc36c246d52020c4e6fdd63a | 8ed504d2728964b86e309b3dcbc38c4e4ba4efe5 | [autobackport: sssd-2-9-4] sbus: defer notification callbacks | This is an automatic backport of [PR#8202 sbus: defer notification callbacks](https://github.com/SSSD/sssd/pull/8202) to branch sssd-2-9-4, created by @pbrezina.
> [!CAUTION]
> @pbrezina The patches did not apply cleanly. It is necessary to **resolve conflicts** before merging this pull request. Commits that introduce... | diff --git a/src/responder/common/cache_req/cache_req.c b/src/responder/common/cache_req/cache_req.c
index b8275953261..1d0fa824cec 100644
--- a/src/responder/common/cache_req/cache_req.c
+++ b/src/responder/common/cache_req/cache_req.c
@@ -163,7 +163,10 @@ cache_req_create(TALLOC_CTX *mem_ctx,
talloc_free(cr)... | 1 | 1 | 1 | [{"id": "G0", "claim": "src/tests/system/tests/test_identity.py contains unresolved merge conflict markers (<<<<<<<, =======, >>>>>>>) introduced during the backport, which must be resolved before the pull request can be merged.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced... | null |
SSSD__sssd__8276 | SSSD/sssd | 8,276 | defect | c595694a0a510229de66fc5e50cef031c30f0e90 | a52756816cad5f0dd557c8cbf65fa68c282460c0 | Passkey local fix and improvements - backport sssd-2-9 | Backport of https://github.com/SSSD/sssd/pull/8185 | diff --git a/Makefile.am b/Makefile.am
index a50e5eb1a7d..abc371f1293 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -807,7 +807,6 @@ dist_noinst_HEADERS = \
src/db/sysdb_ssh.h \
src/db/sysdb_subid.h \
src/db/sysdb_domain_resolution_order.h \
- src/db/sysdb_passkey_user_verification.h \
src/db/sys... | 2 | 1 | 0 | [{"id": "G0", "claim": "Because of the discussion in PR #8185, the backport should either include one additional patch or carry the same dependency, and Alexey personally prefers the additional patch.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `c... | null |
SSSD__sssd__8323 | SSSD/sssd | 8,323 | defect | 02108cb748742e53e0f9d9eea097ef3428a09106 | 90bf13cef7ad71a0b9974813135c13f785b28f8f | [autobackport: sssd-2-9] cache_req: use sysdb_search_user_by_upn_with_view_res() | This is an automatic backport of [PR#7998 cache_req: use sysdb_search_user_by_upn_with_view_res()](https://github.com/SSSD/sssd/pull/7998) to branch sssd-2-9, created by @sumit-bose.
> [!CAUTION]
> @sumit-bose The patches did not apply cleanly. It is necessary to **resolve conflicts** before merging this pull request.... | diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index a049460f0ee..427495181be 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -875,12 +875,6 @@ int sysdb_getpwuid(TALLOC_CTX *mem_ctx,
uid_t uid,
struct ldb_result **res);
-int sysdb_getpwupn(TALLOC_CTX *mem_ctx,
- ... | 3 | 3 | 2 | [{"id": "G0", "claim": "sysdb_search_user_by_upn_with_view_res may incorrectly return ENOENT when sysdb_add_overrides_to_object returns ENOENT because no override exists for the user, signalling to the caller that the user was not found even though the original user object was successfully retrieved; the function shoul... | null |
SSSD__sssd__8324 | SSSD/sssd | 8,324 | defect | aabf8e72c1fa4469326f0b16517800c7a107962d | 30f0612f160bb2fa0837976a05e8bf090ccfad20 | [autobackport: sssd-2-9-4] cache_req: use sysdb_search_user_by_upn_with_view_res() | This is an automatic backport of [PR#7998 cache_req: use sysdb_search_user_by_upn_with_view_res()](https://github.com/SSSD/sssd/pull/7998) to branch sssd-2-9-4, created by @sumit-bose.
> [!CAUTION]
> @sumit-bose The patches did not apply cleanly. It is necessary to **resolve conflicts** before merging this pull reques... | diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index cedbd4eabca..8c030bd0714 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -852,12 +852,6 @@ int sysdb_getpwuid(TALLOC_CTX *mem_ctx,
uid_t uid,
struct ldb_result **res);
-int sysdb_getpwupn(TALLOC_CTX *mem_ctx,
- ... | 4 | 3 | 3 | [{"id": "G0", "claim": "sysdb_search_user_by_upn_with_view_res() may incorrectly return ENOENT when the object is found but sysdb_add_overrides_to_object() reports that no override exists; it should return EOK in that case, because returning ENOENT wrongly signals to the caller that the user was not found.", "category"... | null |
SSSD__sssd__8526 | SSSD/sssd | 8,526 | defect | 999afa26418b428a683849fb7ab576345b110d7d | bc58d1a447e8f393ff7f5bb12efdcfe1272f004d | [autobackport: sssd-2-9] Generalize combined user and group lookup | This is an automatic backport of [PR#8127 Generalize combined user and group lookup](https://github.com/SSSD/sssd/pull/8127) to branch sssd-2-9, created by @sumit-bose.
Please make sure this backport is correct.
> [!NOTE]
> The commits were cherry-picked without conflicts.
**You can push changes to this pull request... | diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 427495181be..2d5a2415757 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -65,6 +65,7 @@
#define SYSDB_DOMAIN_ID_RANGE_CLASS "domainIDRange"
#define SYSDB_TRUSTED_AD_DOMAIN_RANGE_CLASS "TrustedADDomainRange"
#define SYSDB_CERTMAP_CLASS "certificateMappingRule"
+#... | 2 | 1 | 1 | [{"id": "G0", "claim": "In add_to_reply_with_type, if the first talloc_realloc succeeds but the second one for sreply->reply_type fails, sreply is left inconsistent (reply_max already grown, reply_type still the old smaller block), which can lead to an out-of-bounds write; use temporary variables and update sreply only... | null |
SSSD__sssd__8558 | SSSD/sssd | 8,558 | defect | ea29407b5d050a304f4ccf9bfbceac88c256c367 | c99af8084d9e0c003d85af08e42676208db59fa0 | [autobackport: sssd-2-9] Improve the performance when using enumeration | This is an automatic backport of [PR#8395 Improve the performance when using enumeration](https://github.com/SSSD/sssd/pull/8395) to branch sssd-2-9, created by @aplopez.
> [!CAUTION]
> @aplopez The patches did not apply cleanly. It is necessary to **resolve conflicts** before merging this pull request. Commits that i... | diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 2d5a2415757..9071e998f26 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -876,10 +876,6 @@ int sysdb_getpwuid(TALLOC_CTX *mem_ctx,
uid_t uid,
struct ldb_result **res);
-int sysdb_enumpwent(TALLOC_CTX *mem_ctx,
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "cache_req_user_by_filter.c contains unresolved merge conflict markers that will cause compilation to fail, so the conflict must be resolved before merging, using the original pull request's logic (if (strcmp(attr, SYSDB_NAME) != 0) {).", "category": "correctness", "verdict": "supported", "priori... | null |
SSShooter__mind-elixir-core__370 | SSShooter/mind-elixir-core | 370 | defect | 2eb918176d156ce187a2b3d91d6b775404da682c | cc969e291d0d3735fcddf0eb9a1f49f157f395ef | fix: pressing ESC while editing a node exits edit and selects the node | When a node is being edited, pressing ESC now blurs the input and selects the node, providing an intuitive way to cancel editing and return to navigation mode.
## Changes
- In \src/utils/dom.ts\, added an \Escape\ key handler in the \ditTopic\ keydown listener
- Pressing ESC calls \div.blur()\ then \ his.selectNode(e... | diff --git a/src/utils/dom.ts b/src/utils/dom.ts
index b373fe7e..f8f4f852 100644
--- a/src/utils/dom.ts
+++ b/src/utils/dom.ts
@@ -210,6 +210,10 @@ export const editTopic = function (this: MindElixirInstance, el: Topic) {
e.preventDefault()
div.blur()
this.container.focus()
+ } else if (key =... | 3 | 3 | 3 | [{"id": "G0", "claim": "After handling Escape the code blurs the editor and selects the node but does not restore focus to this.container, so the user may be unable to continue navigating via keyboard; call this.container.focus() after exiting edit mode.", "category": "correctness", "verdict": "supported", "priority": ... | null |
SSShooter__mind-elixir-core__373 | SSShooter/mind-elixir-core | 373 | defect | 9f7e8a655ff8d0f53786be4d5714b9e3ee9ec739 | e6e688b8172ddde0a3bce042bc8fefb7c4e8d6fc | feat: expose clearHistory() to reset the undo/redo stack | ## Motivation
When an application loads new data into an existing MindElixir instance via `refresh()`, the internal undo/redo history still contains snapshots from the previous diagram. This lets users press Ctrl+Z and silently travel back into an earlier diagram's state — a confusing and data-loss-prone experience.
... | diff --git a/src/plugin/operationHistory.ts b/src/plugin/operationHistory.ts
index 83366fb3..d5450fe7 100644
--- a/src/plugin/operationHistory.ts
+++ b/src/plugin/operationHistory.ts
@@ -88,6 +88,11 @@ export default function (mei: MindElixirInstance) {
}
}
}
+ mei.clearHistory = function () {
+ hist... | 3 | 3 | 3 | [{"id": "G0", "claim": "Because clearHistory is declared mandatory in MindElixirInstance but only assigned when the operationHistory plugin runs (skipped when allowUndo is false or in lite mode), mei.clearHistory() can be undefined at runtime and should be optional in the interface (or given a no-op default).", "catego... | null |
STEllAR-GROUP__hpx__6650 | STEllAR-GROUP/hpx | 6,650 | defect | 19ada69a9de0f1f282c7b7c72f1c069665e7e3eb | 99916ff64e85d9e81c45295ab39837e12b18c806 | Adding constructor overloads to partitioned_vector | - These allow to initialize the new instance with a given range of data
| diff --git a/components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/partitioned_vector_component_impl.hpp b/components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/partitioned_vector_component_impl.hpp
index 3ca38b9d46df..b82f3493d37b 100644
-... | 1 | 1 | 0 | [{"id": "G0", "claim": "Compiling `hpx::partitioned_vector<std::size_t> data(hpx::container_layout(hpx::find_all_localities()));` fails with `error: use of undeclared identifier 'reserve'`; the reviewer notes this does not directly affect the feature request but asks for it to be fixed in this PR at the same time.", "c... | null |
STEllAR-GROUP__hpx__6677 | STEllAR-GROUP/hpx | 6,677 | defect | 7380cc5d755a711a3d37a1eff6f8f4ee2a1b065e | d73104308fb175cd6ec747e69cc94efa381a660b | Offer a runtime manager object | ## Proposed Changes
Offer a ready-made solution to manage starting/stopping the HPX runtime. Adapted from the quickstart/init_globally example.
## To-Do
- ~This design swallows error messages: error on `start()` results in termination, error on `stop()` is ignored. In order to expose errors it's necessary to ... | diff --git a/examples/quickstart/init_globally.cpp b/examples/quickstart/init_globally.cpp
index a38e7fda8ef1..81449c2e6f97 100644
--- a/examples/quickstart/init_globally.cpp
+++ b/examples/quickstart/init_globally.cpp
@@ -66,109 +66,6 @@ char** __argv = *_NSGetArgv();
#endif
-class manage_global_runtime_impl
-{
-... | 2 | 2 | 0 | [{"id": "G0", "claim": "K-ballo questions whether the Windows winsocket initialization (detail::init_winsocket()) belongs inside manage_runtime::start in manage_runtime.hpp.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "hkaiser suggests manage_runtime n... | null |
STEllAR-GROUP__hpx__6701 | STEllAR-GROUP/hpx | 6,701 | defect | b60bcf235d509e14a6979b3977b1def05d41d9c1 | 3aeabf1705e5e47c04dac22b92d9fcef972a355c | Attempting to fix shutdown hang on exception_info | - properly report `e.what()` for std::exception
Fixes #6699
@JiakunYan please verify if this resolves your issue | diff --git a/libs/core/resource_partitioner/src/detail_partitioner.cpp b/libs/core/resource_partitioner/src/detail_partitioner.cpp
index 0e521c542a1d..d46829c6de2e 100644
--- a/libs/core/resource_partitioner/src/detail_partitioner.cpp
+++ b/libs/core/resource_partitioner/src/detail_partitioner.cpp
@@ -1008,9 +1008,19 @... | 1 | 1 | 0 | [{"id": "G0", "claim": "The commented-out code this pull request added to libs/core/threadmanager/include/hpx/modules/threadmanager.hpp (the commented-out <atomic> include and the commented-out mutable std::atomic<bool> stopping_ member) should be removed.", "category": "maintainability", "verdict": "supported", "prior... | null |
STEllAR-GROUP__hpx__6789 | STEllAR-GROUP/hpx | 6,789 | defect | c0dab02586295d360ddeb9ef201b760783e72ed0 | 090f8851804cbfc06540ef40ce8cf5588cb01332 | contracts module | Fixes #
## Proposed Changes
-added contracts module
-with fallback to asserts when contracts are not supported
-and option to enchance asserts with contract asserts
## Any background context you want to provide?
more on the GSoC report here:
https://alexpapadakis.github.io/hpx_contracts/
## Checklis... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44383142582c..6f1fdce5d9bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1490,6 +1490,24 @@ if(NOT "${HPX_PLATFORM_UC}" STREQUAL "BLUEGENEQ")
endif()
# Debugging related build options
+hpx_option(
+ HPX_WITH_CONTRACTS BOOL "Enable C++ contracts support in H... | 5 | 5 | 1 | [{"id": "G0", "claim": "The clang-format, cmake-format, and inspect errors reported by the checks should be fixed.", "category": "style", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether this #pragma message is used in other places too, implying the fall... | null |
STEllAR-GROUP__hpx__6864 | STEllAR-GROUP/hpx | 6,864 | defect | ac357ab00f980693e603ae2f60004944ab718da9 | a95d894f0602b8e43a7fa3776bf93b3cdc592417 | [Serialization] [Feature] Add serialization for multi containers and unordered_set | Adds in-built serialization for `multiset`, `multimap`, `unordered_set`, `unordered_multiset` and `unordered_multimap` with corresponding tests. Improves the implementation for all set/map containers and their unordered/multi variants.
## Proposed Changes
- New file for `unordered_set.hpp` inside `libs/core/se... | diff --git a/libs/core/serialization/CMakeLists.txt b/libs/core/serialization/CMakeLists.txt
index 994132e6fb8e..03d9e7835ec3 100644
--- a/libs/core/serialization/CMakeLists.txt
+++ b/libs/core/serialization/CMakeLists.txt
@@ -129,6 +129,7 @@ set(serialization_headers
hpx/serialization/serialize_buffer.hpp
hp... | 5 | 5 | 1 | [{"id": "G0", "claim": "The test files contain spelling typos in comments: 'fpr' at serialization_unordered_multiset.cpp:45 and serialization_unordered_set.cpp:45 should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The container se... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.