This is an automated email from the ASF dual-hosted git repository.
juergbi pushed a change to branch jbilleter/http-cache
in repository https://gitbox.apache.org/repos/asf/buildstream.git
discard 1d93ef606 _remotespec.py: Add `protocol` option
discard 31152fd5a _protos: Update local_cas.proto from buildbox
add 66192ea80 pyproject.toml: Set `target-version` for `black` and reformat
add b8ce3ff5a Merge pull request #2164 from apache/jbilleter/black
add e86ce4f62 Move static metadata from setup.py/setup.cfg into
pyproject.toml
add 4bd905bc8 Merge pull request #2163 from
jjardon/jjardon/modernize_project_toml
add 7820ba1f8 _stream: Persist soft workspace resets
add fa315b630 Merge pull request #2166 from
kotborealis/fix/workspace-soft-reset-persistence
add fff52c1f5 element.py: Document visit of the recursive _dependencies
method
add a44bca594 Merge pull request #2173 from nathanwilliams-ct/patch-1
add 1a2869fe6 _sourcetests: Do not assume Source.ref is a string
add c5e4d8338 Merge pull request #2187 from
aleixpol/aleixpol/refs-not-strings
add cb37723a7 _sourcetests: fetch missing after tracking
add a789ff42a Merge pull request #2189 from
nathanwilliams-ct/nathan/sourcetests-track
add a5a1e0493 _artifact: Remove unused output size traversal
add b69c68352 _cas: Avoid duplicate directory tree fetch
add 857681c59 element: Reuse build dependencies for cache keys
add 642fd68c3 Merge pull request #2172 from
kotborealis/perf/cache-cas-optimizations
new a17a6b852 _protos: Update local_cas.proto from buildbox
new 49e18b673 _remotespec.py: Add `protocol` option
new 837da4ac1 tests/testutils: Add HTTPCASServer
new 109c72bc8 tests/artifactcache/pull.py: Add HTTP REST protocol test
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (1d93ef606)
\
N -- N -- N refs/heads/jbilleter/http-cache (109c72bc8)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pyproject.toml | 38 ++++++++++-
setup.cfg | 3 -
setup.py | 37 +----------
src/buildstream/_artifact.py | 2 -
src/buildstream/_cas/cascache.py | 2 +-
src/buildstream/_cas/casdprocessmanager.py | 4 +-
src/buildstream/_elementproxy.py | 6 +-
src/buildstream/_message.py | 2 +-
src/buildstream/_messenger.py | 2 +-
src/buildstream/_pipeline.py | 2 +-
src/buildstream/_project.py | 2 +-
src/buildstream/_scheduler/jobs/job.py | 2 +-
src/buildstream/_stream.py | 1 +
src/buildstream/_testing/_sourcetests/mirror.py | 4 +-
src/buildstream/_testing/_sourcetests/track.py | 11 +++-
src/buildstream/buildelement.py | 7 +-
src/buildstream/element.py | 20 +++---
src/buildstream/plugin.py | 2 +-
src/buildstream/sandbox/_config.py | 2 +-
src/buildstream/sandbox/_sandboxremote.py | 9 ++-
src/buildstream/sandbox/sandbox.py | 4 +-
src/buildstream/storage/_casbaseddirectory.py | 8 +--
src/buildstream/storage/_filebaseddirectory.py | 4 +-
src/buildstream/storage/directory.py | 6 +-
src/buildstream/utils.py | 21 +++---
tests/artifactcache/config.py | 7 +-
tests/artifactcache/junctions.py | 7 +-
tests/artifactcache/pull.py | 85 ++++++++++++++++++++++++-
tests/frontend/pull.py | 21 +++---
tests/frontend/push.py | 15 +++--
tests/frontend/workspace.py | 16 +++++
tests/integration/artifact.py | 8 ++-
tests/integration/pullbuildtrees.py | 8 ++-
tests/integration/sandbox.py | 7 +-
tests/internals/storage.py | 17 +++--
tests/testutils/__init__.py | 9 ++-
tests/testutils/artifactshare.py | 18 ++++++
tests/testutils/http_cas_server.py | 78 +++++++++++++++++++++++
38 files changed, 366 insertions(+), 131 deletions(-)
create mode 100644 tests/testutils/http_cas_server.py