-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support for scoop distribution #515
base: main
Are you sure you want to change the base?
Conversation
Were you able to test the update on I dont' see any automatic commit there |
Hello, 1)Created the manifest file for the bucket and pushed it to the bucket repository, which is currently under my ownership. Can you help me with the following? 2)Testing Changes and Automatic Commits: How do I properly test changes after making the updates and creating the release? Also, I would appreciate guidance on ensuring that the automatic commit process works as expected. Could you point me to any resources that could help me understand how to test the changes and ensure automatic commits are made? |
Hi, For the repository we will need to ask the creation of it under the jenkins-infra. Once this PR is ready we can open an helpdesk ticket on https://github.com/jenkins-infra/helpdesk/issues JReleaser is supposed to automatically update the file I'm not sure you can fully test the CD workflow but you can perform jreleaser on your machine targeting your forks I was using something like
Also a quick look on https://jreleaser.org/guide/latest/reference/packagers/scoop.html The env var I would suggest to try to test the workflow (or at least part of it) before requesting the creation of a new repo under the Hope it helps |
f2fb6b1
to
18c8fe7
Compare
18c8fe7
to
d063a8b
Compare
To merged when the repo is provisionned on jenkins-infra I would also like to test on one bucket https://github.com/jonesbusy/scoop-bucket before |
I've raised jenkins-infra/helpdesk#4468 I've also tested the publish and result of https://github.com/jonesbusy/scoop-bucket/blob/main/bucket/plugin-modernizer.json Sadly I don't have a Windows environment to test now but I think it's looking pretty neat My only concern is this part "checkver": {
"url": "https://github.com/jonesbusy/plugin-modernizer-tool/releases/latest",
"re": "v([\\d.]+).jar"
}, I don't know if the updates will be detected ? Our versioning scheme like 1098.vd063a_8b_4fcdf will not match this regex @CodexRaunak Did you test the update ? Do you know if we can customize this regex ? It should be something like
to detect the first part of the version which increment |
The above regex you mentioned https://regexr.com/ I tested the regex on this tester. Also it will select the |
@jonesbusy I have been testing the workflow, but facing an issue, do you have any idea why the CI test is not validating , and resolves to false |
Thanks! For the CI is because the workflow check the status on ci.jenkins.io. It will not work on your fork. You can only test some part of the workflow (like jreleaser) |
Ahh i see, well thanks |
Description
This PR adds support for distributing the plugin-modernizer plugin via Scoop on Windows. This integration leverages JReleaser to package and distribute the plugin, making it easy for Windows users to install and use the tool through Scoop.
Changes made:
Fix #505
Testing done
This change was tested by successfully installing and running the plugin-modernizer on a Windows machine using Scoop. The installation process went through without errors.
To verify the installation:
I ran scoop install plugin-modernizer and confirmed that the installation completed successfully.
Submitter checklist