Fix installation of versionned bundled with github type#12
Conversation
|
@gblanc-1a : we're very close here. It only needs npm audit fix and commiting the package-lock.json. |
b5e937f to
b8f5ebe
Compare
b8f5ebe to
abcb40a
Compare
|
|
||
| if (token) { | ||
| headers['Authorization'] = `Bearer ${token}`; | ||
| headers['Authorization'] = `token ${token}`; |
There was a problem hiding this comment.
Was it an intentional change? Have we tested it on private repos?
There was a problem hiding this comment.
Yes this change was intentionnal because it is indeed the legacy way of doing but it allow to support classic github token. Which are not supported by the Bearer token.
If you think we should keep Bearer we can
There was a problem hiding this comment.
No need. If it works with the new scheme I'm fully aligned with that.
src/commands/SourceCommands.ts
Outdated
| // }, | ||
| { | ||
| label: '$(github) GitHub Releases', | ||
| description: 'Versionned releases with zip file in the assets for both public or private GitHub repository', |
| const token = this.getAuthToken(); | ||
| if (token && this.requiresAuthentication()) { | ||
| headers['Authorization'] = `Bearer ${token}`; | ||
| headers['Authorization'] = `token ${token}`; |
There was a problem hiding this comment.
Same remark as before regarding the change of the scheme.
d22f6ed to
0a38393
Compare
wherka-ama
left a comment
There was a problem hiding this comment.
It is pretty hard to review such a large PR, but we knew it would happen and at this stage that's quite normal.
Let's assume we're not breaking it too much ;-)
Thanks a lot for your contribution @gblanc-1a ❤️
|
@gblanc-1a : do you mind resolving the conflicts on README or you'd ratherif I do it? |
59849e7 to
a151206
Compare
a151206 to
0fdf86e
Compare
Description
Fix right-click context menu behavior so that the correct item is selected / acted on when invoked via right-click, aligning the context menu actions with the item under the cursor.
Type of Change
Related Issues
Closes #
Fixes #
Relates to #
Changes Made
Testing
Test Coverage
Manual Testing Steps
Tested On
macOS
Windows
Linux
VS Code Stable
VS Code Insiders
Screenshots
Checklist
Documentation
Additional Notes
Reviewer Guidelines
Please pay special attention to:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache License 2.0.