You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a quick note: As of v1.4.0, setting the URL is not an optional step.
I assume you default to the gitlab.com endpoint, which is what I am using, but this fails to fetch the projects. And yes, I gave the background process plenty of time to run. It only needed to fetch 4 projects.
Manually setting the URL to https://gitlab.com with or without the trailing slash also fails.
Setting the full path, "api_url": "https://gitlab.com/api/v4/projects", succeeds, returning the projects nearly instantly.
It seems like you already have the correct default ...
However, the initial value of the api_url key in settings.json is an empty string. I wonder if this is preventing the default value from being used.
I should note that I completely uninstalled the workflow and reinstalled it. I then turned on logging before ever invoking the workflow. Through it all, there is no line containing the phrase Setting API URL, as found here:
Just a quick note: As of v1.4.0, setting the URL is not an optional step.
I assume you default to the gitlab.com endpoint, which is what I am using, but this fails to fetch the projects. And yes, I gave the background process plenty of time to run. It only needed to fetch 4 projects.
Manually setting the URL to
https://gitlab.com
with or without the trailing slash also fails.Setting the full path,
"api_url": "https://gitlab.com/api/v4/projects"
, succeeds, returning the projects nearly instantly.It seems like you already have the correct default ...
alfred-gitlab/src/update.py
Line 34 in 82d36dc
However, the initial value of the
api_url
key insettings.json
is an empty string. I wonder if this is preventing the default value from being used.I should note that I completely uninstalled the workflow and reinstalled it. I then turned on logging before ever invoking the workflow. Through it all, there is no line containing the phrase
Setting API URL
, as found here:alfred-gitlab/src/gitlab.py
Line 40 in d818498
So I am fairly certain I never set the value to an empty string myself. I ended up setting the correct value directly in settings.json directly.
A URL sanity check might help. There is some great regex here: https://stackoverflow.com/a/7160778/338464
Anyway, thanks for the excellent workflow and the work you have done on it.
The text was updated successfully, but these errors were encountered: