| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for SRC_URI.syntax and digestentry.unused that are
reported when the SRC_URI for one or more ebuilds
can't be parsed for some reason. There's no point
in producing a false error here since the root
cause will produce a valid error elsewhere, such
as "SRC_URI.syntax" or "ebuild.sytax". Also,
update the docs for the "ebuild.syntax" error to
indicate that a digest verification failure can
trigger it.
svn path=/main/trunk/; revision=7905
|
|
|
|
|
|
|
|
| |
regex together with the ignore_line regex. This also
fixes an issue with the var_assignment regex allowing
violations like `make DESTDIR=${D}` to slip through.
svn path=/main/trunk/; revision=7904
|
|
|
|
|
|
|
| |
It might work well enough now so that we don't have to
degrade it to a warning.
svn path=/main/trunk/; revision=7901
|
|
|
|
|
|
|
| |
unless the status really is successful. Otherwise, log
"exiting unsuccessfully". Thanks to David Watzke.
svn path=/main/trunk/; revision=7900
|
|
|
|
| |
svn path=/main/trunk/; revision=7899
|
|
|
|
|
|
| |
being in the check module), add nesteddie check
svn path=/main/trunk/; revision=7898
|
|
|
|
|
|
| |
much faster than readlines(), see http://dev.gentoo.org/~antarus/projects/portage/stats/StringIOVsFiles.txt
svn path=/main/trunk/; revision=7897
|
|
|
|
| |
svn path=/main/trunk/; revision=7896
|
|
|
|
|
|
| |
and get them out of repoman in an attempt to start moving other checks out as well. Again wonder at the price of StringIO and N passes, is the readability worth it?
svn path=/main/trunk/; revision=7895
|
|
|
|
|
|
| |
obviously the old code was faster (1 iteration over the file), here we do one iteration per check, StringIO was to try and negate this by doing the checks in memory...how much of a price do we pay here?
svn path=/main/trunk/; revision=7894
|
|
|
|
|
|
|
|
| |
the "diff" command so that any remnants of the previous
config are now shown with the current one.
command so that
svn path=/main/trunk/; revision=7893
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
using self.xmatch(). This should be 100% compatible with
the previous implementation and have comparable
performance. By eliminating the xmatch() dependency, the
code becomes more generically usable, like for
visibility filtering of binary packages. It seems that
it will be necessary to move this code outside of the
dbapi since visiblity filtering is really a resolver
level function and to solve things like bug #88613 will
require a more flexible approach.
since the current internal
svn path=/main/trunk/; revision=7892
|
|
|
|
|
|
| |
old-style virtuals preferences.
svn path=/main/trunk/; revision=7891
|
|
|
|
| |
svn path=/main/trunk/; revision=7890
|
|
|
|
| |
svn path=/main/trunk/; revision=7887
|
|
|
|
| |
svn path=/main/trunk/; revision=7879
|
|
|
|
| |
svn path=/main/trunk/; revision=7878
|
|
|
|
|
|
|
|
| |
prevent spurious input characters from being interpreted
as user input (which can be quite confusing and gives
an "out of control" feeling).
svn path=/main/trunk/; revision=7877
|
|
|
|
|
|
|
| |
occurs, send find's stdout to /dev/null so that only an
error message is shown.
svn path=/main/trunk/; revision=7875
|
|
|
|
|
|
| |
directory as if it's just a normal directory.
svn path=/main/trunk/; revision=7873
|
|
|
|
|
|
| |
show the find output if there is an error.
svn path=/main/trunk/; revision=7871
|
|
|
|
|
|
| |
and rmdir calls during unmerge.
svn path=/main/trunk/; revision=7869
|
|
|
|
| |
svn path=/main/trunk/; revision=7866
|
|
|
|
|
|
| |
remove unused locking code.
svn path=/main/trunk/; revision=7864
|
|
|
|
| |
svn path=/main/trunk/; revision=7861
|
|
|
|
| |
svn path=/main/trunk/; revision=7858
|
|
|
|
| |
svn path=/main/trunk/; revision=7856
|
|
|
|
|
|
|
| |
"Regenerating GNU info directory index" routine.
svn path=/main/trunk/; revision=7853
|
|
|
|
|
|
| |
to the call to die so we can print it out in our error message
svn path=/main/trunk/; revision=7852
|
|
|
|
| |
svn path=/main/trunk/; revision=7850
|
|
|
|
|
|
|
| |
errors. This patch uses a weird tr '\001' '\000' workaround since bash
doesn't echo null bytes like one might expect.
svn path=/main/trunk/; revision=7848
|
|
|
|
|
|
| |
phase when necessary.
svn path=/main/trunk/; revision=7846
|
|
|
|
|
|
|
|
|
| |
sourced since it is easy to ignore and ignorance of it often
leads to mysterious problems and general confusion. This
message should not show in cases where it is obviously
irrelevant, FEATURES=noauto, or PORTAGE_QUIET=1.
svn path=/main/trunk/; revision=7844
|
|
|
|
|
|
| |
it is much easier to read
svn path=/main/trunk/; revision=7842
|
|
|
|
| |
svn path=/main/trunk/; revision=7840
|
|
|
|
| |
svn path=/main/trunk/; revision=7839
|
|
|
|
|
|
| |
if there is nothing to clean and --quiet is enabled.
svn path=/main/trunk/; revision=7838
|
|
|
|
|
|
|
|
|
|
|
|
| |
the slave file descriptor is still held open since otherwise
the fcntl call can fail on FreeBSD (the child process might
have already exited and closed the slave file descriptor so we
have to keep it open in order to avoid FreeBSD potentially
generating an EAGAIN exception). This appoach is cleaner than
triggering the exception and being forced to handle it
somehow.
svn path=/main/trunk/; revision=7835
|
|
|
|
|
|
|
|
|
|
|
| |
try to generate an informative error. First, use stat or lstat to
try and generate an ENOENT error. It the path exists, verify that
the chflags binary exists and raise CommandNotFound if necessary.
Finally, simply generate an EPERM OSError with the output of the
command since we're not sure exactly why it failed or what the
real errno was.
svn path=/main/trunk/; revision=7834
|
|
|
|
|
|
|
|
|
| |
it's chflags() and lchflags() functions as wrappers around the
chflags command (which should always be available in any case). The
functions are only called when merging/unmerging files that actually
have flags set so the performance difference should be negligible.
svn path=/main/trunk/; revision=7808
|
|
|
|
|
|
| |
calls during unmerge.
svn path=/main/trunk/; revision=7807
|
|
|
|
|
|
|
|
| |
lchflags when temporarily adjusting the flags on the parent
directory since we want to follow any symlinks to the real
parent directory.
svn path=/main/trunk/; revision=7806
|
|
|
|
|
|
|
| |
code is adapted from the code that already exists in movefile()
for the merge phase.
svn path=/main/trunk/; revision=7805
|
|
|
|
|
|
| |
exceptions raised from unlink() and rmdir() calls.
svn path=/main/trunk/; revision=7804
|
|
|
|
| |
svn path=/main/trunk/; revision=7803
|
|
|
|
|
|
| |
we're sure which directory die will clean up.
svn path=/main/trunk/; revision=7802
|
|
|
|
|
|
|
|
|
|
| |
temp file via stdout since --undo fails when run as a normal
non-superuser because it tries to chown the output file. Also,
use mkstemp() to eliminate the need for locking the temp file.
Thanks to Israel G. Lugo <israel.lugo@lugosys.com> for the
initial patch.
svn path=/main/trunk/; revision=7801
|
|
|
|
| |
svn path=/main/trunk/; revision=7800
|
|
|
|
|
|
| |
configuration files and be better about handling of whitespace in $TMP in a few places
svn path=/main/trunk/; revision=7799
|
|
|
|
|
|
| |
instead of chaining multiple ones
svn path=/main/trunk/; revision=7798
|