datalad / datalad-deprecated

DataLad extension for functionality that has been phased out of the core package
Other
0 stars 3 forks source link

adjust web frontend ls to generate web-view metadata to use new metadata #7

Open yarikoptic opened 6 years ago

yarikoptic commented 6 years ago

What is the problem?

0.9.x version relies on harmonized metadata of the dataset, which it includes in the "metadata" of the webui (ATM separate from "regular datalad metadata" - provides information about sizes for this particular instance of git/git-annex etc) : https://github.com/datalad/datalad/blob/master/datalad/interface/ls_webui.py#L127 so then https://github.com/datalad/datalad/blob/master/datalad/resources/website/assets/js/main.js#L482 includes that dataset metadata record into the the row information so users could do a simple search using the searchbar on the page and extracts harmonized (in 0.9.x) "title" field within metadata to provide description within the table: https://github.com/datalad/datalad/blob/master/datalad/resources/website/assets/js/main.js#L472

With master version there is no harmonization of metadata across extractors attempted whatsoever.

possible additional pros/cons to consider /decide upon

What do you think @mih and @bpoldrack ?

yarikoptic commented 6 years ago

I am even thinking that may be (some) extractors should provide a minimal set of harmonized fields, eg shortdescription (authors etc are too varying in formats). May be something from biocaddie effort could be reused to expand

yarikoptic commented 6 years ago

@mih What do you think about the need to harmonize just a few (well -- short description atm) fields?

mih commented 5 years ago

Properly marked up metadata with substantially improved possibilities for harmonization are available via reporting and extractors in the metalad extension. It was decided to keep this out of 0.12, hence removing milestone association.