summaryrefslogtreecommitdiff
path: root/cmdline/apt-config.cc
AgeCommit message (Collapse)Author
2015-03-16stop displaying time of build in online helpJérémy Bobbio
As part of the “reproducible builds” effort [1], we have noticed that apt could not be built reproducibly. One issue is that it uses the __DATE__ and __TIME__ macros of the C preprocessor to display the time of build in the online help. We believe this information not to be really useful to users as they can always look at the package data and metadata to figure it out. The attached patch simply removes this information. All non-documentation packages can then be built reproducibly with our current experimental framework. [David: changed the string slightly to be untranslateable as well] Closes: 774342
2014-11-09streamline display of --help in all toolsDavid Kalnischkies
By convention, if I run a tool with --help or --version I expect it to exit successfully with the usage, while if I do call it wrong (like without any parameters) I expect the usage message shown with a non-zero exit.
2014-03-13cmdline parsing: apt-config is not apt-cdromDavid Kalnischkies
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies
Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
2014-03-13warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies
Reported-By: gcc -Wunused-parameter Git-Dch: Ignore
2014-03-13warning: no previous declaration for foobar() [-Wmissing-declarations]David Kalnischkies
Git-Dch: Ignore Reported-By: gcc -Wmissing-declarations
2014-03-13support DEB_BUILD_PROFILES and -P for build profilesDavid Kalnischkies
Inspired by the rest of the patch in 661537, but abstract the parsing of various ways of setting the build profiles more so it can potentially be reused and all apt parts have the same behaviour. Especially config options, cmdline options and environment will not be combined as proposed as this isn't APTs usual behaviour and dpkg doesn't do it either, so one overrides the other as it normally does.
2014-02-22Fix typos in documentation (codespell)Michael Vogt
2013-08-12squash merge of the feature/apt-binary branch without the changes from ↵Michael Vogt
experimental
2012-04-22* cmdline/apt-config.cc:David Kalnischkies
- make it possible to limit dump to a subtree - implement --empty and --format option for dump
2012-03-22the previously used VERSION didn't work everywhere so we are switchingDavid Kalnischkies
to the more standard PACKAGE_VERSION and make it work in every file
2011-12-10* cmdline/apt-config.cc:David Kalnischkies
- dump the APT::Compressor settings correctly and completely
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies
2011-05-28* cmdline/apt-config.cc:David Kalnischkies
- show Acquire::Languages and APT::Architectures settings in 'dump' (Closes: 626739)
2009-06-30add the various foldmarkers in apt-pkg & cmdline (no code change)David Kalnischkies
2007-08-01* Applied patch from Aurelien Jarno <aurel32@debian.org> to fix wrongOtavio Salvador
directory downloading on non-linux architectures (closes: #435597)
2005-01-20Correct typo in Usage message : s/arbitary/arbitrary. Unfuzzy translations. ↵Christian Perrier
Closes: #291172 * cmdline/*cc : s/arbitary/arbitrary * po/*po : unfuzzy translations * po/apt-all.pot : updated from source code
2004-09-20G++ 3.2 fixesArch Librarian
Author: jgg Date: 2003-01-11 07:18:44 GMT G++ 3.2 fixes
2004-09-20_config->Dump is now inlined, and calls Dump(clog). Du...Arch Librarian
Author: doogie Date: 2002-11-09 17:11:25 GMT _config->Dump is now inlined, and calls Dump(clog). Dump(ostream&) is now exported. Fixed apt-config dump sending to stderr.
2004-09-20Added locale.h for LC_ALLArch Librarian
Author: jgg Date: 2002-02-15 03:40:00 GMT Added locale.h for LC_ALL
2004-09-20setup textdomain/etc for i18n stuffArch Librarian
Author: jgg Date: 2002-01-09 04:59:44 GMT setup textdomain/etc for i18n stuff
2004-09-20Join with aliencodeArch Librarian
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode
2004-09-20Fixed list notation doc bug and 'b' vs 'B'Arch Librarian
Author: jgg Date: 1999-06-06 05:52:37 GMT Fixed list notation doc bug and 'b' vs 'B'
2004-09-20Fixed cd stuff and some minor bugsArch Librarian
Author: jgg Date: 1999-05-23 05:45:12 GMT Fixed cd stuff and some minor bugs
2004-09-20Changed ie to egArch Librarian
Author: jgg Date: 1999-03-29 19:28:52 GMT Changed ie to eg
2004-09-20Added --version and fixed clogging for -sArch Librarian
Author: jgg Date: 1999-01-30 02:12:53 GMT Added --version and fixed clogging for -s
2004-09-20apt-cdromArch Librarian
Author: jgg Date: 1998-11-27 01:52:53 GMT apt-cdrom
2004-09-20Dselect supportArch Librarian
Author: jgg Date: 1998-11-22 23:37:03 GMT Dselect support