apt-fast:master

Last commit made on 2024-05-01
Get this branch:
git clone -b master https://git.launchpad.net/apt-fast
Members of apt-fast can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:apt-fast

Recent commits

ac2ccd0... by Dominique Lasserre

Update changelog, copyright years

2c1ec92... by Dominique Lasserre

Merge upstream

607f8ca... by Dominique Lasserre

Bump version to 1.11.0

c2cd0a0... by slycordinator <email address hidden>

update quick-install.sh

* Made compatible with any posix shell
* Moved command running into a run_cmd function
* run_cmd will check the userid and if it's not 0/root, then it will run the command with sudo
* This fixes the issue that the script previously would fail for a root user who doesn't have sudo installed and that it's simply unnecessary to run sudo for root user
* Moved all commands out of the apt_fast_installation funtion as the function isn't really necessary.

844c74c... by Dominique Lasserre

Make apt-cache parsing more robust

97b99d7... by Dominique Lasserre

DonĀ“t require root when displaying help Closes #236

dc4ef45... by Rongrong <email address hidden>

perf: speed up (>3x) get_uris, display_downloadfile with bash builtin (#239)

While downloading is relatively faster than the vanilla APT, the
overhead of parsing notably slows apt-fast down before it can start
downloading. This is because the massive usage of utilities causes bash
to spawn processes frequently, which is very expensive.

The performance hot spots of apt-fast are get_uris() and
display_downloadfile(). The patch replaces some utilities' usage in
these functions with bash builtins to eliminate the extra overhead. My
brief test (with default /etc/apt-fast.conf) shows the overall parsing
performance is >3x faster than before.

master:
 $ time (echo 'n' | sudo apt-fast dist-upgrade | wc -l)
 417

 real 0m7.785s
 user 0m0.007s
 sys 0m0.023s

patch applied:
 $ time (echo 'n' | sudo apt-fast dist-upgrade | wc -l)
 417

 real 0m2.002s
 user 0m0.014s
 sys 0m0.015s

Signed-off-by: Rongrong <email address hidden>

ac82051... by Robert Lipe <email address hidden>

Update README.md (#237)

Quote argument to curl as '&' means "background" in many shells.

ce53b3a... by Dominique Lasserre

Reset to debhelper 10

2498a4a... by Dominique Lasserre

Debhelper xenial