Skip to content

Commit 63c9218

Browse files
authored
Add Docker Hub categories (#2446)
* Add repo metadata, start with categories! scripts for checking repo categories, updating the canonical set added categories to push.pl * Add initial set of semi-acurate categories * Adjustments following tianon's review * Simplify metadata.sh use cases (CI or interactive); just diff and check all the time Update README.md about metadata.sh usage * Unify the categories checks into one jq expressions * Update initial categories * Link to Docker docs for categories; minor categories script adjustments
1 parent 4159546 commit 63c9218

File tree

155 files changed

+1221
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+1221
-0
lines changed

.ci/check-metadata.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
set -Eeuo pipefail
3+
4+
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")/.."
5+
6+
# metadata.sh takes directories with a 'metadata.json' in them
7+
# metadata.json is expected in every repo
8+
# "." so that the canonical source metadata.json is checked too
9+
./metadata.sh */ .

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ jobs:
4646
fetch-depth: 0
4747
- run: .ci/check-pr-no-readme.sh
4848
if: ${{ github.event_name == 'pull_request' }}
49+
metadata:
50+
runs-on: ubuntu-latest
51+
steps:
52+
- uses: actions/checkout@v3
53+
- run: .ci/check-metadata.sh

README.md

+13

adminer/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"databases-and-storage"
5+
]
6+
}
7+
}

aerospike/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"databases-and-storage"
5+
]
6+
}
7+
}

almalinux/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

alpine/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

alt/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

amazoncorretto/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"languages-and-frameworks"
5+
]
6+
}
7+
}

amazonlinux/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

api-firewall/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"api-management"
5+
]
6+
}
7+
}

arangodb/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"databases-and-storage"
5+
]
6+
}
7+
}

archlinux/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

backdrop/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"content-management-system"
5+
]
6+
}
7+
}

bash/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"developer-tools"
5+
]
6+
}
7+
}

bonita/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"languages-and-frameworks"
5+
]
6+
}
7+
}

buildpack-deps/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"developer-tools"
5+
]
6+
}
7+
}

busybox/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

caddy/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"web-servers"
5+
]
6+
}
7+
}

cassandra/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"databases-and-storage"
5+
]
6+
}
7+
}

centos/metadata.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hub": {
3+
"categories": []
4+
}
5+
}

chronograf/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"monitoring-and-observability"
5+
]
6+
}
7+
}

cirros/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

clearlinux/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

clefos/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

clojure/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"languages-and-frameworks"
5+
]
6+
}
7+
}

composer/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"developer-tools"
5+
]
6+
}
7+
}

consul/metadata.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hub": {
3+
"categories": []
4+
}
5+
}

convertigo/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"languages-and-frameworks"
5+
]
6+
}
7+
}

couchbase/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"databases-and-storage"
5+
]
6+
}
7+
}

couchdb/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"databases-and-storage"
5+
]
6+
}
7+
}

crate/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"databases-and-storage"
5+
]
6+
}
7+
}

dart/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"languages-and-frameworks"
5+
]
6+
}
7+
}

debian/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

docker/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"developer-tools"
5+
]
6+
}
7+
}

drupal/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"content-management-system"
5+
]
6+
}
7+
}

eclipse-mosquitto/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"message-queues"
5+
]
6+
}
7+
}

eclipse-temurin/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"languages-and-frameworks"
5+
]
6+
}
7+
}

eggdrop/metadata.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hub": {
3+
"categories": []
4+
}
5+
}

elasticsearch/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"databases-and-storage"
5+
]
6+
}
7+
}

elixir/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"languages-and-frameworks"
5+
]
6+
}
7+
}

emqx/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"message-queues"
5+
]
6+
}
7+
}

erlang/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"languages-and-frameworks"
5+
]
6+
}
7+
}

express-gateway/metadata.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hub": {
3+
"categories": []
4+
}
5+
}

fedora/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"operating-systems"
5+
]
6+
}
7+
}

flink/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"data-science"
5+
]
6+
}
7+
}

fluentd/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hub": {
3+
"categories": [
4+
"monitoring-and-observability"
5+
]
6+
}
7+
}

friendica/metadata.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hub": {
3+
"categories": []
4+
}
5+
}

0 commit comments

Comments
 (0)