gharlan / alfred-github-workflow Goto Github PK
View Code? Open in Web Editor NEWGitHub Workflow for Alfred
License: MIT License
GitHub Workflow for Alfred
License: MIT License
Switched from .com to GHE and am really missing this workflow.
Perhaps it's due to too many repos because of the orgs but none of my actual repos are showing up.
This should most certainly be finding https://github.com/zebapy/react-redux-parse-server, should it not?
First of all, thanks for this awesome workflow !
It would be cool if one could directly search for issues from within Alfred, e.g. gh user/project #
and then part of an issue text. So, the same functionality as the autocomplete popup when you are editing an issue and type #
.
I don't know whether this is feasible via the GitHub API, but for me it would be awesome because when writing mails or documentation, a quick lookup for an issue's URL and inserting it into the text would save quite some clicks.
It'd be great if the "new pull" could autocomplete the source branch from which to do the new pull request.
The target branch is normally master
, so I'd leave that out.
I can view blobs in public repos, but when I type a slash (to view blobs) in a private repo, no entries appear in the list. Is there any other information I can provide to help debug?
I used this wonderful workflow to search a project only by its name frequently. ( EVEN DON'T KNOW THE USER'S NAME )
So, Maybe the command of search by repo name like this:
gh s repo's name
Thanks for hard work.
some of the repos that previously appeared in the alfred github list are now missing.
it's hard to diagnose why some appear and some don't: it's not simply the private ones (since many private repos for our organization do appear).
the behavior also changes depending on whether or not i type the slash after the organization name; witness:`
I just get a "Login failed" notification when attempting to log in. The dialog box for the password never appears. Running on OS 10.7.5.
This workflow has recently stopped working for me. Turning on debug in Alfred shows the following after entering 'gh ' in Alfred:
Starting debug for 'GitHub commands'
[ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)'. Row (null), Col (null): 'Document is empty' in XML:
Warning: Invalid argument supplied for foreach() in /Users/chrisr/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6BFDEAD2-8BDD-4CFA-A750-E7C344C74653/search.php on line 173
Warning: Invalid argument supplied for foreach() in /Users/chrisr/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.6BFDEAD2-8BDD-4CFA-A750-E7C344C74653/search.php on line 206
<?xml version="1.0"?>
<items><item uid="56dfe8cbd30155d0d328f3d777767991" autocomplete=" my " valid="no"><icon>icon.png</icon><title>my …</title><subtitle>Dashboard, settings, and more</subtitle></item></items>
Hello, is it possible to tweak the API calls to Github to show also the private org. repos that I have access to? Would really make my work process more pleasant.
This workflow worked yesterday. After I successfully login (get the notification center message), the only available command is still "gh > login"
This workflow used to work great for me, now I am getting this error message when I debug it. The workflow has not worked since updating to 10.11.
[INFO: alfred.workflow.input.scriptfilter] Processing output 'alfred.workflow.action.script' with arg 'https://github.com/REDACTED/REDACTED'
[ERROR: alfred.workflow.action.script] osascript: can't open default scripting component.
[INFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.notification' with arg ''
Any thoughts?
I would love a feature that allowed me to send new issues to a github repo I manage by simply typing gh name/repo issues "Submit button doesn't work"
... is this possible?
It seems that this is broken since the recent 2.3 update to Alfred. Is it just me?
When I try to log in, the login popup never pops up for me.
When using ghe
and sometimes gh
it takes a while to load the commands -- including commands that remain static for months/yrs like gh my pulls
etc
Is awesome!! Thanks. ❤️
ps: The update failed on my machine but I just deleted and reinstalled and it is awesome again.
Would be great if I could do:
gh clone bevry/docpad
to get it to put:
https://github.com/bevry/docpad.git
into my clipboard
Would be nice if you could configure for a different server so that it could be used with github enterprise
I get an "Update failed" message whenever trying to run gh > update
. I have to remove it and reinstall in order to get the latest version.
The prior fix had the plugin working. I was just prompted to update and now i'm busted.
mavericks PHP 5.4.24
We're using an internal GH and I'd love to be able to use this workflow against it.
Was unable to hack my way around and get it to work; pointers to where to look would be more than adequate.
I've logged in using gh > login <user>
, but am unable to access private repos to a Github organization I belong to? I know others who belong to the same org and am able to access the private repos. Am I missing something silly?
I created a Private repo; refreshed the local cache several times as well.
No matter what I do (even put in the full repo name) the repo does not appear in my list of results. Any thoughts on why this may be happening? Thanks so much!
I have 2-factor authentication enabled on my GitHub account, so I need to use a token instead of my password to sign in with 3rd party apps, but the workflow isn't letting me do this.
When I run gh > login username
(with my username) it opens the window to enter my password. Each of these three scenarios fails to login and just alerts "Login failed":
They're neither autocompleted, nor detected as repos when typed out manually (it instead sends a search query)
Since the user is made to login anyway, why not also index their (and their organizations') private repos? For people who use GitHub at work, this is absolutely vital!
It'd be great if the "new pull" could autocomplete the branch from which to do the new pull request.
Here is what it does do from my ps aux
It would be awesome if while the results load a cache would be displayed, from time to time GH won't be as responsive as I would like it to be.
I use 1password to manage my passwords. My github password is long and would be arduous to type. I can't paste it from the clipboard currently.
This is a really useful workflow, but my initial attempts to use it were slightly confusing. A gh help
command that either shows possible commands in the quick-list or opens up the readme would be super useful.
It’d be sweet to see a list of my open pulls, most recent on top, so I can jump quickly to a pull.
gh my pulls
seems like a natural place, but it already has another behavior.
@gharlan What do you think? I can take a stab at it, if you like it.
When trying to gh > login > , the prompt for the password showed up, and I entered my password. It sent me my 2 factor authentication token, but I'm not sure where to input that and I received a notification that Login Failed.
The blog post says the tokens are like a password but I couldn't get it to work. Maybe it is a different way of authenticating?
If you go to a GitHub repo and type t
, you'll enter a find section which is great for looking up files. Is it possible to have a similar thing directly from your GitHub alfred commands? It'd be really useful :)
The previous version of this workflow didn't have this issue. But now once updated I have to press space every time I want to run a query from my hotkey and this is something I wish I can change. I hope you can understand that.
Here is the video of what I mean : http://quick.as/3vbxcbR0O
Thank you and I hope there is a way to fix this.
gh infinispan/infinispan /documentation
shows nothing, which is strange, even after deleting the cache, because https://github.com/infinispan/infinispan/tree/master/documentation exists
When using the command bar, I've noticed that it does not include any private repos that I am a part of.
Thank you for this workflow. It is great and I use it all of the time.
Lately it will not bring back results. It used to bring back repos connected to me somehow, and repos I starred, but for the last week whenever I type in a query it just lets me search for it on github instead of bringing back results.
I have not changed anything in the workflow.
Is there something I can try to debug the problem?
Would love it if this workflow supported a "my" command that brought you to the users gists page at https://gist.github.com/<username>/
Thanks so much for this workflow I use it every hour of everyday
Today it prompted me an update was available which successfully installed. But although it tells me Iogin succeeds and the cookie file is created, I can't seem to get passed login. gh > login <user>
is the only command available.
I've uninstalled and installed the workflow again. Removed the workflow data folder. Tried to run the script through the terminal instead and got the same result.
Any ideas?
Thank you!
(It was working fine before the update)
Is it possible to login via personal access token? I'm concerned about having my credentials stored in a way that I can't easily revoke.
Can you please give license information
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.