Skip to content

GUI: modernise#776

Draft
vassilit wants to merge 9 commits into
devfrom
gui
Draft

GUI: modernise#776
vassilit wants to merge 9 commits into
devfrom
gui

Conversation

@vassilit

Copy link
Copy Markdown
Collaborator

No description provided.

vassilit added 6 commits June 1, 2026 09:04
using develop's new features and architecture while keeping master's
fixes and user-facing behaviour.

- `--is-reflink` exit code 5 means MAYBE_REFLINK in master, and
  INLINE_EXTENTS in develop. MAYBE_REFLINK stays 5 and INLINE_EXTENTS
  become 12. In the man page, take develop's phrasing for exit code 6
  as we got it wrong in 01f5aad (#636). Sorry.
  Also, exit code 1 is RM_LINK_ERROR in develop but RM_LINK_NONE
  in master and vice versa. I kept master's to avoid breaking user
  scripts. Note that master returns EXIT_FAILURE(1) in some cases.

- kept `--write-unfinished` (as people using the master branch seem
  to like its speed), but as it can produce surprising results,
  its short option `-U` is changed to the the quasi-alternative
  `--hash-unmatched`. Updated tests to cover both. Added a note in man.

- kept `--without-compile-glib-schemas` over `--without-schemas-compile`.

- adapted several fixes from master to the new develop codebase

- updated gettext strings and po files
…pes formatter

- fdupes now ignore RM_LINT_TYPE_DUPE_DIR_CANDIDATE as other formatters do
- don't count them as suspicious items
- use an explictly named alias to use as a boundary marker
- add a test
It may returns an empty (non-None) list.
pygobject 3.56 removed the GLib.option module, which was
a wrapper for Python optparse.Their MR #273 suggests to
use OptionContext, but they removed it also (MR #499)!

- migrated to Python's standard library's argparse.
- unknown options now print usage and exit 2 instead of logging and
  exiting 0.
- fixed -V --less-verbose (used to do the opposite)
- warn about ignored positional arguments
  (was always permitted and ignored)
@vassilit vassilit linked an issue Jul 21, 2026 that may be closed by this pull request
vassilit added 3 commits July 21, 2026 12:46
The library formats JSONline a bit differently that our former
in-app serialiser. Opening and closing brackets are no longer on
their own line. The Python JSON parser chocked on those unclosed
brackets.
Also, remove deprecated and «pointless» (by GTK docs) set_wmclass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shredder GUI crashes on startup: GLib has no attribute 'option'

1 participant