alan-turing-institute / AssurancePlatform

Project to facilitate creation of Assurance Cases
MIT License
25 stars 8 forks source link

[User Story]: Import Assurance Cases from GitHub Links #465

Open kallewesterling opened 5 months ago

kallewesterling commented 5 months ago

Role

As an assurance case editor

Desired Feature

I want to import assurance cases from GitHub using the standard GitHub link to a file, not the raw link

Benefit

so that I can directly integrate assurance cases shared via GitHub repositories into the platform without manual URL modifications

Acceptance Criteria

GIVEN I have the GitHub URL to an assurance case file, WHEN I enter this URL into the import interface of the TEA platform, THEN the platform should automatically find the raw representation of the JSON file. AND validate the JSON file against the predefined assurance case schema. AND if the JSON is valid, import the assurance case into the platform. AND if the JSON is invalid, provide a detailed error message explaining the validation failures.

Dependencies

Technical Notes

Definition of Done

chrisdburr commented 4 months ago

A good example of what we're looking to implement here is the way that HackMD works with GitHub repos.

Image

chrisdburr commented 3 months ago

Deprioritising this until we have progress with the other collaboration features.