-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Julia #44
Add Julia #44
Conversation
@pombredanne @shibumi Anything else I need to do for this to be mergeable? Does this need to be added to #43 instead? |
@Octogonapus good question. I think you are missing tests for the new Julia type + the variable isn't used anywhere in the code. So what is the point in adding it? Or am I missing something? |
Added a test for the new Julia type. This PR is used in aquasecurity/trivy#4438, which is a consumer of this package. |
Thanks @Octogonapus , I am not maintainer of this project yet, but maybe I can adopt it and speed up the process a little bit. |
Unfortunately, tests fail. The failures are probably unrelated to this PR, but I cannot tell for sure, as I'm not a Go person. If you guys are able to fix the )existing) tests as part of this PR, please do so. |
I put the test fixes in another PR: #46 We can merge that before this one |
Please rebase to resolve conflicts now that #46 is merged. |
@Octogonapus can you resolve conflicts? |
test-suite-data.json mirrors the purl-spec test-suite-data.json. The julia test added in this PR should be included in the spec test-suite. |
In the long run, I believe the mirroring of |
Sorry, I did not realize it was coming from an upstream source. I think downloading the test data dynamically makes sense. I can make a PR later on which removes the test data from this repo and always downloads it from upstream, along with a PR for the Julia test data and the data added in #43 if that gets merged first. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/google/go-cmp](https://togithub.com/google/go-cmp) | require | minor | `v0.5.9` -> `v0.6.0` | | [github.com/jedib0t/go-pretty/v6](https://togithub.com/jedib0t/go-pretty) | require | patch | `v6.4.7` -> `v6.4.8` | | [github.com/package-url/packageurl-go](https://togithub.com/package-url/packageurl-go) | require | patch | `v0.1.1` -> `v0.1.2` | | golang.org/x/exp | require | digest | `9212866` -> `7918f67` | | golang.org/x/mod | require | minor | `v0.12.0` -> `v0.13.0` | | golang.org/x/sync | require | minor | `v0.3.0` -> `v0.4.0` | | golang.org/x/term | require | minor | `v0.12.0` -> `v0.13.0` | --- ### Release Notes <details> <summary>google/go-cmp (github.com/google/go-cmp)</summary> ### [`v0.6.0`](https://togithub.com/google/go-cmp/releases/tag/v0.6.0) [Compare Source](https://togithub.com/google/go-cmp/compare/v0.5.9...v0.6.0) New API: - ([#​340](https://togithub.com/google/go-cmp/issues/340)) Add `cmpopts.EquateComparable` Documentation changes: - ([#​337](https://togithub.com/google/go-cmp/issues/337)) Use of hotlinking of Go identifiers Build changes: - ([#​325](https://togithub.com/google/go-cmp/issues/325)) Remove purego fallbacks Testing changes: - ([#​322](https://togithub.com/google/go-cmp/issues/322)) Run tests for Go 1.20 version - ([#​332](https://togithub.com/google/go-cmp/issues/332)) Pin GitHub action versions - ([#​327](https://togithub.com/google/go-cmp/issues/327)) set workflow permission to read-only </details> <details> <summary>jedib0t/go-pretty (github.com/jedib0t/go-pretty/v6)</summary> ### [`v6.4.8`](https://togithub.com/jedib0t/go-pretty/releases/tag/v6.4.8) [Compare Source](https://togithub.com/jedib0t/go-pretty/compare/v6.4.7...v6.4.8) ### Features - **table** - `RenderTSV()` to render table in TSV format ([#​277](https://togithub.com/jedib0t/go-pretty/issues/277)) // thanks [@​rafiramadhana](https://togithub.com/rafiramadhana) </details> <details> <summary>package-url/packageurl-go (github.com/package-url/packageurl-go)</summary> ### [`v0.1.2`](https://togithub.com/package-url/packageurl-go/releases/tag/v0.1.2) [Compare Source](https://togithub.com/package-url/packageurl-go/compare/v0.1.1...v0.1.2) #### What's Changed - Add Julia by [@​Octogonapus](https://togithub.com/Octogonapus) in [https://github.com/package-url/packageurl-go/pull/44](https://togithub.com/package-url/packageurl-go/pull/44) - feat: add missing purl types by [@​mcombuechen](https://togithub.com/mcombuechen) in [https://github.com/package-url/packageurl-go/pull/43](https://togithub.com/package-url/packageurl-go/pull/43) - Pull test data from upstream instead of maintaining a local copy by [@​Octogonapus](https://togithub.com/Octogonapus) in [https://github.com/package-url/packageurl-go/pull/49](https://togithub.com/package-url/packageurl-go/pull/49) - Add simple fuzz test by [@​imjasonh](https://togithub.com/imjasonh) in [https://github.com/package-url/packageurl-go/pull/34](https://togithub.com/package-url/packageurl-go/pull/34) - Test using supported Go versions by [@​imjasonh](https://togithub.com/imjasonh) in [https://github.com/package-url/packageurl-go/pull/50](https://togithub.com/package-url/packageurl-go/pull/50) - Remove deprecated usage of ioutil by [@​noqcks](https://togithub.com/noqcks) in [https://github.com/package-url/packageurl-go/pull/40](https://togithub.com/package-url/packageurl-go/pull/40) - fix: use url.URL to encode and decode PURLs by [@​tommyknows](https://togithub.com/tommyknows) in [https://github.com/package-url/packageurl-go/pull/52](https://togithub.com/package-url/packageurl-go/pull/52) - fix: escape and unescape name by [@​tommyknows](https://togithub.com/tommyknows) in [https://github.com/package-url/packageurl-go/pull/55](https://togithub.com/package-url/packageurl-go/pull/55) - fix: escape everything with modified QueryEscape by [@​tommyknows](https://togithub.com/tommyknows) in [https://github.com/package-url/packageurl-go/pull/58](https://togithub.com/package-url/packageurl-go/pull/58) - Add `pub` and `bitnami` types by [@​antgamdia](https://togithub.com/antgamdia) in [https://github.com/package-url/packageurl-go/pull/60](https://togithub.com/package-url/packageurl-go/pull/60) - Add known types and candidate types by [@​antgamdia](https://togithub.com/antgamdia) in [https://github.com/package-url/packageurl-go/pull/61](https://togithub.com/package-url/packageurl-go/pull/61) - Add PackageURL.Normalize by [@​wetterjames4](https://togithub.com/wetterjames4) in [https://github.com/package-url/packageurl-go/pull/65](https://togithub.com/package-url/packageurl-go/pull/65) #### New Contributors - [@​mcombuechen](https://togithub.com/mcombuechen) made their first contribution in [https://github.com/package-url/packageurl-go/pull/43](https://togithub.com/package-url/packageurl-go/pull/43) - [@​imjasonh](https://togithub.com/imjasonh) made their first contribution in [https://github.com/package-url/packageurl-go/pull/34](https://togithub.com/package-url/packageurl-go/pull/34) - [@​noqcks](https://togithub.com/noqcks) made their first contribution in [https://github.com/package-url/packageurl-go/pull/40](https://togithub.com/package-url/packageurl-go/pull/40) - [@​tommyknows](https://togithub.com/tommyknows) made their first contribution in [https://github.com/package-url/packageurl-go/pull/52](https://togithub.com/package-url/packageurl-go/pull/52) - [@​antgamdia](https://togithub.com/antgamdia) made their first contribution in [https://github.com/package-url/packageurl-go/pull/60](https://togithub.com/package-url/packageurl-go/pull/60) - [@​wetterjames4](https://togithub.com/wetterjames4) made their first contribution in [https://github.com/package-url/packageurl-go/pull/65](https://togithub.com/package-url/packageurl-go/pull/65) **Full Changelog**: package-url/packageurl-go@v0.1.1...v0.1.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 6am on monday" in timezone Australia/Sydney, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/google/osv-scanner). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
This PR adds the Julia type.
Part of aquasecurity/trivy#4438.