Skip to content
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

Remote pack #125

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Remote pack #125

wants to merge 15 commits into from

Conversation

dorey
Copy link
Contributor

@dorey dorey commented Apr 26, 2017

For review: Is there anything else we want to add into this before merging?

  • pull.py could have a --autoreports flag
  • location of saved data files could be better. conflicting id_strings will overlap

dorey added 11 commits February 14, 2017 08:45
directory for testing formpack reports
  to the methods that use them because they are not
  reused very much, and hide the transformation that
  goes into building the Fields, Sections, and Versions
* added a `src` parameter to many of the fields / sections
  to facilitate debugging the content that was used
  to create the python objects in the form `version.Version`
* added a `pull.py` script to expose options to the CLI
* `select_one_external` is now the preferred alias throughout
  the code (underscores instead of spaces)
* added comment about xform_tools.normalize_data_type (obsolete)
  with `replace_aliases`, which is run on the content
  before the version is initialized.
with a method "run" that receives the formpack object
* strip "content" field from asset.json (redundant
  with versions json stored separately)
* use `date_deployed` rather than `date` (for now)
* at first, this will be used in just tests; eventually
  it could be a way to store the submissions that fed
  to the formpack via generators.
  translated_item
* passing TranslatedItem() object instead of dict
  when fields and sections are created
* added assertions which, when uncommented, should
  not fail (but don't want to risk AssertionErrors
  in production)
@coveralls
Copy link

Coverage Status

Coverage decreased (-5.2%) to 70.765% when pulling 0b6648b on remote-pack into 1f096db on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-5.3%) to 70.673% when pulling b25677b on remote-pack into 1f096db on master.

@dorey dorey added coded and removed in progress labels Jun 5, 2017
@dorey
Copy link
Contributor Author

dorey commented May 8, 2018

Was a nice attempt. But we didn't go this direction with formpack.

@dorey dorey closed this May 8, 2018
@dorey dorey removed the coded label May 8, 2018
@jnm
Copy link
Member

jnm commented May 10, 2018

I used this not so long ago :)

john@scrappy:~/.formpack$ ls -ltr
total 24
drwxrwxr-x 3 john john 4096 Sep 21  2017 aVVxUTtT7apKEFSX7p3kxr
drwxrwxr-x 3 john john 4096 Nov  2  2017 aG8pvrCic4MN9MR4QEriyr
drwxrwxr-x 3 john john 4096 Dec 20 13:54 afnvRDr6u4KmXsnVn6qnVx
-rw-rw-r-- 1 john john  566 Feb 21 22:47 accounts.json
drwxrwxr-x 3 john john 4096 Feb 21 22:51 ao7kpiTWYu2zLLdcD4gy86
drwxrwxr-x 3 john john 4096 Feb 21 22:52 arNGHKvczbE2AzjmNssGdt

Thanks for leaving the branch intact. It might be something we can come back to as time permits.

@dorey
Copy link
Contributor Author

dorey commented May 17, 2018

Glad to hear it was used. Maybe we should keep it open with a tag?

@dorey dorey reopened this May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants