getodk / briefcase

ODK Briefcase is a Java application for fetching and pushing forms and their contents. It helps make billions of data points from ODK portable. Contribute and make the world a better place! ✨💼✨
https://docs.getodk.org/briefcase-intro
Other
59 stars 153 forks source link

Push all forms when form_id is not specified #775

Closed yanokwa closed 5 years ago

yanokwa commented 5 years ago

Problem description Similar to https://github.com/opendatakit/briefcase/issues/721, there isn't an easy way to push all forms from the storage directory into a server.

Expected behavior Running a command like (and the Aggregate equivalent) will push all forms.

java -jar briefcase.jar --push_central --storage_directory /home/ --odk_url test.central.com --project_id 1 --odk_email me@email.com --odk_password helloworld

yanokwa commented 5 years ago

What do you think, @ggalmazor? Good idea? Doable to add into v1.17?

ggalmazor commented 5 years ago

Yes! This is even a good-first-issue because there's similar code in PullFormFromAggregate.

Maybe we can persuade @acj, or @mayank8318 to take a shot at it :)

acj commented 5 years ago

Sure, I'll take a look this weekend.

getodk-bot commented 5 years ago

Hello @acj, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for 10 days. Are you still working on this issue?

If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 5 days.

If you've decided to work on something else, simply comment @opendatakit-bot unclaim so that someone else can claim it and continue from where you left off.

Thank you for your valuable contributions to Open Data Kit!

acj commented 5 years ago

Yes, still working on this

yanokwa commented 5 years ago

@ggalmazor I think this should be re-opened because we haven't added support for Central (unless I'm missing something).

ggalmazor commented 5 years ago

I think you're right