You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New "Unlink Dataset" button has been added to the Dataset Page to allow a user to unlink a dataset from a collection that was previously linked with the "Link Dataset" button. The user must possess the same permissions needed to unlink the Dataset as they would to link the Dataset.
2
+
The [existing API](https://guides.dataverse.org/en/6.3/admin/dataverses-datasets.html#unlink-a-dataset) for unlinking datasets has been updated to no longer require superuser access. The "Publish Dataset" permission is now enough.
Dataverse now supports [RO-Crate](https://www.researchobject.org/ro-crate/) in the sense that dataset metadata can be exported in that format. This functionality is not available out of the box but you can enable one or more RO-Crate exporters from the [list of external exporters](https://preview.guides.gdcc.io/en/develop/installation/advanced.html#inventory-of-external-exporters). See also #10744.
A significant bug in the superuser-only "Update-Current-Version" publication was found and fixed in this release. If the Update-Current-Version option was used when changes were made to the dataset Terms (rather than to dataset metadata), or if the PID provider service was down/returned an error, the update would fail and render the dataset unusable and require restoration from a backup. The fix in this release allows the update to succeed in both of these cases and redesigns the functionality such that any unknown issues should not make the dataset unusable (i.e. the error would be reported and the dataset would remain in its current state with the last-published version as it was and changes still in the draft version.)
2
+
3
+
Users of earlier Dataverse releases are encouraged to alert their superusers to this issue. Those who wish to disable this functionality have two options:
4
+
* Change the dataset.updateRelease entry in the Bundle.properties file (or local language version) to "Do Not Use" or similar (doesn't disable but alerts superusers to the issue), or
Saved searches can now be removed using API `/api/admin/savedsearches/$id`. See PR #10198.
4
+
This is reflected in the [Saved Search Native API section](https://dataverse-guide--10198.org.readthedocs.build/en/10198/api/native-api.html#saved-search) of the Guide.
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/api/native-api.rst
+8-1
Original file line number
Diff line number
Diff line change
@@ -6018,7 +6018,8 @@ The ``$identifier`` should start with an ``@`` if it's a user. Groups start with
6018
6018
Saved Search
6019
6019
~~~~~~~~~~~~
6020
6020
6021
-
The Saved Search, Linked Dataverses, and Linked Datasets features shipped with Dataverse 4.0, but as a "`superuser-only <https://github.com/IQSS/dataverse/issues/90#issuecomment-86094663>`_" because they are **experimental** (see `#1364 <https://github.com/IQSS/dataverse/issues/1364>`_, `#1813 <https://github.com/IQSS/dataverse/issues/1813>`_, `#1840 <https://github.com/IQSS/dataverse/issues/1840>`_, `#1890 <https://github.com/IQSS/dataverse/issues/1890>`_, `#1939 <https://github.com/IQSS/dataverse/issues/1939>`_, `#2167 <https://github.com/IQSS/dataverse/issues/2167>`_, `#2186 <https://github.com/IQSS/dataverse/issues/2186>`_, `#2053 <https://github.com/IQSS/dataverse/issues/2053>`_, and `#2543 <https://github.com/IQSS/dataverse/issues/2543>`_). The following API endpoints were added to help people with access to the "admin" API make use of these features in their current form. There is a known issue (`#1364 <https://github.com/IQSS/dataverse/issues/1364>`_) that once a link to a Dataverse collection or dataset is created, it cannot be removed (apart from database manipulation and reindexing) which is why a ``DELETE`` endpoint for saved searches is neither documented nor functional. The Linked Dataverse collections feature is `powered by Saved Search <https://github.com/IQSS/dataverse/issues/1852>`_ and therefore requires that the "makelinks" endpoint be executed on a periodic basis as well.
6021
+
The Saved Search, Linked Dataverses, and Linked Datasets features are only accessible to superusers except for linking a dataset. The following API endpoints were added to help people with access to the "admin" API make use of these features in their current form. Keep in mind that they are partially experimental.
6022
+
The update of all saved search is run by a timer once a week (See :ref:`saved-search-timer`) so if you just created a saved search, you can run manually ``makelinks`` endpoint that will find new dataverses and datasets that match the saved search and then link the search results to the dataverse in which the saved search is defined.
6022
6023
6023
6024
List all saved searches. ::
6024
6025
@@ -6028,6 +6029,12 @@ List a saved search by database id. ::
6028
6029
6029
6030
GET http://$SERVER/api/admin/savedsearches/$id
6030
6031
6032
+
Delete a saved search by database id.
6033
+
6034
+
The ``unlink=true`` query parameter unlinks all links (linked dataset or Dataverse collection) associated with the deleted saved search. Use of this parameter should be well considered as you cannot know if the links were created manually or by the saved search. After deleting a saved search with ``unlink=true``, we recommend running ``/makelinks/all`` just in case there was a dataset that was linked by another saved search. (Saved searches can link the same dataset.) Reindexing might be necessary as well.::
Execute a saved search by database id and make links to Dataverse collections and datasets that are found. The JSON response indicates which Dataverse collections and datasets were newly linked versus already linked. The ``debug=true`` query parameter adds to the JSON response extra information about the saved search being executed (which you could also get by listing the saved search). ::
6032
6039
6033
6040
PUT http://$SERVER/api/admin/savedsearches/makelinks/$id?debug=true
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/container/running/demo.rst
-2
Original file line number
Diff line number
Diff line change
@@ -124,8 +124,6 @@ Some JVM options can be configured as environment variables. For example, you ca
124
124
125
125
We are in the process of making more JVM options configurable as environment variables. Look for the term "MicroProfile Config" in under :doc:`/installation/config` in the Installation Guide to know if you can use them this way.
126
126
127
-
Please note that for a few environment variables (the ones that start with ``%ct`` in :download:`microprofile-config.properties <../../../../../src/main/resources/META-INF/microprofile-config.properties>`), you have to prepend ``_CT_`` to make, for example, ``_CT_DATAVERSE_SITEURL``. We are working on a fix for this in https://github.com/IQSS/dataverse/issues/10285.
128
-
129
127
There is a final way to configure JVM options that we plan to deprecate once all JVM options have been converted to MicroProfile Config. Look for "magic trick" under "tunables" at :doc:`../app-image` for more information.
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/contributor/documentation.md
+13
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,7 @@ Please observe the following when writing documentation:
131
131
- Use American English spelling.
132
132
- Use examples when possible.
133
133
- Break up longer paragraphs.
134
+
- Use Title Case in Headings.
134
135
- Use "double quotes" instead of 'single quotes'.
135
136
- Favor "and" (data and code) over slashes (data/code).
136
137
@@ -150,6 +151,18 @@ If the page is written in Markdown (.md), use this form:
150
151
:depth: 3
151
152
```
152
153
154
+
### Links
155
+
156
+
Getting links right with .rst files can be tricky.
157
+
158
+
#### Custom Titles
159
+
160
+
You can use a custom title when linking to a document like this:
161
+
162
+
:doc:`Custom title </api/intro>`
163
+
164
+
See also <https://docs.readthedocs.io/en/stable/guides/cross-referencing-with-sphinx.html#the-doc-role>
165
+
153
166
### Images
154
167
155
168
A good documentation is just like a website enhanced and upgraded by adding high quality and self-explanatory images. Often images depict a lot of written text in a simple manner. Within our Sphinx docs, you can add them in two ways: a) add a PNG image directly and include or b) use inline description languages like GraphViz (current only option).
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/developers/version-control.rst
+17-5
Original file line number
Diff line number
Diff line change
@@ -137,17 +137,29 @@ Make a Pull Request
137
137
~~~~~~~~~~~~~~~~~~~
138
138
139
139
Make a pull request to get approval to merge your changes into the develop branch.
140
-
If the pull request notes indicate that release notes are necessary, the workflow can then verify the existence of a corresponding file and respond with a 'thank you!' message. On the other hand, if no release notes are detected, the contributor can be gently reminded of their absence. Please see :doc:`making-releases` for guidance on writing release notes.
141
-
Note that once a pull request is created, we'll remove the corresponding issue from our kanban board so that we're only tracking one card.
142
140
143
-
Feedback on the pull request template we use is welcome! Here's an example of a pull request for issue #3827: https://github.com/IQSS/dataverse/pull/3827
141
+
Feedback on the pull request template we use is welcome!
142
+
143
+
Here's an example of a pull request for issue #9729: https://github.com/IQSS/dataverse/pull/10474
144
+
145
+
Replace Issue with Pull Request
146
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147
+
148
+
If the pull request closes an issue that has been prioritized, someone from the core team will do the following:
149
+
150
+
- Move the open issue to the "Done" column of the `project board`_. We do this to track only one card, the pull request, on the project board. Merging the pull request will close the issue because we use the "closes #1234" `keyword <https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue>`_ .
151
+
- Copy all labels from the issue to the pull request with the exception of the "size" label.
152
+
- Add a size label to the pull request that reflects the amount of review and QA time needed.
153
+
- Move the pull request to the "Ready for Review" column.
Now that you've made your pull request, your goal is to make sure it appears in the "Code Review" column at https://github.com/orgs/IQSS/projects/34.
160
+
Now that you've made your pull request, your goal is to make sure it appears in the "Code Review" column on the `project board`_.
149
161
150
-
Look at https://github.com/IQSS/dataverse/blob/master/CONTRIBUTING.md for various ways to reach out to developers who have enough access to the GitHub repo to move your issue and pull request to the "Code Review" column.
162
+
Look at :ref:`getting-help-developers` for various ways to reach out to developers who have enough access to the GitHub repo to move your issue and pull request to the "Code Review" column.
returnerror(BAD_REQUEST, "Saved Searches can not safely be deleted because links can not safely be deleted. See https://github.com/IQSS/dataverse/issues/1364 for details.");
0 commit comments