Add Alpine Opensearch files
continuous-integration/drone/push Build is passing Details

This commit is contained in:
~lucidiot 2022-02-25 23:12:12 +01:00
parent 8bbb1125bb
commit 46e70d1f56
7 changed files with 144 additions and 0 deletions

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:parameters="http://a9.com/-/spec/opensearch/extensions/parameters/1.0/">
<ShortName>Alpine contents</ShortName>
<LongName>Alpine Linux package file contents search</LongName>
<Description>Search through the files provided by every package of Alpine Linux's official repositories.</Description>
<AdultContent>false</AdultContent>
<InputEncoding>UTF-8</InputEncoding>
<Developer>~lucidiot - https://envs.net/~lucidiot/</Developer>
<Contact>lucidiot@envs.net</Contact>
<Url type="text/html" template="https://pkgs.alpinelinux.org/contents">
<parameters:Parameter name="file" title="Name, or part of the name, of a file. Wildcards * and ? are supported." value="{searchTerms}" minimum="0" />
<parameters:Parameter name="path" title="Path or part of the path in which a file can be found. Wildcards * and ? are supported." minimum="0" />
<parameters:Parameter name="name" title="Name, or part of the name, of a package that contains the file. Wildcards * and ? are supported." minimum="0" />
<parameters:Parameter name="branch" title="Alpine version, such as edge or v3.15." minimum="0" />
<parameters:Parameter name="repo" title="Package repository" minimum="0">
<parameters:Option value="main" />
<parameters:Option value="community" />
<parameters:Option value="testing" />
</parameters:Parameter>
<parameters:Parameter name="arch" title="Hardware architecture" minimum="0">
<parameters:Option value="x86" label="IA-32 (x86)" />
<parameters:Option value="x86_64" label="AMD64 (x64)" />
<parameters:Option value="aarch64" label="ARM 64-bit (AArch64)" />
<parameters:Option value="armhf" label="ARMv7 with VFPV3-D16 (armhf)" />
<parameters:Option value="ppc64le" label="PowerPC 64-bit low-endian (ppc64le)" />
<parameters:Option value="s390x" label="IBM System/390 64-bit (s390x)" />
<parameters:Option value="armv7" label="ARMv7" />
<parameters:Option value="riscv64" label="RISC-V 64-bit (riscv64)" />
</parameters:Parameter>
<parameters:Parameter name="page" title="Page number" value="{startPage}" minimum="0" minInclusive="1" pattern="[0-9]+" />
</Url>
<Url type="application/opensearchdescription+xml" rel="self" template="https://envs.net/~lucidiot/opensearch/alpine/contents-param.xml" />
</OpenSearchDescription>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Alpine contents</ShortName>
<LongName>Alpine Linux package file contents search</LongName>
<Description>Search through the files provided by every package of Alpine Linux's official repositories.</Description>
<AdultContent>false</AdultContent>
<InputEncoding>UTF-8</InputEncoding>
<Developer>~lucidiot - https://envs.net/~lucidiot/</Developer>
<Contact>lucidiot@envs.net</Contact>
<Url type="text/html" template="https://pkgs.alpinelinux.org/contents?file={searchTerms}" />
<Url type="application/opensearchdescription+xml" rel="self" template="https://envs.net/~lucidiot/opensearch/alpine/contents.xml" />
</OpenSearchDescription>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:parameters="http://a9.com/-/spec/opensearch/extensions/parameters/1.0/">
<ShortName>Alpine flagged</ShortName>
<LongName>Alpine Linux flagged packages search</LongName>
<Description>Search through the packages that have been flagged as out-of-date in Alpine Linux's official repositories.</Description>
<AdultContent>false</AdultContent>
<InputEncoding>UTF-8</InputEncoding>
<Developer>~lucidiot - https://envs.net/~lucidiot/</Developer>
<Contact>lucidiot@envs.net</Contact>
<Url type="text/html" template="https://pkgs.alpinelinux.org/flagged">
<parameters:Parameter name="origin" title="Name, or part of the name, of a package. Wildcards * and ? are supported." value="{searchTerms}" minimum="0" />
<parameters:Parameter name="repo" title="Package repository" minimum="0">
<parameters:Option value="main" />
<parameters:Option value="community" />
<parameters:Option value="testing" />
</parameters:Parameter>
<parameters:Parameter name="maintainer" title="Package maintainer name" minimum="0" />
<parameters:Parameter name="page" title="Page number" value="{startPage}" minimum="0" minInclusive="1" pattern="[0-9]+" />
</Url>
<Url type="application/opensearchdescription+xml" rel="self" template="https://envs.net/~lucidiot/opensearch/alpine/flagged-param.xml" />
</OpenSearchDescription>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Alpine flagged</ShortName>
<LongName>Alpine Linux flagged packages search</LongName>
<Description>Search through the packages that have been flagged as out-of-date in Alpine Linux's official repositories.</Description>
<AdultContent>false</AdultContent>
<InputEncoding>UTF-8</InputEncoding>
<Developer>~lucidiot - https://envs.net/~lucidiot/</Developer>
<Contact>lucidiot@envs.net</Contact>
<Url type="text/html" template="https://pkgs.alpinelinux.org/flagged?origin={searchTerms}" />
<Url type="application/opensearchdescription+xml" rel="self" template="https://envs.net/~lucidiot/opensearch/alpine/flagged.xml" />
</OpenSearchDescription>

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:parameters="http://a9.com/-/spec/opensearch/extensions/parameters/1.0/">
<ShortName>Alpine packages</ShortName>
<LongName>Alpine Linux packages search</LongName>
<Description>Search through the packages available in all of Alpine Linux's official repositories.</Description>
<AdultContent>false</AdultContent>
<InputEncoding>UTF-8</InputEncoding>
<Developer>~lucidiot - https://envs.net/~lucidiot/</Developer>
<Contact>lucidiot@envs.net</Contact>
<Url type="text/html" template="https://pkgs.alpinelinux.org/packages">
<parameters:Parameter name="name" title="Name, or part of the name, of a package. Wildcards * and ? are supported." value="{searchTerms}" minimum="0" />
<parameters:Parameter name="branch" title="Alpine version, such as edge or v3.15." minimum="0" />
<parameters:Parameter name="repo" title="Package repository" minimum="0">
<parameters:Option value="main" />
<parameters:Option value="community" />
<parameters:Option value="testing" />
</parameters:Parameter>
<parameters:Parameter name="arch" title="Hardware architecture" minimum="0">
<parameters:Option value="x86" label="IA-32 (x86)" />
<parameters:Option value="x86_64" label="AMD64 (x64)" />
<parameters:Option value="aarch64" label="ARM 64-bit (AArch64)" />
<parameters:Option value="armhf" label="ARMv7 with VFPV3-D16 (armhf)" />
<parameters:Option value="ppc64le" label="PowerPC 64-bit low-endian (ppc64le)" />
<parameters:Option value="s390x" label="IBM System/390 64-bit (s390x)" />
<parameters:Option value="armv7" label="ARMv7" />
<parameters:Option value="riscv64" label="RISC-V 64-bit (riscv64)" />
</parameters:Parameter>
<parameters:Parameter name="maintainer" title="Package maintainer name" minimum="0" />
<parameters:Parameter name="page" title="Page number" value="{startPage}" minimum="0" minInclusive="1" pattern="[0-9]+" />
</Url>
<Url type="application/opensearchdescription+xml" rel="self" template="https://envs.net/~lucidiot/opensearch/alpine/packages-param.xml" />
</OpenSearchDescription>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Alpine packages</ShortName>
<LongName>Alpine Linux packages search</LongName>
<Description>Search through the packages available in all of Alpine Linux's official repositories.</Description>
<AdultContent>false</AdultContent>
<InputEncoding>UTF-8</InputEncoding>
<Developer>~lucidiot - https://envs.net/~lucidiot/</Developer>
<Contact>lucidiot@envs.net</Contact>
<Url type="text/html" template="https://pkgs.alpinelinux.org/packages?name={searchTerms}" />
<Url type="application/opensearchdescription+xml" rel="self" template="https://envs.net/~lucidiot/opensearch/alpine/packages.xml" />
</OpenSearchDescription>

View File

@ -57,6 +57,24 @@ header-includes:
title="Wayback Machine"
href="./wayback.xml"
/>
<link
rel="search"
type="application/opensearchdescription+xml"
title="Alpine packages"
href="./alpine/packages.xml"
/>
<link
rel="search"
type="application/opensearchdescription+xml"
title="Alpine package contents"
href="./alpine/contents.xml"
/>
<link
rel="search"
type="application/opensearchdescription+xml"
title="Alpine flagged packages"
href="./alpine/flagged.xml"
/>
```
---
@ -127,6 +145,10 @@ autodiscovery, well you can just grab the XML files yourself here:
* [dict.org](./dict.xml) (dictionary)
* [Internet Archive](./archive.xml)
* [Wayback Machine](./wayback.xml)
* Alpine Linux
* Packages: [browser-supported](./alpine/packages.xml), [with OpenSearch Parameter](./alpine/packages-param.xml)
* Package contents: [browser-supported](./alpine/contents.xml), [with OpenSearch Parameter](./alpine/contents-param.xml)
* Flagged packages: [browser-supported](./alpine/flagged.xml), [with OpenSearch Parameter](./alpine/flagged-param.xml)
## To-do