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

Add pull before export option to CLI operation #408

Closed ggalmazor closed 6 years ago

ggalmazor commented 6 years ago

We have this option on the UI and we should bring that into the CLI as well.

This would simplify any automatization scripts by removing the need of executing Briefcase for pulling the forms before exporting them.

Pulling from an Aggregate server requires hard-coding passwords on the CLI command. By removing those operations from such scripts we can make them more secure as well.

In order to benefit from this new option, users would make sure that:

  1. They have selected the option to "Remember passwords" on the settings tab
  2. After this, they have pulled at least once every form which they'd want to export on the CLI

The proposed CLI param would be -pb and --pull_before.

neoliteconsultant commented 6 years ago

@opendatakit-bot claim

getodk-bot commented 6 years ago

Hello @neoliteconsultant, 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!

neoliteconsultant commented 6 years ago

I am still working on it

getodk-bot commented 6 years ago

Hello @neoliteconsultant, 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!

neoliteconsultant commented 6 years ago

l have already submitted a pull request