Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1235037

Bug#1095305: modernize-sources should not discard comments

From Julian Andres Klode <jak@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1095305: modernize-sources should not discard comments
Date 2025-02-25 21:50 +0100
Message-ID <Kka2m-1Xm3-13@gated-at.bofh.it> (permalink)
References <Kdgmd-eVbw-5@gated-at.bofh.it> <Kdgmd-eVbw-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Control: severity -1 wishlist

On Thu, Feb 06, 2025 at 02:58:15PM -0500, Dan Ritter wrote:
> 
> Package: apt
> Version: 2.9.26
> Severity: normal
> 
> apt modernize-sources apparently discards comments found in apt source
> list files, which may be notes for humans or temporarily unused
> data sources.
> 
> They should be retained as comments.
> 

We are aware, we do not have access to the sources.list parser state,
only very processed objects further down the stack.

But even with access, comments are complicated, because you now
need to associate the comments with entries.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1095305: modernize-sources should not discard comments Dan Ritter <dsr@randomstring.org> - 2025-02-06 21:10 +0100
  Bug#1095305: modernize-sources should not discard comments Julian Andres Klode <jak@debian.org> - 2025-02-25 21:50 +0100

csiph-web