• Bug#879118: Maintaining buffer on Salsa in Debian team?

    From Martin Buck@21:1/5 to Andreas Tille on Wed Mar 5 09:50:01 2025
    Hi Andreas,

    back from skiing, sorry for the late reply ;-)

    I've not had a close look yet at the salsa repo, but in general this all
    sounds reasonable. I'm fine with team maintenance in the Debian group, feel free to go ahead.

    Regarding buffer in general: IMO, it's really time to replace it with
    something else. It relies on SysV shared memory which no longer is state of
    the art and thus is quite limited these days. But I no longer use buffer myself, so I've not actively searched for better/more modern alternatives.
    So until we can recommend one, it probably make sense to keep buffer alive
    (or rather un-dead ;-)

    Martin


    On Sat, Mar 01, 2025 at 08:15:02AM +0100, Andreas Tille wrote:
    Hi Martin,

    your package buffer came up as a candidate for the Bug of the Day[1]
    today. Thus I had a *short* look on it. I've (quickly!) created a repository for the package[2] for your comfort (its far from finished).
    If you agree the Salvage team might update the packaging in the next
    couple of days and fix the bugs in CC.

    We realise that this software is orphaned long ago and somehow in maintenance mode. Do you think it is OK to maintain the package in Debian team so we can just upload or do you want to do the final upload yourself? It would be great
    if you could raise your opinion in the next couple of days. We could also do some NMU to delayed=15 which was done in similar cases over last time.

    Kind regards and thank you for maintaining the package over the years
    Andreas.

    [1] https://salsa.debian.org/tille/tiny_qa_tools/-/wikis/Tiny-QA-tasks#bug-of-the-day
    [2] https://salsa.debian.org/debian/buffer

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Tille@21:1/5 to All on Wed Mar 5 10:50:01 2025
    Hi Martin,

    Am Wed, Mar 05, 2025 at 09:39:48AM +0100 schrieb Martin Buck:
    back from skiing, sorry for the late reply ;-)

    No need to sorry - we are all volunteers. Hope you enjoyed skiing! ;-)

    I've not had a close look yet at the salsa repo, but in general this all sounds reasonable. I'm fine with team maintenance in the Debian group, feel free to go ahead.

    Regarding buffer in general: IMO, it's really time to replace it with something else. It relies on SysV shared memory which no longer is state of the art and thus is quite limited these days. But I no longer use buffer myself, so I've not actively searched for better/more modern alternatives.
    So until we can recommend one, it probably make sense to keep buffer alive (or rather un-dead ;-)

    Inside the Tiny Tasks Matrix channel наб asked:
    "isn't mbuffer the same as buffer but better?"

    According to your insight into buffer would you consider this some
    sensible equivalent? If so I'd volunteer to file some RoQA bug to ask ftpmaster for removal of buffer.

    Kind regards
    Andreas.

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Buck@21:1/5 to Andreas Tille on Fri Mar 7 15:40:04 2025
    Hi Andreas,

    On Wed, Mar 05, 2025 at 10:44:45AM +0100, Andreas Tille wrote:
    Inside the Tiny Tasks Matrix channel наб asked:
    "isn't mbuffer the same as buffer but better?"

    Ah right, I stumbled across this a long time ago and forgot about it again
    :-(

    According to your insight into buffer would you consider this some
    sensible equivalent? If so I'd volunteer to file some RoQA bug to ask ftpmaster for removal of buffer.

    I've not actually tested it yet, but according to its description, it should
    be a suitable replacement and it actually shuold be vastly superior:

    DESCRIPTION:
    mbuffer is a replacement for buffer with additional functionality:
    [...]

    So I'm all for simply dropping buffer and recommending mbuffer instead (is
    that important enough for the "Noteworthy obsolete packages" section in the release notes?).

    Thanks,
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?B?0L3QsNCx?=@21:1/5 to Martin Buck on Fri Mar 7 16:30:02 2025
    On Fri, Mar 07, 2025 at 02:34:32PM +0100, Martin Buck wrote:
    On Wed, Mar 05, 2025 at 10:44:45AM +0100, Andreas Tille wrote:
    Inside the Tiny Tasks Matrix channel наб asked:
    "isn't mbuffer the same as buffer but better?"

    So I'm all for simply dropping buffer and recommending mbuffer instead (is that important enough for the "Noteworthy obsolete packages" section in the release notes?).
    Ideally we could provide buffer with mbuffer, but this may require a wrapper; just glancing at the manuals I see a different default size and no -S;
    this could just be as simple as a getopt(1) loop however.

    ...actually mbuffer's default seems to be -S $blocksize
    (with a different output format, which is very busy);
    there's -q to disable it, but no option to change the logged increments.

    And there's no way AFAICT to disable config file loading.

    So no dice without significant mbuffer patching.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEfWlHToQCjFzAxEFjvP0LAY0mWPEFAmfLDgQACgkQvP0LAY0m WPE28g/+O+D+8QFzPK5Klho64rJ82KOWViSm23/K3Fxx74Wa+DDx8+6gQxaicO+V Lv/vWFPbSS0wrVINdBJetKxZ5JEqWQf3yrTNsV6GtTxl9WCTKVJ6RxKXmgeTQMDY 1vOqfwxJkNdr1zdWGMX6eKXsPcUAKt7oQrZPa2ELmLYFok9+qTQ3W55jbUQvYw4f IdgjOXlH26od6D6/EzJultMD5bjGsZFMSOIkQljWIBIyLtqMlDUJSWcMinIvXT6v 2mRNsBR7JKK12t5a62ojBmQl8yW3qET64hJltP+JYDFhkKy4cel2GHGjoDfIqYvy P5YEVes9ga5smqFddh8KdfGvLeIy4mbLbxIr4SHwrZLSuPetOABqOhAicKuX9Suh GT8jyEzRk+isq2iVnI2AYV9CpZ1JfR2pIRm7csxI0YGLBpJxee94YYzpG8Qcanyd aNE00D0vPnMZ1NBVMKSg+rdMwihAmWzrOytBCswX4BtodFi+suVocoIF+9nTrCEQ /EkUHFat/ZrDcWTeDTzmh8UP40wmD2FRd5YDGd13FHdPblUPt7RFylMleNYD5uxj e8/0Z3moQsUCvG1VyhbDCpbtpX2DXhcndAdAvkwNaWMsZfoVXfXcjikAPKJA49xC BpQ1YFjeE9nc9++VlmxPyygSPev5dzPvSrJk8R2hJ8aK4huBUow=
    =9Dzk
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andreas Tille@21:1/5 to All on Sat Mar 8 07:20:01 2025
    Hi наб,

    Am Fri, Mar 07, 2025 at 04:17:26PM +0100 schrieb наб:
    Ideally we could provide buffer with mbuffer, but this may require a wrapper; just glancing at the manuals I see a different default size and no -S;
    this could just be as simple as a getopt(1) loop however.

    This would be in an ideal world where skilled free software developers
    have an infinite amount of spare time. ;-)

    ...actually mbuffer's default seems to be -S $blocksize
    (with a different output format, which is very busy);
    there's -q to disable it, but no option to change the logged increments.

    And there's no way AFAICT to disable config file loading.

    So no dice without significant mbuffer patching.

    What about: Just doing an NMU for buffer in Debian/ team and adding
    to NEWS.Debian:

    This package will be removed after Trixi release.
    Please switch to mbuffer.

    Kind regards
    Andreas.

    --
    https://fam-tille.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)