From 14982ae8e0d8d40a395405547ff04b7156d41794 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Fri, 15 Feb 2019 12:29:10 -0500 Subject: [PATCH 1/2] typo -g for GRPVRS for main.yml (not -b) #5235 --- doc/sphinx-guides/source/developers/deployment.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sphinx-guides/source/developers/deployment.rst b/doc/sphinx-guides/source/developers/deployment.rst index 15892a4fef3..cdd8062048b 100755 --- a/doc/sphinx-guides/source/developers/deployment.rst +++ b/doc/sphinx-guides/source/developers/deployment.rst @@ -94,7 +94,7 @@ You must specify the branch with ``-b`` but you can also specify a non-IQSS git If you configured an Ansible file above and want to make use of it, add ``-g main.yml`` (or whatever you named your file) as in the following example. -``bash ~/Downloads/ec2-create-instance.sh -b develop -r https://github.com/scholarsportal/dataverse.git -b main.yml`` +``bash ~/Downloads/ec2-create-instance.sh -b develop -r https://github.com/scholarsportal/dataverse.git -g main.yml`` Now you will need to wait around 15 minutes until the deployment is finished. Eventually, the output should tell you how to access the installation of Dataverse in a web browser or via ssh. It will also provide instructions on how to delete the instance when you are finished with it. Please be aware that AWS charges per minute for a running instance. You can also delete your instance from https://console.aws.amazon.com/console/home?region=us-east-1 . From 58e424402d9c245438b2d8cadaaa201d0659fd92 Mon Sep 17 00:00:00 2001 From: Jim Myers Date: Tue, 2 Apr 2019 13:51:08 -0400 Subject: [PATCH 2/2] add creationDate --- .../java/edu/harvard/iq/dataverse/util/json/JsonPrinter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/edu/harvard/iq/dataverse/util/json/JsonPrinter.java b/src/main/java/edu/harvard/iq/dataverse/util/json/JsonPrinter.java index 8763a3a9ccd..8524cdee77d 100644 --- a/src/main/java/edu/harvard/iq/dataverse/util/json/JsonPrinter.java +++ b/src/main/java/edu/harvard/iq/dataverse/util/json/JsonPrinter.java @@ -600,6 +600,7 @@ public static JsonObjectBuilder json(DataFile df, FileMetadata fileMetadata) { .add("md5", getMd5IfItExists(df.getChecksumType(), df.getChecksumValue())) .add("checksum", getChecksumTypeAndValue(df.getChecksumType(), df.getChecksumValue())) .add("tabularTags", getTabularFileTags(df)) + .add("creationDate", df.getCreateDateFormattedYYYYMMDD()) ; }