-
Notifications
You must be signed in to change notification settings - Fork 153
775: Push all forms to Aggregate if a form ID is not provided #788
Conversation
Codecov Report
@@ Coverage Diff @@
## master #788 +/- ##
============================================
- Coverage 47.53% 47.52% -0.01%
- Complexity 1471 1473 +2
============================================
Files 178 178
Lines 9665 9673 +8
Branches 672 673 +1
============================================
+ Hits 4594 4597 +3
- Misses 4780 4786 +6
+ Partials 291 290 -1
Continue to review full report at Codecov.
|
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 looking good. Thanks, @acj!
I think we would actually have to update the docs because the form id param now is optional https://docs.opendatakit.org/briefcase-using/#pushing-forms-to-aggregate
In general, bulk push without specifying id works but I have noticed that pushing a single form when using id does not work at all. This is the cmd output: cc @ggalmazor @opendatakit-bot unlabel "needs testing" |
@kkrawczyk123 Eek, good catch. It should be fixed now. @ggalmazor Waiting until the related PRs are merged sounds fine to me. I'll open an issue for the docs change. Thanks, all, for the feedback. |
@opendatakit-bot label "needs testing" |
Tested with success! @opendatakit-bot unlabel "needs testing" |
@opendatakit-bot label "behavior verified" |
Closes #775
What has been done to verify that this works as intended?
I added a bit of temporary logging code to see which forms were being pushed, and then manually ran a command like this:
All local forms were selected and pushed.
Why is this the best possible solution? Were any other approaches considered?
Straightforward change. This is substantially similar to the work done in #727.
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
The only user-facing change is that the form ID can be omitted, and this will be interpreted as selecting all forms.
Does this change require updates to documentation? If so, please file an issue at https://github.com/opendatakit/docs/issues/new and include the link below.
I don't think so.
Notes
This seems to work for Aggregate, but the issue description mentions pushing to Central. Are parameters like
push_central
being added in 1.17? Is there anything else to be done right now?