Quick fix for refreshing changes for tools
Review Request #11207 — Created Oct. 1, 2020 and updated
Updated the ReviewBot ToolResource.
Previously the ToolResource would not correctly update changes made to any
ReviewBot Tools. The previous behavior would allow a ReviewBot tool to be
updated only if there is a change in name/version. However, during
development this can be frustrating, since options are being frequently
revised. To fix this problem, I have changed resource to update the
instance of the tool in the database. This is done regardless of a change
in versioning. This makes the process of creating tools easier, since tool
settings made in the tool are updated each time that the ToolResource
create method is called.
This is difficult to do since there is no test framework setup for
ReviewBot. No real tests were done, only manual testing and a quick
visual inspection.
Description | From | Last Updated |
---|---|---|
Looks like the description is wrapping a bit too early. Can you target ~70 (upwards of 75) characters for the … |
ceciliawei | |
To pick up the change, do I need to do anything other than setup.py develop? I downloaded the patch and … |
ceciliawei |
-
Looks like the description is wrapping a bit too early. Can you target ~70 (upwards of 75) characters for the wrap point? Helps keep it from appearing really short.
- Description:
-
~ Updated the ReviewBot
ToolResource
.~ Previously the ToolResource
would not correctly update changes~ made to any ReviewBot Tools. The previous behavior would allow ~ a ReviewBot tool to be updated only if there is a change in ~ name/version. However, during development this can be frustrating, ~ since options are being frequently revised. ~ To fix this problem, I have changed resource to update the instance ~ of the tool in the database. This is done regardless of a change ~ in versioning. This makes the process of creating tools easier, ~ since tool settings made in the tool are updated each time that ~ Updated the ReviewBot ToolResource.
~ Previously the ToolResource would not correctly update changes made to any ~ ReviewBot Tools. The previous behavior would allow a ReviewBot tool to be ~ updated only if there is a change in name/version. However, during ~ development this can be frustrating, since options are being frequently ~ revised. To fix this problem, I have changed resource to update the ~ instance of the tool in the database. This is done regardless of a change ~ in versioning. This makes the process of creating tools easier, since tool ~ settings made in the tool are updated each time that the ToolResource ~ create method is called. - the ToolResource
create method is called. - Testing Done:
-
~ This is difficult to do since there is no test framework setup
~ for ReviewBot. No real tests were done, only visual inspection. ~ This is difficult to do since there is no test framework setup for
~ ReviewBot. No real tests were done, only manual testing and a quick + visual inspection.