Comments (12)
I vote for Option 1. TBH, I didn't realize then that there is a possibility to override and freeze the version by the user.
from intellij-platform-plugin-verifier-action.
+1, thanks @ChrisCarini!
From now on all important Plugin Verifier's versions will be marked with a GitHub release tag, so that you can keep the Action up-to-date.
from intellij-platform-plugin-verifier-action.
Thanks for opening this issue @YannCebron ! (and thank you for the commit mentioning this GH action in the official JB documentation, as well! @hsz just let me know about this - awesome!) and thank you @serejke - this is awesome!
It looks like GH provides the latest release information (including tag) in https://api.github.com/repos/JetBrains/intellij-plugin-verifier/releases/latest
and I can easily get this in my action via:
$ curl -s https://api.github.com/repos/JetBrains/intellij-plugin-verifier/releases/latest | jq .tag_name
"v1.236"
Instead of just bumping to 1.236
, I hope you both don't mind if I just look up this version and attempt to use it instead - does that sound reasonable?
I'll have to strip off the v
that proceeds the number, but that should be totally fine.
Also, would it be possible that when you tag a release, you also include the .jar
as one of the assets (I believe that doing this will allow me to get the full download URL from the GH endpoint above that I shared) - or, would you rather I continue to have the GH action download the .jar
file from bintray?
from intellij-platform-plugin-verifier-action.
@ChrisCarini thank you for the suggestion!
I've added the verifier-cli-1.236-all.jar
(here it is) to the release binary distribution. Subsequent releases will also contain the all-in-one jar file, so you can download them automatically bypassing the Bintray :)
from intellij-platform-plugin-verifier-action.
Instead of just bumping to 1.236, I hope you both don't mind if I just look up this version and attempt to use it instead - does that sound reasonable?
@ChrisCarini
It sounds risky since you can't have any tests on your side (tests would increase the Action's work time).
What if there'll be a breaking change + bus factor?
BTW - I've written Integration section in the intellij-plugin-verifier README, and it's already merged.
from intellij-platform-plugin-verifier-action.
Hi @hsz - do you mind expanding further what you mean exactly for my own understanding?? :)
You are correct, there are no tests for the GH action (I'd love to add some, but I'm not actually sure how to besides just using the GH action myself), so I want to better understand.
Are you suggesting that if intellij-plugin-verifier
breaks, this will cause breaking changes in all GH IJ plugins that use this particular action, correct?
Or (and/or), are you suggesting that adding a check to the latest GH release of intellij-plugin-verifier
increases the possible points of breakage within this GH action itself (ie, the extra call to get this information)?
If so, we could add something to check if the curl request(s) fail (either for getting the information from GH, or getting the jar file from GH), to call back on some sane default(s). Just throwing out some ideas for discussion! :)
Also, thank you for including that on intellij-plugin-verifier
README.md
!! 👍 I really appreciate it!!
from intellij-platform-plugin-verifier-action.
Hi All,
I just pushed the (very small) change to bump the default version to 1.236
. I did this as this was the explicit ask in this issue (and, I want to try and avoid feature-drift, although I'm excited for more features! See below.)
But...
Let's continue this discussion! I have a local branch that will allow a default of LATEST
that will automatically pull from the latest release of intellij-plugin-verifier
on GitHub and use that version.
Some options I could see:
- Make
LATEST
the default value, and allow users of the action to specify an explicit version if desired - Keep an explicit version of
intellij-plugin-verifier
as the default, but allow users of the action to specifyLATEST
to pull the latest version from GH
Option 1
Summary: Make LATEST
the default value, and allow users of the action to specify an explicit version if desired
Pros
- Allows users to not need to modify their GitHub workflows in order to pick up the latest/greatest
intellij-plugin-verifier
Cons
- As @hsz mentioned here, this could be susceptible to breaking change + bus factor?
Option 2
Summary: Keep an explicit version of intellij-plugin-verifier
as the default, but allow users of the action to specify LATEST
to pull the latest version from GH
Pros
- Would require users specify
LATEST
in order to get the latest/greatestintellij-plugin-verifier
(could argue this is the case as the user is explicitly asking for the latest in their workflow, and those not are getting something that is stable and 'tested')
Cons
- Requires users to bump version of action if they want to pick up latest changes
Let me know if I'm missing anything or not thinking of something - and as said, let's continue the discussion; I think this could be a really neat thing to have!
(As the action creator, I'd love to use LATEST
so I can stay on top of things - I'd also be equally as happy if I could (1) have this action automatically bump the default to the latest version of intellij-plugin-verifier
once it's published (either to GH, or Bintray), (2) release a new version of the action to the GitHub marketplace).
from intellij-platform-plugin-verifier-action.
@hsz - cool; I'll proceed with option 1 then - I'll track that under #3 . Thanks again all for the discussion, work and idea here!
from intellij-platform-plugin-verifier-action.
please add @YannCebron for bug, idea, maintenance
please add @serejke for infra, maintenance
please add @hsz for idea, infra, maintenance
from intellij-platform-plugin-verifier-action.
please add @serejke for infra, maintenance.
please add @hsz for idea, infra, maintenance.
from intellij-platform-plugin-verifier-action.
I've put up a pull request to add @YannCebron! 🎉
I've put up a pull request to add @serejke! 🎉
We had trouble processing your request. Please try again later.
from intellij-platform-plugin-verifier-action.
@serejke already contributed before to infra, maintenance
I've put up a pull request to add @hsz! 🎉
from intellij-platform-plugin-verifier-action.
Related Issues (20)
- Configuration file for "ide-versions" not working
- Plugin Verifier has been compiled by a more recent version of the Java Runtime HOT 5
- False positive from action when verifier jar fails to execute (eg jar upgrade to Java 11) HOT 3
- PluginRepositoryException while running verifier jar: 400 Bad Request HOT 3
- Cannot iterate over null (null) HOT 8
- entrypoint.sh has a bug HOT 1
- Unknown Failure Identified! HOT 6
- Require the usage of `GITHUB_TOKEN` when setting `verifier-version` to `LATEST`.
- Unknown Failure Identified! HOT 1
- Unknown Failure Identified!
- GITHUB_TOKEN permissions used by this action HOT 1
- How to specify the SNAPSHOT version of an IDE within a specific year? HOT 3
- Unknown Failure Identified! HOT 2
- Error downloading a valid Rider version HOT 4
- Handle failed curl call more cleanly HOT 1
- Does not work cleanly with EAP versions.
- Getting "Failed to open file writer for verification-2024-04-07..." error HOT 1
- Unknown Failure Identified! HOT 3
- Have a 'post' entrypoint to print a summary of what happened
- Option to take advantage of `-mute` flag to work around new verification failures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intellij-platform-plugin-verifier-action.