Merge ~tchavadar/ubuntu/+source/software-properties:ubuntu/noble-devel into ubuntu/+source/software-properties:ubuntu/noble-devel

Proposed by Talha Can Havadar
Status: Needs review
Proposed branch: ~tchavadar/ubuntu/+source/software-properties:ubuntu/noble-devel
Merge into: ubuntu/+source/software-properties:ubuntu/noble-devel
Diff against target: 27 lines (+7/-1)
2 files modified
add-apt-repository (+1/-1)
debian/changelog (+6/-0)
Reviewer Review Type Date Requested Status
Ubuntu Sponsors Pending
git-ubuntu import Pending
Review via email: mp+497789@code.launchpad.net

Description of the change

    On noble version of add-apt-repository, -ss command should add missing
    deb-src for the sources but it was doing nothing, with addition of
    deb822=True in __init__ it is able to add deb-src properly.

To post a comment you must log in.
Revision history for this message
Talha Can Havadar (tchavadar) wrote :

Unmerged commits

72a3b59... by Talha Can Havadar

add-apt-repository: fix -ss failing to add deb-src on noble

On noble version of add-apt-repository, -ss command should add missing
deb-src for the sources but it was doing nothing, with addition of
deb822=True in __init__ it is able to add deb-src properly.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/add-apt-repository b/add-apt-repository
2index 8dc338f..ae6b6e2 100755
3--- a/add-apt-repository
4+++ b/add-apt-repository
5@@ -34,7 +34,7 @@ class AddAptRepository(object):
6 def __init__(self):
7 gettext.textdomain("software-properties")
8 self.distro = get_distro()
9- self.sourceslist = SourcesList()
10+ self.sourceslist = SourcesList(deb822=True)
11 self.distro.get_sources(self.sourceslist)
12
13 def parse_args(self, args):
14diff --git a/debian/changelog b/debian/changelog
15index 6cb9c10..0196b88 100644
16--- a/debian/changelog
17+++ b/debian/changelog
18@@ -1,3 +1,9 @@
19+software-properties (0.99.49.4) noble; urgency=medium
20+
21+ * add-apt-repository: fix -ss not working properly (LP: #2093420)
22+
23+ -- Talha Can Havadar <talha.can.havadar@canonical.com> Thu, 18 Dec 2025 18:50:56 +0100
24+
25 software-properties (0.99.49.3) noble; urgency=medium
26
27 * cloudarchive: Enable support for the Flamingo Ubuntu Cloud Archive

Subscribers

People subscribed via source and target branches