~fabrixxm

~fabrixxm/confy-dev

Last active 6 days ago

~fabrixxm/lesanaweb-dev

Last active 1 year, 8 months ago

~fabrixxm/public-inbox

Last active 1 year, 10 months ago
View more

Recent activity

Re: [PATCH] Created French translation 6 days ago

From Fabio to ~fabrixxm/confy-dev

Merged, thank you!

Confy 0.6.4 a month ago

From Fabio to ~fabrixxm/confy-dev

Confy 0.6.4 has been released

Thanks to all the contributors!

https://git.sr.ht/~fabrixxm/confy/refs/0.6.4

Hopefully, the flatpak will be released soon, too..

Re: [PATCH 2/2] Make GtkLabels selectable a month ago

From Fabio to ~fabrixxm/confy-dev

Applied, thank you!

[PATCH] Add Collection.count_search_results() 4 months ago

From fabrixxm to ~valhalla/lesana-devel

This patch adds `Collection.count_search_results()` method which
counts results from a search.

It's much faster than count `get_all_search_results()`, as we avoid
to create Entry instances for every results.

On a collection with 264 items, doing a search for '+', counting
all results with

    len(list(collection.get_all_search_results()))

takes ~930 ms on my system, while

    collection.count_search_results()
[message trimmed]

Exception searching with template 8 months ago

From Fabio to ~valhalla/lesana-devel

running

	lesana search -e <query>


(with `query` having or not any template var in it) results in:

Traceback (most recent call last):
  File "scripts/lesana", line 39, in <module>
    Lesana().main()
  File "lesana/command.py", line 55, in main
    self.args.func(self.args)
  File "/lesana/command.py", line 65, in _main
    self.main()

[PATCH] Please mypy 8 months ago

From fabrixxm to ~valhalla/lesana-devel

- ignore libraries without typing info
- add `py.typed` marker file
- update .gitignore
---
 .gitignore           | 5 +++++
 lesana/collection.py | 2 +-
 lesana/command.py    | 2 +-
 lesana/py.typed      | 0
 lesana/types.py      | 2 +-
 setup.py             | 2 +-
 6 files changed, 9 insertions(+), 4 deletions(-)
 create mode 100644 lesana/py.typed

diff --git a/.gitignore b/.gitignore

[PATCH] Add `post-checkout` to package_data 8 months ago

From fabrixxm to ~valhalla/lesana-devel

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index abda1b7..2545196 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ setup(
    packages=find_packages(),
    scripts=['scripts/lesana'],
    package_data={
        '': ['*.yaml']
        '': ['*.yaml', 'post-checkout']
[message trimmed]

Re: Release of version 0.9.0 8 months ago

From Fabio to ~valhalla/lesana-discuss

Package in AUR has been updated to 0.9.0

https://aur.archlinux.org/packages/lesana/

Confy 0.6.2 10 months ago

From Fabio to ~fabrixxm/confy-dev

Nothing really new, here.
It's all about visual changes to addres issues in
https://gitlab.gnome.org/Teams/Circle/-/issues/73

Updated in AUR, waiting for flathub to update.

[PATCH v2] Per-module logger, add cli switch to log debug 1 year, 1 month ago

From fabrixxm to ~valhalla/lesana-devel

when using lesana as a library, having a per-module logger is better
instead of logging everything in root.

When `lesana` cli command is used, logger is configured to print simple
logline and loglevel is set to INFO, unless user pass the option `-v` or
`--verbose` which sets the level to DEBUG
---
Set loglevel as a library makes no sense...

 lesana/collection.py | 34 ++++++++++++++++++----------------
 lesana/command.py    | 40 ++++++++++++++++++++++++----------------
 lesana/types.py      |  9 +++++----
 scripts/lesana       | 11 ++++++++++-
 4 files changed, 57 insertions(+), 37 deletions(-)
[message trimmed]