/[gentoo-projects]/portage-utils/qcache.c
Gentoo

Log of /portage-utils/qcache.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 1.49
Sun Mar 9 14:30:59 2014 UTC (6 months, 1 week ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.48: +2 -2 lines
FILE REMOVED
moved to http://git.overlays.gentoo.org/gitweb/?p=proj/portage-utils.git


Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 18 07:30:30 2014 UTC (7 months ago) by vapier
Branch: MAIN
Changes since 1.47: +28 -27 lines
Diff to previous 1.47
qcache: mark everything static


Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 7 19:48:45 2014 UTC (8 months, 1 week ago) by vapier
Branch: MAIN
Changes since 1.46: +4 -4 lines
Diff to previous 1.46
qcache/qcheck: use O_CLOEXEC in more places


Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 29 18:40:22 2013 UTC (11 months, 2 weeks ago) by vapier
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45
qcache: include errno when warning about cache read errors


Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 29 18:36:11 2013 UTC (11 months, 2 weeks ago) by vapier
Branch: MAIN
Changes since 1.44: +0 -1 lines
Diff to previous 1.44
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


Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 29 18:33:22 2013 UTC (11 months, 2 weeks ago) by vapier
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43
qcache: do not warn when we cannot open a source dir as people can create categories locally that no longer exist


Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 29 18:32:44 2013 UTC (11 months, 2 weeks ago) by vapier
Branch: MAIN
Changes since 1.42: +4 -3 lines
Diff to previous 1.42
qcache: suggest running egencache instead of emerge --metadata


Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 29 05:03:31 2013 UTC (11 months, 2 weeks ago) by vapier
Branch: MAIN
Changes since 1.41: +3 -2 lines
Diff to previous 1.41
qcache: fix by Gabriel Homeier for getline() crash due to buf not being set up yet #480230


Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 28 04:16:19 2012 UTC (22 months, 3 weeks ago) by vapier
Branch: MAIN
Changes since 1.40: +15 -15 lines
Diff to previous 1.40
kill off more spurious/useless parens


Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 13 22:23:35 2012 UTC (2 years, 1 month ago) by robbat2
Branch: MAIN
Changes since 1.39: +17 -18 lines
Diff to previous 1.39
Fix compiler warnings for signedness.


Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 21 07:33:21 2011 UTC (3 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.38: +6 -5 lines
Diff to previous 1.38
convert many fgets() to getline(), clean up ARRAY_SIZE usage, and some other random fixes


Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 21 01:33:47 2011 UTC (3 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37
constify more strings


Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 7 05:58:16 2010 UTC (4 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36
- update headers


Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 25 04:22:49 2010 UTC (4 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.35: +76 -86 lines
Diff to previous 1.35
clean up handling of arch/keyword lists so we dont index invalid memory #232035 and waste time counting the same value over and over


Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 16 21:34:36 2010 UTC (4 years, 8 months ago) by vapier
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34
check return value of read() to avoid gcc warnings


Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 13 13:56:42 2010 UTC (4 years, 8 months ago) by vapier
Branch: MAIN
Changes since 1.33: +5 -5 lines
Diff to previous 1.33
update qcache_vercmp prototype to match latest scandir prototype and avoid ugly warnings/casts in the process


Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 15 16:28:06 2008 UTC (6 years, 6 months ago) by grobian
Branch: MAIN
Changes since 1.32: +4 -5 lines
Diff to previous 1.32
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


Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 24 14:47:18 2007 UTC (7 years, 3 months ago) by solar
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31
- update copyright headers


Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 25 17:28:13 2007 UTC (7 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.30: +13 -6 lines
Diff to previous 1.30
- revert some asprintf() that are a bit off


Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 23 02:02:08 2007 UTC (7 years, 4 months ago) by solar
Branch: MAIN
Changes since 1.29: +8 -15 lines
Diff to previous 1.29
- use cleaner internal xasprintf() function


Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 18 18:47:18 2007 UTC (7 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28
- use xasprintf vs asprintf so we inherit some error checking


Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 18 18:23:08 2007 UTC (7 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27
more helpful warning about dir in cache but not in portdir


Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 18 18:20:47 2007 UTC (7 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.26: +6 -6 lines
Diff to previous 1.26
use warnp/errp funcs


Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 18 17:43:08 2007 UTC (7 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.25: +9 -15 lines
Diff to previous 1.25
use xzalloc()


Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 18 17:38:56 2007 UTC (7 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.24: +14 -13 lines
Diff to previous 1.24
continue gracefully if cache is out of sync with portdir


Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 18 17:31:19 2007 UTC (7 years, 5 months ago) by vapier
Branch: MAIN
Changes since 1.23: +5 -3 lines
Diff to previous 1.23
make sure qcache_read_cache_file() worked


Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 6 20:50:19 2007 UTC (7 years, 5 months ago) by solar
Branch: MAIN
Changes since 1.22: +3 -4 lines
Diff to previous 1.22
- Bug #173527 - -Os compile time warnings


Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 20 23:14:04 2007 UTC (7 years, 6 months ago) by solar
Branch: MAIN
Changes since 1.21: +7 -12 lines
Diff to previous 1.21
- ignore cpickle files and use asprintf here and there to make the code a bit more readable


Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 14 03:36:02 2007 UTC (7 years, 7 months ago) by tcort
Branch: MAIN
Changes since 1.20: +5 -2 lines
Diff to previous 1.20
Fix segfault in qcache caused by ebuilds with empty KEYWORDS. Example, media-sound/alsa-driver-9999.


Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 9 00:24:37 2006 UTC (7 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.19: +10 -14 lines
Diff to previous 1.19
use xcalloc(num,size) rather than malloc(num*size);memset()


Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 9 00:18:05 2006 UTC (7 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.18: +114 -95 lines
Diff to previous 1.18
fix style/whitespace


Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 8 23:27:11 2006 UTC (7 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.17: +10 -10 lines
Diff to previous 1.17
dont cast xmalloc return


Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 20 23:52:48 2006 UTC (8 years ago) by tcort
Branch: MAIN
Changes since 1.16: +77 -3 lines
Diff to previous 1.16
Re-add keyword distribution stats.


Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 16 03:46:41 2006 UTC (8 years ago) by tcort
Branch: MAIN
Changes since 1.15: +666 -481 lines
Diff to previous 1.15
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.


Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 14 16:21:33 2006 UTC (8 years, 1 month ago) by tcort
Branch: MAIN
Changes since 1.14: +57 -18 lines
Diff to previous 1.14
Added --not/-n option for qcache. Expand -* in KEYWORDS.


Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 17 07:13:53 2006 UTC (8 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.13: +10 -4 lines
Diff to previous 1.13
dont output unstable arches in quiet mode


Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 10 23:45:41 2006 UTC (8 years, 2 months ago) by tcort
Branch: MAIN
Changes since 1.12: +106 -12 lines
Diff to previous 1.12
Added uri protocol counts for SRC_URI and HOMEPAGE.


Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 10 05:25:09 2006 UTC (8 years, 2 months ago) by tcort
Branch: MAIN
Changes since 1.11: +9 -7 lines
Diff to previous 1.11
Fix array initializers in qcache_stats(). Delare current_package_keywords as static.


Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 7 14:06:13 2006 UTC (8 years, 2 months ago) by tcort
Branch: MAIN
Changes since 1.10: +12 -2 lines
Diff to previous 1.10
Add .texinfo/.html/.bin/.jar/.pdf/.tar/.txt/.wsz/.xpi/.7z to distfile filetypes.


Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 7 04:03:11 2006 UTC (8 years, 2 months ago) by tcort
Branch: MAIN
Changes since 1.9: +5 -2 lines
Diff to previous 1.9
Add .deb/.rpm/tgz to distfile types.


Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 7 03:09:41 2006 UTC (8 years, 2 months ago) by tcort
Branch: MAIN
Changes since 1.8: +166 -7 lines
Diff to previous 1.8
Added -s/--stats functionality to display statistics about /usr/portage.


Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 26 17:34:10 2006 UTC (8 years, 3 months ago) by tcort
Branch: MAIN
Changes since 1.7: +16 -21 lines
Diff to previous 1.7
Use snprintf instead of strcpy+strcat.


Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 25 14:24:49 2006 UTC (8 years, 3 months ago) by tcort
Branch: MAIN
Changes since 1.6: +10 -12 lines
Diff to previous 1.6
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.


Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 24 15:56:51 2006 UTC (8 years, 3 months ago) by tcort
Branch: MAIN
Changes since 1.5: +6 -31 lines
Diff to previous 1.5
Simplify vercmp() by using atom_compare_str.


Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 24 15:34:58 2006 UTC (8 years, 3 months ago) by tcort
Branch: MAIN
Changes since 1.4: +17 -22 lines
Diff to previous 1.4
Simplify read_keywords() by using strktok and cache_read_file.


Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 22 05:25:11 2006 UTC (8 years, 4 months ago) by tcort
Branch: MAIN
Changes since 1.3: +21 -5 lines
Diff to previous 1.3
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]).


Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 21 22:55:23 2006 UTC (8 years, 4 months ago) by tcort
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2
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.


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 21 22:44:54 2006 UTC (8 years, 4 months ago) by tcort
Branch: MAIN
Changes since 1.1: +65 -59 lines
Diff to previous 1.1
Renamed --testing-only to --testing. Remove required options on non optional flags. Ffixes the indentation thing so that the code is more


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 19 19:34:56 2006 UTC (8 years, 4 months ago) by tcort
Branch: MAIN
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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20