Skip to content

Commit

Permalink
Add a few piloting projects (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev authored Nov 21, 2024
1 parent 7eb7bbc commit 5968d11
Show file tree
Hide file tree
Showing 12 changed files with 315 additions and 27 deletions.
15 changes: 13 additions & 2 deletions projects-dashboard/src/components/ProjectDetails.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const {
packages,
lifeCycleStatus,
contributing,
website,
} = Astro.props;
---

Expand Down Expand Up @@ -53,7 +54,17 @@ const {
))
}
</div>
<p>{description}</p>
<p>
{description}
{website && (
<>
<br />
<a href={website} target="_blank">
<small>{website}</small>
</a>
</>
)}
</p>
<div class="project-details-cards-grid">
{
ciChecks && (
Expand Down Expand Up @@ -113,7 +124,7 @@ const {

<style>
.project-details {
margin-bottom: 2em;
margin-bottom: 4rem;
}

.project-details h3 {
Expand Down
20 changes: 13 additions & 7 deletions projects-dashboard/src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineCollection, z } from "astro:content";
const repoSchema = z.object({
owner: z.string(),
name: z.string(),
mainBranch: z.string().optional(),
});

export type Repo = z.infer<typeof repoSchema>;
Expand All @@ -21,7 +22,13 @@ const languageSchema = z.enum([

export type Language = z.infer<typeof languageSchema>;

const artifactTypeSchema = z.enum(["npm", "maven", "reference-docs"]);
const artifactTypeSchema = z.enum([
"npm",
"maven",
"reference-docs",
"pypi",
"cocoapods",
]);

export type ArtifactType = z.infer<typeof artifactTypeSchema>;

Expand Down Expand Up @@ -50,6 +57,8 @@ const badgeTypeSchema = z.enum([
"codecov",
"tbd-vectors",
"npm",
"pypi",
"cocoapods",
"maven",
"reference-docs",
"life-cycle-status",
Expand All @@ -58,6 +67,7 @@ const badgeTypeSchema = z.enum([
"issues",
"discord",
"mailing-list",
"github-discussions",
]);

export type BadgeType = z.infer<typeof badgeTypeSchema>;
Expand All @@ -79,19 +89,15 @@ const lifeCycleStatusSchema = z.enum([

export type LifeCycleStatus = z.infer<typeof lifeCycleStatusSchema>;

const brandingSchema = z.enum([
"block",
"square",
"cashapp",
"tbd",
]);
const brandingSchema = z.enum(["block", "square", "cashapp", "tbd"]);

export type Branding = z.infer<typeof brandingSchema>;

const projectSchema = z.object({
repo: repoSchema,
description: z.string().optional(),
title: z.string().optional(),
website: z.string().optional(),
lifeCycleStatus: lifeCycleStatusSchema.optional(),
branding: brandingSchema,
packages: z.array(packageSchema).optional(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ repo:
name: "tbdex-rs"
title: "tbDEX Rust"
description: "The tbDEX Rust implementation"
website: "https://developer.tbd.website/docs/tbdex/"
branding: "tbd"
lifeCycleStatus: "archived"
ciChecks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ repo:
name: "web5-js"
title: "Web5 JS"
description: "A JavaScript implementation of the Web5 protocol"
website: "https://developer.tbd.website/docs/web5/"
branding: "tbd"
lifeCycleStatus: "archived"
ciChecks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ contributing:
value: "CONTRIBUTING.md"
- type: "issues"
- type: "discord"
value: "https://discord.gg/3fHnCA8C"
value: "https://discord.com/invite/block-opensource"
- type: "github-discussions"
- type: "mailing-list"
value: "https://groups.google.com/g/tbd"

Expand Down
40 changes: 40 additions & 0 deletions projects-dashboard/src/content/project/block_goose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
repo:
owner: "block"
name: "goose"
title: "Goose"
description: "Goose is a developer agent that operates from your command line to help you do the boring stuff."
branding: "block"
lifeCycleStatus: "incubation"
website: "https://block.github.io/goose/"
ciChecks:
- type: "github-actions"
label: "ci"
value: "ci.yaml"
licenses:
- type: "github-license"
securityScans:
- type: "github-actions"
label: "license-check"
value: "license-check.yml"
# TODO: add security scans (eg FOSSA)
# scoreCards: # todo
# tests: # todo add codecov
contributing:
# - type: "code-of-conduct"
# value: "CODE_OF_CONDUCT.md" # TODO
- type: "contribution-guidelines"
value: "CONTRIBUTING.md"
- type: "issues"
- type: "discord"
value: "https://discord.com/channels/1287729918100246654/1287729920319033345"
- type: "github-discussions"

packages:
- packageName: "goose-ai"
repoPath: "src/goose"
language: "python"
artifacts:
- type: "pypi"
value: "goose-ai"
---
43 changes: 43 additions & 0 deletions projects-dashboard/src/content/project/block_radiography.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
repo:
owner: "block"
name: "radiography"
title: "Radiography"
description: "Text-ray goggles for your Android UI"
branding: "block"
lifeCycleStatus: "mature"
ciChecks:
- type: "github-actions"
label: "android"
value: "android.yml"
licenses:
- type: "github-license"
# securityScans: #TODO
# - type: "fossa-license"
# - type: "fossa-security"
# - type: "github-actions"
# label: "scan"
# value: "security.yml"
# - type: "github-actions"
# label: "CodeQL"
# value: "codeql.yml"
# scoreCards:
# - type: "ossf"
# tests: # TODO
# - type: "codecov"
contributing:
- type: "code-of-conduct"
value: "CODE_OF_CONDUCT.md"
- type: "contribution-guidelines"
value: "CONTRIBUTING.md"
- type: "issues"
- type: "github-discussions"

packages:
- packageName: "java-kotlin-maven-example-api"
repoPath: "api"
language: "kotlin"
artifacts:
- type: "maven"
value: "com.squareup.radiography/radiography"
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
repo:
owner: "cashapp"
name: "AccessibilitySnapshot"
mainBranch: "master"
title: "AccessibilitySnapshot"
description: "Easy regression testing for iOS accessibility"
branding: "cashapp"
lifeCycleStatus: "mature"
ciChecks:
- type: "github-actions"
label: "ci"
value: "ci.yml"
licenses:
- type: "github-license"
# securityScans: # TODO
# - type: "fossa-license"
# - type: "fossa-security"
# - type: "github-actions"
# label: "scan"
# value: "security.yml"
# - type: "github-actions"
# label: "CodeQL"
# value: "codeql.yml"
# scoreCards:
# - type: "ossf"
tests:
- type: "codecov"
contributing:
# - type: "code-of-conduct"
# value: "CODE_OF_CONDUCT.md" # TODO
- type: "contribution-guidelines"
value: "CONTRIBUTING.md"
- type: "issues"
- type: "github-discussions"

packages:
- packageName: "AccessibilitySnapshot"
repoPath: "api"
language: "swift"
artifacts:
- type: "cocoapods"
value: "AccessibilitySnapshot"
---
49 changes: 49 additions & 0 deletions projects-dashboard/src/content/project/square_okhttp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
repo:
owner: "square"
name: "okhttp"
mainBranch: "master"
title: "OkHttp"
description: "Square’s meticulous HTTP client for the JVM, Android, and GraalVM."
branding: "square"
lifeCycleStatus: "mature"
website: "https://square.github.io/okhttp/"
ciChecks:
- type: "github-actions"
label: "build"
value: "build.yml"
# licenses:
# - type: "github-license"
# securityScans:
# - type: "fossa-license"
# - type: "fossa-security"
# - type: "github-actions"
# label: "scan"
# value: "security.yml"
# - type: "github-actions"
# label: "CodeQL"
# value: "codeql.yml"
# scoreCards:
# - type: "ossf" # TODO
tests:
- type: "codecov"
contributing:
# - type: "code-of-conduct"
# value: "CODE_OF_CONDUCT.md"
- type: "contribution-guidelines"
value: "CONTRIBUTING.md"
- type: "issues"
# - type: "discord"
# value: "https://discord.com/invite/block-opensource"
# - type: "github-discussions"
# - type: "mailing-list"
# value: "https://groups.google.com/g/tbd"

packages:
- packageName: "okhttp"
repoPath: "api"
language: "java"
artifacts:
- type: "maven"
value: "com.squareup.okhttp3/okhttp"
---
51 changes: 51 additions & 0 deletions projects-dashboard/src/content/project/square_okio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
repo:
owner: "square"
name: "okio"
mainBranch: "master"
title: "okio"
description: "A modern I/O library for Android, Java, and Kotlin Multiplatform."
branding: "square"
lifeCycleStatus: "mature"
website: "https://square.github.io/okio/"
ciChecks:
- type: "github-actions"
label: "build"
value: "build.yml"
# licenses:
# - type: "github-license"
# securityScans:
# - type: "fossa-license"
# - type: "fossa-security"
# - type: "github-actions"
# label: "scan"
# value: "security.yml"
# - type: "github-actions"
# label: "CodeQL"
# value: "codeql.yml"
# scoreCards:
# - type: "ossf" # TODO
tests:
- type: "codecov"
contributing:
- type: "code-of-conduct"
value: "docs/code_of_conduct.md"
- type: "contribution-guidelines"
value: "CONTRIBUTING.md"
- type: "issues"
# - type: "discord"
# value: "https://discord.com/invite/block-opensource"
# - type: "github-discussions"
# - type: "mailing-list"
# value: "https://groups.google.com/g/tbd"

packages:
- packageName: "okio"
repoPath: "api"
language: "java"
artifacts:
- type: "maven"
value: "com.squareup.okio/okio"
- type: "reference-docs"
value: "https://square.github.io/okio/3.x/okio/okio/okio/"
---
Loading

0 comments on commit 5968d11

Please sign in to comment.