| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This removes many unnecessary os.stat and related FS IO calls.
|
| |
|
| |
|
|
|
|
| |
code
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also some optimized logic for updating and using the dependency_map built as part of the decider. Fixed tests. Note Deciders now need a fourth argument 'repo_node' which is the repository node for the file if it's to be used. This is currently only used by md5-timestamp decider File.changed_timestamp_then_content()
|
|
|
|
| |
Also improve exception handling message in test.subdir()
|
| |
|
|\
| |
| | |
[wip] Py38warns4 tests
|
| |
| |
| |
| |
| |
| |
| | |
On a linux host (missing some things that may be on the Travis CI
setup), Py3.8a3 now shows 19 fails, 1048 pass, with 84 Warning: messages.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| | |
| | | |
Some more lint-derived cleanups
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Consistently use "not is" and "not in", many instances used
the form "not x is y" instead, which pylint objected to.
A couple of bare except clauses got a qualifier.
Files otherwise touched had trailing whitespace cleaned up as well.
These are all things that sider would complain about if a change
happened nearby, so this is pre-emptive.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \ |
|
| |\ \
| | |/
| | |
| | | |
fix_mongo_bug_33111_multiple_targets_via_emitter_spurious_rebuilds
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
when builder has more than one target and source file generated
|
| | |
| | |
| | |
| | | |
ampping None to allow for explain to handel old and new dependency lists of different lengths
|
|\ \ \
| | |/
| |/| |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Assorted fixups: exception types, redefined functions, globals, etc.
Some old code removed to resolve issues (hashlib is always present on
modern Pythons; no longer need the code for 2.5-and-earlier optparse).
cmp is not a builtin function in Py3, drop one (unused) use; replace one.
Fix another instance of renaming to SConsEnvironmentError.
TODO flagged some instances of doing a raise without argument but not
inside a try block - this is not considered legal, since raise
with no argument is for re-raising an exception, but I don't know
exactly how to resolve this in these cases. Also flagged an instance
of raising an int instead of an exception class. We can either leave
these as markers or update the PR.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
| |
components to dependency list. Updated test. TODO: better formatting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most recent Python (3.8 alpha) spews warnings aplenty about two
subjects: unclosed files and strings which look like they have embedded
escapes that Python does not recognize. The latter are usually
regexes, and it provides a reminder that regular expressions should
normally be specified as raw strings, so Python does not attempt to
interpret them. Irritating is that even docstrings are flagged, it's
not obvious what the right answer is for a docstring which contains,
say, a Windows-style path with backslashes.
This converts a bunch of opens that are not closed into context
manager usage and regex patterns into raw strings.
This eliminate about 4000 warnings spewed by Py3.8 (9200 remain).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Directly calling get_csig() when there is no previous build history
|
|
|
|
| |
previous build. This should speed up md5-timestamp builds for clean builds. Also added debug logic to dump and check aagainst previous implementation at top of FS.PY MD5_TIMESTAMP_DEBUG flag. currently set to False
|
|
|
|
| |
normalized path string with / separators. On a fresh windows build the node string will have windows dirsep and not normalizd. This yielded broken builds for the Meta project'
|
|
|
|
| |
strings would have the same id() is not reasonable. Expecting their values are equal is.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
minor change in Node.Changed() it now has to handle the decider called indirectly throwing DeciderNeedsNode exception which has a property of decider it should call. Also had to update the explain logic to handle this exception.
|
|
|
|
|
|
| |
Timestamp-MD5 decider issue we're trying to resolve only affects File() nodes.
Additionally creating the map of file names -> csigs for info loaded from SConsign would only be used when using Timestamp-MD5
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ignore set. previously was only skipping signitures which left the sconsign in an inconsistant state. (More file names than sigs)
|
|
|
|
| |
Minor reformat in rfile().
|
|
|
|
|
|
| |
There are still possible errors due to timestamp-MD5 + cachedir + changed implicit or regular dependencies (but the same # of such as the previous build).
These are not yet handled as the fix being used for changed number of such breaks a number of tests.
This fix doe reduce the number of possible issues.
|