🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.policy
Article #23

Bug#1156285: Why virtual package stalwart-webadmin

#23
From: Geert Stappers
Date: Thu, 03 Dec 2026 20:40
69 lines
4108 bytes
<preamble>

  You will see "I think it is not needed" versus "It is needed"

  Please also see "I think A doesn't need a virtual package" and "I'm
  sure that stalwart is better with virtual package stalwart-webadmin".

</preamble>

On Thu, Dec 03, 2026 at 08:29:01PM +0100, Ansgar 🙀 wrote:
> > > Server software has web user interface.
> > > Upstream has them in separate source trees.
> > > Upon server start is webui downloaded from Internet.
> > > 
> > > The webui is not realy needed.
> > > Not needed during normal operating.
> > > Also exists a command line interface.
> > > 
> > > For offering choice for wether or not a webui
> > > is the plan to make the server depend on a virtual package.
> 
> If package A can optionally use features by package B,
> then A should not Depends: B, but use Recommends: or Suggests: instead.

Package A expects that /usr/lib/A/webui.zip is present at startup.


> I don't understand why a virtual package would be required for offering
> choice whether B is installed or not?

The 'If package A can optionally use features by package B'
is **false** for stalwart, at several levels.
 
On hindsight should "offering choice for wether or not a webui"
have been expressed differently. I'm refering to:

> > > For offering choice for wether or not a webui


Regarding:
> > > Upstream has them in separate source trees.
> > > Upon server start is webui downloaded from Internet.

That tells what upstream does.
Debian version will **not** download 



> If there are only two alternative implementations B1, B2 of B,

Another "If"  ....


> then just using Recommends/Suggests: B1 | B2 is probably also good enough.

For stalwart
Depends: minimalistic-stalwart-webadmin | stalwart-webadmin

A minimalistic stalwart-webadmin package is in development
and will remain minimalistic. Virtual package stalwart-webadmin is for
making a full version possible. Plus branded versions possible.
Yes, there will be more as just B1 and B2.


Groeten
Geert Stappers
-- 
Silence is hard to parse
Technical Details
Message-ID: <O6lKV-fNUG-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O6klP-fNgL-3@gated-at.bofh.it> <O6kOR-fNr3-3@gated-at.bofh.it> <O6klP-fNgL-3@gated-at.bofh.it> <O6kOR-fNr3-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Geert Stappers <stappers@stappers.nl>
Newsgroups: linux.debian.bugs.dist,linux.debian.policy
Subject: Bug#1156285: Why virtual package stalwart-webadmin
Date: Thu, 03 Dec 2026 21:40:01 +0100
Message-ID: <O6lKV-fNUG-1@gated-at.bofh.it>
References: <O6klP-fNgL-3@gated-at.bofh.it> <O6kOR-fNr3-3@gated-at.bofh.it> <O6klP-fNgL-3@gated-at.bofh.it> <O6kOR-fNr3-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Dec  3 20:37:06 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Geert Stappers <stappers@stappers.nl>, 1156285@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-policy@lists.debian.org
X-Debian-Pr-Message: followup 1156285
X-Debian-Pr-Package: debian-policy
X-Debian-Pr-Source: debian-policy
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Greylist: delayed 427 seconds by postgrey-1.37 at buxtehude; Thu, 03 Dec 2026 20:34:58 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006820
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 69
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Ansgar 🙀 <ansgar@debian.org>
X-Original-Date: Thu, 3 Dec 2026 21:27:47 +0100
X-Original-Message-ID: <axHQwy8eOgvTV+j4@gpm.stappers.nl>
X-Original-References: <axG7ET5Z8FAPOaVi@gpm.stappers.nl> <fbe7616df63ef4aff36c0be497fbbad59d53c189.camel@debian.org> <axG7ET5Z8FAPOaVi@gpm.stappers.nl> <fbe7616df63ef4aff36c0be497fbbad59d53c189.camel@debian.org>