summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-06-08 01:22:03 +0800
committerDaniel Hartwig <mandyke@gmail.com>2012-06-16 13:48:54 +0800
commitd082e98fcf8d2809fd89d3bc2c3002f5e2e1f5a3 (patch)
treee2f728603afb6bc787e31c92b68d4cd3c5b63cef /NEWS
parent6143ba98cf6c98a492e0fe9b247d42a2f95e4167 (diff)
downloadaptitude-d082e98fcf8d2809fd89d3bc2c3002f5e2e1f5a3.tar.gz
Use apt's CommandLine parser
Previously aptitude was using it's own command line parser implemented on top of getopt. Replacing this with the standard apt class means there are no longer subtle quirks with our parser (such as "-qq" not being valid, when it is fine for other apt programs). The parser is closely tied to the Configuration, and reads options directly in to the global apt config. Some options were tracked independently of the global config; this change is the first part rectifying that situation. The goal is to keep all program options, configuration state, etc. in the global config rather than passing state variables between functions. Many options which previously did not have an associated configuration item now do; some remain undocumented for now as they are transitional. * handle "-qq" like other apt-utils * properly process all -o command line options (Closes: #587671) * unknown command line options trigger an error (Closes: #434502) * --add-user-tag-to, --remove-user-tag-from are working; no bug reports suggests that noone has noticed they were broken New aliases for some command-line options: --yes, for --assume-yes (apt-get) --default-release, for --target-release (apt-utils) --install-on-startup, for -i --update-on-startup, for -u New configuration item: Aptitude::CmdLine::Sorting, equivalent to --sort Other new configuration items are for internal use only at this point. Closes: #587671 Closes: #434502
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS26
1 files changed, 26 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a6c48805..433d1784 100644
--- a/NEWS
+++ b/NEWS
@@ -11,11 +11,37 @@ Version 0.6.9 "All in a days work"
Previously this would result in a "no such package"
error.
+ * New aliases for some command-line options:
+ --yes, for --assume-yes (apt-get)
+ --default-release, for --target-release (apt-utils)
+ --install-on-startup, for -i
+ --update-on-startup, for -u
+
+ * New configuration item:
+ Aptitude::CmdLine::Sorting, equivalent to --sort
+
+- Minor bugs:
+
+ * handle "-qq" like other apt-utils
+ * properly process all -o command line options (Closes: #587671)
+ * unknown command line options trigger an error (Closes: #434502)
+ * --add-user-tag-to, --remove-user-tag-from are working;
+ no bug reports suggests that noone has noticed they
+ were broken, but they work now anyway
+
- Internal changes:
* Unified the way packages are selected from command line
arguments.
+ * Use apt's CommandLine parser
+
+ Previously aptitude was using it's own command line
+ parser implemented on top of getopt. Replacing this
+ with the standard apt class means there are no longer
+ subtle quirks with our parser (such as "-qq" not
+ being valid when it is fine for other apt programs).
+
- Cosmetic and UI bugs:
* [cmdline]: Use arch-qualified names for virtual packages in