Skip to content

Commit bc2223a

Browse files
committed
Merge branch 'charmed-snapcraft-io' into staging
2 parents 5b8e7b2 + efa04e1 commit bc2223a

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# ![snapcraft.io](https://assets.ubuntu.com/v1/944b8760-snapcraft-logo-bird.svg?fmt=png&w=50 "Snapcraft") snapcraft.io codebase
22

3-
[Python Coverage](https://canonical.github.io/snapcraft.io/coverage/python) | [JavaScript Coverage](https://canonical.github.io/snapcraft.io/coverage/js)
3+
[![Python Coverage](https://img.shields.io/badge/Python%20Coverage-View%20Report-blue)](https://canonical.github.io/snapcraft.io/coverage/python) [![JavaScript Coverage](https://img.shields.io/badge/JavaScript%20Coverage-View%20Report-blue)](https://canonical.github.io/snapcraft.io/coverage/js)
44

5-
![Github Actions Status](https://github.com/canonical-web-and-design/snapcraft.io/workflows/main%20checks/badge.svg) [![Code coverage](https://codecov.io/gh/canonical-web-and-design/snapcraft.io/branch/master/graph/badge.svg)](https://codecov.io/gh/canonical-web-and-design/snapcraft.io)
5+
[![Github Actions Status](https://github.com/canonical/snapcraft.io/actions/workflows/coverage.yml/badge.svg)](https://github.com/canonical/snapcraft.io/actions/workflows/coverage.yml) [![Code coverage](https://codecov.io/gh/canonical/snapcraft.io/branch/main/graph/badge.svg)](https://codecov.io/gh/canonical/snapcraft.io)
66

77
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully. This repo is the application for the [snapcraft.io](https://snapcraft.io) website.
88

charm/charmcraft.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ config:
103103
default: "https://dashboard.snapcraft.io/"
104104
type: string
105105

106-
107106
# requires:
108107
# tracing:
109108
# interface: tracing

static/js/publisher/pages/Builds/RepoSelector.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function RepoSelector({ githubData, setAutoTriggerBuild }: Props) {
9191
// Track autofill attempts to avoid unnecessary re-runs
9292
const autofillAttemptedRef = useRef<string | null>(null);
9393

94-
const validateRepoInternal = async (repo: Repo | undefined) => {
94+
const validateRepo = async (repo: Repo | undefined) => {
9595
if (!repo) {
9696
return;
9797
}
@@ -148,7 +148,7 @@ function RepoSelector({ githubData, setAutoTriggerBuild }: Props) {
148148
if (matchingRepo) {
149149
setRepoInputValue(matchingRepo.name);
150150
setSelectedRepo(matchingRepo);
151-
validateRepoInternal(matchingRepo);
151+
validateRepo(matchingRepo);
152152
}
153153
// Mark autofill as attempted for this org/snap combination
154154
autofillAttemptedRef.current = currentOrgKey;
@@ -253,7 +253,7 @@ function RepoSelector({ githubData, setAutoTriggerBuild }: Props) {
253253
setSelectedRepo(selectedRepo);
254254

255255
if (selectedRepo) {
256-
validateRepoInternal(selectedRepo);
256+
validateRepo(selectedRepo);
257257
}
258258
};
259259

@@ -359,7 +359,7 @@ function RepoSelector({ githubData, setAutoTriggerBuild }: Props) {
359359
className="p-tooltip--btm-center"
360360
aria-describedby="recheck-tooltip"
361361
onClick={() => {
362-
validateRepoInternal(selectedRepo);
362+
validateRepo(selectedRepo);
363363
}}
364364
>
365365
<i className="p-icon--restart"></i>

0 commit comments

Comments
 (0)