-
Notifications
You must be signed in to change notification settings - Fork 0
Cachet importer #6
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
What
Pharos speaks the Cachet 2.x API, so people migrating from Cachet keep their scripts — but their history does not come along. Add
php artisan pharos:import:cachet <url> --token=(or from a database dump) that pulls component groups, components, incidents with updates, and subscribers (as pending, they must re-confirm), mapping Cachet status integers 1:1.Where
New command under
app/Console/Commands, a smallCachetClient, idempotent by Cachet id. Tests with a fake HTTP server.Done when
A Cachet 2.4 demo instance imports cleanly twice in a row without duplicates; README "Migrate from Cachet" documents it.