Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix the URL to visit from a Chef Supermarket search #25

Merged
merged 2 commits into from

2 participants

Jeff Byrnes will Farrell
Jeff Byrnes

This ensures one visits the actual Supermarket page, not an API result,
upon choosing a Chef Supermarket search result in Alfred.

Also, the README has been updated and a screenshot added.

jeffbyrnes added some commits
Jeff Byrnes jeffbyrnes Fix issue with visiting Chef Supermarket results
This corrects the URL that Alfred sends you to, to be the actual
Supermarket page for a cookbook, instead of the API result for a
particular cookbook.

Makes for a much friendlier experience.
4e8839a
Jeff Byrnes jeffbyrnes Add screenshot and example illustrating Chef Supermarket search decfbb0
will Farrell willfarrell merged commit 81407df into from
will Farrell
Owner

Thanks!

Jeff Byrnes

@willfarrell you're welcome! Just realized I've forgotten to update the version number at the top of the README; it should read v1.31 now, heh. You’re damned fast at merging these!

Jeff Byrnes jeffbyrnes deleted the branch
will Farrell
Owner

Done. Thanks, I try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 15, 2014
  1. Jeff Byrnes

    Fix issue with visiting Chef Supermarket results

    jeffbyrnes authored
    This corrects the URL that Alfred sends you to, to be the actual
    Supermarket page for a cookbook, instead of the API result for a
    particular cookbook.
    
    Makes for a much friendlier experience.
  2. Jeff Byrnes
This page is out of date. Refresh to see the latest.
BIN  Package Managers.alfredworkflow
View
Binary file not shown
6 README.md
View
@@ -1,7 +1,7 @@
Package Managers ([Download v1.24](https://raw.github.com/willfarrell/alfred-pkgman-workflow/master/Package%20Managers.alfredworkflow))
======================================
-Package Repo Search
+Package Repo Search
Quick package/plugin/component (repo) lookup of for your favourite package managers. Currently supports `Alcatraz`, `bower`, `CocoaDocs/CocoaPods`, `Composer`, `docker`, `yoeman`, `grunt`, `gulp`, `Homebrew`, `Maven`, `apt-get`, `puppet`, `npm`, `pear`, `pypi`, `gems`, and `rpm`. All workflows require constant internet connection.
@@ -69,10 +69,14 @@ The Python Package Index is very slow due to a lack on API and pagaination. A mi
![alt text][docker]
+**Chef Cookbooks:** `chef {query`
+
+![Screenshot of a search of Chef Supermarket][chef]
[alcatraz]: ./screenshots/alcatraz.png "Sample alcatraz result"
[bower]: ./screenshots/bower.png "Sample bower result"
[brew]: ./screenshots/brew.png "Sample brew result"
+[chef]: ./screenshots/chef.png "Sample chef result"
[cocoa]: ./screenshots/cocoa.png "Sample cocoa result"
[composer]: ./screenshots/composer.png "Sample composer result"
[docker]: ./screenshots/docker.png "Sample docker result"
4 current-version.json
View
@@ -1,5 +1,5 @@
{
- "version": 1.30,
+ "version": 1.31,
"download_url": "https://raw.github.com/willfarrell/alfred-pkgman-workflow/master/Package%20Managers.alfredworkflow",
"description": "Package Repo Search"
-}
+}
BIN  screenshots/chef.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2  src/chef.php
View
@@ -50,7 +50,7 @@ function search($cookbook, $query)
$w->result(
$cookbook->cookbook_name,
- $cookbook->cookbook,
+ "https://supermarket.getchef.com/cookbooks/{$cookbook->cookbook_name}",
$title,
$cookbook->cookbook_description,
$chef_icon
Something went wrong with that request. Please try again.