Skip to content

feat: add Julia package ecosystem (JLSEC-*) and linting support#434

Merged
another-rex merged 12 commits intoossf:mainfrom
JuliaComputing:jlsec
Oct 12, 2025
Merged

feat: add Julia package ecosystem (JLSEC-*) and linting support#434
another-rex merged 12 commits intoossf:mainfrom
JuliaComputing:jlsec

Conversation

@mbauman
Copy link
Contributor

@mbauman mbauman commented Oct 8, 2025

@mbauman
Copy link
Contributor Author

mbauman commented Oct 8, 2025

Note that we should be able to revert 98e42e3 once a new version of Semantic is published that includes Julia support (google/osv-scalibr#1426) is published.

@mbauman mbauman changed the title feat: add Julia package ecosystem and linting support feat: add Julia package ecosystem (JLSEC-*) and linting support Oct 8, 2025
Copy link
Contributor

@G-Rath G-Rath left a comment

Choose a reason for hiding this comment

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

the OSV libs use each other with pseudo versions so you don't need to wait for a new release, you can just update to point at the latest commit - that should let you start specifying Julia and then I believe switch to using our versionsExistInGeneric function as I'm not seeing any other reason that shouldn't work?

also can you please add some tests for the linter changes 🙂

@mbauman
Copy link
Contributor Author

mbauman commented Oct 8, 2025

I've added tests and bumped semantic. The versions.json file that we're using there isn't a straight array of versions; it's a key-value with information about the registration and "yank" (read: invalidation) dates, so we can't directly use the generic parser. We do have control over that file's schema and nobody else is using it yet — it's new.

@G-Rath
Copy link
Contributor

G-Rath commented Oct 8, 2025

so we can't directly use the generic parser.

The generic parser extracts an array of versions using a gjson selector which you can customize - in this case @keys should be what you want; for reference, hackage has a similar structure

https://gjson.dev/

image

Copy link
Collaborator

@another-rex another-rex left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@another-rex
Copy link
Collaborator

Can you have a look at the DCO check? Thanks

@mbauman mbauman force-pushed the jlsec branch 2 times, most recently from d953884 to 3139def Compare October 9, 2025 01:10
mbauman added 11 commits October 8, 2025 21:11
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
This reverts commit 98e42e3.

Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
…c10963e8ce9cdc8b6

Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Co-authored-by: Gareth Jones <3151613+G-Rath@users.noreply.github.com>
Signed-off-by: Matt Bauman <mbauman@juliahub.com>
@another-rex another-rex merged commit 434020c into ossf:main Oct 12, 2025
7 checks passed
another-rex pushed a commit that referenced this pull request Nov 21, 2025
Follow-up to #434

Signed-off-by: Matt Bauman <mbauman@juliahub.com>
progval added a commit to progval/osv that referenced this pull request Dec 19, 2025
progval added a commit to progval/osv that referenced this pull request Dec 19, 2025
progval added a commit to progval/osv that referenced this pull request Dec 19, 2025
progval added a commit to progval/osv that referenced this pull request Dec 19, 2025
Includes:

* 1.7.0:
  * ossf/osv-schema#312 (`upstream` field)
  * ossf/osv-schema#319
  * ossf/osv-schema#337 (`Ubuntu` as `severity` score)
* 1.7.1: nothing
* 1.7.2:
  * ossf/osv-schema#351
  * ossf/osv-schema#347
  * ossf/osv-schema#358
* 1.7.3:
  * ossf/osv-schema#394
* 1.7.4: ossf/osv-schema#434
  * ossf/osv-schema#357
tiegz pushed a commit to tiegz/osv-schema that referenced this pull request Jan 28, 2026
…#434)

This is for https://github.com/JuliaLang/SecurityAdvisories.jl

---------

Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Co-authored-by: Gareth Jones <3151613+G-Rath@users.noreply.github.com>
tiegz pushed a commit to tiegz/osv-schema that referenced this pull request Jan 28, 2026
Follow-up to ossf#434

Signed-off-by: Matt Bauman <mbauman@juliahub.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants