[From nobody Thu Nov  5 06:45:05 2026
Received: (at submit) by bugs.debian.org; 27 Sep 2026 03:10:19 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,
 SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 130; neutral, 49; spammy,
 4. spammytokens:0.951-+--our, 0.933-+--today, 0.921-+--offer,
 0.859-+--shipping
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;emfox@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:48300)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;emfox@debian.org&gt;) id 1xAfHO-003E7Z-2g
 for submit@bugs.debian.org; Sun, 27 Sep 2026 03:10:19 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Date:From:Message-Id:Subject:To:
 Reply-To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=yE5TRXJq/e+8d6YKm0IPVQUbFn2eJmA7zzeUaNBGJPM=; b=lO83Y6oYWslVICvCxgeg9fyaTI
 k/hJ5qygXkC0FLHlu6GmgPH0O2rSBDYilv04IKSQ8FxjgmTPbexB0jtCct/4oLzrnBTodWn2/jLZ1
 A+gCg3iLJJMe7ilguYqBnRSeQ4T6CfadKaj6/sKhwP2LyQ2mMnb6UvmDlOg2Yh+x78zXNPxpX4qAL
 pSiVlKV5pdsQmrvA8ahziDo7oStoHV30aap37wnOtsOg9U9h9x6xw7o8sKrBbtns/RybkoQLB4h9W
 43qwHAsQ0TP2HrP95xcSqaKarVLvXgQ8KRIidqWj7wxVZaSXYTsiHrpLPFGhoUpISBRt1qnBZ8ZmD
 sAS4FoKw==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;emfox@debian.org&gt;) id 1xAfHN-006YZx-0F
 for submit@bugs.debian.org; Sun, 27 Sep 2026 03:10:17 +0000
Received: from emfox by emfox.rpwt.org with local (Exim 4.100.1)
 (envelope-from &lt;emfox@debian.org&gt;) id 1xAfHJ-00000003MIl-3Xr7
 for submit@bugs.debian.org; Sun, 27 Sep 2026 11:10:13 +0800
To: submit@bugs.debian.org
Subject: ruby-sass: please offer /usr/bin/sass through update-alternatives
Message-Id: &lt;E1xAfHJ-00000003MIl-3Xr7@emfox.rpwt.org&gt;
From: Wei Zhou &lt;emfox@debian.org&gt;
Date: Sun, 27 Sep 2026 11:10:13 +0800
X-Debian-User: emfox
Delivered-To: submit@bugs.debian.org

Package: ruby-sass
Severity: wishlist

Dear Ruby team,

ruby-sass installs /usr/bin/sass and /usr/share/man/man1/sass.1.gz as plain
files, so no other Sass implementation can offer that command name: a second
implementation would either have to conflict with ruby-sass or take over a file
this package owns.

Policy 3.9 asks packages that supply an instance of a common command name to
use update-alternatives &quot;so that they can be installed together&quot;.  Would you
consider shipping the Ruby Sass launcher under a non-conflicting name and
offering the generic one as an alternative, e.g.:

  debian/ruby-sass.postinst:
    update-alternatives --install /usr/bin/sass sass /usr/bin/ruby-sass 20 \
        --slave /usr/share/man/man1/sass.1.gz sass.1.gz \
        /usr/share/man/man1/ruby-sass.1.gz

  debian/ruby-sass.prerm:
    update-alternatives --remove sass /usr/bin/ruby-sass

/usr/bin/scss and /usr/bin/sass-convert would need no change; they have no
counterpart in other implementations.

Background: dart-sass (ITP #998024) is the upstream reference implementation and
the only one still maintained.  Its package registers /usr/bin/sass with
priority 40 the same way, and deliberately uses neither Conflicts/Replaces nor
dpkg-divert, so today it does not take the name over on systems that have
ruby-sass installed.  Once both sides offer the alternative they simply coexist
and the admin selects with &quot;update-alternatives --config sass&quot;.  The priority
above is only a suggestion -- we are happy to adjust ours instead.

No urgency from our side.
]