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.
MIT License
5 stars 2 forks source link

BridgeBot union data format #30

Open michielbdejong opened 5 months ago

michielbdejong commented 5 months 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 5 months ago

Here is a first version, as a strawman:

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

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

michielbdejong commented 5 months ago

Version 2:

issue:

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

comment:

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