gar/v2: ldd info extraction: bugfix and unit test for relocatable packages

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20136 d3b55034-1cff-0310-a425-aefe953e1e90
gar/v2: ldd unit tests: GetBasedir removes the leading slash

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20149 d3b55034-1cff-0310-a425-aefe953e1e90
gar/v2: define elf test data outside functions to share them between tests

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20150 d3b55034-1cff-0310-a425-aefe953e1e90
gar/v2: elf info extraction: bugfix and unit test for relocatable packages

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20151 d3b55034-1cff-0310-a425-aefe953e1e90
gar/v2: fixed binary dump info retrieval for relocatable packages

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20153 d3b55034-1cff-0310-a425-aefe953e1e90
rest.py: Do not cache pkg-stats in RAM

In the previous era the whole catalog could fit in memory. It's no longer
possible, so don't attempt to cache everything in memory.

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20168 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb: Allow to upload to beanie and generate it

Part of adding a new catalog to the database.

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20171 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb-web: Throw 404s early in each function

This way the cause and effect stay close in the code. It should improve
readability.

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20172 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb-web: Return a 404 when svr4 is missing

The svr4 details page was crashing when asked for a nonexistent entry.

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20173 d3b55034-1cff-0310-a425-aefe953e1e90
releases-web: Return 403 when not allowed

When not allowed to upload to a catalog, return a 403 forbidden. This is
a better HTTP response code for this kind of condition.

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20174 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb-web: Don't show the full data structure

This used to a very useful feature of pkgdb-web.  You could see the full
python data structure with all the metadata in it.  Unfortunately, as of
January 2013, the amount of data is so large that displaying them can take
several minutes. For now, don't retrieve nor display this data structures at
all.

The only remining way is to get the data from the RESTful interface in JSON
format, and process them locally.

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20175 d3b55034-1cff-0310-a425-aefe953e1e90
checkpkg: Remove the old symlink to ../../../

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20176 d3b55034-1cff-0310-a425-aefe953e1e90
mGAR v2: Adjust regex string to suite Solaris 10 i386 output

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20193 d3b55034-1cff-0310-a425-aefe953e1e90
gar/v2: add more elfdump lines to be ignored

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20195 d3b55034-1cff-0310-a425-aefe953e1e90
mGAR v2: Note obsoleted packages in pkginfo so CAS can take over previous configuration files

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20209 d3b55034-1cff-0310-a425-aefe953e1e90
pkgdb: Use mute progressbar when running in debug

git-svn-id: http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2@20224 d3b55034-1cff-0310-a425-aefe953e1e90