aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* atom_explode: get version letters comparing properly againFabian Groffen2018-04-051-16/+19
|
* tests/atom_compare/Makefile: fail when there are differencesFabian Groffen2018-04-051-1/+2
| | | | | | The static tests fell off the radar because actual differences did not result in failure (e.g. Travis being green and all), also the sed magic was too loose, causing a wrong input file to be computed
* atom_explode: properly set fields for no-version caseFabian Groffen2018-04-051-0/+2
| | | | | atom_explode/basic test wasn't run due to no dependencies in Makefile, hence I didn't see this before
* tests: silence unused function warningsFabian Groffen2018-04-052-2/+12
| | | | | as side-effect of just including everything (non-library style) the compiler complains when static functions aren't used, tell it not to
* tests/copy_file/test.c: fix compilation warningFabian Groffen2018-04-051-1/+3
|
* atom_explode: fix parsing of some valid corner casesFabian Groffen2018-04-052-38/+53
| | | | | | | | Extract the version part of the atom, such that we can more reliably parse the version components without worrying about accidentially taking parts of the package name. Bug: https://bugs.gentoo.org/526596
* show_merge_times: start counting parallel merges from start of the fileFabian Groffen2018-04-041-4/+26
| | | | | | | | If we start counting parallel merges only once we found something interesting, we might not be aware of other emerges at that time, drawing wrong conclusions when seeing a termination message. Bug: https://bugs.gentoo.org/603024
* qfile_main: use q_vdb_foreach_pkg_sorted, bug #607498Fabian Groffen2018-04-031-1/+1
| | | | | | | | For consistency with almost all other output, use sorted output variant for qfile as well. The little sorting/memory overhead due to this is probably ok, given how much it is used already. Bug: https://bugs.gentoo.org/607498
* man: regen remaining manpagesFabian Groffen2018-04-034-44/+50
|
* scandirat: deal properly with flexible struct memberFabian Groffen2018-04-031-12/+19
|
* qxpak: improve documentationFabian Groffen2018-04-032-14/+17
| | | | Bug: https://bugs.gentoo.org/645554
* quse: improve documentationFabian Groffen2018-04-034-18/+39
| | | | Bug: https://bugs.gentoo.org/645554
* qtbz2: improve documentationFabian Groffen2018-04-035-15/+30
| | | | Bug: https://bugs.gentoo.org/645554
* qsize: improve documentationFabian Groffen2018-04-033-20/+25
| | | | Bug: https://bugs.gentoo.org/645554
* qsize: use make_human_readable_str to format sizes by defaultFabian Groffen2018-04-031-19/+8
| | | | | | | This way, sizes are by default converted to the unit that matches the quantity of the value. This behaviour can be overridden by the -b, -k and -m options for constant values. Simplifies code, and makes it easier to grasp for humans.
* qsearch: improve documentationFabian Groffen2018-04-034-19/+28
| | | | Bug: https://bugs.gentoo.org/645554
* qpkg: improve documentationFabian Groffen2018-04-033-13/+24
| | | | Bug: https://bugs.gentoo.org/645554
* qmerge: improve documentationFabian Groffen2018-04-032-18/+31
| | | | Bug: https://bugs.gentoo.org/645554
* qlist: improve documentationFabian Groffen2018-04-034-21/+67
| | | | Bug: https://bugs.gentoo.org/645554
* qgrep: improve documentationFabian Groffen2018-04-023-24/+38
| | | | Bug: https://bugs.gentoo.org/645554
* qfile: update manpageFabian Groffen2018-04-023-16/+35
| | | | Bug: https://bugs.gentoo.org/645554
* typoFabian Groffen2018-04-021-1/+1
|
* qatom: improve manpageFabian Groffen2018-04-023-10/+122
| | | | Bug: https://bugs.gentoo.org/645554
* qatom_printf: support REPO expansionFabian Groffen2018-04-021-0/+3
|
* qatom: print unset members as <unset> instead of relying on libcFabian Groffen2018-04-022-11/+15
| | | | | | | | | Some libcs do NOT do the favour of turning a NULL-pointer into the string "(null)", but segfault instead. This is just a friendly guesture of libcs which do, but it is nowhere standard or that this should result in "(null)". While "(null)" is actually a developer concept, and possibly out of context for users, check for printing NULL-pointers and replace them with "<unset>" instead.
* man/qdepends: improve manpageFabian Groffen2018-04-014-22/+111
| | | | Bug https://bugs.gentoo.org/645554
* man/qlop: regen manpageFabian Groffen2018-04-013-11/+34
| | | | | | commit fe42f2a99297fed36720e71ba2ed77cf7a9da804 changed the generated file, this commit ensures that future regenerate operations don't lose the changes
* man/mkman: add header, allow argument description overrideFabian Groffen2018-04-011-5/+24
|
* read_repos_conf: exclude empty strings as file tooFabian Groffen2018-04-011-2/+2
|
* read_portage_env_file: properly ignore backup filesFabian Groffen2018-04-011-1/+2
| | | | backup files are suffixed by '~', not prefixed
* man/qlop: add some more/better documentationFabian Groffen2018-03-311-17/+23
| | | | | Bug: https://bugs.gentoo.org/335453 Bug: https://bugs.gentoo.org/367199
* qlop: fix false detection of end for aborted merge, bug #470168Fabian Groffen2018-03-312-0/+4
| | | | | | | When a merge gets aborted, ensure we forget about it if we find about that same package later in another merge run. Bug: https://bugs.gentoo.org/470168
* qlop: document and format to fit on 80 chars, some styleFabian Groffen2018-03-313-37/+136
|
* read_portage_env_file: support reading directories, bug #558306Fabian Groffen2018-03-311-1/+21
| | | | | | | In particular /etc/portage/make.conf can be a directory. If it is, process it recursively in sorted order. Bug: https://bugs.gentoo.org/558306
* initialize_portage_env: move debug var printing after repos.confFabian Groffen2018-03-301-12/+12
| | | | | in particular PORTDIR may get set, so ensure we print the value that's going to be used
* read_portage_env_file: make debug print the real locationFabian Groffen2018-03-301-1/+1
|
* initialize_portage_env: avoid double prefix for repos.conf locationFabian Groffen2018-03-301-1/+1
|
* tests/atom_explode: deal with Manifest.gz files, bug #638970Fabian Groffen2018-03-302-1/+4
| | | | | | | | | | | There is two parts in here: a) atom-explode.py: don't crash when Portage couldn't map an atom, just print a descriptive message instead b) dotest: filter out Manifest.* files to not feed in non-atoms thanks tka for testing Bug: https://bugs.gentoo.org/638970
* tests/qlop: adapt date parsing test to adhere to SUSv3Fabian Groffen2018-03-301-2/+3
| | | | | | | The strptime function is documented to require whitespace between any two conversion specifications, so test like that. Bug: https://bugs.gentoo.org/638032
* travis: disable LSan run, it requires sudoFabian Groffen2018-03-301-4/+3
|
* travis: 2nd try to get more verbosityFabian Groffen2018-03-301-1/+3
|
* travis: try to get some hints from sanitisersFabian Groffen2018-03-301-1/+1
|
* fix compile on hurdMatija Skala2018-03-291-0/+2
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qlop: break some long lines, no code changesFabian Groffen2018-03-291-2/+6
|
* qlist_cb: exclude /usr/src/debug by default tooFabian Groffen2018-03-261-2/+3
| | | | | | | | | | This is an somewhat alternative take to the patch by Niklas Haas <bgo@nand.wakku.to>. Also exclude /usr/src/debug by default, because it contains a lot of clutter. Bug: https://bugs.gentoo.org/646310
* colors: add support for color=color mappingsFabian Groffen2018-03-261-21/+44
| | | | | | | | | This patch is based on the work by Pavel Balaev <pascal@unixdev.ru>. Add support for color=color mappings. While at it, make color remapping independent of the order in which they are defined in color.map. Bug: https://bugs.gentoo.org/651546
* atom_explode: fix inversion of < and <=Fabian Groffen2018-03-251-2/+2
|
* qdepends_vdb_deep_cb: use atom matching when possible, bug #608960Fabian Groffen2018-03-251-23/+95
| | | | | | | When the argument is an atom-parsable thing, match whatever we find in the vdb as atom, such that version and range can be taken into account. Bug: https://bugs.gentoo.org/608960
* atom_explode: support inversed ranges, e.g. !>P-x.yFabian Groffen2018-03-251-2/+22
| | | | | | For bug #608960 we need to be able to handle odd atoms like !<logrotate-2.3.0 (as used by sys-apps/portage). This adds support for this construct.
* getopt: add workaround for Solaris to silence compilerFabian Groffen2018-03-231-1/+18
|