Skip to content

Import CODECHECK metadata from existing codecheck.yml file from OSF #76

@dxL1nus

Description

@dxL1nus

Relates to #36

Mock Up (Repository List now with Load Metadata Buttons that would retrieve the data from the existing codecheck.yml file and load it into the metadata form:

Image

To Do:

  • check if repository has correct OSF format
  • find the codecheck.yml file in the repository via the OSF API
  • find way to download file from OSF
  • retrieve data from this file instead of the loadData() from the submission
  • integrate this functionality with the Repository List from Subhan
  • Now User should be able to Save this metadata manually

OSF codecheck.yml download example: https://storage.googleapis.com/cos-osf-prod-files-de-1/5d303c04c0a2431a4f960e29b934d1108780f921d5e83f19f33475c55e3d83e1?response-content-disposition=attachment%3B%20filename%3D%22codecheck.yml%22%3B%20filename%2A%3DUTF-8%27%27codecheck.yml&GoogleAccessId=files-de-1%40cos-osf-prod.iam.gserviceaccount.com&Expires=1764238769&Signature=f%2BZ15Bcp%2FQSaO6p8qX9Iuo1rOiXb0hhWUrwayNx0PFrZUMkq4Yxq14I2qfIfE7zGNnaLnYChgZm%2B3peoCxkujAaRkzGyrZ5Ej0fxTfhuulIBjNqrnS9x%2FYVRL0jYmimQfrsRI3Zc%2B3c4t20TGRxW%2FufljDuY6RtY0%2FFzPC6BflPgxNaM%2B4i2SxhVyL7J9V0hQty4Cy5fY7Ot%2FekhwukRQDejucsWhnD55%2BV0RQOKyBq8WvFEIy6b3kUz7VkXZgQsSoKVSQ6gbei2D1LhjRRdtO8IFW%2BW9nZepwMe7bK7WF7EoExl%2BSmuE6LSwIfxzjDmG482xulf4dcoy56hdHn5MQ%3D%3D
OSF Code Repository Link example: https://osf.io/ymc3t/files/5zu8b
maybe easier via API: https://developer.osf.io/?ref=public_apis#operation/files_detail


  • Add Unit Tests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions