censor/Censor
1
37
Fork
You've already forked Censor
3

chore(build): improve cleanup commands and more #104

Merged
mahlzahn merged 2 commits from mahlzahn/yakushabb_improve_cleanup into main 2026年03月01日 10:42:24 +01:00 AGit
  • Drop some cleanup commands that have no effect
  • Add mupdf-devel cleanup command
  • Compile pyc files to improve performance

Thanks, @yakushabb!

Note

The cleanup is omitted in the GNOME flatpak build, because of a bug in flatpak-builder, originally reported in 2017. But, it is cleaned up if running the full build without splitting build and finish steps.

Originally reported here: https://github.com/flathub/page.codeberg.censor.Censor/pull/4

- Drop some cleanup commands that have no effect - Add mupdf-devel cleanup command - Compile pyc files to improve performance Thanks, @yakushabb! > **Note** > The cleanup is omitted in the GNOME flatpak build, because of a bug in flatpak-builder, [originally reported in 2017](https://github.com/flatpak/flatpak-builder/issues/14). But, it is cleaned up if running the full build without splitting build and finish steps. Originally reported here: https://github.com/flathub/page.codeberg.censor.Censor/pull/4
- Drop some cleanup commands that have no effect.
- Add mupdf-devel cleanup command
- Compile pyc files to improve performance
chore: move compileall to its own module
All checks were successful
/ build-start (pull_request_target) Successful in 10s
/ checks (pull_request) Successful in 23s
/ merge-conditions (pull_request) Successful in 8s
0d377ca367
censor-bot approved these changes 2026年02月28日 19:04:55 +01:00
Dismissed

Note

The build job for 0d377ca367 finished with status success. Install and run the x86_64 test build with:

curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6220344/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak
flatpak install --user censor-dev.flatpak
flatpak run --user page.codeberg.censor.Censor.Devel
> **Note** > The [build job](https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6220344) for 0d377ca367b74ea77f841eaa9a8e999a7222eb11 finished with status **success**. Install and run the x86_64 test build with: > > curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6220344/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak > flatpak install --user censor-dev.flatpak > flatpak run --user page.codeberg.censor.Censor.Devel
mahlzahn added this to the v0.5.0 milestone 2026年02月28日 19:05:21 +01:00
@ -11,15 +11,7 @@
"--socket=wayland"
],
"cleanup": [
Author
Owner
Copy link

move cleanup rule to PyMuPDF module, see https://docs.flatpak.org/en/latest/manifests.html#cleanup

move cleanup rule to PyMuPDF module, see https://docs.flatpak.org/en/latest/manifests.html#cleanup
mahlzahn marked this conversation as resolved
mahlzahn dismissed censor-bot's review 2026年03月01日 10:01:54 +01:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

mahlzahn force-pushed mahlzahn/yakushabb_improve_cleanup from 0d377ca367
All checks were successful
/ build-start (pull_request_target) Successful in 10s
/ checks (pull_request) Successful in 23s
/ merge-conditions (pull_request) Successful in 8s
to 6e934423c9
All checks were successful
/ build-start (pull_request_target) Successful in 12s
/ checks (pull_request) Successful in 26s
/ release-prepare (pull_request_target) Has been skipped
/ merge-conditions (pull_request) Successful in 7s
2026年03月01日 10:01:57 +01:00
Compare
censor-bot approved these changes 2026年03月01日 10:03:11 +01:00
Dismissed

Note

The build job for 6e934423c93113c04e52d3193d187d9904308686 finished with status success. Install and run the x86_64 test build with:

curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222458/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak
flatpak install --user censor-dev.flatpak
flatpak run --user page.codeberg.censor.Censor.Devel
> **Note** > The [build job](https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222458) for 6e934423c93113c04e52d3193d187d9904308686 finished with status **success**. Install and run the x86_64 test build with: > > curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222458/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak > flatpak install --user censor-dev.flatpak > flatpak run --user page.codeberg.censor.Censor.Devel
mahlzahn force-pushed mahlzahn/yakushabb_improve_cleanup from 6e934423c9
All checks were successful
/ build-start (pull_request_target) Successful in 12s
/ checks (pull_request) Successful in 26s
/ release-prepare (pull_request_target) Has been skipped
/ merge-conditions (pull_request) Successful in 7s
to 8c5a2a4266
All checks were successful
/ build-start (pull_request_target) Successful in 12s
/ checks (pull_request) Successful in 23s
/ release-prepare (pull_request_target) Has been skipped
/ merge-conditions (pull_request) Successful in 7s
/ release-publish (pull_request_target) Has been skipped
2026年03月01日 10:39:13 +01:00
Compare

Note

The build job for 8c5a2a4266 finished with status success. Install and run the x86_64 test build with:

curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222550/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak
flatpak install --user censor-dev.flatpak
flatpak run --user page.codeberg.censor.Censor.Devel
> **Note** > The [build job](https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222550) for 8c5a2a4266830a554e0e91ebff957f354fb5202e finished with status **success**. Install and run the x86_64 test build with: > > curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222550/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak > flatpak install --user censor-dev.flatpak > flatpak run --user page.codeberg.censor.Censor.Devel
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
censor/Censor!104
Reference in a new issue
censor/Censor
No description provided.
Delete branch "mahlzahn/yakushabb_improve_cleanup"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?