golemfactory / dapp-runner

GNU Lesser General Public License v3.0
5 stars 6 forks source link

meta data descriptor support #33

Closed shadeofblue closed 2 years ago

shadeofblue commented 2 years ago
meta:
  name: "Cośtam app"
  description: "sdljasldkjfsal;kfjsa;ldkas;lkdfj asd;lkf jas"
  author: "GolemFactory"
  version: "0.1.0"
johny-b commented 2 years ago

Idea:

dapp-runner meta [DESCRIPTOR]

Discussed: web-app might not have access to the descriptor files at all (just know paths).

shadeofblue commented 2 years ago

re: https://github.com/golemfactory/dapp-runner/issues/33

I'm wondering - do we want to impose a strict structure for the meta element or assume that it's supposed to be more free-form?

I imagine three options:

  1. meta has a strict structure
  2. meta has completely free-form structure
  3. we assume that some elements inside (e.g. name, author, descriptrion, etc) have a defined, known schema and a user can define any other elements there which the parser may ignore (or just accept as-is)...

jan.betley 1d I vote for 3

shadeofblue commented 2 years ago

@stranger80 ^^

stranger80 commented 2 years ago

Added the 'meta' structure to GAP-16 sample and JSON schema (under https://github.com/golemfactory/golem-architecture/pull/39)