Skip to content

Commit 51739f6

Browse files
authored
Merge pull request #6254 from IQSS/develop
v4.17
2 parents a56d550 + df8dcf6 commit 51739f6

160 files changed

Lines changed: 4097 additions & 1338 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ scripts/installer/default.config
5959
# ignore UI testing related files
6060
tests/node_modules
6161
tests/package-lock.json
62+
venv

CONTRIBUTING.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ We aren't just looking for developers. There are many ways to contribute to Data
88

99
Your idea or feature request might already be captured in the Dataverse [issue tracker] on GitHub but if not, the best way to bring it to the community's attention is by posting on the [dataverse-community Google Group][] or bringing it up on a [Community Call][]. You're also welcome make some noise in the [#dataverse IRC channel][] (which is [logged][]) or cram your idea into 280 characters and mention [@dataverseorg][] on Twitter. To discuss your idea privately, please email it to [email protected]
1010

11-
There's a chance your idea is already on our roadmap, which is available at http://dataverse.org/goals-roadmap-and-releases
11+
There's a chance your idea is already on our roadmap, which is available at https://www.iq.harvard.edu/roadmap-dataverse-project
1212

1313
[#dataverse IRC channel]: http://chat.dataverse.org
1414
[logged]: http://irclog.iq.harvard.edu/dataverse/today
@@ -29,6 +29,8 @@ If there is no pre-existing issue or it has been closed, please click on the "Ne
2929

3030
If you do not receive a reply to your new issue or comment in a timely manner, please email [email protected] with a link to the issue.
3131

32+
We are aware of the new issue templates described at https://help.github.com/articles/about-issue-and-pull-request-templates but haven't converted over yet.
33+
3234
### Writing an Issue
3335

3436
For the subject of an issue, please start it by writing the feature or functionality it relates to, i.e. "Create Account:..." or "Dataset Page:...". In the body of the issue, please outline the issue you are reporting with as much detail as possible. In order for the Dataverse development team to best respond to the issue, we need as much information about the issue as you can provide. Include steps to reproduce bugs. Indicate which version you're using, which is shown at the bottom of the page. We love screenshots!
@@ -48,7 +50,7 @@ The source for the documentation at http://guides.dataverse.org/en/latest/ is in
4850

4951
## Code/Pull Requests
5052

51-
We love code contributions. Developers are not limited to the main Dataverse code in this git repo. You can help with API client libraries in your favorite language that are mentioned in the [API Guide][] or create a new library. You can help work on configuration management code that's mentioned in the [Installation Guide][]. The Installation Guide also covers a new concept called "external tools" that allows developers to create their own tools that are available from within an installation of Dataverse.
53+
We love code contributions. Developers are not limited to the main Dataverse code in this git repo. You can help with API client libraries in your favorite language that are mentioned in the [API Guide][] or create a new library. You can help work on configuration management code that's mentioned in the [Installation Guide][]. The Installation Guide also covers a relatively new concept called "external tools" that allows developers to create their own tools that are available from within an installation of Dataverse.
5254

5355
[API Guide]: http://guides.dataverse.org/en/latest/api
5456
[Installation Guide]: http://guides.dataverse.org/en/latest/installation
@@ -57,11 +59,13 @@ If you are interested in working on the main Dataverse code, great! Before you s
5759

5860
Please read http://guides.dataverse.org/en/latest/developers/version-control.html to understand how we use the "git flow" model of development and how we will encourage you to create a GitHub issue (if it doesn't exist already) to associate with your pull request. That page also includes tips on making a pull request.
5961

60-
After making your pull request, your goal should be to help it advance through our kanban board at https://github.com/orgs/IQSS/projects/2 . If no one has moved your pull request to the code review column in a timely manner, please reach out. Thanks!
62+
After making your pull request, your goal should be to help it advance through our kanban board at https://github.com/orgs/IQSS/projects/2 . If no one has moved your pull request to the code review column in a timely manner, please reach out. Note that once a pull request is created for an issue, we'll remove the issue from the board so that we only track one card (the pull request).
63+
64+
Thanks for your contribution!
6165

6266
[dataverse-community Google Group]: https://groups.google.com/group/dataverse-community
6367
[Community Call]: https://dataverse.org/community-calls
6468
[dataverse-dev Google Group]: https://groups.google.com/group/dataverse-dev
6569
[IRC]: http://chat.dataverse.org
6670
[community contributors]: https://docs.google.com/spreadsheets/d/1o9DD-MQ0WkrYaEFTD5rF_NtyL8aUISgURsAXSL7Budk/edit?usp=sharing
67-
[dev efforts]: https://groups.google.com/d/msg/dataverse-community/X2diSWYll0w/ikp1TGcfBgAJ
71+
[dev efforts]: https://github.com/orgs/IQSS/projects/2#column-5298405

ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Thank you for contributing an issue to the Dataverse Project! If this is a bug report, please let us know when the issue occurs, which page it occurs on, to whom it occurs, and which version of Dataverse you're using. If this is a feature request, please let us know what you'd like to see and give us some context - what kind of user is the feature intended for, and what inspired the request? No matter the issue, screenshots are always welcome.
1+
Thank you for contributing an issue to the Dataverse Project! If this is a bug report, please let us know when the issue occurs, which page it occurs on, to whom it occurs, and which version of Dataverse you're using. If this is a feature request, please let us know what you'd like to see and give us some context - what kind of user is the feature intended for, the relevant use cases, and what inspired the request? No matter the issue, screenshots are always welcome.

PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
## New Contributors
22

3-
Welcome! New contributors should at least glance at [CONTRIBUTING.md](/CONTRIBUTING.md), especially the section on pull requests where we encourage you to reach out to other developers before you start coding. Also, please note that we measure code coverage and prefer you write unit tests. Pull requests can still be reviewed without tests or completion of the checklist outlined below. Thanks!
3+
Welcome! New contributors should at least glance at [CONTRIBUTING.md](/CONTRIBUTING.md), especially the section on pull requests where we encourage you to reach out to other developers before you start coding. Also, please note that we measure code coverage and prefer you write unit tests. Pull requests can still be reviewed without tests or completion of the checklist outlined below. Note that we use the "closes" syntax below to trigger Github's automation to close the corresponding issue once the pull request is merged.
4+
5+
Thanks for your contribution to Dataverse!
46

57
## Related Issues
68

7-
- #ISSUE_NUMBER: ISSUE_TITLE
9+
- closes #ISSUE_NUMBER: ISSUE_TITLE
810

911
## Pull Request Checklist
1012

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Dataverse is a trademark of President and Fellows of Harvard College and is regi
2525
[Installation Guide]: http://guides.dataverse.org/en/latest/installation/index.html
2626
[latest release]: https://github.com/IQSS/dataverse/releases
2727
[features]: https://dataverse.org/software-features
28-
[roadmap]: https://dataverse.org/goals-roadmap-and-releases
28+
[roadmap]: https://www.iq.harvard.edu/roadmap-dataverse-project
2929
[integrations]: https://dataverse.org/integrations
3030
[REST APIs]: http://guides.dataverse.org/en/latest/api/index.html
3131
[Contributing Guide]: CONTRIBUTING.md

conf/docker-aio/1prep.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
# this was based off the phoenix deployment; and is likely uglier and bulkier than necessary in a perfect world
55

66
mkdir -p testdata/doc/sphinx-guides/source/_static/util/
7-
cp ../solr/7.3.1/schema.xml testdata/
7+
cp ../solr/7.3.1/schema*.xml testdata/
88
cp ../solr/7.3.1/solrconfig.xml testdata/
9+
cp ../solr/7.3.1/updateSchemaMDB.sh testdata/
910
cp ../jhove/jhove.conf testdata/
1011
cp ../jhove/jhoveConfig.xsd testdata/
1112
cd ../../

conf/docker-aio/c7.dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN yum install -y jq lsof awscli
77

88
# copy and unpack dependencies (solr, glassfish)
99
COPY dv /tmp/dv
10-
COPY testdata/schema.xml /tmp/dv
10+
COPY testdata/schema*.xml /tmp/dv/
1111
COPY testdata/solrconfig.xml /tmp/dv
1212

1313
# ITs need files
@@ -29,7 +29,7 @@ RUN sudo -u postgres /usr/pgsql-9.6/bin/initdb -D /var/lib/pgsql/data
2929
# copy configuration related files
3030
RUN cp /tmp/dv/pg_hba.conf /var/lib/pgsql/data/
3131
RUN cp -r /opt/solr-7.3.1/server/solr/configsets/_default /opt/solr-7.3.1/server/solr/collection1
32-
RUN cp /tmp/dv/schema.xml /opt/solr-7.3.1/server/solr/collection1/conf/schema.xml
32+
RUN cp /tmp/dv/schema*.xml /opt/solr-7.3.1/server/solr/collection1/conf/
3333
RUN cp /tmp/dv/solrconfig.xml /opt/solr-7.3.1/server/solr/collection1/conf/solrconfig.xml
3434

3535
# skipping glassfish user and solr user (run both as root)
@@ -58,6 +58,7 @@ COPY dv/install/ /opt/dv/
5858
COPY install.bash /opt/dv/
5959
COPY entrypoint.bash /opt/dv/
6060
COPY testdata /opt/dv/testdata
61+
COPY testdata/updateSchemaMDB.sh /opt/dv/testdata/
6162
COPY testscripts/* /opt/dv/testdata/
6263
COPY setupIT.bash /opt/dv
6364
WORKDIR /opt/dv

conf/docker-aio/run-test-suite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ fi
88

99
# Please note the "dataverse.test.baseurl" is set to run for "all-in-one" Docker environment.
1010
# TODO: Rather than hard-coding the list of "IT" classes here, add a profile to pom.xml.
11-
mvn test -Dtest=DataversesIT,DatasetsIT,SwordIT,AdminIT,BuiltinUsersIT,UsersIT,UtilIT,ConfirmEmailIT,FileMetadataIT,FilesIT,SearchIT,InReviewWorkflowIT,HarvestingServerIT,MoveIT,MakeDataCountApiIT,FileTypeDetectionIT,EditDDIIT -Ddataverse.test.baseurl=$dvurl
11+
mvn test -Dtest=DataversesIT,DatasetsIT,SwordIT,AdminIT,BuiltinUsersIT,UsersIT,UtilIT,ConfirmEmailIT,FileMetadataIT,FilesIT,SearchIT,InReviewWorkflowIT,HarvestingServerIT,MoveIT,MakeDataCountApiIT,FileTypeDetectionIT,EditDDIIT,ExternalToolsIT -Ddataverse.test.baseurl=$dvurl

0 commit comments

Comments
 (0)