Package: lintian-brush
Version: 0.162+fix
Severity: normal
Tags: patch

Hello,

The changelog entries produced by lintian-brush are missing the heading
star:

   [ Debian Janitor ]
   * Bump debhelper from old 12 to 13.

+  [ Samuel Thibault ]
+  Update standards version to 4.6.2, no changes needed.
+
  -- Samuel Thibault <[email protected]>  Sun, 06 Feb 2022 01:10:27 +0100


while it should be:

   [ Debian Janitor ]
   * Bump debhelper from old 12 to 13.

+  [ Samuel Thibault ]
+  * Update standards version to 4.6.2, no changes needed.
+
  -- Samuel Thibault <[email protected]>  Sun, 06 Feb 2022 01:10:27 +0100


The attached patch achieves this.

Samuel

-- System Information:
Debian Release: 13.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.15.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian-brush depends on:
ii  devscripts                   2.25.15
ii  libc6                        2.41-10
ii  libgcc-s1                    15.1.0-10
ii  liblzma5                     5.8.1-1
ii  libpython3.13                3.13.5-2
ii  libssl3t64                   3.5.1-1
ii  python3                      3.13.5-1
ii  python3-breezy               3.3.11-1
ii  python3-debian               1.0.1
ii  python3-debmutate            0.73
ii  python3-distro-info          1.13
ii  python3-dulwich              0.22.7-1
ii  python3-iniparse             0.5.1-1
ii  python3-iso8601              2.1.0-2
ii  python3-pkg-resources        78.1.1-0.1
ii  python3-psycopg2             2.9.10-1+b1
ii  python3-ruamel.yaml          0.18.10+ds-1
ii  python3-semver               3.0.2-1
ii  python3-tomlkit              0.13.2-1
ii  python3-upstream-ontologist  0.2.4-1

Versions of packages lintian-brush recommends:
ii  debhelper            13.24.2
ii  decopy               0.2.4.9-0.1
ii  dos2unix             7.5.2-1
ii  gpg                  2.4.7-21+b2
ii  lintian              2.122.0
ii  python3-bs4          4.13.4-2
ii  python3-levenshtein  0.27.1-2

Versions of packages lintian-brush suggests:
ii  brz-debian         2.8.80
ii  git-buildpackage   0.9.38
ii  gnome-pkg-tools    0.22.10
ii  po-debconf         1.0.21+nmu1
pn  postgresql-common  <none>

-- no debconf information

-- 
Samuel
> [Linux] c'est une philosophie un art de vivre, un état intérieur,
> une sorte de fluide qui nous entoure et nous pénètre.
Fais tourner stp !
-+- Guillaume in Guide du linuxien pervers - "Tous drogués j'vous dis !"
diff -Nru lintian-brush-0.162/lintian-brush/src/lib.rs 
lintian-brush-0.162+fix/lintian-brush/src/lib.rs
--- lintian-brush-0.162/lintian-brush/src/lib.rs        2025-04-23 
12:18:21.000000000 +0200
+++ lintian-brush-0.162+fix/lintian-brush/src/lib.rs    2025-04-23 
12:18:21.000000000 +0200
@@ -1528,6 +1528,8 @@
         summary = format!("Add patch {}: {}", patch_name, summary);
     }
 
+    summary = format!("* {}", summary);
+
     let update_changelog = if 
debian_analyzer::changelog::only_changes_last_changelog_block(
         local_tree,
         basis_tree,
@@ -2328,7 +2330,7 @@
                         }],
                         None,
                     ),
-                    "Fixed some tag.".to_string()
+                    "* Fixed some tag.".to_string()
                 )],
                 result.success,
             );
@@ -2494,7 +2496,7 @@
             )
             .unwrap();
 
-            assert_eq!("Renamed a file.", summary);
+            assert_eq!("* Renamed a file.", summary);
 
             assert_eq!(2, tree.branch().revno());
 
@@ -2576,7 +2578,7 @@
             )
             .unwrap();
 
-            assert_eq!("Created new file.", summary);
+            assert_eq!("* Created new file.", summary);
             assert_eq!(result.certainty, None);
             assert_eq!(result.fixed_lintian_tags(), &["some-tag"]);
             let rev = tree
@@ -2674,7 +2676,7 @@
                 None,
             )
             .unwrap();
-            assert_eq!("Renamed a file.", summary);
+            assert_eq!("* Renamed a file.", summary);
             assert_eq!(result.certainty, None);
             assert_eq!(2, tree.branch().revno());
             let basis_tree = tree.branch().basis_tree().unwrap();
@@ -2849,7 +2851,7 @@
             .unwrap();
             assert_eq!(
                 summary,
-                "Add patch add-config.patch: Created new configure.ac."
+                "* Add patch add-config.patch: Created new configure.ac."
             );
             assert_eq!(result.certainty, None);
             let rev = tree
@@ -3054,7 +3056,7 @@
                 None,
             )
             .unwrap();
-            assert_eq!(summary, "Fixed some tag.");
+            assert_eq!(summary, "* Fixed some tag.");
             assert_eq!(vec!["some-tag"], result.fixed_lintian_tags());
             assert_eq!(Some(Certainty::Certain), result.certainty);
             assert_eq!(2, tree.branch().revno());

Reply via email to