Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Artifact Hub description message #3767

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/artifacthub/hub)
[![Licenses](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fartifacthub%2Fhub.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fartifacthub%2Fhub?ref=badge_shield)

[Artifact Hub](https://artifacthub.io) is a web-based application that enables finding, installing, and publishing packages and configurations for CNCF projects.
[Artifact Hub](https://artifacthub.io) is a web-based application that enables finding, installing, and publishing packages and configurations for Cloud Native packages.

Discovering artifacts to use with CNCF projects can be difficult. If every CNCF project that needs to share artifacts creates its own Hub this creates a fair amount of repeat work for each project and a fractured experience for those trying to find the artifacts to consume. The Artifact Hub attempts to solve that by providing a single experience for consumers that any CNCF project can leverage.

Expand Down
4 changes: 2 additions & 2 deletions charts/artifact-hub/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: artifact-hub
description: Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.
description: Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.
type: application
version: 1.17.1-2
version: 1.17.1-3
appVersion: 1.17.0
kubeVersion: ">= 1.19.0-0"
home: https://artifacthub.io
Expand Down
2 changes: 1 addition & 1 deletion charts/artifact-hub/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Artifact Hub

[Artifact Hub](https://artifacthub.io) is a web-based application that enables finding, installing, and publishing Kubernetes packages.
[Artifact Hub](https://artifacthub.io) is a web-based application that enables finding, installing, and publishing Cloud Native packages.

## Introduction

Expand Down
2 changes: 1 addition & 1 deletion docs/api/openapi-monocular.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Artifact Hub
description: "Find, install and publish Kubernetes packages"
description: "Find, install and publish Cloud Native packages"
version: 0.18.0
contact:
name: Artifact Hub support
Expand Down
6 changes: 3 additions & 3 deletions docs/api/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Artifact Hub
description: "Find, install and publish Kubernetes packages"
description: "Find, install and publish Cloud Native packages"
version: 1.17.0
contact:
name: Artifact Hub support
Expand Down Expand Up @@ -987,7 +987,7 @@ paths:
stars: 2
description: >-
Artifact Hub is a web-based application that enables
finding, installing, and publishing Kubernetes
finding, installing, and publishing Cloud Native
packages.
version: 0.1.0
app_version: 0.1.0
Expand Down Expand Up @@ -5404,7 +5404,7 @@ components:
schema:
type: boolean
required: false
description: Whether to get only pacakges published by CNCF projects
description: Whether to get only packages published by CNCF projects
OfficialParam:
in: query
name: official
Expand Down
2 changes: 1 addition & 1 deletion docs/embedding_artifacts.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The generated code would be something like this:
data-responsive="false"
>
<blockquote>
<p lang="en" dir="ltr"><b>artifact-hub</b>: Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.</p>
<p lang="en" dir="ltr"><b>artifact-hub</b>: Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.</p>
&mdash; Open in <a href="https://artifacthub.io/packages/helm/artifact-hub/artifact-hub">Artifact Hub</a>
</blockquote>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/www/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 1

# Welcome

Welcome to the [Artifact Hub](https://artifacthub.io/) documentation. Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.
Welcome to the [Artifact Hub](https://artifacthub.io/) documentation. Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.

The documentation is organized in the following topics:

Expand Down
2 changes: 1 addition & 1 deletion internal/handlers/static/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (h *Handlers) Index(w http.ResponseWriter, r *http.Request) {
}
description, _ := r.Context().Value(hub.IndexMetaDescriptionKey).(string)
if description == "" {
description = "Find, install and publish Kubernetes packages"
description = "Find, install and publish Cloud Native packages"
}
openGraphImage := h.cfg.GetString("theme.images.openGraphImage")
if !strings.HasPrefix(openGraphImage, "http") {
Expand Down
2 changes: 1 addition & 1 deletion internal/handlers/static/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func TestIndex(t *testing.T) {

assert.Equal(t, http.StatusOK, resp.StatusCode)
assert.Equal(t, helpers.BuildCacheControlHeader(indexCacheMaxAge), h.Get("Cache-Control"))
assert.Equal(t, []byte("title:Artifact Hub\ndescription:Find, install and publish Kubernetes packages\ngaTrackingID:1234\n"), data)
assert.Equal(t, []byte("title:Artifact Hub\ndescription:Find, install and publish Cloud Native packages\ngaTrackingID:1234\n"), data)
}

func TestSaveImage(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="manifest" href="/manifest.json" />
<% if (process.env.NODE_ENV === 'development') { %>
<title>Artifact Hub</title>
<meta name="description" content="Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages." />
<meta name="description" content="Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages." />
<meta name="artifacthub:siteName" content="Artifact Hub" />
<meta name="artifacthub:websiteLogo" content="/static/media/logo/artifacthub-brand-white.svg" />
<meta name="artifacthub:primaryColor" content="#417598" />
Expand All @@ -28,6 +28,7 @@
<% } else { %>
<title>{{ .title }}</title>
<meta name="description" content="{{ .description }}" />
<meta name="keywords" content="Artifact Hub, Cloud Native, Kubernetes, packages"/>
<meta name="artifacthub:siteName" content="{{ .siteName }}" />
<meta name="artifacthub:websiteLogo" content="{{ .websiteLogo }}" />
<meta name="artifacthub:primaryColor" content="{{ .primaryColor }}" />
Expand Down
2 changes: 1 addition & 1 deletion web/src/api/__fixtures__/index/15.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "artifacthub",
"display_name": "Artifact Hub",
"description": "Find, install and publish Kubernetes packages",
"description": "Find, install and publish Cloud Native packages",
"home_url": "https://test.com",
"logo_image_id": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"confirmed": true,
Expand Down
2 changes: 1 addition & 1 deletion web/src/api/__fixtures__/index/16.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "artifacthub",
"display_name": "Artifact Hub",
"description": "Find, install and publish Kubernetes packages",
"description": "Find, install and publish Cloud Native packages",
"home_url": "https://test.com",
"logo_image_id": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"confirmed": true,
Expand Down
2 changes: 1 addition & 1 deletion web/src/api/__fixtures__/index/17.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "artifacthub",
"display_name": "Artifact Hub",
"description": "Find, install and publish Kubernetes packages",
"description": "Find, install and publish Cloud Native packages",
"home_url": "https://test.com",
"logo_image_id": "3cfb161e-2652-43b9-ada1-c1ced4b20111"
}
2 changes: 1 addition & 1 deletion web/src/api/__fixtures__/index/18.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "artifacthub",
"display_name": "Artifact Hub",
"description": "Find, install and publish Kubernetes packages",
"description": "Find, install and publish Cloud Native packages",
"home_url": "https://test.com",
"logo_image_id": "3cfb161e-2652-43b9-ada1-c1ced4b20111"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "artifacthub",
"displayName": "Artifact Hub",
"description": "Find, install and publish Kubernetes packages",
"description": "Find, install and publish Cloud Native packages",
"home_url": "https://test.com",
"logoImageId": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"confirmed": true,
Expand Down
2 changes: 1 addition & 1 deletion web/src/layout/home/__fixtures__/PackageCard/6.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"normalizedName": "artifact-hub",
"logoImageId": "95f2e608-3deb-4997-9d2b-7cc9ad5cd08d",
"stars": 1,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"version": "0.1.0",
"appVersion": "0.1.0",
"deprecated": false,
Expand Down
6 changes: 3 additions & 3 deletions web/src/layout/home/__snapshots__/index.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions web/src/layout/home/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('Home index', () => {
expect(API.getStats).toHaveBeenCalledTimes(1);
});

expect(await screen.findByText('Kubernetes packages')).toBeInTheDocument();
expect(await screen.findByText('Cloud Native packages')).toBeInTheDocument();
expect(asFragment()).toMatchSnapshot();
});

Expand All @@ -64,7 +64,7 @@ describe('Home index', () => {
expect(API.getStats).toHaveBeenCalledTimes(1);
});

expect(await screen.findByText('Kubernetes packages')).toBeInTheDocument();
expect(await screen.findByText('Cloud Native packages')).toBeInTheDocument();
});

it('renders dash symbol when results are 0', async () => {
Expand Down Expand Up @@ -107,7 +107,7 @@ describe('Home index', () => {
const heading = await screen.findByRole('banner');
expect(heading).toBeInTheDocument();
expect(await screen.findByText(/Find, install and publish/)).toBeInTheDocument();
expect(await screen.findByText('Kubernetes packages')).toBeInTheDocument();
expect(await screen.findByText('Cloud Native packages')).toBeInTheDocument();
});
});

Expand Down
8 changes: 4 additions & 4 deletions web/src/layout/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ const HomeView = () => {
<div className={`jumbotron mb-0 text-center border-0 ${styles.jumbotron}`}>
<div
role="banner"
aria-label="Find, install and publisher Kubernetes packages"
aria-label="Find, install and publisher Cloud Native packages"
className={`display-4 text-center d-block d-xxl-flex justify-content-center noFocus ${styles.mainTitle}`}
id="content"
tabIndex={-1}
>
Find, install and publish
<br />
<span className={styles.secondLine}>Kubernetes packages</span>
<span className={styles.secondLine}>Cloud Native packages</span>
</div>

<div className="mt-4 mt-sm-5 text-center">
Expand Down Expand Up @@ -227,8 +227,8 @@ const HomeView = () => {
<div className={`py-5 textLight fs-4 fw-light ${styles.about}`}>
<div className="container-lg px-4 px-sm-0 py-0 py-md-5">
<div className="text-center px-3 px-xs-0">
Artifact Hub is a web-based application that enables finding, installing, and publishing packages and
configurations for CNCF projects. For example, this could include Helm charts and plugins, Falco
Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native
packages and configurations. For example, this could include Helm charts and plugins, Falco
configurations, Open Policy Agent (OPA) and Gatekeeper policies, OLM operators, Tinkerbell actions,
kubectl plugins, Tekton tasks, pipelines and stepactions, KEDA scalers, CoreDNS plugins, Keptn
integrations, container images, Kubewarden policies, Kyverno policies, Knative client, Backstage
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/extractReadmeTOC.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,7 @@ const tests = [
{
type: 'text',
value:
' is a web-based application that enables finding, installing, and publishing Kubernetes packages.',
' is a web-based application that enables finding, installing, and publishing Cloud Native packages.',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/isPackageOfficial.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const defaultPackage: Package = {
logoImageId: 'f4d39ecd-b710-4b4e-a88f-234d94d73fce',
stars: 0,
description:
'Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.',
'Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.',
version: '0.15.0',
appVersion: '0.15.0',
license: 'Apache-2.0',
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/updateMetaIndex.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const tests: Test[] = [

const placeholder = {
title: 'Artifact Hub',
description: 'Find, install and publish Kubernetes package',
description: 'Find, install and publish Cloud Native packages',
};

describe('updateMetaIndex', () => {
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/updateMetaIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const siteName = getMetaTag('siteName');

const updateMetaIndex = (
title: string = siteName,
description: string = 'Find, install and publish Kubernetes package'
description: string = 'Find, install and publish Cloud Native packages'
): void => {
document.title = title;
document.querySelector(`meta[property='og:title']`)!.setAttribute('content', title);
Expand Down
2 changes: 1 addition & 1 deletion widget/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
data-theme="light" data-header="true" data-stars="false" data-responsive="false">
<blockquote>
<p lang="en" dir="ltr"><b>artifact-hub</b>: Artifact Hub is a web-based application that enables finding,
installing, and publishing Kubernetes packages.</p>&mdash; Open in <a
installing, and publishing Cloud Native packages.</p>&mdash; Open in <a
href="https://artifacthub.io/packages/helm/artifact-hub/artifact-hub">Artifact Hub</a>
</blockquote>
</div>
Expand Down
2 changes: 1 addition & 1 deletion widget/src/api/__fixtures__/index/1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "artifact-hub",
"normalized_name": "artifact-hub",
"stars": 26,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"logo_image_id": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"version": "0.20.0",
"app_version": "0.20.0",
Expand Down
4 changes: 2 additions & 2 deletions widget/src/layout/Widget.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('Widget', () => {
expect(await screen.findByText('artifact-hub')).toBeInTheDocument();
expect(
screen.getByText(
'Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.'
'Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.'
)
).toBeInTheDocument();
expect(screen.getByTitle('logo')).toBeInTheDocument();
Expand Down Expand Up @@ -148,7 +148,7 @@ describe('Widget', () => {
expect(screen.getByText('artifact-hub')).toBeInTheDocument();
expect(
screen.getByText(
'Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.'
'Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.'
)
).toBeInTheDocument();
expect(screen.getByTitle('logo')).toBeInTheDocument();
Expand Down
2 changes: 1 addition & 1 deletion widget/src/layout/__fixtures__/Group/1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"normalizedName": "artifact-hub",
"logoImageId": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"stars": 26,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"version": "0.20.0",
"appVersion": "0.20.0",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion widget/src/layout/__fixtures__/Group/2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"normalizedName": "artifact-hub",
"logoImageId": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"stars": 26,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"version": "0.20.0",
"appVersion": "0.20.0",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion widget/src/layout/__fixtures__/Group/3.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"normalizedName": "artifact-hub",
"logoImageId": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"stars": 26,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"version": "0.20.0",
"appVersion": "0.20.0",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion widget/src/layout/__fixtures__/Group/4.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"normalizedName": "artifact-hub",
"logoImageId": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"stars": 26,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"version": "0.20.0",
"appVersion": "0.20.0",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion widget/src/layout/__fixtures__/Group/5.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"normalizedName": "artifact-hub",
"logoImageId": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"stars": 26,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"version": "0.20.0",
"appVersion": "0.20.0",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion widget/src/layout/__fixtures__/Widget/1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "artifact-hub",
"normalizedName": "artifact-hub",
"stars": 26,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"logoImageId": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"version": "0.20.0",
"appVersion": "0.20.0",
Expand Down
2 changes: 1 addition & 1 deletion widget/src/layout/__fixtures__/Widget/2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "artifact-hub",
"normalizedName": "artifact-hub",
"stars": 26,
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.",
"description": "Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.",
"logoImageId": "3cfb161e-2652-43b9-ada1-c1ced4b20111",
"version": "0.20.0",
"appVersion": "0.20.0",
Expand Down
Loading