Skip to content

Cachet importer #6

Description

@raym0nz82

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 small CachetClient, 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions