IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
882 stars 494 forks source link

API for auditing physical files and file metadata #11016

Open stevenwinship opened 1 week ago

stevenwinship commented 1 week ago

What this PR does / why we need it: Find Datasets with missing files so Admins can either delete the file reference or work with authors to re-upload the files. See: https://github.com/IQSS/dataverse.harvard.edu/issues/220

Which issue(s) this PR closes:

Special notes for your reviewer:

Suggestions on how to test this: Create multiple Datasets with multiple files. If running in Docker locally delete a file from docker-dev-volumes/app/data/store... call the api and see the missing file listed in the json response. Other test could include deleting a FileMetadata row from the DB Request specific Datasets as well as firstId and lastId

Does this PR introduce a user interface change? If mockups are available, please link/include them here: No

Is there a release notes update needed for this change?: Included

Additional documentation:

Preview docs at https://dataverse-guide--11016.org.readthedocs.build/en/11016/api/native-api.html#datafile-audit

coveralls commented 1 week ago

Coverage Status

coverage: 21.825% (-0.03%) from 21.856% when pulling 26e85745f450a11f8e23e748fe0f0f05a647af76 on 220-audit-physical-files into 61b8046f59565a93b588816c015ebb880f1b91b5 on develop.

github-actions[bot] commented 1 week ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 2 days ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 1 day ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 1 day ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 1 day ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 1 day ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 1 day ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 1 day ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.

github-actions[bot] commented 1 day ago

:package: Pushed preview images as

ghcr.io/gdcc/dataverse:220-audit-physical-files
ghcr.io/gdcc/configbaker:220-audit-physical-files

:ship: See on GHCR. Use by referencing with full name as printed above, mind the registry name.