Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.21 KB

PROTOCOL.md

File metadata and controls

52 lines (37 loc) · 1.21 KB

PROTOCOL

Config

  • cache latest bundled configs as ONUR_CONFIG/.cached
  • bundle all files with syntax as
"lang": "py",
"projects": {"name": "python", "branch": "dev", "https://github.com/python/python"}
  • branch field defaults to Git, that is master
  • check if empty
  • check if config has properly syntax
  • url to URI
  • name as lowercase and _ only

Api

  • parse all files

Local

  • parse json files and bundle as api sintaxe
  • url to uri

Single

  • bundle file as config syntax
  • consumes piped input

Front

  • consume array properly processed
  • run action on array
  • log actions and it's output