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

Added permission check and window error message for LemMinx binary #695

Merged

Conversation

AlexXuChen
Copy link
Contributor

@AlexXuChen AlexXuChen commented Apr 5, 2022

Added permission check and window error message for LemMinx binary

Peek 2022-04-07 10-00

Signed-off-by: Alexander Chen [email protected]

@rgrunber
Copy link
Member

rgrunber commented Apr 7, 2022

There's actually nothing we can do to fix this on the build side for binaries uploaded using the upload/download actions : https://github.com/actions/upload-artifact#permission-loss . If we use that action, the binaries the binaries will always be without proper permissions.

Update : Actually, the above isn't so bad. There's a different between an artifact uploaded to a Build and one uploaded to Releases. The build location is not meant for user consumption and is mainly for convenience. The Release location works just fine. I guess the above is just a good piece of information to be aware of.

@AlexXuChen AlexXuChen force-pushed the check-binary-permission-error branch from b335e37 to c9d61c1 Compare April 7, 2022 13:58
@AlexXuChen AlexXuChen marked this pull request as ready for review April 7, 2022 13:58
@AlexXuChen AlexXuChen requested a review from rgrunber April 7, 2022 14:02
@AlexXuChen AlexXuChen force-pushed the check-binary-permission-error branch 4 times, most recently from a6a24a9 to c2855db Compare April 7, 2022 19:57
@AlexXuChen AlexXuChen force-pushed the check-binary-permission-error branch 2 times, most recently from 0d6df6d to 9d1178c Compare April 7, 2022 20:40
@AlexXuChen AlexXuChen force-pushed the check-binary-permission-error branch from 9d1178c to 07537d9 Compare April 7, 2022 20:41
@rgrunber rgrunber added this to the 0.21.0 milestone Apr 8, 2022
@rgrunber rgrunber added the binary label Apr 8, 2022
@rgrunber rgrunber self-requested a review April 8, 2022 15:51
Copy link
Member

@rgrunber rgrunber left a comment

Choose a reason for hiding this comment

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

Change looks good to me.

@rgrunber rgrunber merged commit 1f5fc69 into redhat-developer:master Apr 8, 2022
@AlexXuChen AlexXuChen deleted the check-binary-permission-error branch April 8, 2022 15:55
@angelozerr angelozerr added the bug Something isn't working label Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binary bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants