aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* fix some more signedness problemsFabian Groffen2018-03-235-9/+10
|
* qcheck: don't require ownership to be preserved by cpFabian Groffen2018-03-231-1/+1
| | | | ownership isn't really an issue here, so don't fail on it
* hash_fd: induce byteorder on Solaris tooFabian Groffen2018-03-231-1/+11
|
* version_barf: show EPREFIX configured with, if presentFabian Groffen2018-03-231-1/+7
|
* qdepends_vdb_deep_cb: show atom that matchedFabian Groffen2018-03-231-3/+21
| | | | This extracts the atom that matched the regular expression.
* fix signedness warningsFabian Groffen2018-03-238-15/+21
|
* getline: fix comparison of integers of different signsFabian Groffen2018-03-236-38/+55
| | | | | Just use an int to store getline return, then ensure it is positive, such that a cast to size_t is guaranteed to result in the same value.
* is_prelink_elf: squash unused variable warningFabian Groffen2018-03-231-0/+3
|
* color_remap: fix comparison of integers of different signsFabian Groffen2018-03-231-3/+4
| | | | | Just use an int to store getline return, then ensure it is positive, such that a cast to size_t is guaranteed to result in the same value.
* qmerge: Choose SLOTed packages correctlyJoakim Tjernlund2018-03-231-8/+14
| | | | | | | | Ex. packages are readeline, ncurses which can be installed in several SLOTs Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmerge: Only fetch Packages if -f/-F is specifiedJoakim Tjernlund2018-03-231-2/+2
| | | | | Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* ED/EROOT needs '/' appendedJoakim Tjernlund2018-03-231-2/+2
| | | | | | | Some pkgs does needs it, dev-lang/python-exec is one. Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* read_repos_conf: reject ~ postfixed files (aka backup files)Matthew White2018-01-081-0/+4
| | | | | | | | | | | | | | * main.c (read_repos_conf): Exclude backup files (aka files with ~ as postfix) from processing when reading the repos_conf directory. The old behaviour was to process any file found in repos_conf (i.e. /etc/portage/repos.conf/*), except those beginning with '.'. This meant that '.', '..', and '.file' are rejected, but 'file.conf~' is accepted. Since 'file.conf~' is a backup file, by default it should rather not be processed. Bug: https://bugs.gentoo.org/643820 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* README: mention the configure alternativeFabian Groffen2017-12-291-1/+2
|
* tests/qatom/dotest: fix bug referencev0.65Fabian Groffen2017-12-291-1/+1
| | | | I managed to mix up two bugs, the bug this is all about is #639978
* Makefile.am: update after autogen.sh runFabian Groffen2017-12-291-1/+5
|
* initialize_portage_env: fix PORTAGE_CONFIGROOT usageFabian Groffen2017-12-291-5/+5
| | | | | All things on top of PORTAGE_CONFIGROOT need to be relative, so don't add EPREFIX on top of it.
* q_main: implement executable path resolution for Darwin and SolarisFabian Groffen2017-12-291-0/+18
|
* hash_fd: ensure __BYTE_ORDER is setFabian Groffen2017-12-291-0/+13
| | | | | Fallback to using sys/param.h when __BYTE_ORDER isn't set (which it isn't on Darwin at least)
* atom_explode: be more careful with eating suffix lettersFabian Groffen2017-12-281-2/+5
| | | | | | | | Make sure we don't just eat a char at the end of the atom, because if that char appears after a -, it will be seen as version part. An example is xerces-c, where the parsed atom form would just be xerces. Bug: https://bugs.gentoo.org/638816