summaryrefslogtreecommitdiff
path: root/apt-private/private-utils.h
Commit message (Collapse)AuthorAgeFilesLines
* report warnings&errors consistently in edit-sourcesDavid Kalnischkies2016-07-221-4/+2
| | | | | | | After editing the sources it is a good idea to (re)built the caches as they will be out-of-date and doing so helps in reporting higherlevel errors like duplicates sources.list entries, too, instead of just general parsing errors as before.
* don't call pager in non-terminals for changelogDavid Kalnischkies2014-09-091-2/+2
| | | | | | | | | | | | | | | Most pagers are nice and default to running non-interactively if they aren't connected to a terminal and we relied on that. On ci.debian.net the configured pager is printing a header out of nowhere though, so if we are printing to a non-terminal we call "cat" instead. In the rework we also "remove" the dependency on sensible-utils in sofar as we call some alternatives if calling the utils fail. This seems to be the last problem preventing a "PASS" status on ci.debian.net, so we close the associated bugreport. Closes: 755040
* enable fvisibility=hidden for our private libraryDavid Kalnischkies2014-03-211-3/+5
| | | | | | | | | | While it is a huge undertaking to enable it for our public libraries as basically everything we exported so far could be seen as public interface our private library is new and under our full control, so we can do whatever we like with it. The benefits are not that big in return of course, but it reduces the size a bit, so thats great nontheless. Git-Dch: ignore
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-2/+0
| | | | | | | | 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)
* add basic "edit-sources" commandMichael Vogt2013-11-251-0/+11