wakatime / vscode-wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/vs-code
BSD 3-Clause "New" or "Revised" License
1.23k stars 137 forks source link

Unable to install plugin in Azure Data Studio #212

Closed alanrenmsft closed 3 years ago

alanrenmsft commented 3 years ago

redirected to here from Azure Data Studio, but the release it points to no longer exists.

alanhamlett commented 3 years ago

There aren't any releases here, since this plugin is distributed via VS Code Marketplace and available within your editor's CMD + P menu.

It should be the same for Azure Data Studio too?

alanhamlett commented 3 years ago

Just verified it works. Go to the extensions menu within Azure Data Studio, type wakatime in the search, click Install.

Screen Shot 2021-07-13 at 9 40 10 PM
Charles-Gagnon commented 3 years ago

@alanhamlett Did you click the Install button? It gives a 404 for me (because the link it's pointing to no longer exists, if it ever did) https://github.com/wakatime/vscode-wakatime/releases/tag/4.0.0

The ADS marketplace is different than the VS Code marketplace, we don't use the same system as they do and all 3rd party extensions are just links to pages to download the VSIX that the user can install manually.

I updated the link for WakaTime to point to https://marketplace.visualstudio.com/items?itemName=WakaTime.vscode-wakatime instead as that was the only place I could find that actually had the VSIX available for downloading. If you have a better suggestion for where to point it let us know.

alanrenmsft commented 3 years ago

@alanhamlett FYI, this is the original PR that adds the extension to ADS marketplace: https://github.com/microsoft/azuredatastudio/pull/11097/files#diff-2cfc66ce2bb5435f2d11ace11aec01380c27705a4c2ae005a26ed00d2ac585ecR3438

gandarez commented 3 years ago

Somehow all tags from the vscode repo has been deleted.

alanhamlett commented 3 years ago

Did you click the Install button? It gives a 404 for me (because the link it's pointing to no longer exists, if it ever did)

Oh, I didn't. I had the extension already installed and just uninstalled it to get that screen shot.

I updated the link for WakaTime to point to https://marketplace.visualstudio.com/items?itemName=WakaTime.vscode-wakatime instead as that was the only place I could find that actually had the VSIX available for downloading. If you have a better suggestion for where to point it let us know.

@Charles-Gagnon Let's use this link for the VSIX: https://marketplace.visualstudio.com/items?itemName=WakaTime.vscode-wakatime&ssr=false#version-history

Somehow all tags from the vscode repo has been deleted.

The vsce release tool only creates lightweight tags, so they don't show up in the GitHub tags page. I deleted the releases a while back because the last release on GH (v4.0.0) was very old. Sorry, I forgot ADS uses the releases page instead of the marketplace.

Charles-Gagnon commented 3 years ago

Thanks!

https://github.com/microsoft/azuredatastudio/pull/16184

I updated it to point to version 14. Generally we shouldn't be just pointing to the latest release since we sometimes lag behind VS Code a bit and so if you push an updated version that depends on new APIs then that might break users. And because of the nature of our gallery the version displayed is hardcoded anyways so we can't really handle a version that can be freely updated.