From ff560ea84c838bc55795280fe9026ce72bf532da Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Fri, 31 Jul 2026 18:52:42 +0700 Subject: [PATCH] Update Bitcoin Pulse input to GitHub --- docs/bitcoin-pulse-operations.md | 2 +- docs/bitcoin-pulse-postgresql.md | 2 +- flake.lock | 18 +++++++++--------- flake.nix | 2 +- modules/bitcoin-pulse.nix | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/bitcoin-pulse-operations.md b/docs/bitcoin-pulse-operations.md index eaad2b2..0c75689 100644 --- a/docs/bitcoin-pulse-operations.md +++ b/docs/bitcoin-pulse-operations.md @@ -109,7 +109,7 @@ git diff -- flake.lock nix flake check --no-build ``` -Confirm that `flake.lock` points to the intended reviewed BitcoinPulseAPI +Confirm that `flake.lock` points to the intended reviewed BitcoinPulse revision. Commit and push the lock-file update, follow the standard deployment, and perform all post-deployment checks. The switch runs the packaged version's pending migrations before starting that backend version. diff --git a/docs/bitcoin-pulse-postgresql.md b/docs/bitcoin-pulse-postgresql.md index 3acfcc2..a9aef24 100644 --- a/docs/bitcoin-pulse-postgresql.md +++ b/docs/bitcoin-pulse-postgresql.md @@ -126,7 +126,7 @@ creates: - `bitcoin_pulse_migration`, a non-superuser login that owns the database; - `bitcoin_pulse_app`, a non-superuser login with `CONNECT` only initially. -The role bootstrap SQL comes from the pinned BitcoinPulseAPI flake input. +The role bootstrap SQL comes from the pinned BitcoinPulse flake input. Migratus' database-foundation migration then grants the application role schema usage and default DML privileges for application objects. Later migrations can further restrict individual tables; the application role cannot create schema diff --git a/flake.lock b/flake.lock index a986753..546b349 100644 --- a/flake.lock +++ b/flake.lock @@ -8,17 +8,17 @@ ] }, "locked": { - "lastModified": 1785392268, - "narHash": "sha256-9AG23XZN2+yhXlFsCAbnL9x672IWG2royyK3G0eeJ8U=", - "ref": "refs/heads/main", - "rev": "cf6c2a7812187c5f579eff8dbb1276dc3d338c3d", - "revCount": 27, - "type": "git", - "url": "https://codeberg.org/oibot/BitcoinPulseAPI.git" + "lastModified": 1785422356, + "narHash": "sha256-UYlO43kzV3C7M0Jw/Vu621gpP7TDGR9frtEy2eYMT50=", + "owner": "oibot", + "repo": "BitcoinPulse", + "rev": "7150f9813b7cda3add1c539533e9a1020cb941f6", + "type": "github" }, "original": { - "type": "git", - "url": "https://codeberg.org/oibot/BitcoinPulseAPI.git" + "owner": "oibot", + "repo": "BitcoinPulse", + "type": "github" } }, "clj-nix": { diff --git a/flake.nix b/flake.nix index d3a409f..df63841 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ sops-nix.inputs.nixpkgs.follows = "nixpkgs"; hermes-agent.url = "github:NousResearch/hermes-agent"; bitcoin-pulse = { - url = "git+https://codeberg.org/oibot/BitcoinPulseAPI.git"; + url = "github:oibot/BitcoinPulse"; inputs.nixpkgs.follows = "nixpkgs"; }; }; diff --git a/modules/bitcoin-pulse.nix b/modules/bitcoin-pulse.nix index 5f1f920..e73770f 100644 --- a/modules/bitcoin-pulse.nix +++ b/modules/bitcoin-pulse.nix @@ -231,7 +231,7 @@ in containers.${containerName} = { # Official PostgreSQL 18.4 Bookworm multi-architecture image, pinned to - # the immutable digest tested by BitcoinPulseAPI on 2026-07-16. + # the immutable digest tested by BitcoinPulse on 2026-07-16. image = "docker.io/library/postgres@sha256:1961f96e6029a02c3812d7cb329a3b03a3ac2bb067058dec17b0f5596aca9296"; pull = "missing"; autoStart = true;