Parent Directory | Revision Log
|Links to HEAD:||(view) (download) (as text) (annotate)|
moved to http://git.overlays.gentoo.org/gitweb/?p=proj/portage-utils.git
qcache: mark everything static
qcache/qcheck: use O_CLOEXEC in more places
qcache: include errno when warning about cache read errors
qcache: fix crash with stats generation -- we allocate keywords once in this func, so freeing it in the middle is wrong #486488 by Markos Chandras
qcache: do not warn when we cannot open a source dir as people can create categories locally that no longer exist
qcache: suggest running egencache instead of emerge --metadata
qcache: fix by Gabriel Homeier for getline() crash due to buf not being set up yet #480230
kill off more spurious/useless parens
Fix compiler warnings for signedness.
convert many fgets() to getline(), clean up ARRAY_SIZE usage, and some other random fixes
constify more strings
- update headers
clean up handling of arch/keyword lists so we dont index invalid memory #232035 and waste time counting the same value over and over
check return value of read() to avoid gcc warnings
update qcache_vercmp prototype to match latest scandir prototype and avoid ugly warnings/casts in the process
On behalf of solar; add libq/compat.c with contains code for non-GNU platforms, based on my original Solaris patch + misc Solaris/Darwin compilation fixes
- update copyright headers
- revert some asprintf() that are a bit off
- use cleaner internal xasprintf() function
- use xasprintf vs asprintf so we inherit some error checking
more helpful warning about dir in cache but not in portdir
use warnp/errp funcs
continue gracefully if cache is out of sync with portdir
make sure qcache_read_cache_file() worked
- Bug #173527 - -Os compile time warnings
- ignore cpickle files and use asprintf here and there to make the code a bit more readable
Fix segfault in qcache caused by ebuilds with empty KEYWORDS. Example, media-sound/alsa-driver-9999.
use xcalloc(num,size) rather than malloc(num*size);memset()
dont cast xmalloc return
Re-add keyword distribution stats.
Re-wrote qcache to use /var/cache/edb/dep instead of PORTDIR/metadata/cache. Many parts of the code are cleaner. Example, the arch list is now read in from PORTDIR/profiles/arch.list instead of being hard coded. Some bugs were fixed. The number of arches wasn't correct for qcache -s and the previous version of qcache did not print package names properly which had a '-' followed by a number (example: font-adobe-utopia-100dpi). The output is identical to the old version of qcache except where bugs were fixed. The only thing that isn't as complete as the old version is -s/--stats. That will be worked on over the next week.
Added --not/-n option for qcache. Expand -* in KEYWORDS.
dont output unstable arches in quiet mode
Added uri protocol counts for SRC_URI and HOMEPAGE.
Fix array initializers in qcache_stats(). Delare current_package_keywords as static.
Add .texinfo/.html/.bin/.jar/.pdf/.tar/.txt/.wsz/.xpi/.7z to distfile filetypes.
Add .deb/.rpm/tgz to distfile types.
Added -s/--stats functionality to display statistics about /usr/portage.
Use snprintf instead of strcpy+strcat.
Speed up decode_arch() by starting searches of archlist at index 1; index 0 is 'unknown' and not a valid arch, so nothing would ever match it. Also changed -m,--match to -p,--matchpkg.
Simplify vercmp() by using atom_compare_str.
Simplify read_keywords() by using strktok and cache_read_file.
Added -c,--matchcat to qcache to restrict the results to packages in a specific category. Also fixed a memory leak when -m was enabled -- forgot to free(categories[i]).
Renamed --testing-only to --testing. Remove required options on non optional flags. Fixes the indentation thing so that the code is more readable. Patch from by solar.
Renamed --testing-only to --testing. Remove required options on non optional flags. Ffixes the indentation thing so that the code is more
Moved qimlate into qcache. Adds the -d/--dropped flag to list packages with dropped keywords. Adds the -t/--testing-only flag to list packages that are only in testing on an arch, but not stable. Adds the -a/--all flag to list all packages on an arch that are keyworded ~arch/arch. Removed the qimlate manpage, add the qcache manpage. argv processing still needs to be cleaned up.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.20|