comparison repo_github_status.py @ 21:cb71722bb75c

use pipenv
author drewp@bigasterisk.com
date Tue, 29 Mar 2022 21:13:48 -0700
parents b59912649fc4
children
comparison
equal deleted inserted replaced
20:b59912649fc4 21:cb71722bb75c
93 writeCommit(graph, ghrepo, ret[0], author) 93 writeCommit(graph, ghrepo, ret[0], author)
94 94
95 95
96 def writeGhRepo(graph, repo, ghrepo): 96 def writeGhRepo(graph, repo, ghrepo):
97 replaceContext(graph, URIRef(ghrepo + '/config'), { 97 replaceContext(graph, URIRef(ghrepo + '/config'), {
98 (repo, RDF.type, EX['Repo']),
98 (repo, EX['githubRepo'], ghrepo), 99 (repo, EX['githubRepo'], ghrepo),
99 (ghrepo, RDF.type, EX['GithubRepo']), 100 (ghrepo, RDF.type, EX['GithubRepo']),
100 }) 101 })
101 102
102 103