federatedbookkeeping / task-tracking

This repo contains the artefacts tracking work done on the Federated Task-Tracking project, funded by NLnet and the NGI Assure Programme.
2 stars 2 forks source link

BridgeBot union data format #30

Open michielbdejong opened 4 days ago

michielbdejong commented 4 days ago

While working on BridgeBot I became convinced that it does require some sort of union data format. I'll try to define it here, and keep it updated as the code evolves.

michielbdejong commented 4 days ago

Here is a first version, as a strawman:

{
  identifiers: Set<string>;
  title: string;
  completed: boolean;
  comments: string[];
}
michielbdejong commented 4 days ago

The identifiers set can be used to link local identifiers for issues together across synced systems.

michielbdejong commented 3 days ago

Version 2:

issue:

{
  identifiers: Set<string>;
  title: string;
  completed: boolean;
}

comment:

{
  identifiers: Set<string>;
  text: string;
  issueId: string;
}