From 106a1485130f7c790647b9865738c02c9fc5c9f8 Mon Sep 17 00:00:00 2001 From: Tavis Aitken Date: Tue, 22 Sep 2015 19:13:39 -0600 Subject: [PATCH] Updated docker script to use the same index api as the docker client. --- Package Managers.alfredworkflow | Bin 3984411 -> 3984241 bytes README.md | 2 +- current-version.json | 4 ++-- src/Docker.php | 30 +++++++++++------------------- 4 files changed, 14 insertions(+), 22 deletions(-) diff --git a/Package Managers.alfredworkflow b/Package Managers.alfredworkflow index 1df0cf2e3e89f0cc9d95d4049048d47f67b74268..cd6ad4e2ebd255d7fc5f3e9d04cf3926afe3856e 100644 GIT binary patch delta 9949 zcmZXa1z1$w*2ib)jsa=uZV-_e6eOgP6a*w>2uTTPh6bhcAQ&JeUDDEBA|Tx*B8bwd ze8=~`d@%R&JnNaw@BH`LYwuZSubHzaEoB$FoxBT;)xZ}xh3dI^;6tDo2h|L2Y&MYz zZISXdH>ywM0iC`C>kpyo}D!cnOnoll|~`4ocJRE;F8FT}tC(kF>f=3o75lE`HfMeWc@Y%+sF=5txRVSsie32N8O zN)p)s6ydfgX@(gJd7VOPHN(gLQuH3=${!|#4)WO10wJKQg9|~g0T*iXaL5_k$&&k{N$kCpv!rR~;=#OGyv1mkpr>Q9)$>@j%fv{r&XYnu^!O-&`=SXDU@&(mY8-0gQ-Y$0w^ctfbnbx`VXLy=+Y zG$)32V1}k0?y$hI8IbZJYB*O%QB(m3X(3jfM7In9JIkxz3v6= zYVu^q)#j@Y0k%<=)HQpUjWYpNe9MB(Db+$V@@R`%GtE z;uo(BhYcQft<#r38gs!${vt~YO}99u!N5%>5>Z27%b5D5>q}%Ma2&ngJ68x`SIXOU z@8T!ZCQWHwu%dl8bMgzjWIW+vwih0&Ou#Rb>?%RwGVFk(x8Soo24QYC~eJ*5c4EFAkXGGsoAdVX2YGO^Utnc`P zc3%Y@191EZrvmOL!>CX)+9eqljGFamFJWD%p{dTHp>@(jq5oF5eSUx< zolY3P@ygZ*mLzK@pq}KqAWDw|lIvjy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0>A4bKE1Us?sukdBy=a70E2Y%splyc}VHVm@0(>@<)I_Le_snbGJzsfu+fgEx3qWW)ob_C!wH+lwcK|H3 z!`aRmO$VF-^Opt{5THRt@khk?in7VGyZ4Va|69qsew}!Y6_sJ zR!H-icD5bfE=ITxe`c?g6YP5tUCAU2bZ8ffgi z5dVY{0#^Vhofq1u4bOmSj0*!k$p1`VC2q51AOnjXe+c2<>(Iv1pDAD=Y{S5FbpCfqVMl|`8$z4D27?E&H?bQb5H_j zeHRK${eP+w1!Vd!w#Q=>qr;<;0NGkOJMpIO^N~0bD-kMgRZ+ diff --git a/README.md b/README.md index 1f52512..997cc2e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Package Managers ([Download v3.03](https://github.com/willfarrell/alfred-pkgman-workflow/releases/download/3.03/Package.Managers.alfredworkflow)) +# Package Managers ([Download v3.04](https://github.com/willfarrell/alfred-pkgman-workflow/releases/download/3.04/Package.Managers.alfredworkflow)) Package Repo Search diff --git a/current-version.json b/current-version.json index ffa3a30..de639d0 100644 --- a/current-version.json +++ b/current-version.json @@ -1,5 +1,5 @@ { - "version": 3.03, - "download_url": "https://github.com/willfarrell/alfred-pkgman-workflow/releases/download/3.02/Package.Managers.alfredworkflow", + "version": 3.04, + "download_url": "https://github.com/willfarrell/alfred-pkgman-workflow/releases/download/3.04/Package.Managers.alfredworkflow", "description": "Package Repo Search" } diff --git a/src/Docker.php b/src/Docker.php index 3bc4b4e..0414947 100644 --- a/src/Docker.php +++ b/src/Docker.php @@ -8,8 +8,8 @@ class Docker extends Repo { protected $id = 'docker'; protected $kind = 'images'; - protected $url = 'https://registry.hub.docker.com'; - protected $search_url = 'https://registry.hub.docker.com/search?q='; + protected $url = 'https://hub.docker.com'; + protected $search_url = 'https://index.docker.io/v1/search?q='; public function search($query) { @@ -17,32 +17,24 @@ public function search($query) return $this->xml(); } - $this->pkgs = $this->cache->get_query_regex( + $this->pkgs = $this->cache->get_query_json( $this->id, $query, - "{$this->search_url}{$query}", - '/(