iop-alliance / OpenKnowHow

A metadata specification to enable the collection of distributed, standardised metadata of open source hardware designs
GNU General Public License v3.0
2 stars 1 forks source link

How to ease the burden of listing source and export files #101

Closed hoijui closed 3 years ago

hoijui commented 3 years ago

As it is now, people have to manually list all source and exported files. This is very cumbersome and I personally would never do it for a project.

How to solve this?

hoijui commented 3 years ago
  1. allow to specify the URL to sourceList.txt and exportList.txt files, which simply contain one file per line.

These files could then be automatically generated in the CI job of the project with a script along the lines of:

find . -type f -iname "*.fcstd" > sourceList.txt
find . -type f -iname "*.pdf" > exportList.txt
moedn commented 3 years ago

as noted in the last update (relating to OPEN-NEXT/OKH-LOSH_copy#97), POSH files are found in specific folders, the collector automatically sorts them into source & export files (as included in the requirements here

moedn commented 3 years ago

Update:

moedn commented 3 years ago

New approach:

short: packaging is excluded

Background:

moedn commented 3 years ago

OSH-metadata.md shall be updated accordingly

moedn commented 3 years ago

I assume only a GUI (or any kind of semi-automated process) can solve this issue. For the moment, I'd recommend people to just copy & modify their POSH files &/ use our templates