From 7dfce788e87960eaacb226418b48324f582f6a14 Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Thu, 29 Mar 2018 21:11:08 +0200 Subject: Add stuff TODO --- auria.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/auria.sh b/auria.sh index 30b3016..e232e14 100755 --- a/auria.sh +++ b/auria.sh @@ -36,36 +36,38 @@ # depends (or similar). # PROBLEM: The AUR RPC does not search for provides (e.g. dictd-foldoc). # PROBLEM/NOPROBLEM: Things may change while downloading things (e.g. deps). +# TODO/PROBLEM: makepkg -i does not work for split packages. # TODO: Fix update_all # `- Do not update if AUR version and local version match. # TODO: search: append (group) [installed{ :verstring}] if applicable # - group not easily available; # - installed is probably time consuming - alpm could be used. -# TODO: use guess_devel. -# TODO: differentiate errors and failures in return codes (mostly done). -# TODO: conflicts. -# TODO: find packages only providing a dep (e.g. commonist->java-environment) +# TODO: Use guess_devel. +# TODO: Differentiate errors and failures in return codes (mostly done). +# TODO: Conflicts. +# TODO: Find packages only providing a dep (e.g. commonist->java-environment) # `- apparently impossible via AUR RPC. # TODO: (print_localver) case pkg is only provided. # TODO: print_repover may print several results (e.g. parabola/linux-libre). # `- print_localver probably has the same issue. -# TODO: use inform/note/subinform properly. -# TODO: remove package from repo_deps, if it later gets added to the aur -# lists +# TODO: Use inform/note/subinform properly. +# TODO: Remove package from repo_deps, if it later gets added to the aur +# lists. # TODO: Be consistent in the usage of test / [.] / [[.]]. # TODO: (info) parse properly (parse.c) # TODO: Prevent asking for password in case of a --needed with effect. # `- --needed should no longer be necessary, once update_all is fixed. # TODO: Handle failures of single packages in update_all. # `- Alternatively, offer a variable skip_updates[] or so. +# CONSIDER: Use makepkg_options=(--cleanbuild --syncdeps) as default. # CONSIDER: (repo_deps) array vs. (newline separated string) # CONSIDER: (repo_deps) (space vs. newline) separated string # CONSIDER: (print_localver,print_repover) removal # CONSIDER: Use `local var=value' at beginning of functions. # CONSIDER: Remove repo_deps[]. -# CONSIDER: inform about what packages will be installed. +# CONSIDER: Inform about what packages will be installed. # CONSIDER: Newlines. -# CONSIDER: differentiate dep and build-dep. +# CONSIDER: Differentiate dep and build-dep. # `- Option to remove build-deps after installation. # CONSIDER: counter in install_list() # Q?: When to set retstr to ''. -- cgit v1.2.3