-
Notifications
You must be signed in to change notification settings - Fork 50
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
refactor: remove static service IDs #1199
Conversation
cursor = self.database._execute_sql('DELETE FROM users') | ||
cursor.close | ||
cursor = self.database._execute_sql('DELETE FROM services') | ||
cursor.close() |
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.
heh, good catch.
.circleci/config.yml
Outdated
@@ -38,7 +38,7 @@ commands: | |||
command: | | |||
cargo fmt -- --check | |||
# https://github.com/bodil/sized-chunks/issues/11 | |||
cargo audit --ignore RUSTSEC-2020-0041 --ignore RUSTSEC-2021-0078 --ignore RUSTSEC-2021-0079 --ignore RUSTSEC-2020-0159 --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2021-0124 | |||
cargo audit --ignore RUSTSEC-2020-0041 --ignore RUSTSEC-2021-0078 --ignore RUSTSEC-2021-0079 --ignore RUSTSEC-2020-0159 --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2021-0124 --ignore RUSTSEC-2021-0131 |
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.
Let's put these in a .cargo/audit.toml
file.
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.
Good call!
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.
Looks good. We probably want to note that this is a breaking change, since we're technically no longer offering a service that we didn't really offer before.
@jrconlin Where do you think we should note this? In the code? |
I think adding it to the commit message and making sure that it's rolled up into the Changelog should be good. |
Description
Removes the two statically-defined services from the database via a new migration. Makes updates to the application code and integration tests to reflect the change in schema.
Testing
Passing unit and integration tests should sufficiently show that the change was successful.
Issue(s)
Closes #1144