summaryrefslogtreecommitdiffstats
path: root/bin/portageq
Commit message (Collapse)AuthorAgeFilesLines
* Bug #218559 - Make portdbapi automatically add sandbox write access toZac Medico2008-04-201-4/+0
| | | | | | | self.depcachedir when appropriate. This makes the portageq blanket sandbox exemption unnecessary. (trunk r9928) svn path=/main/branches/2.1.2/; revision=9929
* Use os.environ["SANDBOX_ON"] = "0" to make portageq exempt from sandbox forZac Medico2008-03-281-0/+4
| | | | | | | things like writing metadata cache. Thanks to ferringb for the suggestion. (trunk r9448) svn path=/main/branches/2.1.2/; revision=9550
* fix message on ValueError to not sound like crap (trunk r9427)Zac Medico2008-03-281-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9546
* Implement a `portageq contents <root> <category/package>` commandZac Medico2007-12-211-0/+25
| | | | | | | that lists all the files that are installed for a given package, with one file listed on each line. (trunk r9035) svn path=/main/branches/2.1.2/; revision=9037
* Enhance the portageq match command to list all installed packagesZac Medico2007-12-211-9/+14
| | | | | | when given an empty string. (trunk r9032:9034) svn path=/main/branches/2.1.2/; revision=9036
* Instead of calling sys.exit when a ParseError occurs in the configZac Medico2007-12-111-0/+3
| | | | | | | | | constructor, raise a ParseError and make emerge and portageq handle the error. This way consumers of the portage api can handle the ParseError rather than have their application exit. Thanks to lxnay for reporting. (trunk r8884) svn path=/main/branches/2.1.2/; revision=8886
* Fix the version Id tag. (trunk r8243)Zac Medico2007-10-231-3/+2
| | | | svn path=/main/branches/2.1.2/; revision=8244
* Bug #196537 - Make portageq check that the <root> parameterZac Medico2007-10-211-7/+13
| | | | | | | is an existing directory and exit gracefully if not. (trunk r8195) svn path=/main/branches/2.1.2/; revision=8196
* Bug #196043 - Implement a `portageq owners <root> [<filename>]+`Zac Medico2007-10-171-1/+66
| | | | | | | | | command that is suitable for identifying all packages that own one or more files when a file collision has occurred. This uses dblink.isowner() so that the query works properly even when paths are ambiguous due to symlinked directories. (trunk r8154) svn path=/main/branches/2.1.2/; revision=8159
* Bug #194764 - All the match* functions can raiseZac Medico2007-10-051-9/+13
| | | | | | | | | a ValueError if cpv_expand() receives an ambiguous atom. Therefore, move the ValueError handling code out of match() and use it to handle all such errors when appropriate. (trunk r7944) svn path=/main/branches/2.1.2/; revision=7945
* if requested argv cannot be matched to anything, exit with non-zero status ↵Zac Medico2007-06-221-1/+6
| | | | | | (trunk r5791) svn path=/main/branches/2.1.2/; revision=6924
* For bug #180165, make portageq print a "Permission denied" error when ↵Zac Medico2007-06-201-1/+4
| | | | | | appropriate and make has_version die if portageq has an unexpected exit code. (trunk r6880:6882) svn path=/main/branches/2.1.2/; revision=6885
* For bug #167217, don't hardcode /usr/lib/portage. (trunk r5945)Zac Medico2007-02-191-20/+3
| | | | svn path=/main/branches/2.1.2/; revision=6016
* Various glep 42 fixes, fix up the portageq calls to fail properly, rewrite ↵Alec Warner2007-01-161-2/+9
| | | | | | the news checking code to check news for all repos with a name. svn path=/main/trunk/; revision=5670
* merge glep42 into trunkAlec Warner2007-01-161-0/+11
| | | | svn path=/main/trunk/; revision=5658
* exithandler is not a portageq func, so ignore itAlec Warner2007-01-151-1/+1
| | | | svn path=/main/trunk/; revision=5652
* More String deprecationAlec Warner2007-01-121-7/+6
| | | | svn path=/main/trunk/; revision=5597
* Rely on PYTHONPATH instead of PORTAGE_PYM_PATH for locating portage's python ↵Zac Medico2006-10-311-2/+5
| | | | | | modules, then fall back to an explicit sys.path insertion if an ImportError occurs. svn path=/main/trunk/; revision=4884
* streamline portage pythonpath handling and add an override analog to how the ↵Marius Mauch2006-10-261-1/+1
| | | | | | bash side does it svn path=/main/trunk/; revision=4822
* Remove unused PORTAGE_CALLER=portageq from the environment.Zac Medico2006-10-091-1/+0
| | | | svn path=/main/trunk/; revision=4633
* Make portageq exit successfully for -h or --help.Zac Medico2006-09-201-1/+4
| | | | svn path=/main/trunk/; revision=4484
* Make portageq exit with nonzero status when called incorrectly.Zac Medico2006-09-191-2/+2
| | | | svn path=/main/trunk/; revision=4483
* Make sure that portageq exits quietly when killed, like emerge does.Zac Medico2006-08-191-1/+17
| | | | svn path=/main/trunk/; revision=4306
* Add a new portageq metadata function that wraps dbapi.aux_get() so that ↵Zac Medico2006-07-151-0/+30
| | | | | | things like built_with_use in eutils.eclass can retrieve metadata in manner that is independent of the installed package database implementation. svn path=/main/trunk/; revision=3893
* make elog mail module always set the 'From' header for rfc2822 complianceMarius Mauch2006-06-101-1/+1
| | | | svn path=/main/trunk/; revision=3483
* In portageq, catch a KeyError and print a message to stderr. If the ↵Zac Medico2006-06-021-0/+3
| | | | | | KeyError is raised, portageq prints a help message which leads to bug #135278. svn path=/main/trunk/; revision=3449
* Catch a ValueError thrown from cpv_expand and use it print an error message ↵Zac Medico2006-05-191-1/+8
| | | | | | (to stderr) which includes a list of packages for bug #133731. No changes to quickpkg are necessary because it doesn't get anything from portageq on stdout in this case and it simply assumes there is no match. svn path=/main/trunk/; revision=3376
* bug 118191 , puke properly when no args to envvar are supplied.Brian Harring2006-01-081-5/+8
| | | | svn path=/main/trunk/; revision=2550
* update copyright yearsMike Frysinger2006-01-051-1/+1
| | | | svn path=/main/trunk/; revision=2526
* Sanitize the root parameter specified to portageq.Jason Stubbs2005-12-261-1/+4
| | | | svn path=/main/trunk/; revision=2482
* Export the ROOT environment variable when using functions that take a <root>Jason Stubbs2005-12-261-4/+13
| | | | svn path=/main/trunk/; revision=2479
* add a -v (verbose) option to envvar for easily generating output for use in ↵Mike Frysinger2005-12-101-1/+9
| | | | | | bash scripts svn path=/main/trunk/; revision=2359
* touchup in general, add support for -h/--help, and delay importing portage ↵Mike Frysinger2005-12-101-16/+24
| | | | | | so using -h/--help doesnt blow goats because portage was imported svn path=/main/trunk/; revision=2356
* Kill of generation of CDEPEND for binary and installed packages.Jason Stubbs2005-11-271-1/+1
| | | | | | Patch by solar. svn path=/main/trunk/; revision=2321
* fix for portageq usage call (missing argv), via Emanuele Giaquinta ↵Brian Harring2005-11-151-1/+1
| | | | | | <e.giaquinta@glauco.it> svn path=/main/trunk/; revision=2311
* header changes, $Header: -> $Id:Brian Harring2005-08-301-1/+1
| | | | svn path=/main/branches/2.0/; revision=1951
* Migration (without history) of the current stable line to subversion.Jason Stubbs2005-08-281-0/+256
svn path=/main/branches/2.0/; revision=1941