wangshub Posted October 11, 2018 Posted October 11, 2018 (edited) Alfred Gitlab Tool Alfred Gitlab dashboard workflow. Navigate projects, issues, merges and todos quickly. Install Dependency Alfred3 Download the newest Gitlab workflow release Click to install. Configure glurl: Set Gitlab url. gltoken: Set Gitlab token. Feature glp: Fuzzy search Gitlab projects. glm: Navigate Gitlab merge requests assigned to you. gli: Search Gitlab issues via API. gltodo: Open Gitlab todos in browser. Question All pull requests, issues and ideas are welcome. License MIT @ github/wangshub Github repo https://github.com/wangshub/Alfred-Gitlab-Tool Edited November 6, 2018 by wangshub
wangshub Posted October 11, 2018 Author Posted October 11, 2018 Github address https://github.com/wangshub/Alfred-Gitlab-Tool
piggah Posted November 4, 2018 Posted November 4, 2018 Ive wanted this for a long time, thanks. Does the API work if you want to use your hosted account? Is there a way to specify your username?
wangshub Posted November 6, 2018 Author Posted November 6, 2018 @piggah I have test it on our self-host gitlab GitLab version: Community Edition 11.2.3 1d55bc2 There are little difference between two versions
bikeNik Posted November 10, 2018 Posted November 10, 2018 (edited) I couldn't access my account with your workflow. I'm a new gitlab user. Could you explain where is I can take gitLab token? 1. (if it from the User Settings => Access Tokens) it must be Feed token or Personal Access Tokens? (what is the option of scopes I should pick up?) 2.What is the correct base URL of API should look like? I can't find this info in https://docs.gitlab.com/ce/api StackOverflow: Can't find out base GitLab API base url - Neither one of the options from here is not working in my case. http://example.com/api/v4 so.. <example.com>, as I understood, is my own server (host)? And: 3. Is this going to work with <gitlab.com>/api/v4? 4. By this <query> I got [ERROR: action.script] Starting debug for 'GitLab-Tool' [2018-11-11 10:54:23][input.keyword] Processing output of 'action.script' with arg 'https://gitlab.com/api/v4' [2018-11-11 10:54:24][ERROR: action.script] . 10:54:23 workflow.py:2055 DEBUG ---------- GitLab-Tool (1.2.0) ---------- 10:54:23 main.py:151 INFO Namespace(issue=None, merge=False, query=None, repo=None, todo=False, token=None, url=u'https://gitlab.com/api/v4') 10:54:23 main.py:40 INFO Setting gitlab url https://gitlab.com/api/v4 10:54:23 workflow.py:2411 DEBUG password exists : :gitlab_url 10:54:24 workflow.py:2458 DEBUG got password : :gitlab_url 10:54:24 workflow.py:2415 DEBUG password unchanged 10:54:24 workflow.py:1462 DEBUG reading settings from /Users/bikenik/Library/Application Support/Alfred 3/Workflow Data/settings.json 10:54:24 workflow.py:2248 DEBUG set last run version: 1.2.0 10:54:24 workflow.py:2097 DEBUG ---------- finished in 0.155s ---------- [2018-11-11 10:54:24][action.script] Processing output of 'output.notification' with arg '' 5. By this <query> I got [ERROR: action.script] [2018-11-11 11:02:23][input.keyword] Processing output of 'action.script' with arg 'oP1536ESz_AEvdMrfEbd' [2018-11-11 11:02:24][ERROR: action.script] . 11:02:23 workflow.py:2055 DEBUG ---------- GitLab-Tool (1.2.0) ---------- 11:02:24 main.py:151 INFO Namespace(issue=None, merge=False, query=None, repo=None, todo=False, token=u'oP1536ESz_AEvdMrfEbd', url=None) 11:02:24 main.py:29 INFO Setting gitlab token oP1536ESz_AEvdMrfEbd 11:02:24 workflow.py:2411 DEBUG password exists : :gitlab_token 11:02:24 workflow.py:2458 DEBUG got password : :gitlab_token 11:02:24 workflow.py:2415 DEBUG password unchanged 11:02:24 workflow.py:1462 DEBUG reading settings from /Users/bikenik/Library/Application Support/Alfred 3/Workflow Data/settings.json 11:02:24 workflow.py:2248 DEBUG set last run version: 1.2.0 11:02:24 workflow.py:2097 DEBUG ---------- finished in 0.160s ---------- [2018-11-11 11:02:24][action.script] Processing output of 'output.notification' with arg '' Thanks in advance. Edited November 11, 2018 by bikeNik additional info
bikeNik Posted November 11, 2018 Posted November 11, 2018 (edited) Ok. With my previous questions (1-3) are clear for me now. I'll make my own workflow using node.js Edited November 11, 2018 by bikeNik
wangshub Posted November 30, 2018 Author Posted November 30, 2018 for api url and token detail, you can read https://gitlab.com/help/api/README.md @bikeNik
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now