golemfactory/dapp-runner

meta data descriptor support

Closed this issue · 4 comments

meta:
  name: "Cośtam app"
  description: "sdljasldkjfsal;kfjsa;ldkas;lkdfj asd;lkf jas"
  author: "GolemFactory"
  version: "0.1.0"

Idea:

dapp-runner meta [DESCRIPTOR]

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

re: #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

Added the 'meta' structure to GAP-16 sample and JSON schema (under golemfactory/golem-architecture#39)