changeset 24:03803832a087 default tip

add view definition for streamed-graph viewer
author drewp@bigasterisk.com
date Tue, 29 Mar 2022 21:17:56 -0700
parents 681a59ddd1e6
children
files Dockerfile public/repos.n3 skaffold.yaml
diffstat 3 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Dockerfile	Tue Mar 29 21:16:43 2022 -0700
+++ b/Dockerfile	Tue Mar 29 21:17:56 2022 -0700
@@ -23,6 +23,8 @@
 COPY dot-ssh/ /root/.ssh/
 COPY config.yaml package.json pnpm-lock.yaml tsconfig.json vite.config.ts repo*.py patch_cyclone_sse.py index.html ./
 COPY view/ ./view/
+COPY public/ ./public/
+
 #USER drewp
 
 CMD ["python3", "repo_local_status.py", "-v"]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/public/repos.n3	Tue Mar 29 21:17:56 2022 -0700
@@ -0,0 +1,13 @@
+@prefix : <http://example.com/> .
+@prefix v: <http://example.com/view/> .
+
+<> a :View .
+<> :table [ 
+  :primaryType :Repo;
+  :link 
+    [:predicate :githubRepo],
+    [:predicate :latestCommit],
+    [:predicate :localRepo] ],
+  [
+  :primaryType :GithubAuthor ] .
+  
\ No newline at end of file
--- a/skaffold.yaml	Tue Mar 29 21:16:43 2022 -0700
+++ b/skaffold.yaml	Tue Mar 29 21:17:56 2022 -0700
@@ -13,6 +13,7 @@
     sync: # files that could be patched and vite would pick them up
       infer:
       - index.html
+      - "public/*"
       - "view/*"
 deploy:
   kubectl: