mirror of
https://github.com/endeavouros-team/PKGBUILDS.git
synced 2026-07-29 05:35:23 +00:00
[eos-apps-info] doc updates
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=eos-apps-info
|
||||
pkgdesc="Documentation about apps in the EndeavourOS repository."
|
||||
pkgver=26
|
||||
pkgver=26.6
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
@@ -33,12 +33,12 @@ source=(
|
||||
$_url/${pkgname}-pages.tar.gz
|
||||
)
|
||||
|
||||
sha512sums=('100c16c149246b2b9554437a5880b8bad1ec3f7e883e092a8759bdd0e294c075ba0f3a3c0986909e94da77eda54190a223f88828ad86c2f45aa065c99d126dcc'
|
||||
sha512sums=('3e47ce5bbef409051d7e6ae506939b9f23e66eeb8cf46a25f3feb4dcb6a6ba524e4acd57e477fd4111b889e6658d0c8af3145f0e66def768854b582aed6c22e2'
|
||||
'264b2ce9f3981728bb45e52ab9d2ec782a5e9a291ca2b9249a5558529f4717c868545524677185cb5cc2f370f373818dd2c690fa79f1a107c34c65b3d6ea53a0'
|
||||
'bd3bea6272a0c45b270a999acbc92fd6d268c771f8ab66334e55d0bfc1ce0192ca346932d6d927b4fd5adeb659e856b4d7282272a1187cc60125fbfacd247501'
|
||||
'8a0692ff5e714a0690c7a90d04a928b2edf2e01515f8707b345d0da36ee95cab7f4f9badf3dca6cbd280438a08519957c5852be92e7936da9f0affef3d895b17'
|
||||
'f715f79cebc043ce5b74ecd55c8787d406d27ed914110aeddc79fe742b4f31cd7e3fe1be8714d4c2cbca60c636ab58f56f96d223601890cac747616ed6827fe0'
|
||||
'3b2fa67d42d464113061ec21b43a1b3e5f0ce4d01cf200939de90a3e3ce28c564282d4ad85015edb167abef9c11b07ceadc9118585062dfb57dc14fd73fe5fb3')
|
||||
'675bb1650996394d11a632b3c736d64268f180a7bf42140762aed5029528fad9658e6b109d08fb3f7a3f0aaa2ec2612da9ff00b01d4eeb89ef58756627fa89a0')
|
||||
|
||||
package() {
|
||||
local xx
|
||||
|
||||
@@ -96,7 +96,8 @@ Main()
|
||||
# nvidia-inst
|
||||
# nvidia-driver-supported-branches
|
||||
paccache-service-manager
|
||||
pahis rami reflector-simple RunInTerminal show-location-info su-c_wrapper
|
||||
pahis #rami
|
||||
reflector-simple RunInTerminal show-location-info su-c_wrapper
|
||||
)
|
||||
local arg
|
||||
for arg in "$@" ; do
|
||||
@@ -123,7 +124,8 @@ Main()
|
||||
|
||||
local cmd=(
|
||||
eos_yad --form --title="EndeavourOS apps info" --text="$txt"
|
||||
--columns=4 --align-buttons --image=dialog-information --scroll --geometry=800x600
|
||||
--columns=3 #--columns=4
|
||||
--align-buttons --image=dialog-information --scroll --geometry=800x600
|
||||
--button="$update_label!!Updates package database and restarts this app":$exit_updatedb
|
||||
--buttons-layout=center
|
||||
)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 135 KiB |
@@ -6,10 +6,19 @@ However, it can be used for ranking Arch mirrors in online mode, and on an insta
|
||||
|
||||
Its prominent online feature is the pre-defined list of *recommended* mirror countries for each location.
|
||||
The pre-defined list is used for including more mirror sources in addition to the current location.
|
||||
|
||||
The list can be overridden or disabled by the user.
|
||||
|
||||
## Examples
|
||||
Another noteworthy feature is *parallel* mirror ranking which makes it pretty fast.
|
||||
|
||||
## Usage and parameters
|
||||
|
||||
Use command
|
||||
```
|
||||
create-ml --help
|
||||
```
|
||||
to see the explanation of supported parameters.
|
||||
|
||||
## Command examples
|
||||
|
||||
Command | Notes
|
||||
---- | ----
|
||||
@@ -18,49 +27,6 @@ Command | Notes
|
||||
`create-ml --prefs='fi.*niranjan umea' --save` | Specify some preferred mirrors (using regular expressions) that will be the first in the list.<br>Note the necessary *quotes* with option `--prefs`.
|
||||
`create-ml --timeout-mirror 2 --save` | Use a timeout for each mirror. Helps discarding unresponsive mirrors.
|
||||
|
||||
|
||||
## Usage and parameters
|
||||
|
||||
```
|
||||
Usage: create-ml [options]
|
||||
|
||||
Options: --help, -h This help.
|
||||
--nolocal Do not include mirrors from the current country.
|
||||
--offline Don't use internet even when a connection is available.
|
||||
--save Save mirrorlist to /etc/pacman.d/mirrorlist (see also option --savefile).
|
||||
--sequential Rank mirrors sequentially (slower) instead of in parallel (faster).
|
||||
--verbose, -v Show more ranking details.
|
||||
--http Include the http:// mirrors.
|
||||
--countries, -c Give a list of country codes that will be used as additional mirror countries.
|
||||
The list items can be separated by commas or spaces.
|
||||
Examples:
|
||||
-c ca,fr,tw
|
||||
-c 'ca fr tw' # note: quotes required here
|
||||
--user-countries Use file /home/edi/user-countries.txt to give country codes.
|
||||
It can contain a list of country codes separated by white spaces.
|
||||
--no-recommended-countries Don't use recommended countries.
|
||||
Instead you may give one or more country codes
|
||||
with option --countries or option --user-countries.
|
||||
--fake-country=* Set a fake current country code (advanced).
|
||||
--use-saved-cc The detected local country code is saved to a file /etc/create-ml-saved-cc.conf.
|
||||
This option allows using it when local country detection fails (advanced).
|
||||
--savefile=* File path to save the mirrorlist (advanced).
|
||||
--timeout-mirror='seconds' Max time to rank before timing out a mirror. Default: 10.
|
||||
--prefs='regexp-list' List of preferred mirrors as regexps for grep (advanced).
|
||||
Use single quotes around the list. Separate items by a space.
|
||||
|
||||
Notes: * Country codes are the two-letter codes as listed by command 'reflector --list-countries'.
|
||||
Note: a special code 'ww' can be used too. It is a compact list of 'Worldwide' mirrors.
|
||||
* By default only https:// mirrors are included.
|
||||
* Use option --save to change the existing /etc/pacman.d/mirrorlist.
|
||||
* Use option --no-recommended-countries to rank mirrors without adding recommended countries.
|
||||
* If internet connection is available and option --offline is not used, the connection is used for:
|
||||
1) Fetching a list of active mirrors from the Arch web site.
|
||||
2) Fetching country code and name mappings from the Arch web site.
|
||||
3) Ranking mirrors.
|
||||
Without a connection the ranking result can be suboptimal or even problematic.
|
||||
```
|
||||
|
||||
## Configure the countries for additional mirrors (*advanced*)
|
||||
|
||||
File `/etc/create-ml-recommended-cc.conf` can include a bash function `AddRecommendedCountries` that specifies which additional countries to include in ranking.<br>
|
||||
@@ -68,6 +34,8 @@ The default values (shown below) *should be* reasonable for most users, but ther
|
||||
|
||||
Note that the function below is directly copied from file `/bin/create-ml`. If user creates this file with the function, it overrides the function in `create-ml`.
|
||||
|
||||
All two letter items below are country codes (for example, `de` means Germany). A special code `ww` means Worldwide.
|
||||
|
||||
```
|
||||
AddRecommendedCountries() {
|
||||
# Adding recommended countries for ranking.
|
||||
@@ -75,7 +43,8 @@ AddRecommendedCountries() {
|
||||
# because the current country is unknown.
|
||||
|
||||
case "$country_code" in
|
||||
al|at|be|cz|dk|ee|es|fr|gb|gr|hr|it|nl|no|pl|pt|se) additional_mirror_countries+=(ww de fr) ;;
|
||||
al|at|be|cz|dk|ee|es|fr|gb|gr|hr|it|nl|pl|pt|se) additional_mirror_countries+=(ww de fr) ;;
|
||||
no) additional_mirror_countries+=(ww de se) ;;
|
||||
'fi') additional_mirror_countries+=(ww se) ;;
|
||||
de|us) ;;
|
||||
cn|ru) protocols+=(http) ;;
|
||||
@@ -97,8 +66,10 @@ Help appreciated: If you think some listed country or countries need adjusting a
|
||||
## See also
|
||||
|
||||
Some alternative apps for the same purpose:
|
||||
- `rami`
|
||||
- `rate-mirrors`
|
||||
- `reflector`
|
||||
- `reflector-simple`
|
||||
```
|
||||
rami # deprecated!
|
||||
rate-mirrors
|
||||
reflector
|
||||
reflector-simple
|
||||
```
|
||||
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
## `rami` - rank Arch mirrors
|
||||
|
||||
NOTE: `rami` is deprecated and will be removed at 2026-September-01.
|
||||
|
||||
Alternative apps for ranking Arch mirrors:
|
||||
|
||||
```
|
||||
create-ml # package: iso-create-ml
|
||||
rate-mirrors
|
||||
reflector
|
||||
reflector-simple
|
||||
```
|
||||
|
||||
`rami` is a command line program for ranking Arch mirrors.
|
||||
|
||||
This document describes mainly the options of `rami` considered most useful in normal usage.
|
||||
|
||||
Reference in New Issue
Block a user