-
Notifications
You must be signed in to change notification settings - Fork 846
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
Import local schema to avoid DNS lookup in build #5372
Conversation
Thanks for catching this, the change looks good. This needs to be cherry-picked onto delivery. Changes for NB17 need to come from branch |
Thanks, Matthias. I wasn't sure whether I was too late for NetBeans 17. Is that something I should do (cherry-pick this onto |
There might or might not be a new RC, if there is this should be in. I added it to the NB17 milestone and changed the target branch to There are two options: a) You create a new pull request that is based on # Ensure the branch this PR is based on is active
git checkout import-local-schema
# Move it to a different name
git branch -m import-local-schema-on-master
# Create a new local branch with the old name
# (0e504e5911846f4f66b3d97cb5d1c884b83a50ab is current HEAD of `delivery`)
# maybe you need to `git fetch` from the github repository of apache netbeans
git checkout -b import-local-schema 0e504e5911846f4f66b3d97cb5d1c884b83a50ab
# Cherry pick your commit into the new branch
git cherry-pick 2dce1801e795731248679ca061315db7e2fcd6fa
# Force push this branch into the original branch that created this PR (this assumes you named your upstream origin)
git push -f -u origin import-local-schema |
You can rebase using
Label just until this is done. |
The intermediate test failure was a flaky commit validation I saw in the past and is fixed after restarting. |
2dce180
to
a51b802
Compare
The following appears to have worked! $ git switch -c delivery upstream/delivery
$ git switch import-local-schema
$ git rebase --onto delivery import-local-schema~ import-local-schema
$ git push --force |
added labels otherwise this would show up under the to avoid having to look up the hash in the log, i often use a graphical tool for it like but the basic concept is simply:
thats it. |
Label removed. Thanks @jgneff Will be included in 17-rc3.
We will always have at least 3.
Yes, but still not as convenient as rebase --onto in my opinion, given it does what it says and uses the existing branch. |
This is the same fix as the one made to
jakartaee_9.xsd
in NetBeans 16 for #4920, but to the new filejakartaee_10.xsd
in NetBeans 17. It allows NetBeans to be built in environments with very strict firewalls, such as Launchpad, by removing the only DNS lookup during the build.I'd like to make sure NetBeans can build on Launchpad because that's the easiest way to publish Snap packages of NetBeans for all supported Linux architectures: amd64, arm64, armhf, and i386.