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

Add LSP-PowerShellEditorServices #27

Merged
merged 2 commits into from
May 21, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Repo link

https://github.com/sublimelsp/LSP-PowerShellEditorServices

Release body

This release contains version v2.2.0 of PowerShellEditorServices.
Sublime-Text-Version-Range: >=4070

@rchl rchl force-pushed the create-pull-request/patch-j10n59x branch from 02653dc to 89ee7ee Compare September 23, 2020 19:15
@rchl
Copy link
Member

rchl commented Sep 23, 2020

OK... With a simple CURL action I can finally see what's wrong:

{"message":"Unprocessable Entity","errors":["Can not request changes on your own pull request"]

So it's indeed related to this PR being created by the bot.

@rchl
Copy link
Member

rchl commented Sep 23, 2020

I think the solution for that is to have a bot account that will have its own token and we'll use that for the review bot.

@rwols
Copy link
Member

rwols commented Sep 23, 2020

Or...

How about not reporting results via a quirky "request changes" comment, but rather look at the failed actions.

@rwols
Copy link
Member

rwols commented Sep 23, 2020

This should be enough information:

image

@rchl
Copy link
Member

rchl commented Sep 23, 2020

That's not very user friendly, having to look for details of the error in the shell output...

@rwols
Copy link
Member

rwols commented Sep 23, 2020

The repository json checks could also be presented as "annotations" https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-status-checks

This release contains version v2.2.0 of PowerShellEditorServices.
Sublime-Text-Version-Range: >=4070
@rchl rchl force-pushed the create-pull-request/patch-j10n59x branch from 89ee7ee to 5925208 Compare September 23, 2020 20:02
Copy link

@STReviewBot STReviewBot left a comment

Choose a reason for hiding this comment

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

Automated testing result: ERROR

Repo link: LSP-PowerShellEditorServices
Results help

Packages added:
  - LSP-PowerShellEditorServices

Processing package "LSP-PowerShellEditorServices"
  - ERROR: fetching package HTTP error 302 downloading https://github.com/sublimelsp/LSP-PowerShellEditorServices/releases/download/v1.1.1/LSP-PowerShellEditorServices.zip.

@rchl
Copy link
Member

rchl commented Sep 23, 2020

The repository json checks could also be presented as "annotations" docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-status-checks

Right, but I feel that would be pretty tricky to implement since the checks don't really keep track of line numbers right now. I mean the review bot checks at least.

@rchl rchl marked this pull request as draft September 29, 2020 09:57
@rchl
Copy link
Member

rchl commented Sep 29, 2020

Need to figure out a solution for the redirect issue.

@rwols
Copy link
Member

rwols commented Sep 29, 2020

There's an issue for it wbond/package_control#1502

@rchl
Copy link
Member

rchl commented Sep 29, 2020

Do you think we should wait for that or implement a solution on our side (have links that don't redirect)?

@rwols
Copy link
Member

rwols commented Sep 29, 2020

It should be fixed in package control because we might not be the only ones having this issue.

@rchl
Copy link
Member

rchl commented Sep 29, 2020

Yes but ST3 version of PC will not get a fix so if we want to support some ST3 packages then we should probably do something ourselves. That said, I guess the ones you've created are all ST4+.

EDIT: Actually LSP-lua isn't.

@rwols
Copy link
Member

rwols commented Mar 23, 2021

I give up. Let's download all the files with our own tooling. Made the appropriate reverts in the helper package repo.

@rwols rwols marked this pull request as ready for review March 23, 2021 21:28
@rwols rwols requested a review from STReviewBot March 23, 2021 21:29
Copy link

@STReviewBot STReviewBot left a comment

Choose a reason for hiding this comment

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

Automated testing result: ERROR

Repo link: LSP-PowerShellEditorServices
Results help

Packages added:
  - LSP-PowerShellEditorServices

Processing package "LSP-PowerShellEditorServices"
  - ERROR: fetching package HTTP error 302 downloading https://github.com/sublimelsp/LSP-PowerShellEditorServices/releases/download/v1.1.1/LSP-PowerShellEditorServices.zip.

@rwols rwols requested a review from STReviewBot March 23, 2021 21:30
Copy link

@STReviewBot STReviewBot left a comment

Choose a reason for hiding this comment

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

Automated testing result: ERROR

Repo link: LSP-PowerShellEditorServices
Results help

Packages added:
  - LSP-PowerShellEditorServices

Processing package "LSP-PowerShellEditorServices"
  - ERROR: fetching package HTTP error 302 downloading https://github.com/sublimelsp/LSP-PowerShellEditorServices/releases/download/v1.1.1/LSP-PowerShellEditorServices.zip.

@rwols
Copy link
Member

rwols commented Mar 23, 2021

Why aren't you picking up tag 1.1.2 @STReviewBot ?

@predragnikolic
Copy link
Member

Is it maybe because of the "url" or the "version" key?

Copy link

@STReviewBot STReviewBot left a comment

Choose a reason for hiding this comment

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

Automated testing result: WARNING

Repo link: LSP-PowerShellEditorServices
Results help

Packages added:
  - LSP-PowerShellEditorServices

Processing package "LSP-PowerShellEditorServices"
  - WARNING: It looks like you're using platform-dependent code. Make sure you thought about the platform key in your pull request.
    - File: plugin.py
    - Line: 23, Column: 12
  - WARNING: It looks like you're using platform-dependent code. Make sure you thought about the platform key in your pull request.
    - File: plugin.py
    - Line: 117, Column: 11
  - WARNING: It looks like you're using platform-dependent code. Make sure you thought about the platform key in your pull request.
    - File: plugin.py
    - Line: 121, Column: 12

@rwols rwols merged commit e109bf2 into main May 21, 2021
@rwols rwols deleted the create-pull-request/patch-j10n59x branch May 21, 2021 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants