Comments (8)
I am having the same issues, I forked the code and tried to fix it. If you can point me in the right direction, I can fix and issue a PR.
from alfred-github-workflow.
Just confirm that I have the same issue, hope the team will update it to be able to work with Alfred 3 soon.
from alfred-github-workflow.
I have the same issue with Alfred 4. Apparently this is no longer working for years now. Taking a closer look at the README, I see now that it requires Alfred 2. Too bad, this would have been quite useful.
from alfred-github-workflow.
Someone, like to write a PR to fix?
from alfred-github-workflow.
I am new to Alfred (second day) and never used the Github API. Any clues where to start? Is it that the Github API has changed or is the problem an incompatibility between the Alfred versions?
from alfred-github-workflow.
The debugging output says:
mkdir: /Users/<username>/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory
2020-09-10 22:13:11.951 defaults[77496:5848813]
The domain/default pair of (/Users/<username>/Library/Application Support/Alfred 2/Workflow Data/com.farrell.github.alfredworkflow/settings.plist, github.proxy) does not exist
The issue here, I think, is the hard-coded path to Alfred 2 that no longer exists in Alfred versions 3 and 4, on lines 41 and 42 of workflows.php
:
$this->cache = $this->home. "/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/".$this->bundle;
$this->data = $this->home. "/Library/Application Support/Alfred 2/Workflow Data/".$this->bundle;
I could only find this official documentation: https://www.alfredapp.com/help/workflows/script-environment-variables/ which strangely lists the same paths, containing "Alfred 2".
alfred_workflow_cache and alfred_workflow_data
These are the recommended locations for volatile and non-volatile workflow data:
Cache: ~/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/[bundle id]
Data: ~/Library/Application Support/Alfred 2/Workflow Data/[bundle id]
from alfred-github-workflow.
I more or less figured out how to build the workflow (where are the docs for this?) and adapted those paths (Alfred-2
=> Alfred
and Alfred 2
=> Alfred
) which gets rid of the first two errors, but there are more errors after that. I'll look into it but not sure if I can fix it.
from alfred-github-workflow.
It's a pretty complicated combination of PHP code, bash scripts, Github API and Alfred internals. Also, I can't find proper documentation about how to develop. It's very tedious to manually archive the files, rename the archive and import it every single time you change a line of code. var_dump()
does not seem to work either. In short, it's too complicated for me. Sorry I can't help with a PR. I see why you haven't updated this yet, it's not trivial for sure!
For now I just created a custom web search that searches Github which is good enough for me for the moment.
from alfred-github-workflow.
Related Issues (20)
- Set User/Pass(Key) but says neither are set HOT 9
- Github Issues Support HOT 2
- Feature Request: Starred Gists HOT 1
- Is there a way to turn off proxy? HOT 1
- Search Organization Repositories HOT 2
- Caching results for immediate results
- Gist Copy HOT 1
- "git my" only returns 100 repos HOT 4
- Show owner of repo in results HOT 1
- Add Update Support for Packal HOT 2
- search is slow HOT 2
- "git my" results in "Github Limit: Not Found." HOT 2
- Enterprise Support HOT 1
- Can't find private repositories HOT 2
- How to unset proxy
- Support for Alfred 3 HOT 3
- What scope should GH personal access token have? HOT 1
- Gists command not working with Alfred 4.1.1.
- Gist search opens incorrect URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-github-workflow.