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
analogjs__analog__248
analogjs/analog
248
defect
b17bfabd21fbe05d6ff202aec3baad398d087dc3
332b83cc44fd4d9f5090555737afe662d17918ef
feat(content): provide slug based on filename
closes #247 ## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [x] Tests for the changes have been added (for bug fixes / features) - [x] Docs h...
diff --git a/apps/blog-app/src/app/routes/blog.ts b/apps/blog-app/src/app/routes/blog.ts index e3375905b..870a84122 100644 --- a/apps/blog-app/src/app/routes/blog.ts +++ b/apps/blog-app/src/app/routes/blog.ts @@ -15,7 +15,7 @@ export const routeMeta: RouteMeta = { imports: [RouterOutlet, RouterLink, NgFor], templ...
2
2
2
[{"id": "G0", "claim": "The new getSlug regex should support nested files such as /src/content/posts/my-post.md, and the regex should get some tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There is a build failure the PR author should take a loo...
null
analogjs__analog__313
analogjs/analog
313
defect
5a2401007a8923785674c625a2c84d6e72b4afa0
47d5ff101405ce02259ed741a5ee7c32ff34c1cf
feat(platform): allow nx-plugin to be packaged with @analogjs/platform
the nx plugin can now be packaged as part of @analogjs/platform to package the two run: nx run platform:package. also addressed the suggested changes in the previous PR. e2e tests were also adjusted because they stopped passing. there should be a follow-up PR that improves those tests and makes sure we can build those ...
diff --git a/apps/nx-plugin-e2e/project.json b/apps/nx-plugin-e2e/project.json index 47757c129..3e223e202 100644 --- a/apps/nx-plugin-e2e/project.json +++ b/apps/nx-plugin-e2e/project.json @@ -7,12 +7,12 @@ "e2e": { "executor": "@nrwl/nx-plugin:e2e", "options": { - "target": "nx-plugin:build",...
5
3
0
[{"id": "G0", "claim": "Rename the added `package` target to `build` and rename the existing `build` target to `build-package`, so the standard build target runs build-package for platform plus build for nx-plugin.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
analogjs__analog__315
analogjs/analog
315
defect
c8429195a6d1e62fd48a296b8b3ea45e372618ea
127a26b7597f478ce0b57f1bd005cd78ad920c0c
feat(create-analog): add tailwind gen to create-analog script
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added ...
diff --git a/packages/create-analog/__tests__/cli.spec.ts b/packages/create-analog/__tests__/cli.spec.ts index fc60853ae..e6bd22618 100644 --- a/packages/create-analog/__tests__/cli.spec.ts +++ b/packages/create-analog/__tests__/cli.spec.ts @@ -1,7 +1,7 @@ -import { join } from 'node:path'; import type { ExecaSyncRetu...
3
3
2
[{"id": "G0", "claim": "Add `.md` to the Tailwind content glob so classes used in markdown content routes are generated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The devDependencies added by the script should be pinned to specific caret versio...
null
analogjs__analog__444
analogjs/analog
444
defect
b127964444ecaedd7e9fc522366e6f023a80cdbb
9feb1028603d521dd4cdb1ea2698626e9f624d31
feat(router): overhaul route discovery engine
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added ...
diff --git a/packages/router/src/lib/routes.spec.ts b/packages/router/src/lib/routes.spec.ts index 1a5738b52..ea04ac450 100644 --- a/packages/router/src/lib/routes.spec.ts +++ b/packages/router/src/lib/routes.spec.ts @@ -1,19 +1,13 @@ import { Route } from '@angular/router'; import { of } from 'rxjs'; import { Route...
4
2
0
[{"id": "G0", "claim": "Asks under what scenario the root raw-routes map (`rawRoutesByLevelMap[0] || {}`) could be empty — if no routes were found — and the author proposed making the empty-files check explicit at the top of createRoutes.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "...
null
analogjs__analog__539
analogjs/analog
539
defect
99eecb712504c81dc5429c295f9b1ddd94af42a8
4bdcd0b636c52bd731d871a9711315a14d12f7f1
fix(nx-plugin): fixing linting in nx project
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [x] Tests for the changes have been added (for bug fixes / features) - [x] Docs have been added ...
diff --git a/package.json b/package.json index f87fd1adb..ff4b885dc 100644 --- a/package.json +++ b/package.json @@ -101,6 +101,7 @@ "@nx/cypress": "16.4.0", "@nx/eslint-plugin": "16.4.0", "@nx/jest": "16.4.0", + "@nx/linter": "16.4.0", "@nx/plugin": "16.4.0", "@nx/vite": "16.4.0", "@nx...
1
1
0
[{"id": "G0", "claim": "The generator description should say \"Analog\" instead of \"AnalogJs application\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
analogjs__analog__641
analogjs/analog
641
defect
9e4389deddc953eb56511df284eec3dca7ecfd48
fb8302b06e98676c5b8d754d2b4602fb082c6f5a
feat(astro-angular): implement output forwarding on client-side hydrated components
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [x] Tests for the changes have been added (for bug fixes / features) - [x] Docs have been added ...
diff --git a/apps/astro-app-e2e-playwright/tests/app.spec.ts b/apps/astro-app-e2e-playwright/tests/app.spec.ts index bef90a0fb..0e6d6a403 100644 --- a/apps/astro-app-e2e-playwright/tests/app.spec.ts +++ b/apps/astro-app-e2e-playwright/tests/app.spec.ts @@ -46,5 +46,27 @@ describe('AstroApp', () => { componentL...
5
4
1
[{"id": "G0", "claim": "The public API name should be `addOutputListener` instead of `addAnalogOutputListener`, applied consistently across the docs, the example app and the utility export itself.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
analogjs__analog__659
analogjs/analog
659
defect
701be1b7dee651be4ee53412a7d6c34aa8f60e9d
4984c1b8ab6b27735b68d843c57bf8046fd558f5
feat(content): `ContentRenderer` is able to return a TOC
this commits add the support for generating a table of content to the `MarkdownContentRenderer` fixes #658 ## PR Type What kind of change does this PR introduce? - [x] Feature ## Which package are you modifying? - [x] content ## Does this PR introduce a breaking change? - [x] Yes
diff --git a/apps/blog-app/src/app/pages/blog/[slug].page.ts b/apps/blog-app/src/app/pages/blog/[slug].page.ts index be7ea1f74b..87ac5d9243 100644 --- a/apps/blog-app/src/app/pages/blog/[slug].page.ts +++ b/apps/blog-app/src/app/pages/blog/[slug].page.ts @@ -1,7 +1,13 @@ -import { injectContent, MarkdownComponent } fro...
4
3
3
[{"id": "G0", "claim": "The new dependency must also be added to the content package's migration.json so upgrades pull it in.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The JSDOM parsing code gets bundled into the client build, so it should ...
null
analogjs__analog__695
analogjs/analog
695
defect
2a19c537b21177c8c2e88c50dadba8bd7c1b8456
5a5922bff2263d1a098659994423c96475b88139
fix(trpc): adding host and port env variables to nitro dev process & …
…using them for trpc during dev $fetch is smart enough to infer the host and port for our trpc client when it is used on the server. However, $fetch is only available during the pre-render phase and during SSR of the prod nitro server. It is not available during development when we work with the vite server. This...
diff --git a/apps/trpc-app/vite.config.ts b/apps/trpc-app/vite.config.ts index b44043d25f..337db5cb79 100644 --- a/apps/trpc-app/vite.config.ts +++ b/apps/trpc-app/vite.config.ts @@ -13,7 +13,7 @@ export default defineConfig(({ mode }) => { include: ['@angular/common', '@angular/forms', 'isomorphic-fetch'], ...
1
1
0
[{"id": "G0", "claim": "The environment variables for the dev-server host and port should be named ANALOG_HOST and ANALOG_PORT (in both the trpc client fallbacks and the values the nitro plugin exports) instead of ANALOG_VITE_HOST and ANALOG_VITE_PORT.", "category": "design", "verdict": "supported", "priority": "P2", "...
null
analogjs__analog__880
analogjs/analog
880
defect
2b5e8e6435c8984f1d93c1cf227cc9283b3c4848
3c442d1887db26acbd1e41af345b7a0116b952a9
feat(nx-plugin): add support for nx 18
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines - [x] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added ...
diff --git a/packages/nx-plugin/src/generators/app/generator.spec.ts b/packages/nx-plugin/src/generators/app/generator.spec.ts index 729bbba09..3f2af1123 100644 --- a/packages/nx-plugin/src/generators/app/generator.spec.ts +++ b/packages/nx-plugin/src/generators/app/generator.spec.ts @@ -14,7 +14,7 @@ import { AnalogNx...
4
4
4
[{"id": "G0", "claim": "The nx 18 vitest devDependency version constant should be bumped to '^1.0.4' instead of '^0.32.2'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The generator spec's expected vitest devDependency version should be updated to...
null
anarchy-ai__LLM-VM__102
anarchy-ai/LLM-VM
102
defect
15be0e15607110ad2a7db4c3f37c842d75f03841
a98bc41645c42e31b24718438959b87edda7c7f8
Constrained decoding
Implemented regex decoding for #30. This currently only works for HuggingFace transformers. - Added a custom logits processor for masking next-sequence tokens - implemented masking function to filter legal tokens - Modified generate function to accept regex string and bias parameters - Added custom stopping logic...
diff --git a/src/llm_vm/onsite_llm.py b/src/llm_vm/onsite_llm.py index 5851d189..9f1b188f 100644 --- a/src/llm_vm/onsite_llm.py +++ b/src/llm_vm/onsite_llm.py @@ -5,6 +5,7 @@ from transformers import ( AutoModelForMaskedLM, AutoModelForSeq2SeqLM, + AutoModelForCausalLM, AutoTokenizer, BertTokeni...
2
1
0
[{"id": "G0", "claim": "The PR's approach may be redundant with the reLLM project and its scope should be widened (possibly as a wrapper over reLLM), with the work split up consistently.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "TokenStreamerAsStopp...
null
anarchy-ai__LLM-VM__37
anarchy-ai/LLM-VM
37
defect
461361bf55e0ec265e66877d9fea3786386305e0
83ecd1e7f965310f652a04694a3ee70fc5e0b998
Data synthesis
This PR addresses #3 and #25 : - Added all params to data_synthesis method - Added support for K-shot prompts - Track number of examples generated vs requested - Track number of tokens generated - Added error logs for incomplete generations and invalid prompts - Documented all params - Standardized docstrings
diff --git a/requirements.txt b/requirements.txt index 6faf4e82..3f36b657 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ python-dotenv>=1.0.0 openai>=0.27.6 -numpy>=1.24 \ No newline at end of file +numpy>=1.24 +tiktoken>=0.4.0 \ No newline at end of file diff --git a/src/llm_vm/completion/data_...
5
4
1
[{"id": "G0", "claim": "The magic constant for the number of examples to generate passed to DataSynthesis in the LocalOptimizer constructor should be a kw-arg instead of being hardcoded.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The variance paramet...
null
anarchy-ai__LLM-VM__408
anarchy-ai/LLM-VM
408
defect
1cebb592f5a6215ad79e96436052fa65d09faa84
7ec2eec1f5fc83cf4e1ba97fbb75292ea9677a3b
(feat): Ability to change model dtype
Closes #404
diff --git a/src/llm_vm/client.py b/src/llm_vm/client.py index 95cef8b4..b7cf281d 100644 --- a/src/llm_vm/client.py +++ b/src/llm_vm/client.py @@ -204,6 +204,12 @@ def load_finetune(self, model_filename=None, small_model=False): else: self.teacher.load_finetune(model_filename) + def change_mo...
1
1
0
[{"id": "G0", "claim": "The testing code in the `__main__` block of src/llm_vm/onsite_llm.py should be moved into its own file named `change_dtype_test.py` in the tests directory.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anarchy-ai__LLM-VM__49
anarchy-ai/LLM-VM
49
defect
5cf840041765b5e082d32d99ae332785bf854976
b9287c57c974a9cb7e8a45313a397d09d3104249
Feature/andrew/stop tokens
Added stop token functionality to /competion/ endpoint (needs testing) Altered main.py in llm_vm/server/ to allow for default localhost:3002 setup or user specified networking parameters from the cli (tested and working)
diff --git a/src/llm_vm/client.py b/src/llm_vm/client.py index c527fe0f..398de060 100644 --- a/src/llm_vm/client.py +++ b/src/llm_vm/client.py @@ -3,14 +3,27 @@ import json -def complete(prompt, context, openai_key, finetune=False, data_synthesis = False, temperature=0): - +def complete(prompt, + ...
1
1
1
[{"id": "G0", "claim": "The cli function should be the new actual entry point for the llm_vm_server script (pyproject.toml still points at main_server_entry_point).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anarchy-ai__LLM-VM__83
anarchy-ai/LLM-VM
83
defect
122cbc3a5d80d283c749dcfda71f8cc97afd1114
b90c2f584001293d6696dc3213d2159bdaec6fca
Config refactor: switch to dynaconf and add the 'LLM_VM' prefix to env vars
- Dynaconf is working splendidly. I removed our hardcoded defaults and put them into a file called settings.default.toml. Users can provide their own settings.toml which will take precedence over the defaults. - Environment variables (including your .env file) take precedence over both the TOML files. To be goo...
diff --git a/.gitignore b/.gitignore index e1a57cb7..c527b36f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .env +.python-version .envi .#* __pycache__/ @@ -12,3 +13,4 @@ dist /poetry.lock *.ipynb /finetuned_models/ +settings.toml diff --git a/pyproject.toml b/pyproject.toml index 33d757e2..8c9a28bf 1...
2
1
1
[{"id": "G0", "claim": "src/llm_vm/onsite_llm.py contains unresolved merge-conflict markers (<<<<<<< HEAD and >>>>>>> main) left by the branch's merges of main.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "src/llm_vm/config.py sets process environ...
null
anaskhan96__soup__17
anaskhan96/soup
17
defect
ff1df43a185365ea3e1eee00b0aab47c841c98e4
cae9983273afa0ede2bf08f47fc1a68cc7bda188
FindStrict and FindAllStrict
Implementation of `FindStrict` and `FindAllStrict` functions based on #15 discussion. New test scenarios added for this functions and for the old `Find` and `FindAll` functions. Also I've implemented a little different algorithm for searching a value occurrence in a tag's attribute values. In the previous impleme...
diff --git a/README.md b/README.md index f76c664..d30bb88 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ func Cookie(string, string) // Takes key, value pair to set as cookies to be sen func HTMLParse(string) Root // Takes the HTML string as an argument, returns a pointer to the DOM constructed func Find([]...
4
4
0
[{"id": "G0", "claim": "The FindStrict doc comment should read '// only if all the values of the provided attribute are an exact match' instead of the ungrammatical '// only if all provided attribute's values are exists'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
anaskhan96__soup__44
anaskhan96/soup
44
defect
b32d4fb0aaab131f8e1242636fa4c97d25969e48
303b9dd4d5e15a875ad55f810b9c81e5cff2cb67
Add defined errors to the package
Hello! I have finally come back for #29 and solved it basically the way you suggested. I'm looking to try to get involved with more Go OSS and this is my first PR so far. My biggest concern is that it's theoretically a breaking change, as if someone was depending on having error details in Error previously, those ar...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d9385ae..e2d6928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,15 @@ -## v1.1 +## v1.2.0 + +### Added + +- ErrorDetails to the Root object. This will contain the templated error messages that used to be returned by Error + +## Changed + +- Error will now be one o...
4
3
2
[{"id": "G0", "claim": "The Root struct should not carry two error-related fields (Error and ErrorDetails) with duplicated explanation text and a second nil-pointer risk — dispose of ErrorDetails, or make Root.Error a single composite custom error type carrying both the kind and the detailed message.", "category": "des...
null
anatol__luks.go__16
anatol/luks.go
16
defect
8cd744c3576fe1c32fa8ab7c7589a96dbf93b532
0b82b34ff5ce8bbf411760843b0f10b4e02b70af
Add OpenWithHeader for detached LUKS header support
## Summary - Add `OpenWithHeader(devicePath, headerPath string) (Device, error)` to open LUKS volumes where the header is stored separately from the encrypted data (the `--header` option in cryptsetup) - Refactor `deviceV1`/`deviceV2` to hold separate `hdrF`/`dataF` file handles: keyslot material is read from the head...
diff --git a/luks.go b/luks.go index bbc7a2b..d02853c 100644 --- a/luks.go +++ b/luks.go @@ -89,14 +89,61 @@ func Open(path string) (Device, error) { version := int(header[6])<<8 + int(header[7]) switch version { case 1: - return initV1Device(path, f) + return initV1Device(path, f, f) case 2: - return initV2...
1
1
0
[{"id": "G0", "claim": "OpenWithHeader duplicates code from Open (reading the header, checking the magic number and reading the version); the reviewer wonders if there is a clean way to de-duplicate it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anatol__luks.go__9
anatol/luks.go
9
defect
235ed3cab76e549a9d013fcb53dd449cc524da9e
7211a0255880010e481cc6f7d23d4dd3ed7f4a00
Handle the priority field correctly when a value is explicitly set
I encountered the error `json: cannot unmarshal number into Go struct field keyslot.keyslots.priority of type string` when trying to unlock a volume that had had one of its keyslots boosted in priority with `cryptsetup config --priority prefer --key-slot 1 /dev/sda3`. This commit resolves it by using a pointer fi...
diff --git a/json_metadata.go b/json_metadata.go index 6976f3c..05cfe63 100644 --- a/json_metadata.go +++ b/json_metadata.go @@ -8,7 +8,7 @@ type keyslot struct { Af antiForensic `json:"af"` Area area `json:"area"` Kdf kdf `json:"kdf"` - Priority string `json:"priority"` // i...
1
1
1
[{"id": "G0", "claim": "Add a testcase to luks2_test.go covering the corrected priority handling in Slots(), e.g. a TestLuks2PreferedPriority that sets a keyslot's priority to 'prefer'.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anchore__grype__1603
anchore/grype
1,603
defect
83e5176127d0d654d9d671504e30d89fa5fd1070
b42a87e2c52be4112193e56b5a36818a690bdec0
fix: distro FP data not applied correctly
fixes #1236 This demonstrates an implementation that more correctly applies distro false positive data to package matches across all matcher types, for the specific case when the file(s) that comprise the package are claimed by the distro's package DB. In talking with @wagoodman, we agreed that in the long term,...
diff --git a/grype/pkg/package.go b/grype/pkg/package.go index da74375cc497..9f6c11c5d6cc 100644 --- a/grype/pkg/package.go +++ b/grype/pkg/package.go @@ -216,6 +216,7 @@ func dataFromPkg(p pkg.Package) (interface{}, []UpstreamPackage) { metadata = *m } case pkg.ApkDBEntry: + metadata = p.Metadata upstream...
5
3
1
[{"id": "G0", "claim": "GHSA entries from the Wolfi and Chainguard secdbs are not making it into the Grype DB (because of id filtering in the vunnel providers), which contributes to the distro data not getting applied correctly, and the author asks whether this can be adjusted.", "category": "correctness", "verdict": "...
null
anchore__grype__2031
anchore/grype
2,031
defect
f72848dff1abc130a188131dc9d9b17de0ea7cb2
fcc886b677e6626ff5cec2657b5d79504701846d
Add DB search subcommand
Sometimes I want to understand if the DB has the vulnerability I am looking for. Today in order to do that I need to go to listing.json -> get the latest URL -> Download it -> open DBeaver -> use a simple SQL query. This PR creates a new endpoint which can accomplish it in a simple command grype explore cve <cve_id...
diff --git a/cmd/grype/cli/cli.go b/cmd/grype/cli/cli.go index b3cf2b6b787..35293f3e2a7 100644 --- a/cmd/grype/cli/cli.go +++ b/cmd/grype/cli/cli.go @@ -31,9 +31,9 @@ func Command(id clio.Identification) *cobra.Command { func create(id clio.Identification) (clio.Application, *cobra.Command) { clioCfg := clio.NewSe...
4
4
1
[{"id": "G0", "claim": "Use `cobra.ExactArgs` to check for exactly one positional argument instead of the manual `len(args)` switch.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new command should live under `db` as a subcommand (e.g. `grype db que...
null
anchore__grype__2188
anchore/grype
2,188
defect
c87f4a0f53225269097b478b9a5ef33521e13eef
2c12952bd20b9039ba91c8fc573bf76c5b2c6faa
Account for implicit 0s in rpm release versions
Closes #398
diff --git a/grype/version/rpm_constraint_test.go b/grype/version/rpm_constraint_test.go index 890fac21579..77139361d44 100644 --- a/grype/version/rpm_constraint_test.go +++ b/grype/version/rpm_constraint_test.go @@ -60,6 +60,13 @@ func TestVersionRpmConstraint(t *testing.T) { {version: "4.19.0-1.el7_5", constraint:...
1
1
0
[{"id": "G0", "claim": "The float casts with math.Max/math.Min in compareRpmVersions are unnecessary because Go's built-in max and min functions handle integers directly and should be used instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
anchore__grype__2223
anchore/grype
2,223
defect
b3f3dd4ed1e938cdbd9fc6d786cb1eddc818cfa9
4b48e7faedeee5efc4dcc6c99a92d80be4f81559
Improve purl input
This PR makes a few changes to purl processing: - allows for single purl to be provided on the cli: `grype pkg:apk/curl@7.61.1 --distro alpine:3.20.3`. Closes #2225 - infers a distro from a set of purls given (as long as there are no conflicting distros provided) - fixes [#2192](https://github.com/anchore/grype/issu...
diff --git a/cmd/grype/cli/commands/root.go b/cmd/grype/cli/commands/root.go index e70a8c90c62..3548eba8815 100644 --- a/cmd/grype/cli/commands/root.go +++ b/cmd/grype/cli/commands/root.go @@ -65,7 +65,8 @@ You can also explicitly specify the scheme to use: {{.appName}} file:path/to/yourfile read ...
3
3
0
[{"id": "G0", "claim": "The CLI help text should say \"package URL\" rather than \"package PURL\", and the `pkg:PURL` usage notation is confusing since it suggests the purl would be prefixed twice.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`c...
null
anchore__grype__2241
anchore/grype
2,241
defect
c8d5ffca8d304e0fd5db04fce109fe0d91fa5781
11529915d8537f840652e9d265e22c60bdaa609e
Merge indirect matches with direct matches
Today if a vulnerability is matched for an artifact both directly and indirectly (using a source/origin package instead of the downstream/original package) then we raise up both matches separately: ``` $ grype 'pkg:rpm/ol/perl-Errno@1.28-417.el8_3?arch=x86_64&epoch=0&upstream=perl-5.26.3-417.el8_3.src.rpm&distro=ol-8...
diff --git a/grype/match/details.go b/grype/match/details.go index 1b6527658d3..9941e293f0f 100644 --- a/grype/match/details.go +++ b/grype/match/details.go @@ -2,8 +2,10 @@ package match import ( "fmt" + "strings" "github.com/mitchellh/hashstructure/v2" + "github.com/scylladb/go-set/strset" ) type Details...
2
2
0
[{"id": "G0", "claim": "The helpers `hasMatchType` and `hasExclusivelyAnyMatchTypes` are used only in another file and should live closer to where they are used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change from `any` to `interface{...
null
anchore__grype__2384
anchore/grype
2,384
defect
66197338303a17cf6ba80d71a2c1d952e06ec68d
f8bb4cac5fbdc7039f781c4ca219f8388ff76ead
Throttle requests to maven central to avoid being rate limited for large sets of java dependencies
When [external-sources](https://github.com/anchore/grype?tab=readme-ov-file#external-sources) are enabled if an Image contains a large number of Java dependencies Grype can get rate limited by maven central. This change will: - add a rate limiter to throttle requests at 300ms per second to produce reliable results ...
diff --git a/grype/db/v5/matcher/java/matcher.go b/grype/db/v5/matcher/java/matcher.go index c26338e47c4c..3d8dbba7b2a3 100644 --- a/grype/db/v5/matcher/java/matcher.go +++ b/grype/db/v5/matcher/java/matcher.go @@ -1,8 +1,10 @@ package java import ( + "context" "fmt" "net/http" + "strings" v5 "github.com/an...
4
3
2
[{"id": "G0", "claim": "The new error logging in matcher.go should be a single structured Warn line (log.WithFields(\"package\", p.Name, \"error\", err).Warn(\"failed to resolve package details with maven\")) instead of an added Errorf paired with a separate Debugf branch.", "category": "maintainability", "verdict": "s...
null
anchore__grype__2529
anchore/grype
2,529
defect
1bf47c38bede40dea7b72bbe4712191820f1aa15
75e0c39c95ade0a7146a0e381bd324c3148de85f
Improve DB metadata regarding data provenance
With the distribution changes in DB v6 schema, the DB archive contains a DB with no indexes and upon download the new indexes are built before the startup checksum is captured. The process of building indexes (or really writing into a SQLite DB of any kind) does not guarantee any stability of a digest of the resulting ...
diff --git a/cmd/grype/cli/commands/db_import.go b/cmd/grype/cli/commands/db_import.go index 03beeb453a9..0af546a208a 100644 --- a/cmd/grype/cli/commands/db_import.go +++ b/cmd/grype/cli/commands/db_import.go @@ -50,6 +50,6 @@ func runDBImport(opts options.DatabaseCommand, dbArchivePath string) error { } s := c.S...
2
2
1
[{"id": "G0", "claim": "The post-hydration DB checksum in ProviderStatus is confusing and probably incorrect — it neither matches the online archives nor across hydrations, and including the checksum in the From URL is arguably wrong since go-getter strips it for validation — and should be replaced with the original do...
null
anchore__grype__2547
anchore/grype
2,547
defect
213600f1813c1ddee8208dc8905d12dec91e652f
3472443ac5d1e93933557ca67663f864909141dc
fix(matchUpstreamMavenPackages): Only search Maven if the metadata POM artifact ID and group ID are missing.
### Summary This PR addresses issue [#2216: Should only check maven central if pom info is missing](https://github.com/anchore/grype/issues/2216). The goal is to reduce the number of Maven searches, to help reduce the possibility of rate limits ([Maven Error 403 Forbidden](https://central.sonatype.org/faq/403-error-ce...
diff --git a/grype/matcher/java/matcher.go b/grype/matcher/java/matcher.go index 6831ea57b71..caf8634bede 100644 --- a/grype/matcher/java/matcher.go +++ b/grype/matcher/java/matcher.go @@ -82,17 +82,29 @@ func (m *Matcher) matchUpstreamMavenPackages(store vulnerability.Provider, p pkg ctx := context.Background() ...
1
1
1
[{"id": "G0", "claim": "The integration test is written like a CLI test and a small refactor (e.g. decoupling the search-by-SHA decision into a separate function) is requested to make the decision testable as a unit test without mocks or network.", "category": "testing", "verdict": "supported", "priority": "P1", "scope...
null
anchore__grype__2586
anchore/grype
2,586
defect
f100d5791958c11bf37b7f9ade711e229a2f7311
4e0dfff5dbcf34ba0dd0da0d5542184af81741db
fix: use namespace with name when purl is ecosystem golang in purl decoder
not sure what i am doing. but this seems to fix #2580
diff --git a/grype/pkg/purl_provider.go b/grype/pkg/purl_provider.go index 2b8f14f7496..4b9f63608b4 100644 --- a/grype/pkg/purl_provider.go +++ b/grype/pkg/purl_provider.go @@ -201,12 +201,17 @@ func purlToPackage(rawLine string) (*Package, *pkg.Package, string, string, erro PURL: purl.String(), Language: pkg...
1
1
1
[{"id": "G0", "claim": "Whether the namespace should be included in the package name should be decided per purl ecosystem (e.g. added for golang and maven, not for rpm and deb) rather than added for every purl with a namespace.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
anchore__grype__2639
anchore/grype
2,639
defect
ea57f5e8e40f9103db4bbd0390def664b937cd00
9647f89f11d8537a24f1afc9752a2b96f2e9a495
Derive OS distribution from purl
closes #2630
diff --git a/cmd/grype/cli/commands/root.go b/cmd/grype/cli/commands/root.go index 67fb099ef7c..2a5efee0603 100644 --- a/cmd/grype/cli/commands/root.go +++ b/cmd/grype/cli/commands/root.go @@ -273,16 +273,18 @@ func applyDistroHint(pkgs []pkg.Package, context *pkg.Context, opts *options.Gry } } - hasOSPackage :=...
2
2
0
[{"id": "G0", "claim": "The trace message in purlToPackage misspells \"Distro\" as \"Disto\".", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new purlToPackage function exceeds the function-length lint limit, and the reviewer would prefer a way t...
null
anchore__grype__2724
anchore/grype
2,724
defect
ef3a1a4ab55c671aefa16a8ebf8ca5f054d52bb9
09282a35b7b807910e7b2bd880ecb5cba645ad56
Configurable timestamp
Allows for configuring whether or not to include a timestamp in the final output via config option or env variable. Default is true. Resolves #522
diff --git a/README.md b/README.md index 8d59cb6b8afe..14724933de66 100644 --- a/README.md +++ b/README.md @@ -980,6 +980,9 @@ dev: db: # show sql queries in trace logging (requires -vv) (env: GRYPE_DEV_DB_DEBUG) debug: false + +# include a timestamp (env: GRYPE_TIMESTAMP) +timestamp: true ``` ## Futur...
1
1
1
[{"id": "G0", "claim": "Environment variables should be resolved up in the cmd package and not down in the library, so the os.Getenv(\"GRYPE_TIMESTAMP\") check in NewDocument should be dropped since the config option already accounts for it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in...
null
anchore__grype__2844
anchore/grype
2,844
defect
e5e784d5a9dffbea61d358a655edd1931f658c20
9d10e6067308bd9501bd73faa23ecc1dbfc79f97
feat: detect patch numbers in fuzzy version comparison
This makes version numbers that mix alphabetic and numeric components, like 4.2.8p14 and 4.2.8p2 compare correctly, e.g. 4.2.8p2 < 4.2.8p14 because 2 < 14. Previously, they would compare lexicogrpahically, occasionally resulting in a false positive or false negative. A motivating real case: ``` sh # latest $ gr...
diff --git a/grype/version/fuzzy_constraint.go b/grype/version/fuzzy_constraint.go index 0a126ed3660..0bc645e8926 100644 --- a/grype/version/fuzzy_constraint.go +++ b/grype/version/fuzzy_constraint.go @@ -3,7 +3,9 @@ package version import ( "fmt" "regexp" + "strconv" "strings" + "unicode" hashiVer "github.c...
2
2
0
[{"id": "G0", "claim": "Grype does not handle the patch version when it sits in the CPE update field (e.g. cpe:2.3:a:ntp:ntp:4.2.8:p18), which produces many false-positive vulnerability matches, and the fix in this pull request should also consider that case.", "category": "correctness", "verdict": "supported", "priori...
null
anchore__grype__3035
anchore/grype
3,035
defect
e96dcd54dec441245735da6d7d6c5d1bbb8f662d
21044d580281c37e868028a05e38970d4f9875f8
Add `--from` flag
This brings grype up to parity with syft's `--from` flag so users do not need to specify a scheme in the user input and instead have the additional option to provide the same scheme value as a separate flag: ``` grype --from docker alpine:latest ``` This has the same semantics as in syft, so multiple values can...
diff --git a/cmd/grype/cli/commands/root.go b/cmd/grype/cli/commands/root.go index c0e35269925..8f6987ac9da 100644 --- a/cmd/grype/cli/commands/root.go +++ b/cmd/grype/cli/commands/root.go @@ -359,6 +359,7 @@ func getProviderConfig(opts *options.Grype) pkg.ProviderConfig { Platform: opts.Platform, ...
1
1
1
[{"id": "G0", "claim": "flatten() should preserve the order of user input (e.g. try Podman, then try Docker) instead of sorting the entries, since input order may be meaningful.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anchore__grype__3058
anchore/grype
3,058
defect
b1706ca14e88428cddb30ef72a09867b9df09851
607fda815df9039b9cc2e8b460cf15367303ee5d
use Syft for decoding CPEs
Makes use of new API in Syft for decoding CPEs and enables reading a file with CPEs for scan. I deleted tests in `grype/pkg/cpe_provider_test.go` as they are the same as in syft (see [here](https://github.com/chovanecadam/syft/blob/main/syft/format/cpes/decoder_test.go)). It doesn't make sense to me to have the same...
diff --git a/cmd/grype/cli/commands/root.go b/cmd/grype/cli/commands/root.go index 8f6987ac9da3..9aa73c2e4ca0 100644 --- a/cmd/grype/cli/commands/root.go +++ b/cmd/grype/cli/commands/root.go @@ -67,6 +67,7 @@ You can also explicitly specify the scheme to use: {{.appName}} registry:yourrepo/yourimage:tag pul...
2
2
1
[{"id": "G0", "claim": "Grype's internal CPETargetSoftwareToPackageType helper should be removed now, too, since the equivalent functionality is in syft.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Removing cpe_provider_test.go leaves cpePr...
null
anchore__grype__3204
anchore/grype
3,204
defect
c6a67581ab4e7aa494351b919326ad6606af3010
68e5b206fcfd102c9ac0029a0c10a8fb3a25d165
feat(config): enable disabling EOL warnings
For very large SBOMs, these warnings could affect performance or make the Grype JSON very large. Therefore, add a config to disable them. Because per package alerts are a new feature in Grype, add a new section to the config for them. Probably additional types of per package alerts are coming.
diff --git a/cmd/grype/cli/commands/root.go b/cmd/grype/cli/commands/root.go index 641f605d32a..3fe6c514617 100644 --- a/cmd/grype/cli/commands/root.go +++ b/cmd/grype/cli/commands/root.go @@ -227,6 +227,9 @@ func runGrype(ctx context.Context, app clio.Application, opts *options.Grype, us FailSeverity: opts...
2
2
0
[{"id": "G0", "claim": "The new config option should be named with 'enable' (e.g. EnableEOLDistroWarnings / enable-eol-distro-warnings) instead of 'Show', leaving the choice up to the PR author.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The expected...
null
anchore__grype__3282
anchore/grype
3,282
defect
7daceaea03bfbed4fed08d76aced9d10305160e7
89f0a3f89fe91a21d542220543d9593ba168d6d3
feat: suppress GHSA matches on language packages in fixed APKs
Note: this is an APK-specific fix for the following situation. The RPM and dpkg matchers will require follow-up changes. Currently, in the following situation: - a distro package exists that pulls in a language package (`yum install python3-requests`; some APK that brings a binary that's in Go) - The distro data...
diff --git a/grype/matcher/apk/matcher.go b/grype/matcher/apk/matcher.go index ac6ec12df96..04e692184f8 100644 --- a/grype/matcher/apk/matcher.go +++ b/grype/matcher/apk/matcher.go @@ -53,8 +53,23 @@ func (m *Matcher) Match(store vulnerability.Provider, p pkg.Package) ([]match.Ma // APK sources are also able to NAK v...
5
3
1
[{"id": "G0", "claim": "Both code paths that extract the file paths owned by an APK package should be updated to consistently use the ownedFilePaths helper.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fixed-version suppression logic issue...
null
anchore__grype__3286
anchore/grype
3,286
defect
214235392e518519c254b3b83bc5c26ff7db0168
d13ae6ab462953ab317c059c4cea4871fc0a3bf5
feat: ignore by relationship
This PR adds relationship information to Grype packages and the ability for APK ignore rules by package overlap to also apply if that location information is missing, but relationship information is present. Here are some handcrafted SBOMs (copied and reduced in size from larger SBOMs) that illustrate differences wi...
diff --git a/grype/match/ignore.go b/grype/match/ignore.go index 8a900dfd20f..3be406b7569 100644 --- a/grype/match/ignore.go +++ b/grype/match/ignore.go @@ -5,8 +5,10 @@ import ( "github.com/bmatcuk/doublestar/v2" + "github.com/anchore/grype/grype/pkg" "github.com/anchore/grype/grype/vulnerability" "github.co...
2
1
1
[{"id": "G0", "claim": "The ignore rule built by IgnoreRelatedPackage should set IncludeAliases, otherwise it will not suppress a GHSA on the owned package from a distro-based CVE fix.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The relationship-...
null
anchore__grype__3355
anchore/grype
3,355
defect
94fe6a41c9708c3804be102f11d65b9d43532e6a
30fd32352dc37447207af74ba988ba02f5c6b282
perf: create relationships for path-based ignores
This PR fixes a performance regression due to a new pattern for fixing language ecosystem false positives based on distro fix records. The specific issue has to do with the existing behavior of using package owned file paths for the filtering rules. There end up being quite a lot of these in many cases, which results i...
diff --git a/grype/db/v6/vulnerability.go b/grype/db/v6/vulnerability.go index a5c96ce6e62..ff05c0b7d79 100644 --- a/grype/db/v6/vulnerability.go +++ b/grype/db/v6/vulnerability.go @@ -129,7 +129,7 @@ func getVersionConstraint(affectedRanges []Range) (version.Constraint, error) { } versionFormat := version.ParseF...
3
3
1
[{"id": "G0", "claim": "The switch from comma-joined to '||'-joined constraints in getVersionConstraint should be pinned down with example tests, such as '< 1.0.0, < 2.0.0' not matching before '1.5.0' and matching after, added in or near Test_getVersionConstraint_multipleConstraintsUsesOrOperator, ideally with examples...
null
anchore__grype__946
anchore/grype
946
defect
90ac37d00d61787f62748a6d86b6c0618fa4e569
766cc6469ee515daccc9bcf337fa7a1f04282a4c
Add the total types of vulnerabilities in Grype output
Hi there, Thank you for keeping "Good first issue". Let me know if I did it correct. Notice I haven't include any tests. ![image](https://user-images.githubusercontent.com/20165848/193939634-980de4e8-f013-4bc9-b6a3-4b7f80e8a9ab.png) close #877 Take care
diff --git a/.bouncer.yaml b/.bouncer.yaml index 3bf6618abb9..9782e5bbebf 100644 --- a/.bouncer.yaml +++ b/.bouncer.yaml @@ -15,6 +15,9 @@ ignore-packages: # https://github.com/spdx/tools-golang/blob/main/LICENSE.code - github.com/spdx/tools-golang + # crypto/internal/boring is released under the openSSL licen...
12
9
4
[{"id": "G0", "claim": "The category counts should be displayed from Critical to Unknown (most severe first) instead of Unknown to Critical, as proposed in #709.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The summary line should also tack on the numb...
null
anchore__syft__3539
anchore/syft
3,539
defect
2c10b602f0dddd122550a220b46fd527a35f9195
860e245f143d58757e5e7e43473366d85109f6d4
feat: syft 3435 - add file components to cyclonedx bom output when file metadata is available
# Description This change updates syft to add cyclone-dx components with the type `file` when the underlying SBOM has coordinates that are mapped to their respective file metadata. - Fixes #3435 ### Example ``` export SYFT_FILE_METADATA_SELECTION="all" go run cmd/syft/main.go -o cyclonedx-json dir:../stereos...
diff --git a/syft/format/common/cyclonedxhelpers/to_format_model.go b/syft/format/common/cyclonedxhelpers/to_format_model.go index ba93a367e56..95686f1d2f5 100644 --- a/syft/format/common/cyclonedxhelpers/to_format_model.go +++ b/syft/format/common/cyclonedxhelpers/to_format_model.go @@ -12,6 +12,7 @@ import ( "githu...
5
4
4
[{"id": "G0", "claim": "Sizing fileComponents from s.AllCoordinates() while skipping coordinates without metadata may leave uninitialized file components in the CDX output.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Directories are emitted as CD...
null
anchore__syft__3572
anchore/syft
3,572
defect
b4e7b64d5ce04b6636b46ffe4b900936a51a4ddd
e4bf412f2b00530ed0e832d3d7c257bfd97948be
fix: fetch Dart package versions from sdk entries
# Description Packages that are provided by an SDK, mainly Flutter, will have their version set to 0.0.0 in Dart's pubspec.lock file. Their actual version is linked to that SDK, which is defined either as a version range or a minimum supported version, rather than an explicit, single version. The pubspec.lock fil...
diff --git a/syft/pkg/cataloger/dart/parse_pubspec_lock.go b/syft/pkg/cataloger/dart/parse_pubspec_lock.go index ebf41f822da..86a950bb3fe 100644 --- a/syft/pkg/cataloger/dart/parse_pubspec_lock.go +++ b/syft/pkg/cataloger/dart/parse_pubspec_lock.go @@ -4,10 +4,12 @@ import ( "context" "fmt" "net/url" + "regexp" ...
4
3
1
[{"id": "G0", "claim": "The error log for failing to resolve an SDK version should be lowered to trace level.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The success log reporting the resolved SDK version should be lowered to trace level with...
null
anchore__syft__3697
anchore/syft
3,697
defect
f6605a381731e09f312e9b0a124e776b980a0376
beb4bd363d8a5c29f4020c47308afb981ff2a8a0
Add downloadLocation URI validation
# Description Please include a summary of the changes along with any relevant motivation and context, or link to an issue where this is explained. <!-- If this completes an issue, please include: --> - Fixes #3696 ## Type of change <!-- Delete any that are not relevant --> - [x] Bug fix (non-breaking...
diff --git a/go.mod b/go.mod index 9b91e45fb1f..a2b50924b18 100644 --- a/go.mod +++ b/go.mod @@ -93,6 +93,7 @@ require ( github.com/bitnami/go-version v0.0.0-20250131085805-b1f57a8634ef github.com/hashicorp/hcl/v2 v2.23.0 github.com/magiconair/properties v1.8.9 + github.com/spdx/gordf v0.0.0-20201111095634-7098f9...
3
3
1
[{"id": "G0", "claim": "Instead of updating every spot in DownloadLocation to call checkUri, centralize the call: use a single `location` variable set in each case statement and return `UriValue(location)` once.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
anchore__syft__3923
anchore/syft
3,923
defect
e23ca43a8300acb7aa081b87ef294b561908bda5
6a31b6e6e2cc9ab73b90c821a863ffc6dcdd95ba
fix(relationship): favor real paths over symlinks for ownership by file
# Description This adjusts the way "ownership by file" relationships are formed, by preventing the scenario where a symlinked path can cause two packages to "own" the same package (one via the real path, and the other via the symlink). Now, when we're about to form a relationship via a symlink, we first check to see...
diff --git a/internal/relationship/by_file_ownership.go b/internal/relationship/by_file_ownership.go index 7d26e89fca4..1dbed84a8f1 100644 --- a/internal/relationship/by_file_ownership.go +++ b/internal/relationship/by_file_ownership.go @@ -92,6 +92,12 @@ func findOwnershipByFilesRelationships(resolver file.Resolver, c...
1
1
0
[{"id": "G0", "claim": "The nested map[string]map[string][]artifact.ID in directOwnersByPath could be simplified (e.g. to map[string][]pkg.Type or a simple string set) to make population and usage simpler, avoid creating a bunch of small maps, and possibly drop the package-type check.", "category": "design", "verdict":...
null
anchore__syft__4003
anchore/syft
4,003
defect
c19558dd73d430bb7c527af595359d4e80bab3a9
abb461aaab181185202e70851cc22e60f2d0cbeb
Add support for authors in package.json. Fixes #2250
# Description This PR adds support for parsing the `authors` field in `package.json` files. Previously, Syft only recognized the singular `author` field, but the npm ecosystem supports both formats. This change ensures that Syft properly parses both formats and combines them when both are present in a `package.json`...
diff --git a/syft/pkg/cataloger/javascript/package.go b/syft/pkg/cataloger/javascript/package.go index ed901fc8017..bc4e3619910 100644 --- a/syft/pkg/cataloger/javascript/package.go +++ b/syft/pkg/cataloger/javascript/package.go @@ -25,6 +25,23 @@ func newPackageJSONPackage(ctx context.Context, u packageJSON, indexLoca...
1
1
0
[{"id": "G0", "claim": "The regex named capture group does not need to be renamed from the more descriptive `name` to `n`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anchore__syft__4137
anchore/syft
4,137
defect
ab9db0024ed35ab6a4e33e539593f5a3c58a5594
d23d29ae0697058c2815e6a09b7cd84072272271
feat: Enable .rar files for Java resource adapters to be cataloged.
# Description Syft catalogs ".rar" Java resource adapter files. - resolves #4136 ## Type of change - [x] New feature (non-breaking change which adds functionality), see #4136 - [x] Documentation (updates the documentation) # Checklist: - [x] I have added unit tests that cover changed behavior - [x] I have test...
diff --git a/README.md b/README.md index a10bd03f511..a2a726e0e53 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ Note that flags using the @<version> can be used for earlier versions of each sp - Erlang (rebar3) - Go (go.mod, Go binaries) - Haskell (cabal, stack) -- Java (jar, ear, war, par, sar, nar, na...
4
2
1
[{"id": "G0", "claim": "Adding the \"**/*.rar\" glob may cause a problem when WinRAR (non-Java RAR) archives are encountered.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's unit tests are failing and need to be fixed.", "category"...
null
anchore__syft__4150
anchore/syft
4,150
defect
a433045d5179274073bee42e1379b2929c3aed7a
24f7bfbfc796730194d8911d42f2ebb9c2e732f7
chore: redhat cataloger error when sqlite not regsitered
# Description This PR causes a syft scan to return an error when there is no SQLite driver registered. This may occur when using Syft as a library and not including the import `_ "modernc.org/sqlite"`. - Fixes #3234 ## Type of change - [x] Chore (improve the developer experience, fix a test flake, etc, with...
diff --git a/examples/create_custom_sbom/main.go b/examples/create_custom_sbom/main.go index 11f1757c956..d6a7c90a17e 100644 --- a/examples/create_custom_sbom/main.go +++ b/examples/create_custom_sbom/main.go @@ -7,6 +7,7 @@ import ( "os" "gopkg.in/yaml.v3" + _ "modernc.org/sqlite" "github.com/anchore/syft/sy...
2
1
0
[{"id": "G0", "claim": "A comment should be left on the blank sqlite import explaining why it is needed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks how the missing-SQLite-driver error is surfaced to users, e.g. as a log.warn ...
null
anchore__syft__4390
anchore/syft
4,390
defect
89842bd2f645d82562b5027b1ba19c2a57aab14e
a92bb9fcc3c70df7521074645426a3ddc32179ad
Validating download_url for github repositories, and updating if necessary
# Description Checking a URL to be a github respository, and if so converting to an URL that is valid SPDX - Fixes #4362 ## Type of change - [X] Bug fix (non-breaking change which fixes an issue) # Checklist: - [X] I have tested my code in common scenarios and confirmed there are no regressions -...
diff --git a/syft/format/internal/spdxutil/helpers/download_location.go b/syft/format/internal/spdxutil/helpers/download_location.go index 93fd6d69db1..e65a6e0b963 100644 --- a/syft/format/internal/spdxutil/helpers/download_location.go +++ b/syft/format/internal/spdxutil/helpers/download_location.go @@ -1,6 +1,7 @@ pa...
1
1
1
[{"id": "G0", "claim": "The reviewer asks the author to add a test covering the new github-repository download-URL handling.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anchore__syft__4395
anchore/syft
4,395
defect
9aca8167b8530bc951e9570c9f4bb53955dda225
f619715d077beaf2573090e4796e224118f2b574
fix: golang PURL should include full module
# Description fixed wrong go module purl when module paths had version suffixes like /v5 <!-- If this completes an issue, please include: --> - Fixes #4316 ## Type of change <!-- Delete any that are not relevant --> - [x] Bug fix (non-breaking change which fixes an issue) # Checklist: - [x] I h...
diff --git a/syft/pkg/cataloger/golang/package.go b/syft/pkg/cataloger/golang/package.go index f07867e4c2b..cbcfc67a987 100644 --- a/syft/pkg/cataloger/golang/package.go +++ b/syft/pkg/cataloger/golang/package.go @@ -82,9 +82,28 @@ func packageURL(moduleName, moduleVersion string) string { name = fields[1] namesp...
2
1
1
[{"id": "G0", "claim": "The manual digit check in packageURL would be slightly more clear written with unicode.IsDigit(r).", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "For go.mod (and Go binaries) the PURL should use the full module name found i...
null
anchore__syft__4421
anchore/syft
4,421
defect
5b96d1d69d76098778be0f8556d1a63d1050239f
3f376c110423b1f897805a0bf73d091de68fcc7e
fix:handle compound aliases like ```.tgz``` when cataloging archives
# Description see: https://github.com/anchore/syft/issues/4416#issuecomment-3594688303 In the near future, it's the library ```archives``` who should fix the logic to support compound extension names like ```.tgz``` - Fixes #4416 ### Summary of magic bytes vs extension for archive detection: update: fil...
diff --git a/internal/file/archive_aliases.go b/internal/file/archive_aliases.go new file mode 100644 index 00000000000..c258b974e1d --- /dev/null +++ b/internal/file/archive_aliases.go @@ -0,0 +1,69 @@ +package file + +import ( + "context" + "io" + "os" + "path/filepath" + "strings" + + "github.com/mholt/archives" +) ...
4
4
2
[{"id": "G0", "claim": "The exported HandleCompoundArchiveAliases wrapper may no longer be needed and could be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "IdentifyArchive should accept a reader instead of opening the file itself, since caller...
null
anchore__syft__4480
anchore/syft
4,480
defect
c79a57b6a1e00c413bfd02269bbcd46133ecf7f7
38982a794f19e7af2c92be6dde40d6cafbfd06a1
Decompress UPX packed binaries to extract golang build info (ELF formatted binaries with lzma method only)
This PR enhances the go binary cataloger to be able to decompress LMZA payloads from ELF formatted binaries that have been packed by UPX (a [known practice](https://goreleaser.com/customization/upx/) to make the distributed binary size smaller). This illustrates the main issue we're trying to overcome: ``` # a fi...
diff --git a/go.mod b/go.mod index 9ff6040926e..08c50cdc19f 100644 --- a/go.mod +++ b/go.mod @@ -239,7 +239,7 @@ require ( github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.1 // indirect github.com/tidwall/sjson v1.2.5 // indirect - github.com/ulikunitz/xz v0.5.15 // indirect + github.com...
1
1
0
[{"id": "G0", "claim": "The `skip` field added to the test table appears unused and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
anchore__syft__4500
anchore/syft
4,500
defect
e9e34948534ab945c7e750376235cfe0c442f532
879e251ef73c828afa66df05067a12b66dde4e01
fix: snap cataloger incorrectly identifies snap container as deb package
The parseSnapYaml function was creating a DebPkg entry from meta/snap.yaml, which describes the snap container itself, not a debian package inside. This caused snaps like emacs (built from source) to incorrectly appear as debian packages in the SBOM output. Changes: - parseSnapYaml now returns an empty package ...
diff --git a/syft/pkg/cataloger/snap/parse_integration_test.go b/syft/pkg/cataloger/snap/parse_integration_test.go index b7039ba28e2..0e546970072 100644 --- a/syft/pkg/cataloger/snap/parse_integration_test.go +++ b/syft/pkg/cataloger/snap/parse_integration_test.go @@ -10,24 +10,12 @@ import ( func TestParseSnapYaml(...
1
1
0
[{"id": "G0", "claim": "The now-unneeded parseSnapYaml function and its related test should be removed entirely (updating capabilities.yaml as needed), since the pull request only removes the erroneous package creation and the function is not exported.", "category": "maintainability", "verdict": "supported", "priority"...
null
anchore__syft__4558
anchore/syft
4,558
defect
795432441754b910d4456fa982eb7df64c98b432
29bd6f337bf8e18889280025b14fb01804cde118
fix: correctly report supporting evidence for binary packages
## Description This PR adjusts the binary classifier to more appropriately return "supporting" evidence locations marked as such rather than being marked as "primary". This primarily affects go, ruby, and python binary classifiers, where each of these looks at files beyond the binary executable if it can't find vers...
diff --git a/syft/pkg/cataloger/binary/capabilities.yaml b/syft/pkg/cataloger/binary/capabilities.yaml index b55e0f08243..0b3a36e5181 100644 --- a/syft/pkg/cataloger/binary/capabilities.yaml +++ b/syft/pkg/cataloger/binary/capabilities.yaml @@ -109,16 +109,6 @@ catalogers: cpes: - cpe:2.3:a:...
1
1
1
[{"id": "G0", "claim": "The regex literal `my-verison` in the new SupportingEvidenceMatcher test is a typo and should read `my-version`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
anchore__syft__4569
anchore/syft
4,569
defect
836f358cd4c413be291c5e4e15a96e93e1739e72
6895d947599297f5d1fdb9b25393a5b0c8b9f856
feat: detect Debian version from /etc/debian_version
## Description Some Debian containers such as Debian distroless (e.g.. `docker.bintray.io/jfrog/artifactory-oss:6.23.13`) do not contain a verison in the `/etc/os-release` but do have a version in `/etc/debian_version`. This PR looks for a `debian_version` in the event that the release is identified as `debian` ...
diff --git a/syft/linux/identify_release.go b/syft/linux/identify_release.go index 6f0fd3a5c40..0ff7ab280ba 100644 --- a/syft/linux/identify_release.go +++ b/syft/linux/identify_release.go @@ -54,6 +54,12 @@ var identityFiles = []parseEntry{ // /////////////////////////////////////////////////////////////////////////...
3
2
1
[{"id": "G0", "claim": "In readDebianVersionFile the error paths (FileContentsByLocation and io.ReadAll failures) only log and continue, so the function should return a blank string early for all error cases in the function.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
anchore__syft__4642
anchore/syft
4,642
defect
db76d85d51632c5ebe077b024206fb77f182bbc8
e1146145dc1f3a75f7840259662585fdea06f122
fix(java): improve lz4 detection
Improve lz4 detection. Before: ``` $ syft --output purls /tmp/test-syft/ 2>/dev/null pkg:maven/org.lz4.java/lz4-java@1.8.0 ``` After: ``` $ ./syft-cli --output purls /tmp/test-syft/ 2>/dev/null pkg:maven/org.lz4/lz4-java@1.8.0 ``` And it now has intented effect with grype: ``` $ syft --output purls...
diff --git a/syft/pkg/cataloger/internal/cpegenerate/java_groupid_map.go b/syft/pkg/cataloger/internal/cpegenerate/java_groupid_map.go index a1e09b9f54e..7bb143f4d91 100644 --- a/syft/pkg/cataloger/internal/cpegenerate/java_groupid_map.go +++ b/syft/pkg/cataloger/internal/cpegenerate/java_groupid_map.go @@ -1910,4 +191...
1
1
1
[{"id": "G0", "claim": "Mapping the artifactID \"lz4-java\" blanketly to \"org.lz4\" may attribute the wrong groupId since multiple lz4-java artifacts with other groupIds (e.g. org.lz4.java, at.yawk.lz4) are in significant use; a groupId -> groupId correction map correcting org.lz4.java -> org.lz4 (while leaving reloca...
null
anchore__syft__4765
anchore/syft
4,765
defect
cc3b8eb48f6ebc8a7911b280341d49a91ba31765
12dca49cf6b03d5e042eab71d2ae83abd8340cfb
fix(javascript): ensure deterministic pnpm lockfile parsing
## Summary Fixes #4648 Running `syft -o syft-json` on a pnpm lockfile multiple times produces different artifact IDs because the Go map iteration order is nondeterministic. When multiple lockfile keys collapse to the same package key after peer dependency stripping (e.g. `pkg@1.0.0(peer-a@1)` and `pkg@1.0.0(peer-b@2)...
diff --git a/syft/pkg/cataloger/javascript/parse_pnpm_lock.go b/syft/pkg/cataloger/javascript/parse_pnpm_lock.go index 29001b9a6e4..6382f28bfa2 100644 --- a/syft/pkg/cataloger/javascript/parse_pnpm_lock.go +++ b/syft/pkg/cataloger/javascript/parse_pnpm_lock.go @@ -1,9 +1,13 @@ package javascript import ( + "cmp" ...
2
2
1
[{"id": "G0", "claim": "The sortedIter helper's slices.Sorted(maps.Keys(values)) makes an extra copy of the keys slice, adding avoidable allocations/work for potentially large pnpm lockfiles, and should instead match the java archive_parser pattern of maps.Keys followed by slices.Sort to sort in place.", "category": "p...
null
andeya__erpc__92
andeya/erpc
92
defect
87ff9fa50cbd581a0f54223bb95575db70c27cbb
92e0fcd5c1df91a46eb40ed0a6c914fdf12d9457
add websocket handshake_auth.go
add a handshake-plugin of websocket to auth by URL.Query info Usage: @see ```func TestHandshakeWebsocketAuth```
diff --git a/mixer/websocket/README.md b/mixer/websocket/README.md index 1194de7..9ade31d 100644 --- a/mixer/websocket/README.md +++ b/mixer/websocket/README.md @@ -11,6 +11,7 @@ Websocket is an extension package that makes the eRPC framework compatible with ```go import ( + "fmt" "net/http" "testing" "time" ...
2
2
0
[{"id": "G0", "claim": "The pull request's new code needs comments added.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment above `type Acceptor` should read 'Acceptor' instead of 'Checker'.", "category": "documentation", "verdict": "...
null
andialbrecht__sqlparse__265
andialbrecht/sqlparse
265
defect
b3700f44ff6945d1ace9d5d809dd272c9acd268e
66ae504c4bf8cc1f005c8822623d2b3c3d3e4aa3
token_next shouldn't ignore skip_cm argument
Seemed like this got left behind during all the refactoring
diff --git a/sqlparse/sql.py b/sqlparse/sql.py index 9656390a..4b4627f7 100644 --- a/sqlparse/sql.py +++ b/sqlparse/sql.py @@ -257,37 +257,25 @@ def token_prev(self, idx, skip_ws=True, skip_cm=False): """Returns the previous token relative to *idx*. If *skip_ws* is ``True`` (the default) whitespace ...
1
1
1
[{"id": "G0", "claim": "The regression test added by this PR is named `token_next_doesnt_ignore_skip_cm` without the `test_` prefix, so pytest never collects it and the PR's token_next/skip_cm behaviour change is left untested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
andialbrecht__sqlparse__457
andialbrecht/sqlparse
457
defect
47768597924d88cec426e379b4afae8b58491956
2501143ea77ac15b467a723257fc145b88caf613
[tokenizer] Grouping GROUP/ORDER BY
Apologies as I'm lacking some historical context but I was wondering why the `GROUP BY` and `ORDER BY` clauses were treated differently than `UNION ALL`, `LEFT JOIN` etc., i.e., being treated as two keywords (`ORDER` and `BY`) rather than one (`ORDER BY`). This PR updates the tokenizer to group these keywords toget...
diff --git a/sqlparse/filters/aligned_indent.py b/sqlparse/filters/aligned_indent.py index 906e330b..4b195bc4 100644 --- a/sqlparse/filters/aligned_indent.py +++ b/sqlparse/filters/aligned_indent.py @@ -15,11 +15,12 @@ class AlignedIndentFilter(object): join_words = (r'((LEFT\s+|RIGHT\s+|FULL\s+)?' ...
2
1
0
[{"id": "G0", "claim": "The added by_words tuple is never used; make it a regex like join_words (r'(GROUP|ORDER)\\s+BY\\b') and use it the same way.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether adding 'GROUP BY'/'ORDE...
null
andialbrecht__sqlparse__792
andialbrecht/sqlparse
792
defect
a2c7e642dc992d5b3972641144c4b05d6c6623ff
b0666d80984489ef78d030cd20b29f508e4b4815
[fix] issue262 fixing SQL-Hint deleting when clearing script from comments
#Fixing SQL-Hint deleting when clearing script from comments #262 What is done: 1. Added checking token type for Token.Comment.Multiline.Hint and Token.Comment.Single.Hint 2. Added some tests for covering basic behavior 3. Checked w/ tests from project 4. Checked on production SQL scripts 5. Checked as part o...
diff --git a/.gitignore b/.gitignore index 77479f17..23b78534 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,6 @@ MANIFEST .cache/ *.egg-info/ htmlcov/ -.pytest_cache \ No newline at end of file +.pytest_cache +**/.vscode +**/.env diff --git a/sqlparse/filters/others.py b/sqlparse/filters/others.py index 3388a7...
2
2
0
[{"id": "G0", "claim": "Remove the .gitignore additions for IDE/editor files (.vscode, .env) because the maintainer does not want to maintain a growing ignore list for personal IDE preferences.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
andlabs__libui__361
andlabs/libui
361
defect
ab336e0e8b4e261d04981e76de265c2c3af0a015
56aa8e16b5cac606f984f07b36fb6f3cd02f1c2f
Add minimal uiTable implementation for windows
(The first two commits are cherry-picked from the msys fixes - I needed them to build. The table changes are in a single commit) This uses the win32 common controls listview to implement uiTable. There are limitations: - It supports only a single TextPart per column. - ImagePart, CheckboxPart and ProgessBarPart...
diff --git a/common/utf.h b/common/utf.h index 41e556f80..eafcea0d7 100644 --- a/common/utf.h +++ b/common/utf.h @@ -28,12 +28,52 @@ extern size_t uiprivUTF16UTF8Count(const uint16_t *s, size_t nElem); #ifdef __cplusplus } -// Provide overloads on Windows for using these functions with wchar_t and WCHAR when wchar_...
19
18
1
[{"id": "G0", "claim": "HIMAGELIST cannot be used for the stubbed uiImage because it models a set of visually distinct images of the same pixel size, while uiImage needs visually identical images at different pixel sizes for DPI independence.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "i...
null
andreafrancia__trash-cli__248
andreafrancia/trash-cli
248
defect
08c6ab0f8308fce00cbf4b9090d0b37c617c5ea7
2abf23e3f808a82dfbd57d1ccc889aef86a398cd
Add shell completions by shtab
shtab only support argparse, so trash-put use a manual written zsh script trash-rm use default completion ## Install ```sh sudo cp scripts/_trash /usr/share/zsh/site-functions cmds=(empty list restore) for cmd in $cmds; do trash-$cmd --print-completion bash | sudo tee /usr/share/bash-completion/completions...
diff --git a/scripts/_trash b/scripts/_trash new file mode 100644 index 00000000..93013f11 --- /dev/null +++ b/scripts/_trash @@ -0,0 +1,19 @@ +#compdef trash trash-put + +# https://github.com/zsh-users/zsh/blob/19390a1ba8dc983b0a1379058e90cd51ce156815/Completion/Unix/Command/_rm#L70-L76 +_trash_file() { + (( CURRENT ...
4
4
2
[{"id": "G1", "claim": "The hardcoded 'trash-empty' program name passed to ArgumentParser is not needed and this value should arrive from outside, maybe from a parameter.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The FILE, DIRECTORY and DIR constant...
null
andreafrancia__trash-cli__249
andreafrancia/trash-cli
249
defect
408ed0cbe40cd83df3c1b094f555cf685f3e959a
93314fb97eceaebfb1024c77397b03c478d5dfe1
Change optparse to argparse
I cherry-pick the changes about converting optparse to argparse for convenience of review. Thanks.
diff --git a/tests/put/test_end_to_end_put.py b/tests/put/test_end_to_end_put.py index 8af89b87..f07d44d8 100644 --- a/tests/put/test_end_to_end_put.py +++ b/tests/put/test_end_to_end_put.py @@ -25,14 +25,14 @@ def test_without_args(self): assert [first_line_of(result.stderr), result.exit_co...
9
9
7
[{"id": "G0", "claim": "The pull request has failing tests that must be made to pass (run with pytest).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Do not use the __doc__ variable for the --help epilog text — it is not this module's doc; use an '...
null
andrejewski__himalaya__142
andrejewski/himalaya
142
defect
23267473e56cf8c83c701a1535861982c8d02cbe
89a852ce50209f1e0d6988ba5cb3fd1bea85c6eb
Add 'preferDoubleQuoteAttributes' option to stringify
- [x] Concat `parseDefaults` and `options` to allow only passing in overridden values - [x] Added test coverage (3 tests) - [x] Added optional stringify pane to docs/index.html with checkbox for quote behavior Let me know if there's anything I can improve 🙂 Closes #94
diff --git a/docs/dist/himalaya.js b/docs/dist/himalaya.js index 5484d76..a6afb46 100644 --- a/docs/dist/himalaya.js +++ b/docs/dist/himalaya.js @@ -114,23 +114,30 @@ var _format = require("./format"); var _stringify = require("./stringify"); var _tags = require("./tags"); function _interopRequireDefault(obj) { retu...
3
3
1
[{"id": "G0", "claim": "The spread-merging of parseDefaults into options at every call in parse() and stringify() is not needed; callers should extend parseDefaults themselves as documented.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'should pref...
null
andrew-blake__melcloudhome__8
andrew-blake/melcloudhome
8
defect
5c57289a521815ed628cf7c935123727f2332d36
bbc8c934cc9d532bacb7042030368e7b077bfa6d
Release v1.3.0: Session recovery and service call optimizations
## User Benefits ### No More "Session Expired" Errors Climate controls (temperature, mode, fan, vanes) now work reliably even when your MELCloud session expires. The integration automatically re-authenticates in the background so you never see errors. ### Faster Scene Activation Scenes and automations that control ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f6d659f..895ad21a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,38 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Ve...
4
4
1
[{"id": "G0", "claim": "async_turn_on and async_turn_off still use immediate refresh while the other service calls use debounced refresh; they should use async_request_refresh_debounced() for consistency with the other service call methods and to prevent race conditions.", "category": "correctness", "verdict": "support...
null
andrewferrier__memy__105
andrewferrier/memy
105
defect
e842b997ad70b05d8484b95fde024e2c199d940a
6a0ea54812bd1fa28dbdbd36e93e2aefa3017412
Add --newer-than flag to filter paths by noted timestamp
- [x] Add `humantime` dependency for parsing duration/datetime strings - [x] Add `--newer-than` argument to `ListArgs` struct in `src/cli.rs` - [x] Implement parsing logic to handle both interval formats (e.g., '4d', '3h') and ISO-8601 formats - [x] Modify `calculate` function in `src/list.rs` to filter based on `last_...
diff --git a/Cargo.lock b/Cargo.lock index 272e047..33ae471 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -631,6 +631,12 @@ dependencies = [ "libm", ] +[[package]] +name = "humantime" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "135b12329e5e3ce057a9f972339ea52bc95...
2
2
0
[{"id": "G0", "claim": "The CLI help description for --newer-than should be shortened by dropping its last sentence.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment on parse_newer_than is not needed and should be removed.", "categor...
null
andrewferrier__memy__125
andrewferrier/memy
125
defect
501b7d6f78f9900aed5d1da291ab4b658b37f924
e03db2a374a338729a52f7ec5f6bb8b09eb15bd2
feat(list): add `ls` as alias for `list` command
Adds `ls` as a visible alias for the `list` subcommand so `memy ls` works identically to `memy list`, while keeping `list` as the primary command in docs and help output. ## Changes - **`src/cli.rs`** — Added `#[command(visible_alias = "ls")]` to the `List` variant; `ls` appears in `--help` output. - **`README.md`** ...
diff --git a/README.md b/README.md index 6ade951..5c335f8 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ Currently, memy has been tested on Linux and MacOS (limited). It has not been te memy list ``` + (`ls` is an alias for `list`, so `memy ls` works too.) + - Open a recently used file in your edito...
2
1
0
[{"id": "G0", "claim": "Don't include the usage-string change that appends \"(alias: ls)\" to the memy list line in src/cli.rs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The extra blank line after test_ls_alias_for_list in tests/basic.rs should be r...
null
andrewyng__aisuite__138
andrewyng/aisuite
138
defect
66eb2f100cc214282928148e6ef64a9eef85b1f3
9f587b3b130a9deebd3479848830417840956360
Integration with Nebius AI Studio added
Hey team, Thanks for a great framework! Adding integration with Nebius AI Studio, which provides access to state-of-the-art models.
diff --git a/aisuite/providers/nebius_provider.py b/aisuite/providers/nebius_provider.py new file mode 100644 index 00000000..a90e8ef4 --- /dev/null +++ b/aisuite/providers/nebius_provider.py @@ -0,0 +1,65 @@ +import os +import httpx +from aisuite.provider import Provider, LLMError +from aisuite.framework import ChatCo...
3
2
1
[{"id": "G0", "claim": "The new Nebius provider test exercises the real API instead of mocking the provider interaction, and should be updated to follow the mocked pattern used by other provider tests such as SambaNova.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G...
null
andrewyng__aisuite__189
andrewyng/aisuite
189
defect
6a1ac22ce3145feab17cc2ca1591a5989e82e041
5fdd02e819eb3e1c5285988d83dce4b0072c0f67
Add support for Cerebras Cloud SDK
Fixes #195
diff --git a/.env.sample b/.env.sample index cc933d9b..d3ccf547 100644 --- a/.env.sample +++ b/.env.sample @@ -12,6 +12,9 @@ AWS_REGION= # Azure AZURE_API_KEY= +# Cerebras +CEREBRAS_API_KEY= + # Google Cloud GOOGLE_APPLICATION_CREDENTIALS=./google-adc GOOGLE_REGION= diff --git a/.gitignore b/.gitignore index a09...
1
1
0
[{"id": "G0", "claim": "The README provider list should be reordered alphabetically so listing Cerebras first does not show preference.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
andrewyng__aisuite__24
andrewyng/aisuite
24
defect
75120e9e2a56c291b7b43160efe55fef0944b404
df02123e16faae122075808510314c56f6c906ff
Add VertexInterface
This branch adds Google's [Vertex AI](https://cloud.google.com/vertex-ai) as a provider. Also, like we discussed, I took a stab at making a setup guide.
diff --git a/aimodels/client/client.py b/aimodels/client/client.py index 2276eb76..95dd03fa 100644 --- a/aimodels/client/client.py +++ b/aimodels/client/client.py @@ -12,6 +12,7 @@ OpenAIInterface, ReplicateInterface, TogetherInterface, + VertexInterface, ) @@ -48,6 +49,7 @@ def __init__(self): ...
4
4
3
[{"id": "G0", "claim": "The provider key \"vertex\" should be named \"google\" (or \"gcp\") to indicate Google Cloud Platform, cascading through the imports and related code.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The role conversion should use a...
null
andrewyng__aisuite__27
andrewyng/aisuite
27
defect
00105ae58c522a968d3da8b90bbf586a18a7fbea
510b8814b1d37dcef2712ec0fbc2395de82ab0f9
Refactoring client and providers.
Added Azure support & refactored code. Refactoring includes - - ProviderFactory. - Lazily import the provider based on config passed to Client.
diff --git a/.gitignore b/.gitignore index f1f1d58d..e1084c98 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea/ .vscode/ __pycache__/ +env/ diff --git a/aisuite/__init__.py b/aisuite/__init__.py index 3ff722bf..7f5ee70b 100644 --- a/aisuite/__init__.py +++ b/aisuite/__init__.py @@ -1 +1,2 @@ from .cli...
7
7
1
[{"id": "G0", "claim": "The Client constructor docstring should document the provider_configs argument and what data it expects.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ':' presence check is too weak: model strings containing extra colo...
null
andrewyng__aisuite__29
andrewyng/aisuite
29
defect
62478761cf81ac228e29b2714355aea0719e2043
a9915d065063a694db0039367fee79a886792683
Update GoogleProvider
This branch updates the Google provider to match the new initialization pattern.
diff --git a/aisuite/provider.py b/aisuite/provider.py index 46e8f493..3bf81062 100644 --- a/aisuite/provider.py +++ b/aisuite/provider.py @@ -23,6 +23,7 @@ class ProviderNames(str, Enum): ANTHROPIC = "anthropic" AZURE = "azure" GROQ = "groq" + GOOGLE = "google" class ProviderFactory: @@ -40,6 +4...
3
3
0
[{"id": "G0", "claim": "The explicit import of GoogleProvider in aisuite/providers/__init__.py can be dropped since provider.py now loads providers dynamically.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Google should also be added to the pr...
null
andrewyng__aisuite__38
andrewyng/aisuite
38
defect
afe2af163fb9d60fb9495d814a62de12d3772151
3e8550c9f03bd3e59b4f30712398481b1b8577b6
Fixed few nits, Added http based Fireworks.
Added Fireworks provider using http. Fixed few things based on the doc.
diff --git a/aisuite/provider.py b/aisuite/provider.py index 39425c36..e3e223e6 100644 --- a/aisuite/provider.py +++ b/aisuite/provider.py @@ -21,12 +21,14 @@ class ProviderNames(str, Enum): ANTHROPIC = "anthropic" AWS = "aws" AZURE = "azure" + FIREWORKS = "fireworks" GROQ = "groq" GOOGLE = ...
2
2
0
[{"id": "G0", "claim": "In FireworksProvider.__init__, pass the env var as dict.get's default argument instead of using `or`, i.e. config.get(\"api_key\", os.getenv(\"FIREWORKS_API_KEY\")).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In Toget...
null
andrewyng__aisuite__39
andrewyng/aisuite
39
defect
afe2af163fb9d60fb9495d814a62de12d3772151
5f0b8276b674677479f464d74611da2397a4bc71
Convention based loading of Provider modules.
Loads the Provider class based on below convention. Eg: For "aws:model-name", 1) look for providers/aws_provider.py 2) load AwsProvider class from above file. This allows convention based addition of new providers.
diff --git a/aisuite/__init__.py b/aisuite/__init__.py index 7f5ee70b..3ff722bf 100644 --- a/aisuite/__init__.py +++ b/aisuite/__init__.py @@ -1,2 +1 @@ from .client import Client -from .provider import ProviderNames diff --git a/aisuite/client.py b/aisuite/client.py index 326a83c0..384b29b6 100644 --- a/aisuite/clien...
1
1
0
[{"id": "G0", "claim": "get_supported_providers could use a set comprehension instead of a list for faster lookups, though for a set this size it likely won't matter.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
andriyDev__landmass__115
andriyDev/landmass
115
defect
5ef297150a79f3d74c12c1874aed487490d5d79c
4d310ae7213ead9c9f5ebdc32b610e218dde0abc
Make the schedule configurable and change the default to RunFixedMainLoop
Previously, we ran the navigation logic in `Update` - this occurs after `FixedUpdate` which is where physics movement (usually) occurs. Ideally we'd like to integrate as many changes and assign the most up-to-date desired movement *before* FixedUpdate. Putting it in `RunFixedMainLoop` allows us to do this. In additi...
diff --git a/crates/bevy_landmass/src/lib.rs b/crates/bevy_landmass/src/lib.rs index a840cab..1fb0d49 100644 --- a/crates/bevy_landmass/src/lib.rs +++ b/crates/bevy_landmass/src/lib.rs @@ -3,10 +3,12 @@ use std::{collections::HashMap, marker::PhantomData, sync::Arc}; use bevy::{ + app::{RunFixedMainLoop, RunFixedM...
2
1
0
[{"id": "G0", "claim": "The plugin's default schedule should stay Update; the pull request should not switch the default to RunFixedMainLoop (making the schedule configurable is fine).", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `_pd` field should b...
null
androidx__media__1225
androidx/media
1,225
defect
24e1796c5095921df1da9ca9d2f6fa86d2f4bf8c
d245a9cbfe43a8eda21a5a2a96f07a0d225d3e5a
Add support for parsing RTP packets with header extension used in RTSP
RTP packets that contain header extension should be properly handled. Something about that is available in RFC3550, Section 5.3.1. This fix only reads the header extension from the RTP packet if exists. It is done before parsing the remaining payload data, so that payload data can be handled properly. Without thi...
diff --git a/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtpPacket.java b/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtpPacket.java index 7f3add3b756..3b03901c5b9 100644 --- a/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtpPacket.java +++ b/...
8
7
3
[{"id": "G0", "claim": "Add a unit test in RtpPacketTest for the change, ideally one showing that an RTP packet containing both a header extension and a payload parses correctly (which failed without the fix).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
androidx__media__1235
androidx/media
1,235
defect
d269b9375532c00ed205628e459cb81224a3c0cf
a5524c09c50007a44f5cf1c13ab142708d9ecf2d
Add Dolby Vision Transcoding and Editing Support
This code contribution adds Dolby Vision transcoding and editing support to transformer.
diff --git a/libraries/transformer/src/main/java/androidx/media3/transformer/DefaultDecoderFactory.java b/libraries/transformer/src/main/java/androidx/media3/transformer/DefaultDecoderFactory.java index 180664bb2fe..7b8671e33d8 100644 --- a/libraries/transformer/src/main/java/androidx/media3/transformer/DefaultDecoderF...
6
4
1
[{"id": "G0", "claim": "Write the Dolby Vision mime-type check without the yoda condition, as format.sampleMimeType.equals(...)/Objects.equals(...) per the codebase convention, since Format.sampleMimeType is @Nullable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
androidx__media__1346
androidx/media
1,346
defect
13a3aa7e770a6170eea9abacd4525b900bc5a9dc
d0e72141850d3c271fc26b488323cda5959fcfe2
Do not flush eac3(joc) decoder on reuse
eac3(joc) decoders do not need to be flushed to be reused for the next compatible track. This change allows for gapless playback on devices with Dolby decoders that require internal re-initialization on flush.
diff --git a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCodecInfo.java b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCodecInfo.java index a4696e30d7e..9ae5e28847c 100644 --- a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCod...
5
2
2
[{"id": "G0", "claim": "The reviewer asks what data backs the assumption that eac3(joc) has independent samples (like xHE-AAC), on which the no-flush reuse change rests.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new eac3/eac3-joc reuse chec...
null
androidx__media__1652
androidx/media
1,652
defect
2b031484fe84562994915d5d867226672d7238a5
26149d485dd6027ff2d1540c21bdb857345bafa0
Add VTT voice spans to cues
This adds voice spans available in WebVTT cues. Spans were already parsed but they were never exposed and attached to the output `Spannable` created by `WebvttCueParser`. For more info see: #1632
diff --git a/libraries/common/src/main/java/androidx/media3/common/text/CustomSpanBundler.java b/libraries/common/src/main/java/androidx/media3/common/text/CustomSpanBundler.java index edcda586d2d..d5f7d15e322 100644 --- a/libraries/common/src/main/java/androidx/media3/common/text/CustomSpanBundler.java +++ b/libraries...
2
2
1
[{"id": "G0", "claim": "The classes field on the new VoiceSpan class isn't useful without access to the rest of the styling info, so it should be removed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The VoiceSpan field speakerName should be renamed to...
null
androidx__media__2113
androidx/media
2,113
defect
d23d4fc3145e5d452e5a5bd073c6f9b98982782a
57bcf991d8281631aaa6fc3b15c1177e8b24e64c
Allow shouldStartPlayback have the last rebuffer time
- **Add lastRebufferRealtimeMs to LoadControl.Parameters**
diff --git a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/ExoPlayerImplInternal.java b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/ExoPlayerImplInternal.java index 6d0ff9d2c88..8558122b61f 100644 --- a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/ExoPlayerImplInternal.java ...
2
1
0
[{"id": "G0", "claim": "The new field and its javadoc should use microseconds (`Us`) instead of milliseconds so it is consistent with the other position units in LoadControl.Parameters.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Inline comments should ...
null
androidx__media__2413
androidx/media
2,413
defect
2d8ae236ca266c3b3e82d82cfaf39960bf01a0ca
a485c4754d1cfc26f784b085e53a97910c1bdbaf
RTSP H265 Aggregation packet support
Aggregation packet support for H265 RTSP added according to the specification. The implementation is based on the assumption that DONL won't be present in the packet since `sprop-max-don-diff != 0` is not supported Fixes issue: https://github.com/androidx/media/issues/1008
diff --git a/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/reader/RtpH265Reader.java b/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/reader/RtpH265Reader.java index e59e680a2c0..61f4b7c1424 100644 --- a/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp...
4
4
2
[{"id": "G0", "claim": "The hand-rolled two-byte NAL unit size read in processAggregationPacket should use the built-in data.readUnsignedShort() instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new aggregation-packet handling in RtpH2...
null
androidx__media__2427
androidx/media
2,427
defect
f93d0837b495a0f9fec1067ed1316926b461fc13
ede113ee591f36c058b60d11bc4bc463381ca11d
#2426 Support updating HLS Interstitials according to the HLS spec
### Use case description According to the latest version of the HLS spec at https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.5.1 > If a Playlist contains two EXT-X-DATERANGE tags with the same ID > attribute value, then any AttributeName that appears in both tags > MUST have th...
diff --git a/libraries/exoplayer_hls/src/main/java/androidx/media3/exoplayer/hls/playlist/HlsPlaylistParser.java b/libraries/exoplayer_hls/src/main/java/androidx/media3/exoplayer/hls/playlist/HlsPlaylistParser.java index d61e4db5592..d3484184bce 100644 --- a/libraries/exoplayer_hls/src/main/java/androidx/media3/exoplay...
5
3
1
[{"id": "G0", "claim": "The parser and HlsMediaPlaylist need no changes for this; a reloaded playlist already carries the new interstitials and the ads loader should update the AdPlaybackState when the same interstitial comes back with changed attributes.", "category": "design", "verdict": "opposed", "priority": "P2", ...
null
androidx__media__2553
androidx/media
2,553
defect
d00f370beb649ffb7087379cb28c8f08e8c21f8d
dae370d780d02821a90bdcf3dabcfb107052614a
Fix RTL punctuation marks issues with mixed BiDi subtitles
This PR fixes the punctuation marks issues with subtitles text containing a mix of RTL and LTR languages. https://github.com/google/ExoPlayer/issues/11214 https://github.com/jellyfin/jellyfin-androidtv/issues/4296
diff --git a/libraries/ui/src/main/java/androidx/media3/ui/SubtitlePainter.java b/libraries/ui/src/main/java/androidx/media3/ui/SubtitlePainter.java index 4d298da946d..8b0963fa7d8 100644 --- a/libraries/ui/src/main/java/androidx/media3/ui/SubtitlePainter.java +++ b/libraries/ui/src/main/java/androidx/media3/ui/Subtitle...
6
6
3
[{"id": "G0", "claim": "containsRTL should deal in code points rather than chars so it also works with supplementary plane characters.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The manual line joining with a StringBuilder should use Guava's Joi...
null
androidx__media__313
androidx/media
313
defect
e4194fc862ef157a5b0f0e2940d05eab15425f93
4a3bd4ecf7b4889feb0f71da60a2ba6755b9b5ab
Fix skipShortTermRefPicSets in ts/H265Reader
Same as https://github.com/google/ExoPlayer/pull/11105 This PR try to resolve issue androidx/media#303 > https://github.com/androidx/media/files/11178000/h265_playback_failed.zip The attached [media file](https://github.com/androidx/media/files/11178000/h265_playback_failed.zip) in issue androidx/media#303 can b...
diff --git a/libraries/extractor/src/main/java/androidx/media3/extractor/ts/H265Reader.java b/libraries/extractor/src/main/java/androidx/media3/extractor/ts/H265Reader.java index e15091d3ba1..a9b045219b2 100644 --- a/libraries/extractor/src/main/java/androidx/media3/extractor/ts/H265Reader.java +++ b/libraries/extracto...
5
5
4
[{"id": "G0", "claim": "The changes to numDeltaPocs handling in skipShortTermRefPicSets do not appear to reflect the pseudocode of H.265 spec section 7.3.7, so the one-line used_by_curr_pic_flag fix should be split out and the rest of the logic discussed against the spec.", "category": "correctness", "verdict": "suppor...
null
androidx__media__53
androidx/media
53
defect
4b72335d51f0ffe52f7f0287d463b07d08de9bff
be108b9e5ee9a3596c8d9d7183074eeedc498cba
Add support for RTSP Opus
Added Opus RTP packet reader and added support for Opus playback through RTSP Change-Id: Ib6702bd8aafd0bd782e89127ab907061ff06ccb3
diff --git a/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtpPayloadFormat.java b/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtpPayloadFormat.java index 297353167b9..d1c56b3176b 100644 --- a/libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtpPayl...
12
11
1
[{"id": "G0", "claim": "Reorder the RTP_MEDIA_OPUS constant (and its other occurrences, including the case list in isFormatSupported) into alphabetical order, below H265.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The checkArgument(channelCo...
null
androidx__media__574
androidx/media
574
defect
670658f3aec2ad4823c110cb8e4dd73dda2244c7
9cbd6c8f9a5dbbbbc93e1749ee60785c75e7c6e9
DASH UrlTemplate parses template if it contains more than one time ea…
With DASH, it's possible to have multiple times each DASH identifier in a template (for example by using a proxy, see [Chaos streaming proxy](https://github.com/Eyevinn/chaos-stream-proxy)). This commit allows to compile templates containing more than 4 identifiers (it was not possible before)
diff --git a/libraries/exoplayer_dash/src/main/java/androidx/media3/exoplayer/dash/manifest/UrlTemplate.java b/libraries/exoplayer_dash/src/main/java/androidx/media3/exoplayer/dash/manifest/UrlTemplate.java index 8d36fce52c5..58cd3e594ca 100644 --- a/libraries/exoplayer_dash/src/main/java/androidx/media3/exoplayer/dash...
3
3
2
[{"id": "G0", "claim": "Add unit tests in UrlTemplateTest.java covering template segments that contain more than one identifier.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The identifier-counting regex does not take the $$ escape sequence into accou...
null
androidx__media__650
androidx/media
650
defect
282171cb6f469c85d1b5eee1e07f571b5f3021da
af7c9d8f9dcb37438bb4f13b7b7919695ed8f151
Fix DTS Express Audio Buffer Underflow Issue.
Problem Description DASH DTS Express audio playback results in buffer underrun issues. This can be heard as regular blips in the output. Solution DTS Express audio for streaming, uses a frame size (number of audio samples per channel per frame) of 4096. This requires a higher multiple for the buffersize computatio...
diff --git a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/audio/DefaultAudioSink.java b/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/audio/DefaultAudioSink.java index f50a2146fb3..8b441399d9b 100644 --- a/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/audio/DefaultAudioSink.ja...
8
8
2
[{"id": "G0", "claim": "The static mutable currentMimeType state added to the DtsUtil utility class is error-prone because calling clearCurrentMimeType can easily be forgotten; the reviewer asks to pass the needed information through DefaultAudioSink.configure / getBufferSizeInBytes instead.", "category": "design", "ve...
null
androidx__media__692
androidx/media
692
defect
a879bae1ee2c684e8100f50bcff39655d46a2e8d
b0bc1eaa08897b59c593088d214d2a14f56b4ce7
Add AV1 color space parsing in MP4 atom parser
This adds av1C parsing based on the AV1 bitstream specification: https://aomediacodec.github.io/av1-spec/av1-spec.pdf This is needed to have correct color space when using hardware AV1 decoder.
diff --git a/libraries/extractor/src/main/java/androidx/media3/extractor/mp4/AtomParsers.java b/libraries/extractor/src/main/java/androidx/media3/extractor/mp4/AtomParsers.java index 15d5aa0428c..af4034e2f1e 100644 --- a/libraries/extractor/src/main/java/androidx/media3/extractor/mp4/AtomParsers.java +++ b/libraries/ex...
10
9
2
[{"id": "G0", "claim": "Rename the bit-reading helper f(n) to a more helpful name and move its inline spec comments into a Javadoc above the method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The private Av1BitstreamParser inner class needs ...
null
androidx__media__942
androidx/media
942
defect
7b450f0d0a75f14b2bea3d975671e6f5d2948e15
ffd3ea269cbf26397b06fa86bd3a4894a8446a6a
Ignore rowLock and columnLock values as specified by ANSI/CTA-708-E S…
ANSI CTA-708-E S-2023 specification indicates that row and column lock values should be ignored in DefineWindow command and decoders should assume rows and columns are locked. 8.4.7 Window Row and Column Locking Prior to CEA-708-D, parameters row lock (rl) and column lock (cl) in the DefineWindow (DFx) command were...
diff --git a/libraries/extractor/src/main/java/androidx/media3/extractor/text/cea/Cea708Parser.java b/libraries/extractor/src/main/java/androidx/media3/extractor/text/cea/Cea708Parser.java index e5ff146f522..ec6822f5099 100644 --- a/libraries/extractor/src/main/java/androidx/media3/extractor/text/cea/Cea708Parser.java ...
3
2
1
[{"id": "G0", "claim": "Use skipBits() instead of readBits() for the ignored rowLock/columnLock bits so the code makes clear their values are discarded.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a test case to Cea708ParserTest demonstra...
null
andrzejchm__RESTMock__39
andrzejchm/RESTMock
39
defect
eca3c34248f4f8c6a6bc7fac6120c720e3238ab0
78723fd03c34b872491aff34aa41dd7df1c55e30
Feature/query parameters
Adds two methods: `hasQueryParameters()` and `hasQueryParameters(AbstractMap.SimpleEntry<String, String> params...)`. The latter version checks whether the request has _exactly_ the query parameters specified, whereas the former checks whether there are _any_ parameters given at all.
diff --git a/core/src/main/java/io/appflate/restmock/utils/RequestMatchers.java b/core/src/main/java/io/appflate/restmock/utils/RequestMatchers.java index 8c01d9d..ef6b0b3 100644 --- a/core/src/main/java/io/appflate/restmock/utils/RequestMatchers.java +++ b/core/src/main/java/io/appflate/restmock/utils/RequestMatchers....
2
2
1
[{"id": "G0", "claim": "Use a dedicated QueryParam class instead of SimpleEntry for expected query parameters, so users are not confused about what the parameter represents.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In splitQuery it is better to cre...
null
andybalholm__cascadia__26
andybalholm/cascadia
26
defect
65919c611220063037b1db8eb334acaf17a6d8ea
bf1ea067980890da71fe6e2e95c05f540e1ae890
use html.Render() to replace nodeString()
- [*] use html.Render() to replace nodeString(). Closed #23. - [+] add two more multiple attribute selector test cases You may want to take a closer look at the following code, ``` { `<ul> <li><a id="a1" href="http://www.google.com/finance"></a> <li><a id="a2" href="http://finance.yahoo.com/"></a> ...
diff --git a/selector_test.go b/selector_test.go index d352b65..f033313 100644 --- a/selector_test.go +++ b/selector_test.go @@ -1,6 +1,7 @@ package cascadia import ( + "bytes" "strings" "testing" @@ -31,52 +32,52 @@ var selectorTests = []selectorTest{ `<body><address>This address...</address></body>`, ...
2
2
0
[{"id": "G0", "claim": "The nodeString function, whose call sites the PR replaced with html.Render, might as well be removed from selector_test.go while the PR is at it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of replacing the cal...
null
andybalholm__cascadia__39
andybalholm/cascadia
39
defect
522016bd51eb0fc77267ad1ff58392f126698402
f834833d47d5ecc6ad9288b238d592e4459c386f
Add specificity support
As discussed previously, this PR adds support for specificity. The method MatchWithSpecificity (for SelectorGroup) is not yet implemented. (Some tests for pseudo classes are missing.)
diff --git a/parser.go b/parser.go index 993145f..4f8810e 100644 --- a/parser.go +++ b/parser.go @@ -423,7 +423,7 @@ var errExpectedClosingParenthesis = errors.New("expected ')' but didn't find it" var errUnmatchedParenthesis = errors.New("unmatched '('") // parsePseudoclassSelector parses a pseudoclass selector li...
1
1
0
[{"id": "G0", "claim": "Specificity.Add should be a value method returning a new Specificity rather than a pointer-receiver method that mutates the receiver.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
andybalholm__cascadia__51
andybalholm/cascadia
51
defect
939eba4c4a232f53753119c3426570d3ef54f264
d345bfdb643c3c70a61e2a2933e06b57a512331e
Add ignore case feature for CSS selectors attributes
Following #49 request, I tried to add the case-insensitive flag `i` for CSS selectors attributes. `s` wasn't implemented. I also added some tests for that new feature as well.
diff --git a/parser.go b/parser.go index c1d1fd7..34cdfeb 100644 --- a/parser.go +++ b/parser.go @@ -405,10 +405,18 @@ func (p *parser) parseAttributeSelector() (attrSelector, error) { return attrSelector{}, err } + // check if the attribute contains an ignore case flag + ignoreCase := false + if p.s[p.i] == ' '...
1
1
1
[{"id": "G0", "claim": "The ignore-case flag parsing is too simple and should be made more robust: it should accept any whitespace before the flag (multiple spaces or a tab), not just a single space, and should also accept the capital 'I'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
andybalholm__cascadia__54
andybalholm/cascadia
54
defect
782459c29b415ba3d39f942ef0829aa4ed9883e0
8756ddca7d17cfbaa9f8ce05895f3ae14fd3b334
allow identifiers to have many dashes as prefix.
Hi I wanted to give it a try, please have a look. The idea here is to enable different prefix parser functions per identifier type. If this is about to get merged, please add the label 'hacktoberfest-accepted' fixes #47
diff --git a/parser.go b/parser.go index f654c0c..9ac32aa 100644 --- a/parser.go +++ b/parser.go @@ -97,10 +97,14 @@ func nameChar(c byte) bool { // parseIdentifier parses an identifier. func (p *parser) parseIdentifier() (result string, err error) { - startingDash := false - if len(p.s) > p.i && p.s[p.i] == '-' { ...
1
1
0
[{"id": "G0", "claim": "Replace the goto-based loop in parseIdentifier with a for statement instead of using a goto.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
andyholmes__valent__216
andyholmes/valent
216
defect
e6a5b62f65433789d346fa8a70b912f960d07a81
4b4e6eb4ff6a15716816dd26251411511f9dc6e9
feat: add ValentConnectivityReportPlugin
Add support for the `connectivity_report` namespace of packets.
diff --git a/build-aux/flatpak/ca.andyholmes.Valent.Devel.json b/build-aux/flatpak/ca.andyholmes.Valent.Devel.json index 3403b273aa2..73c544a3fe1 100644 --- a/build-aux/flatpak/ca.andyholmes.Valent.Devel.json +++ b/build-aux/flatpak/ca.andyholmes.Valent.Devel.json @@ -24,6 +24,7 @@ "--socket=wayland", ...
11
11
0
[{"id": "G0", "claim": "The setUp method of the ModemManager test fixture assigns a 'template' variable that is never used, since the template path is repeated inline in the spawn_server_template call.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
andyholmes__valent__628
andyholmes/valent
628
defect
1e5cfd8a17bfc211e568b67f7be03993ab729c8c
73f256629c56f1ef64db3c2d397d6026ead9c8b4
Port dialogs/popups to AdwDialog counterparts
This replaces #623, hopefully the log is cleaner, as well as the weird `git rebase -i` shenanigans being gone :D.
diff --git a/build-aux/flatpak/ca.andyholmes.Valent.json b/build-aux/flatpak/ca.andyholmes.Valent.json index 3082718eb5a..79ecf4aea4e 100644 --- a/build-aux/flatpak/ca.andyholmes.Valent.json +++ b/build-aux/flatpak/ca.andyholmes.Valent.json @@ -1,7 +1,7 @@ { "app-id" : "ca.andyholmes.Valent", "runtime" : "or...
3
3
1
[{"id": "G0", "claim": "The port left the AdwDialog preferences pointers uncleared: g_clear_pointer (&self->preferences, adw_dialog_force_close) still needs to be restored in valent-device-page.c dispose and in valent-window.c, since the page action can be activated over D-Bus and may leave a stuck state.", "category":...
null
andyholmes__valent__651
andyholmes/valent
651
defect
27eb46b576677fc620244baccad7f018c3c641a3
d6ef620bb3820592c5ceb604583ddf066f245a69
ci(i18n): add a check for translatable files
Check that all files containing translations are in `POTFILES.in`, except those found in `POTFILES.skip`.
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c006aceb9f8..feaf17ec74f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,20 @@ jobs: with: args: lint + translations: + name: Translations + runs-on: ubuntu-latest + + steps: + -...
3
3
0
[{"id": "G0", "claim": "Shellcheck (SC2086) flags the unquoted $srcdirs/$uidirs/$datadirs expansions in the new script's grep/find commands and asks that they be double-quoted to prevent globbing and word splitting.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
andywer__webpack-blocks__148
andywer/webpack-blocks
148
defect
bae5c711e2e4510c2ea4360d75609916dcfd88b5
a3c63ef2a34ab736d2ed2a8f16db03e6a784385f
1.0 Feature: Asset loaders
Drops the implicit default configuration that came with `createConfig()` and replaces it with a new `assets` package that contains a `css`, `css.modules`, `file` and `url` block. Also removes the hacky `createConfig.vanilla()`. @sapegin @jvanbruegge @eXon @aaronjensen @Veikedo
diff --git a/README.md b/README.md index b0c59a9b..378ffa2e 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Create a webpack config with Babel support, dev server and PostCSS autoprefixer: ```js const { createConfig, defineConstants, env, entryPoint, setOutput, sourceMaps } = require('@webpack-blocks/webpa...
3
3
0
[{"id": "G0", "claim": "The README title should read \"Assets\" instead of \"Babel 6+\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The example does not make clear what the `fileType` parameter of the file() block should be; it should be docum...
null
andywer__webpack-blocks__219
andywer/webpack-blocks
219
defect
ae39b072e7c34f4e2616c091b6fb84a2ad008172
0158c3114551daa6bd8f76df90f3f29d5dd52775
Refactor webpack-blocks/core
Currently the index file contains all of the main code, it's quite large and way too hard to understand what's going on in there. Also it's difficult or even impossible to test helper functions (such as hooks). In this PR I split the index file into multiple files and also replaced 2 small helper functions &ndash; `...
diff --git a/packages/core/lib/__tests__/createConfig.test.js b/packages/core/lib/__tests__/createConfig.test.js index c10583b0..b95b492d 100644 --- a/packages/core/lib/__tests__/createConfig.test.js +++ b/packages/core/lib/__tests__/createConfig.test.js @@ -1,6 +1,6 @@ import test from 'ava' import sinon from 'sinon...
2
2
0
[{"id": "G0", "claim": "Something appears to be wrong with the indentation of the code around packages/core/lib/createConfig.js line 32 and again in the next comment.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The destructuring requires at t...
null
andywer__webpack-blocks__243
andywer/webpack-blocks
243
defect
206c0cc00857a29f2a418e8e94dadffbc71c46fb
6b9ac930f0eb81d6d1546247d571e885eb0b1cff
Add when() block
Adds a `when()` block to accept any conditional, as proposed in #242 . I haven't reimplemented any other blocks (like `env()`) to use this one.
diff --git a/packages/core/lib/__tests__/when.test.js b/packages/core/lib/__tests__/when.test.js new file mode 100644 index 00000000..c1883e98 --- /dev/null +++ b/packages/core/lib/__tests__/when.test.js @@ -0,0 +1,74 @@ +import test from 'ava' +import sinon from 'sinon' +import when from '../when' + +test('when() merg...
3
3
1
[{"id": "G0", "claim": "There should be a note in the changelog about the new when() block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docs are inconsistent with the code that accepts any truthy condition: either the code should check that...
null
andywer__webpack-blocks__254
andywer/webpack-blocks
254
defect
d130547b2ee9cb046b56570132b846657debccfb
be04c61f057d18c5293e5caa5222810e1c6c23f3
Support for ESLint
Almost like the `tslint` block, but for JavaScript.
diff --git a/README.md b/README.md index aef061ed..c55975a5 100644 --- a/README.md +++ b/README.md @@ -183,6 +183,7 @@ Check out the [sample app](./packages/sample-app) to see a webpack config in act - [babel](./packages/babel) - [dev-server](./packages/dev-server) - [elm](./packages/elm) +- [eslint](./packages/esli...
4
3
2
[{"id": "G0", "claim": "The new README's title says 'webpack-blocks - TSLint' and needs to say 'ESLint' instead.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG can already carry the concrete version number instead of 'Next release', ...
null
andywer__webpack-blocks__86
andywer/webpack-blocks
86
defect
e28eb5ae472501dbf39f633206798b2769069db9
06bb40028a636f4357a9d37a567b161fa840badb
add webpack typescript block
Adds a typescript block for compiling typescript and typescript react (.ts and .tsx) with webpack. Tests are passing.
diff --git a/README.md b/README.md index 7600b608..3fac8956 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ Check out the [sample app](./test-app) to see a webpack config in action or read - [sass](./packages/sass) - [webpack](./packages/webpack) *(Webpack 1 base config)* - [webpack2](./packages/webpack2) *...
4
4
1
[{"id": "G0", "claim": "Add the `typescript` block to the list of blocks in the main README.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request still needs an end-to-end test for the typescript block, for both webpack and webpack2.", ...
null
angelolab__Nimbus__10
angelolab/Nimbus
10
defect
0daee93138eeac970d66c6dffe9c6b972b5a83e2
888e11a7cfa9c258a5f911ca3873bee289081a49
Added check_input fn and tests
**What is the purpose of this PR?** Added the `check_input` function and according tests. Question is mainly if I do too much or too little checks and tests. **How did you implement your changes** I added a fair number of exceptions to test if all input values make sense **Remaining issues** Could be tha...
diff --git a/cell_classification/segmentation_data_prep.py b/cell_classification/segmentation_data_prep.py index 6503e4d..3b4e853 100644 --- a/cell_classification/segmentation_data_prep.py +++ b/cell_classification/segmentation_data_prep.py @@ -200,7 +200,8 @@ def check_input(self): # make tfrecord path ...
11
8
2
[{"id": "G0", "claim": "Use the shared ark helper functions (e.g. verify_in_list) for the list-membership checks so the user-facing errors also print out the specific list items that differ.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Take a ...
null