tangled
alpha
login
or
join now
cuducos.me
/
at-container-registry
forked from
evan.jarrett.net/at-container-registry
0
fork
atom
A container registry that uses the AT Protocol for manifest storage and S3 for blob storage.
0
fork
atom
overview
issues
pulls
pipelines
fix unit tests
evan.jarrett.net
2 months ago
506d8b00
647c33e1
verified
This commit was signed with the committer's
known signature
.
evan.jarrett.net
SSH Key Fingerprint:
SHA256:bznk0uVPp7XFOl67P0uTM1pCjf2A4ojeP/lsUE7uauQ=
+17
-14
2 changed files
expand all
collapse all
unified
split
pkg
appview
jetstream
processor_test.go
ui_test.go
+1
pkg/appview/jetstream/processor_test.go
···
38
38
media_type TEXT NOT NULL,
39
39
config_digest TEXT,
40
40
config_size INTEGER,
41
41
+
artifact_type TEXT NOT NULL DEFAULT 'container-image',
41
42
created_at TIMESTAMP NOT NULL,
42
43
UNIQUE(did, repository, digest)
43
44
);
+16
-14
pkg/appview/ui_test.go
···
571
571
572
572
// Sample data for repo-card template
573
573
data := struct {
574
574
-
OwnerHandle string
575
575
-
Repository string
576
576
-
IconURL string
577
577
-
Description string
578
578
-
StarCount int
579
579
-
PullCount int
580
580
-
IsStarred bool
574
574
+
OwnerHandle string
575
575
+
Repository string
576
576
+
IconURL string
577
577
+
Description string
578
578
+
StarCount int
579
579
+
PullCount int
580
580
+
IsStarred bool
581
581
+
ArtifactType string
581
582
}{
582
582
-
OwnerHandle: "alice.bsky.social",
583
583
-
Repository: "myapp",
584
584
-
IconURL: "",
585
585
-
Description: "A cool container image",
586
586
-
StarCount: 42,
587
587
-
PullCount: 1337,
588
588
-
IsStarred: true,
583
583
+
OwnerHandle: "alice.bsky.social",
584
584
+
Repository: "myapp",
585
585
+
IconURL: "",
586
586
+
Description: "A cool container image",
587
587
+
StarCount: 42,
588
588
+
PullCount: 1337,
589
589
+
IsStarred: true,
590
590
+
ArtifactType: "container-image",
589
591
}
590
592
591
593
buf := new(bytes.Buffer)