-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement a Rdbms prototype repository for Porch #124
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liamfallon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/retest |
ffc2564
to
042ff93
Compare
3cd529a
to
c06cbe5
Compare
Could you add a makefile entry on setting up porch with a db repository |
e152270
to
89a27f9
Compare
89a27f9
to
bc0845b
Compare
/retest |
a17e98f
to
3bbfdea
Compare
4cfd557
to
844d9e8
Compare
844d9e8
to
00a99e3
Compare
82f08b3
to
24cdf07
Compare
24cdf07
to
c53afaf
Compare
rows.Scan( | ||
&pkgRev.pkgRevKey.Namespace, | ||
&pkgRev.pkgRevKey.Repository, | ||
&pkgRev.pkgRevKey.Package, | ||
&pkgRev.pkgRevKey.Revision, | ||
&pkgRev.pkgRevKey.WorkspaceName, | ||
&pkgRev.updated, | ||
&pkgRev.updatedBy, | ||
&pkgRev.lifecycle, | ||
&rawResources) |
Check warning
Code scanning / gosec
Errors unhandled. Warning
|
||
func (r *dbRepository) setMetaFromJson(jsonMeta string) { | ||
r.meta = &metav1.ObjectMeta{} | ||
json.Unmarshal([]byte(jsonMeta), r.meta) |
Check warning
Code scanning / gosec
Errors unhandled. Warning
|
||
func (r *dbRepository) setSpecFromJson(jsonSpec string) { | ||
r.spec = &configapi.RepositorySpec{} | ||
json.Unmarshal([]byte(jsonSpec), r.spec) |
Check warning
Code scanning / gosec
Errors unhandled. Warning
rows.Scan( | ||
&resKey, | ||
&resVal) |
Check warning
Code scanning / gosec
Errors unhandled. Warning
rows.Scan( | ||
&pkg.pkgKey.Namespace, | ||
&pkg.pkgKey.Repository, | ||
&pkg.pkgKey.Package, | ||
&metaAsJson, | ||
&specAsJson, | ||
&pkg.updated, | ||
&pkg.updatedBy) |
Check warning
Code scanning / gosec
Errors unhandled. Warning
…ations behind interfaces
4c46ea5
to
40de272
Compare
No description provided.