Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request/Idea: File type recognition based on filename #8740

Closed
abujeda opened this issue May 25, 2022 · 2 comments · Fixed by #8744
Closed

Feature Request/Idea: File type recognition based on filename #8740

abujeda opened this issue May 25, 2022 · 2 comments · Fixed by #8744
Labels
HDC Harvard Data Commons HDC: 2 Harvard Data Commons Obj. 2 NIH OTA: 1.3.1 3 | 1.3.1 | Support software metadata | 5 prdOwnThis is an item synched from the product planning... pm.GREI-d-1.3.1 NIH, yr1, aim3, task1: Support software metadata pm.GREI-d-1.3.2 NIH, yr1, aim3, task2: R & D phase biomedical workflows support
Milestone

Comments

@abujeda
Copy link
Contributor

abujeda commented May 25, 2022

Overview of the Feature Request
Use the full filename to determine the file type when the file do not have an extension.

What kind of user is the feature intended for?
Curator, Depositor, Guest

What inspired the request?
As part of the Harvard Data Commons project there is a requirement to support computations workflows.
Some workflows use Makefile and Snakemake as the implementation mechanism. These files do not have extensions and are not recognized by Dataverse.

What existing behavior do you want changed?
FileUtil class. We want to use the full filename when there is no extension.

Any brand new behavior do you want to add to Dataverse?
No

Any related open or closed issues to this feature request?
No that I am aware of

@abujeda
Copy link
Contributor Author

abujeda commented May 26, 2022

Created small PR to support this feature as well as add support for Makefile and Snakemake

#8744

@abujeda
Copy link
Contributor Author

abujeda commented May 31, 2022

Updated PR to add support for Dockerfile and Vagrantfile as suggested by @pdurbin

pdurbin added a commit to abujeda/dataverse that referenced this issue Jul 20, 2022
@pdurbin pdurbin added this to the 5.12 milestone Jul 25, 2022
@scolapasta scolapasta added HDC Harvard Data Commons HDC: 2 Harvard Data Commons Obj. 2 labels Aug 1, 2022
@mreekie mreekie added the NIH OTA: 1.3.1 3 | 1.3.1 | Support software metadata | 5 prdOwnThis is an item synched from the product planning... label Dec 15, 2022
@mreekie mreekie added pm.GREI-d-1.3.1 NIH, yr1, aim3, task1: Support software metadata pm.GREI-d-1.3.2 NIH, yr1, aim3, task2: R & D phase biomedical workflows support labels Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HDC Harvard Data Commons HDC: 2 Harvard Data Commons Obj. 2 NIH OTA: 1.3.1 3 | 1.3.1 | Support software metadata | 5 prdOwnThis is an item synched from the product planning... pm.GREI-d-1.3.1 NIH, yr1, aim3, task1: Support software metadata pm.GREI-d-1.3.2 NIH, yr1, aim3, task2: R & D phase biomedical workflows support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants