~bdrung/apport:unused-patches

Last commit made on 2023-01-13
Get this branch:
git clone -b unused-patches https://git.launchpad.net/~bdrung/apport
Only Benjamin Drung can upload to this branch. If you are Benjamin Drung please log in for upload directions.

Branch merges

Branch information

Name:
unused-patches
Repository:
lp:~bdrung/apport

Recent commits

7688073... by Benjamin Drung

test(unkillable_shutdown): Test omitting own process

Add an integration test for `unkillable_shutdown` to check that the own
process is omitted.

Signed-off-by: Benjamin Drung <email address hidden>

8b6201f... by Benjamin Drung

WIP: Change chunk size

Changing the chunk size does not speed it up:

* 16384: 156.331s (2m36,422s)
* 65536: 167.216s (2m47,309s)
* 1mb: 152.981s (2m33s)
* 2mb: 153,971s (2m34s)
* 100mb: 153.276s (2m33,366s)

Signed-off-by: Benjamin Drung <email address hidden>

3b730ba... by Benjamin Drung

Not needed: escape_cmd()

Signed-off-by: Benjamin Drung <email address hidden>

9434217... by Benjamin Drung

Refactor code to introduce TestCaseWithHelpers

Signed-off-by: Benjamin Drung <email address hidden>

bab8c9f... by Benjamin Drung

test: Add osname option to _setup_config

Signed-off-by: Benjamin Drung <email address hidden>

78c018a... by Benjamin Drung

test: Rename _setup_foonux_config to _setup_config

Signed-off-by: Benjamin Drung <email address hidden>

543cbdf... by Benjamin Drung

test: Use distro-info to derive version from release

To avoid having to maintain a mapping from distribution code names to
release version numbers, use distro-info.

Signed-off-by: Benjamin Drung <email address hidden>

fbd1eb4... by Benjamin Drung

Release apport 2.23.0

Signed-off-by: Benjamin Drung <email address hidden>

2ea3964... by Benjamin Drung

Introduce apport.fileutils.increment_crash_counter

Move crash counter increment code from `data/apport` into the separate
helper function `increment_crash_counter` and also use this helper in
`apport_python_hook.py`.

Signed-off-by: Benjamin Drung <email address hidden>

7ddd7f4... by Benjamin Drung

Introduce apport.fileutils.should_skip_crash

Move checks for flood protection from `data/apport` into the separate
helper function `should_skip_crash` and also use this helper in
`apport_python_hook.py`.

Signed-off-by: Benjamin Drung <email address hidden>