-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add image testing backend #244
Conversation
worth noting that I tried to create an abstract Artefact class that each family subclasses from (Snap, Deb, Image, Charm). But that ended up creating a huge change and in many places separate logic that could be grouped together. I decided to remove that change |
d5dcc08
to
25bd3e5
Compare
"name", | ||
"version", | ||
"track", | ||
postgresql_where=column("family") == FamilyName.charm.name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice, I was trying to do this when adding charms but can't remember why it was causing me grief, something to do with trying to join another table. Was family moved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all the additions are consistent with the implementations of the other families, and the refactors are great improvements. No questions from me.
Description
Adds backend changes required for image artefact family.
Resolved issues
Resolves https://warthogs.atlassian.net/browse/RTW-301
Documentation
Web service API changes
Endpoints that return Artefacts now additionally include keys specific to images. This is however not a breaking changes to existing clients.
Tests
Added some tests and updated others