Skip to content

Conversation

@st3penta
Copy link
Contributor

The jsonc lib maintainer changed where the repo is hosted. This commit updates the import path of the dependency accordingly, in order to avoid potential issues while running go mod download

Fixes #1132

Fixes open-policy-agent#1132
Signed-off-by: Stefano Pentassuglia <[email protected]>
Copy link
Member

@jalseth jalseth left a comment

Choose a reason for hiding this comment

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

I confirmed the previous URL now redirects to that GitHub account. Thanks!

$ curl -I https://muzzammil.xyz/jsonc?go-get=1

HTTP/2 301
date: Thu, 29 May 2025 23:07:30 GMT
content-type: text/html; charset=utf-8
location: /r?https://github.com/muhammadmuzzammil1998/jsonc

@jalseth jalseth merged commit 1e43dc0 into open-policy-agent:master May 29, 2025
8 checks passed
@st3penta st3penta deleted the update-jsonc-import branch June 3, 2025 09:15
simonbaird added a commit to simonbaird/conforma-cli that referenced this pull request Jul 24, 2025
I'm not sure exactly what the impact is, but IIUC we have not
updated this for a while. Now that we updated opa, let's update this
also.

Required a little extra manual tweaking to remove the `replace
muzzammil.xyz/jsonc ...` which is not needed now after
open-policy-agent/conftest#1133 was merged.

Ref: https://issues.redhat.com/browse/EC-1130
simonbaird added a commit to simonbaird/conforma-cli that referenced this pull request Aug 4, 2025
I'm not sure exactly what the impact is, but IIUC we have not
updated this for a while. Now that we updated opa, let's update this
also.

Required a little extra manual tweaking to remove the `replace
muzzammil.xyz/jsonc ...` which is not needed now after
open-policy-agent/conftest#1133 was merged.

Ref: https://issues.redhat.com/browse/EC-1130
simonbaird added a commit to simonbaird/conforma-cli that referenced this pull request Aug 5, 2025
I'm not sure exactly what the impact is, but we have not updated
this for a while. Now that we updated opa, let's update this also.

It required a little extra manual tweaking to remove the `replace
muzzammil.xyz/jsonc ...` which is not needed now after
open-policy-agent/conftest#1133 was merged.

Ref: https://issues.redhat.com/browse/EC-1130
simonbaird added a commit to simonbaird/conforma-cli that referenced this pull request Aug 5, 2025
Notably this is the first version of the conftest module that
uses/supports the v1.x opa module.

It required a little extra manual tweaking to remove the `replace
muzzammil.xyz/jsonc ...` which is not needed now after
open-policy-agent/conftest#1133 was merged.

At this point I'm not sure exactly what the impact will be, but we
have not updated this for a while. Now that we updated opa, let's
update this also.

Edit: There was quite a lot of impact actually, see the other
commits in this PR.

Ref: https://issues.redhat.com/browse/EC-1408
Ref: https://issues.redhat.com/browse/EC-1130
simonbaird added a commit to simonbaird/conforma-cli that referenced this pull request Aug 6, 2025
Notably this is the first version of the conftest module that
uses/supports the v1.x opa module.

It required a little extra manual tweaking to remove the `replace
muzzammil.xyz/jsonc ...` which is not needed now after
open-policy-agent/conftest#1133 was merged.

At this point I'm not sure exactly what the impact will be, but we
have not updated this for a while. Now that we updated opa, let's
update this also.

Edit: There was quite a lot of impact actually, see the other
commits in this PR.

Ref: https://issues.redhat.com/browse/EC-1408
Ref: https://issues.redhat.com/browse/EC-1130
simonbaird added a commit to simonbaird/conforma-cli that referenced this pull request Aug 7, 2025
Notably this is the first version of the conftest module that
uses/supports the v1.x opa module.

It required a little extra manual tweaking to remove the `replace
muzzammil.xyz/jsonc ...` which is not needed now after
open-policy-agent/conftest#1133 was merged.

At this point I'm not sure exactly what the impact will be, but we
have not updated this for a while. Now that we updated opa, let's
update this also.

Edit: There was quite a lot of impact actually, see the other
commits in this PR.

Ref: https://issues.redhat.com/browse/EC-1408
Ref: https://issues.redhat.com/browse/EC-1130
simonbaird added a commit to simonbaird/conforma-cli that referenced this pull request Aug 8, 2025
Notably this is the first version of the conftest module that
uses/supports the v1.x opa module.

It required a little extra manual tweaking to remove the `replace
muzzammil.xyz/jsonc ...` which is not needed now after
open-policy-agent/conftest#1133 was merged.

At this point I'm not sure exactly what the impact will be, but we
have not updated this for a while. Now that we updated opa, let's
update this also.

Edit: There was quite a lot of impact actually, see the other
commits in this PR.

Ref: https://issues.redhat.com/browse/EC-1408
Ref: https://issues.redhat.com/browse/EC-1130
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.

The muzzammil.xyz/jsonc dependency can't be installed directly

2 participants