Skip to content

Add Depot Service and support for IncidentIO inside the extract.rb script#258

Open
MatiasFernandez wants to merge 3 commits intoinket:masterfrom
MatiasFernandez:add-depot-service
Open

Add Depot Service and support for IncidentIO inside the extract.rb script#258
MatiasFernandez wants to merge 3 commits intoinket:masterfrom
MatiasFernandez:add-depot-service

Conversation

@MatiasFernandez
Copy link
Copy Markdown
Contributor

@MatiasFernandez MatiasFernandez commented Apr 8, 2026

Add IncidentIO extraction support and Depot service

Description

This PR integrates support for automatically extracting and importing IncidentIO status pages using the newer JSON-based workflow. It also adds Depot to the list of tracked services.

Changes made

  • Update extract.rb: Adds the extract_incidentio extraction logic. It determines if a URL matches the IncidentIO footprint, fetches the API summary, and dynamically injects the service entry straight into Resources/services.json. It gracefully avoids duplicates and auto-sorts alphabetically by name.
  • Fix invalid JSON: Removed a stray trailing comma in the betteruptime object map within services.json. This was actively preventing Ruby's strict JSON.parse from booting up and modifying the services list during the extraction phase.
  • Add Depot service: Successfully pushed https://status.depot.dev to the IncidentIO providers list.

Testing

  • Verified bundle exec ruby extract.rb https://status.depot.dev flawlessly updates the JSON instead of generating a Swift wrapper target.

Note: I'm not a swift developer, so I couldn't test whether this new service (Depot) works, but I tested the extract script, and it works correctly.

@inket let me know what you think

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant