Commit notifications for all Sup repositories
 help / color / mirror / Atom feed
From: Dan Callaghan <dan@bl2.djc.id.au>
To: sup-commits@supmua.dev
Subject: [sup-website.git] branch master updated: limit stagit to just master and develop branches
Date: Sat, 31 Oct 2026 22:23:49 +1100	[thread overview]
Message-ID: <179344582911.63472.10396914140539894600@bl2.djc.id.au> (raw)

Pushed a commit to branch master:
https://supmua.dev/git/sup-website/commit/798e14042d4cd310beec51573d741a68b80aeeed.html

The following commit(s) were added to refs/heads/master by this push:
     new 798e140  limit stagit to just master and develop branches
798e140 is described below

commit 798e14042d4cd310beec51573d741a68b80aeeed
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Oct 31 22:01:47 2026 +1100

    limit stagit to just master and develop branches
    
    Ensures that random crappy development branches in my sup clone do not
    get published on the web site.
---
 _plugins/stagit.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_plugins/stagit.rb b/_plugins/stagit.rb
index 5891936..ec4f680 100644
--- a/_plugins/stagit.rb
+++ b/_plugins/stagit.rb
@@ -58,7 +58,7 @@ Jekyll::Hooks.register :site, :post_write do |site|
     Jekyll.logger.info "Stagit:", "Processing #{repo}"
 
     FileUtils.mkdir_p dest
-    system "cd #{dest} && stagit -u https://supmua.dev/git/#{repo}/ /home/dan/src/#{repo}" or raise "stagit failed"
+    system "cd #{dest} && stagit -b master:develop -u https://supmua.dev/git/#{repo}/ /home/dan/src/#{repo}" or raise "stagit failed"
 
     ## Munge stagit generate files to fit the rest of the site
     Dir.glob "#{dest}/**/*.html", File::FNM_DOTMATCH do |path|

                 reply	other threads:[~2026-10-31 11:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179344582911.63472.10396914140539894600@bl2.djc.id.au \
    --to=dan@bl2.djc.id.au \
    --cc=djc@djc.id.au \
    --cc=sup-commits@supmua.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox