All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ezgb: Drop shebang lines from library modules
@ 2026-08-14 12:31 Maxime Ripard
  2026-09-16  6:54 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Ripard @ 2026-08-14 12:31 UTC (permalink / raw)
  To: tools; +Cc: Konstantin Ryabitsev, Maxime Ripard

rpmlint reports non-executable-script errors on all ezgb Python
modules. These files are installed as regular library modules with
0644 permissions, so the shebang line is unnecessary and triggers the
diagnostic.

Remove the shebang from all five modules.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 src/ezgb/__init__.py | 1 -
 src/ezgb/_git.py     | 1 -
 src/ezgb/_models.py  | 1 -
 src/ezgb/_reader.py  | 1 -
 src/ezgb/_writer.py  | 1 -
 5 files changed, 5 deletions(-)

diff --git a/src/ezgb/__init__.py b/src/ezgb/__init__.py
index 31867fdbe39e..d78d18fb47b8 100644
--- a/src/ezgb/__init__.py
+++ b/src/ezgb/__init__.py
@@ -1,6 +1,5 @@
-#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (C) 2024 by the Linux Foundation
 """ezgb: a standalone Python library for git-bug repositories."""
 
diff --git a/src/ezgb/_git.py b/src/ezgb/_git.py
index c1c326bd6020..f91e517aa00d 100644
--- a/src/ezgb/_git.py
+++ b/src/ezgb/_git.py
@@ -1,6 +1,5 @@
-#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (C) 2024 by the Linux Foundation
 """Thin git subprocess helpers for ezgb."""
 
diff --git a/src/ezgb/_models.py b/src/ezgb/_models.py
index 72eb75959d77..d5d7976ac4d0 100644
--- a/src/ezgb/_models.py
+++ b/src/ezgb/_models.py
@@ -1,6 +1,5 @@
-#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (C) 2024 by the Linux Foundation
 """Data models, enums, exceptions, and constants for ezgb."""
 
diff --git a/src/ezgb/_reader.py b/src/ezgb/_reader.py
index cfd752816ac7..aa2a744bc174 100644
--- a/src/ezgb/_reader.py
+++ b/src/ezgb/_reader.py
@@ -1,6 +1,5 @@
-#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (C) 2024 by the Linux Foundation
 """Git object reading, operation pack replay, and caching for ezgb."""
 
diff --git a/src/ezgb/_writer.py b/src/ezgb/_writer.py
index adacfa153f32..7e75fe5e9a17 100644
--- a/src/ezgb/_writer.py
+++ b/src/ezgb/_writer.py
@@ -1,6 +1,5 @@
-#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # SPDX-License-Identifier: GPL-2.0-or-later
 # Copyright (C) 2024 by the Linux Foundation
 """CLI wrappers for git-bug write operations."""
 
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ezgb: Drop shebang lines from library modules
  2026-08-14 12:31 [PATCH] ezgb: Drop shebang lines from library modules Maxime Ripard
@ 2026-09-16  6:54 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2026-09-16  6:54 UTC (permalink / raw)
  To: tools; +Cc: Konstantin Ryabitsev

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

On Fri, Aug 14, 2026 at 02:31:04PM +0200, Maxime Ripard wrote:
> rpmlint reports non-executable-script errors on all ezgb Python
> modules. These files are installed as regular library modules with
> 0644 permissions, so the shebang line is unnecessary and triggers the
> diagnostic.
> 
> Remove the shebang from all five modules.
> 
> Signed-off-by: Maxime Ripard <mripard@kernel.org>

Ping?

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-16  6:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-14 12:31 [PATCH] ezgb: Drop shebang lines from library modules Maxime Ripard
2026-09-16  6:54 ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.