Releases: Labaman/refract
Releases · Labaman/refract
v1.4.1
Fixed
- Mirror results in distro ranking display in real time again
- Encoding parameters corrected for subprocess calls; temp files cleaned up reliably
- Unused parameters removed from
_on_ranking_done
Changed
collections.abcimports modernized;urllib.parse.unquoteapplied where appropriate- Code formatted with ruff
v1.4.0
v1.3.0
Fixed
- Worldwide selection now correctly means "no country filter" — previously
greyed-out but still-checked countries were silently passed to reflector - Worldwide persisted in
settings.confand restored on next launch - Country grid filled column-by-column so each column reads alphabetically
top-to-bottom - Country names with accented characters sort correctly
(RéunionbeforeRomania/Russia,Türkiyein correct T-position) - Distro mirror speed measurement now starts after the first response chunk,
excluding DNS, TLS handshake, and TTFB — measures pure download throughput - X-button unblocked after reflector exits with an error
- Removed debug log output left in production code
assert process.stderr is not Nonereplaced withRuntimeError
(assertions are disabled bypython -O)- Double-slash in speed-test URLs for empty
test_repo(RebornOS, Arch4edu)
Optimised
- Test download size 200 KB → 500 KB; chunk size 8 KB → 64 KB for more
stable throughput readings on fast mirrors - Removed dead code:
excluded_countries,_diff_text,CountryDetectionResult.name - Commented-server and ISO-2 code regex patterns compiled once at module level
- Paths in pkexec bash scripts quoted with
shlex.quote future.result()in ranker wrapped intry/exceptrefract-rank: mirror testing now concurrent (ThreadPoolExecutor)
v1.1.1
Added
- Settings persistence — options are saved to
~/.config/refract/settings.conf
on every OK click and restored on next launch - Sync recency control in Arch mirrors options: Max age (h) (
--age N)
or Latest synced (--latest N), mutually exclusive; defaults to Max age 24 h - Global config
/etc/refract.conf— admins can set system-wide defaults via
the new Save as global default button (requires root via pkexec)
Fixed
- Countries are now displayed in alphabetical order
- Multi-country ranking: default mode uses
--age N+--number Nso mirrors
from all selected countries are considered (previously--latest Ncould
exclude entire countries by filling the pool from the most active ones) - Selecting Worldwide now unchecks all individual countries and vice versa
Changed
- First-launch bootstrap reads the first available config in order:
/etc/refract.conf→/etc/reflector-simple.conf→
/etc/xdg/reflector/reflector.conf→ built-in defaults;
result is written to~/.config/refract/settings.confimmediately so
external configs are never read again
v0.8.3
- GUI tool for ranking pacman mirrors on Arch Linux and Arch-based distributions
- Built-in speed-testing engine for distro-specific mirrors: CachyOS
(x86_64 / v3 / v4), EndeavourOS, Artix, BlackArch, RebornOS, ArcoLinux - Third-party repo mirror support: Chaotic-AUR, Arch Linux CN, Arch4edu
- Live progress with per-mirror speed display
- Country filter for both Arch and distro mirrors
- Auto-detection of the current distro for checkbox pre-selection
- Preview + unified diff before saving
- Single
pkexeccall for all mirrorlist files