void-linux / xmirror Goto Github PK
View Code? Open in Web Editor NEWInteractive script for changing XBPS mirrors
License: BSD 2-Clause "Simplified" License
Interactive script for changing XBPS mirrors
License: BSD 2-Clause "Simplified" License
XMIRROR(1) General Commands Manual XMIRROR(1) NAME xmirror โ Interactive script for changing XBPS mirrors SYNOPSIS xmirror [OPTIONS...] DESCRIPTION The xmirror utility sets and resets the mirror server that XBPS uses. It can be used both with and without the interactive TUI. xmirror requires root permissions to execute. OPTIONS Common -h, --help Show help and exit. -r, --rootdir rootdir Use an alternative rootdir. Acts similar to XBPS's -r flag. -v, --version Show the version and exit. Interactive These options only work when using the interactive TUI. -l, --mirror-list mirrorlist Use an alternative mirrorlist file. This should be in the format described in FILES. Default: /usr/share/xmirror/mirrors.lst -n, --no-fetch Don't attempt to update the mirror list. Non-Interactive Using these options skips the interactive TUI. -d, --default Reset the current mirror to the default and exit. -s, --set mirrorurl Set the current mirror to mirrorurl and exit. ENVIRONMENT xmirror respects all environment variables xbps-install(1) uses when synchronizing repository indexes after selecting or resetting mirrors. XBPS_ARCH is particularly useful if setting the mirror on a system of a different architecture. FILES /usr/share/xmirror/mirrors.lst is where the current mirror list is stored. It is a tab-separated value file, with the columns: region A continent abbreviation from https://planetarynames.wr.usgs.gov/Abbreviations, World, or another string describing the region of the mirror. url The base url of the mirror, for example: https://repo-default.voidlinux.org/ location A human-readable location for the mirror, like a country and/or city. tier An indicator of status. All lines beginning with # are ignored. SEE ALSO xbps-install(1), https://docs.voidlinux.org/xbps/repositories/mirrors/changing.html AUTHOR classabbyamp <[email protected]> BUGS Report bugs at https://github.com/void-linux/xmirror/issues Void Linux January 30, 2023 Void Linux
I only know and use zsh completions, so completions for other shells (bash/fish/etc) would need to be contributed if desired
It would be great if dialog
were optional and fzf
would be accepted as well.
should this rank mirrors and provide suggestions for optimal mirrors?
see arch's rankmirrors for inspiration
should xmirror be able to enable + sync subrepos? should the mirror be able to be changed for a subset of mirrors?
the file https://xmirror.voidlinux.org/raw/mirrors.lst is stored with line breaks in DOS/Windows format
Not sure where in the UI this would work best, so just throwing it out there as an idea for now
as title states
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.