-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
57 lines (46 loc) · 1.99 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
TODO
* flatpak
https://docs.flatpak.org/en/latest/first-build.html
* Progress bar with escape sequences
"ansi escape sequences progress in c"
Escape Sequences - A Quick Guide
https://morningcoffee.io/escape-sequences-a-quick-guide.html
ANSI Escape Sequences
http://isthe.com/chongo/tech/comp/ansi_escapes.html
https://eskerda.com/minimal-bash-progress-bar-ansi-escape-sequences/
How to implement progress bars in C like apt-get?
https://stackoverflow.com/questions/73468165/how-to-implement-progress-bars-in-c-like-apt-get
Here’s How to Enable the Handy Apt Terminal Progress Bar in Ubuntu 14.04
https://www.omgubuntu.co.uk/2014/04/how-to-enable-apt-terminal-progress-bar
apt source code
https://salsa.debian.org/apt-team/apt
Others
https://www.geeksforgeeks.org/escape-sequence-in-c/
https://gist.github.com/ConnerWill/d4b6c776b509add763e17f9f113fd25b
https://unstop.com/blog/escape-sequence-in-c
Examples
pacman
apt
* Сalculate remaining download time
https://stackoverflow.com/questions/798800/whats-the-best-way-to-calculate-remaining-download-time
https://stackoverflow.com/questions/933242/smart-progress-bar-eta-computation
* Progress bar ncurses based
add building file list progress
* void sqlite3_interrupt(sqlite3*) and int sqlite3_is_interrupted(sqlite3*); for a long vacuuming command.
* SQLite performance tuning
https://phiresky.github.io/blog/2020/sqlite-performance-tuning/
* Shell completions
Great examples:
https://github.com/altdesktop/playerctl/blob/master/data/playerctl.bash
https://github.com/altdesktop/playerctl/blob/master/data/playerctl.zsh
* How to make installation package for many Linux distributions
"how to create a package for many distros"
https://unix.stackexchange.com/questions/136387/how-to-make-installation-package-for-many-linux-distributions
* Smoke tests
Run with --silent option and without it
Run under sanitizer
* Unit tests
CUnit
* Sqlite Compression?
https://github.com/techrah/sqlite3-compression-encryption-vfs
* ALL DONE!