panuoksala / streamdeck-azuredevops-plugin

AzureDevOps plugin for Stream Deck devices
MIT License
10 stars 3 forks source link

[Feature Request] Plugin available for Mac users #9

Open nansravn opened 3 years ago

nansravn commented 3 years ago

It would be nice to have this plugin also available for Mac OS users of Stream Deck. 👍

panuoksala commented 3 years ago

I think it should not be a big issue. We just need one test guinea pig that would try the app on it and we are good to go. Currently the manifest file has only these as supported OS's: "OS": [ { "Platform": "windows", "MinimumVersion": "10" } ]

but adding the mac os should bring it available. @nansravn do you have mac that you could test with? { "Platform": "mac", "MinimumVersion" : "10.11" },

nansravn commented 2 years ago

@panuoksala Yes, I do have. I can help testing the app on my Mac.

I've just reviewed the manifest.json file, and I've seen this line:

"CodePath": "StreamDeckAzureDevOps.exe"

An .exe wouldn't work on a Mac OS, is this line a problem?

By now I've just installed plugins directly from the Stream Deck Store. What should I do to test this project on my Mac? Do you have any docs for sharing?

I'm totally new to Strem Deck, so I don't know anything about the conventions for developing a Stream Deck plugin.

panuoksala commented 2 years ago

I will provide you the Mac compatible version and details how to install it.

panuoksala commented 2 years ago

This version has now MacOS as supported OS, can you install the plugin directly with this file? https://1drv.ms/u/s!Ap4gpegjXAK1iYQ-MPAXBKWegE1cDA?e=DmKVzo

The file is .streamDeckPlugin so I think it should also work in Mac too?

panuoksala commented 2 years ago

Were you able to install the plugin from provided file?

nansravn commented 2 years ago

I was able to install the plugin, but it isn't working to trigger my pipeline. It doesn't appear any error message, but on my stream deck it appears a yellow triangle with a ! in the middle.

How can I help you debugging this?

nansravn commented 2 years ago

Screen Shot 2022-01-05 at 16 00 26

I'm not sure I'm using the correct value for the Definition ID parameter. Here's the url that appears when I'm editing my build pipeline YAML from the Az DevOps interface: https://dev.azure.com/revilasn/MLOps/_apps/hub/ms.vss-build-web.ci-designer-hub?pipelineId=22&nonce=DcEqv2w7sAp1xu6ptET9Mg%3D%3D&branch=master

Is my Definition ID 22?

panuoksala commented 2 years ago

Yes that is correct. Does your PAT token has required permissions?

nansravn commented 2 years ago

I've just tested it again with a Full Access PAT and the problem remains the same.

panuoksala commented 2 years ago

OK. Your organization name should be set to revilasn and project name should be MLOps. Definition Id is 22 and pipeline type i think is Build if it is not a Release pipeline.

panuoksala commented 2 years ago

It it is still no go, I will add logging and provide new version for you.

nansravn commented 2 years ago

It is still a no go, please add logging so I can debug it.

panuoksala commented 2 years ago

Sorry I was off during holidays, but I will provide the logging version soon.

panuoksala commented 2 years ago

There is some logging actually already present. The log files should arrive under plugin folder. In windows that is: Elgato\StreamDeck\Plugins\net.oksala.azuredevops.sdPlugin\log

The logging need to be improved, but could you check the existing log

panuoksala commented 2 years ago

Here is the link to new version which logs more info about DevOps problems: https://1drv.ms/u/s!Ap4gpegjXAK1iYQ9cEmki_Pbb1WM0A?e=1zwfCk

panuoksala commented 2 years ago

I'm planning to do new release and it would be cool if we could verify this. Any news on your side?