Skip to content
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

LPS-125853 Switch to our @liferay/jquery-form fork #98619

Conversation

liferay-continuous-integration
Copy link
Collaborator

Forwarded from: liferay-frontend#772 (Took 1 ci:forward attempt in 0 ms)

@wincent
@liferay-frontend

Original pull request comment:
Instead of maintaining a patched copy of the upstream project in-line in this repo, we've made an actual fork of it and are pulling that in here via npm. This gives us a clear CHANGELOG.md documenting where we've deviated from the upstream.

The motivating use case here is closing an XSS hole by bringing in a fix that is currently being ignored in the upstream repo.

To test, enabled jQuery in system settings and confirmed that jquery/form.js is coming down and that it indeed matches the patched version that we're shipping in our fork:

Screenshot 2021-02-08 -175308-TS95MLco@2x

✔️ ci:test:sf - 1 out of 1 jobs passed in 5 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 4c4254711526d855334d6d7f40315aff5ffff6a0

Sender Branch:

Branch Name: wincent/LPS-125854-liferay-jquery-form
Branch GIT ID: cfe755432266eda26833ee3232ff383471ffc148

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

✔️ ci:test:stable - 9 out of 9 jobs passed

✔️ ci:test:relevant - 23 out of 23 jobs passed in 1 hour 39 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 4318e2f9eb91ca3c0c74c377855994dac9dc8d80

Upstream Comparison:

Branch GIT ID: 7f8557eaa8e197a8cf8620cbc740d13b6600a438
Jenkins Build URL: Acceptance Upstream DXP (master) #1529

ci:test:stable - 9 out of 9 jobs PASSED
9 Successful Jobs:
ci:test:relevant - 23 out of 23 jobs PASSED
23 Successful Jobs:
For more details click here.

Instead of maintaining a patched copy of the upstream project:

    https://github.com/jquery-form/form

in-line in this repo, we've made an actual fork of it:

    https://github.com/liferay/liferay-frontend-projects/tree/master/third-party

and are pulling that in here via npm. This gives us a clear CHANGELOG.md
documenting where we've deviated from the upstream:

    https://github.com/liferay/liferay-frontend-projects/blob/master/third-party/projects/jquery-form/CHANGELOG.md

Motivating use case here is closing an XSS whole by bringing in a fix
that is currently being ignored in the upstream repo:

    jquery-form/form#586
@liferay-continuous-integration
Copy link
Collaborator Author

To conserve resources, the PR Tester does not automatically run for forwarded pull requests.

@brianchandotcom
Copy link
Owner

Merged. Thank you.
View total diff: c33cc43...55848d2

@brianchandotcom
Copy link
Owner

Interesting.. but works. Thx @wincent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants