Project

General

Profile

Feature #12822

Provide JSON formatted metadata for each component

Added by Aurélien Larcher 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Currently oi-userland relies mainly on printing values from Makefile variables or calling pkgmogrify for listing:

  • supplied packages,
  • required packages,
  • provided paths,

which is extremely time consuming when collecting data in every component.

For instance, on my machine it takes 18 minutes in serial to build a mapping between component fmris and directories while it takes only a few seconds if metadata is pre-generated in a JSON file.

The metadata can be also used for dependency resolution and tracking updates of each component using third-party online services (pip, dependabot.com, opam, ...).

Since bass-o-matic provide such logic in BassComponent the class should be extracted to factor the implementation.

History

#1

Updated by Aurélien Larcher 5 months ago

Depends on #12821

#2

Updated by Aurélien Larcher 5 months ago

  • Description updated (diff)

Also available in: Atom PDF