From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by bl2.djc.id.au (Postfix, from userid 1000) id 4F66B2D45C9; Sat, 28 Nov 2026 17:13:35 +1100 (AEDT) Date: Sat, 28 Nov 2026 17:13:36 +1100 To: sup-commits@supmua.dev Subject: [sup.git] 01/08: delete dead report_broken_sources method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Dan Callaghan In-Reply-To: <179584641514.302139.17817016268117078700@bl2.djc.id.au> References: <179584641514.302139.17817016268117078700@bl2.djc.id.au> Thread-Index: AQAAEjRW8AyDbWtbRRaCMIXB6V3YXw== X-Git-Host: bl2.djc.id.au X-Git-Repo: sup.git X-Git-Refname: refs/heads/develop X-Git-Reftype: branch X-Git-Rev: 192c6873dbf8d16cdea849a601cbe2614743ff8a X-Git-NotificationType: diff X-Git-Multimail-Version: 1.7.dev Auto-Submitted: auto-generated Message-Id: <20261128061335.4F66B2D45C9@bl2.djc.id.au> From: Dan Callaghan List-Id: New commit on branch develop: https://supmua.dev/git/sup/commit/192c6873dbf8d16cdea849a601cbe2614743ff8a.html commit 192c6873dbf8d16cdea849a601cbe2614743ff8a Author: Dan Callaghan AuthorDate: Sat Nov 21 10:52:57 2026 +1100 delete dead report_broken_sources method It has been unused since commit 7edbb7ee67. --- lib/sup.rb | 52 +--------------------------------------------------- 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/lib/sup.rb b/lib/sup.rb index 82f465c5..f303aaac 100644 --- a/lib/sup.rb +++ b/lib/sup.rb @@ -262,56 +262,6 @@ EOS $config = nil end - ## not really a good place for this, so I'll just dump it here. - ## - ## a source error is either a FatalSourceError or an OutOfSyncSourceError. - ## the superclass SourceError is just a generic. - def report_broken_sources opts={} - return unless BufferManager.instantiated? - - broken_sources = SourceManager.sources.select { |s| s.error.is_a? FatalSourceError } - unless broken_sources.empty? - BufferManager.spawn_unless_exists("Broken source notification for #{broken_sources.join(',')}", opts) do - TextMode.new(<