Conversation
This reverts commit c8f80f0.
This move allows that code to be reused in the new package popup This also contains a bit of render logic around s3 package UI
There was a bug in the previous story where the imported dcm s3 files did not have an S3 identifier.
Wired up for all flows, and multiple update bugs fixed.
…opup, also removed dev code [ref #4949]
Will need to be bumped again after PR
…taverse into 4949-download-package-s3
Added the section "Downloading a Dataverse Package via URL". This should cover this feature for the User Guide.
Based on Phil's review, changed the docs to no longer wildly overestimate Wget's capabilities ;)
in the future this code may be used for non-s3 packages and so should be more agnostic.
| xmlns:o="http://omnifaces.org/ui" | ||
| xmlns:iqbs="http://xmlns.jcp.org/jsf/composite/iqbs"> | ||
| <p:outputPanel> | ||
| <div id="fileInfoInclude-filesTable" class="col-sm-12 row"> |
There was a problem hiding this comment.
I'd like to suggest a simple name change to this xhtml file, so that it will be grouped with the other file related files in the webapp directory. Something like "file-info-fragment" would do it.
pdurbin
left a comment
There was a problem hiding this comment.
I see that "a .rst page on how to set up dcm s3" is coming, which is awesome and I'll wait to approve this pull request until then.
Editing still needed
pdurbin
left a comment
There was a problem hiding this comment.
Overall, looks just fine but I noted a few changes we could make.
| } | ||
| } | ||
|
|
||
| logger.log(Level.INFO, "Checksum value for the package in Dataset {0} is: {1}", |
There was a problem hiding this comment.
Should this be FINE instead of INFO since it's the happy path?
| */ | ||
| RSYNC("rsal/rsync"), | ||
| NATIVE("NATIVE"); | ||
| NATIVE("native/http"); |
There was a problem hiding this comment.
Should we also update the tests in DataCaptureModuleUtilTest.java?
| } | ||
|
|
||
| public boolean isHTTPDownload() | ||
| { |
There was a problem hiding this comment.
We could move this curly to the line above, if we care to.
| <param-name>javax.faces.PROJECT_STAGE</param-name> | ||
| <!-- <param-value>Development</param-value>--> | ||
| <param-value>Production</param-value> | ||
| </context-param> |
There was a problem hiding this comment.
I'm very happy to see this in here because I always forget how to enable debugging in JSF.
| xmlns:iqbs="http://xmlns.jcp.org/jsf/composite/iqbs"> | ||
| <p:outputPanel> | ||
| <div id="fileInfoInclude-filesTable" class="col-sm-12 row"> | ||
| <div class="pull-left col-file-thumb"> |
There was a problem hiding this comment.
I just wanted to note that @mheppler made a comment above about file name conventions for xhtml files. From my perspective, we are not at all consistent. My approach would probably be to start by asserting a preference in the dev guide on the "Coding Style" page. Then we could work toward renaming existing files to comply with the naming standard.
includes the latex/pdf fix
Note: There are still two changes incoming for this PR.
:DownloadMethodchanges and a .rst page on how to set up dcm s3.Related Issues
Pull Request Checklist