From 8f8a3da64b42a1813f414199feba1a7a4d03be8c Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Thu, 21 Sep 2023 19:49:52 +0200 Subject: [PATCH] Move is_link variable to the place it's used We use the set_package before filter in many controllers but use the is_link variable only one view. One less database and one less backend query... --- .../webui/packages/job_history_controller.rb | 1 + .../webui/packages/main_controller.rb | 1 - .../Packages/adding_a_valid_file.yml | 556 ++++++------------ 3 files changed, 166 insertions(+), 392 deletions(-) diff --git a/src/api/app/controllers/webui/packages/job_history_controller.rb b/src/api/app/controllers/webui/packages/job_history_controller.rb index 6ed536ea435..c32eb43dbb7 100644 --- a/src/api/app/controllers/webui/packages/job_history_controller.rb +++ b/src/api/app/controllers/webui/packages/job_history_controller.rb @@ -7,6 +7,7 @@ class JobHistoryController < Packages::MainController before_action :set_architecture def index + @is_link = @package.is_link? || @package.is_local_link? @jobshistory = @package.jobhistory(repository_name: @repository.name, arch_name: @architecture.name, package_name: @package_name, project_name: @project.name) end end diff --git a/src/api/app/controllers/webui/packages/main_controller.rb b/src/api/app/controllers/webui/packages/main_controller.rb index d553e5009ad..d13db1a17f8 100644 --- a/src/api/app/controllers/webui/packages/main_controller.rb +++ b/src/api/app/controllers/webui/packages/main_controller.rb @@ -8,7 +8,6 @@ def set_package @package_name = params[:package_name] @package = ::Package.get_by_project_and_name(@project.to_param, params[:package_name], use_source: false, follow_project_links: true, follow_multibuild: true) - @is_link = @package.is_link? || @package.is_local_link? rescue APIError raise ActiveRecord::RecordNotFound, 'Not Found' end diff --git a/src/api/spec/cassettes/Packages/adding_a_valid_file.yml b/src/api/spec/cassettes/Packages/adding_a_valid_file.yml index d4ec64c6c93..8d2c3a6d5a4 100644 --- a/src/api/spec/cassettes/Packages/adding_a_valid_file.yml +++ b/src/api/spec/cassettes/Packages/adding_a_valid_file.yml @@ -39,16 +39,16 @@ http_interactions: - recorded_at: Fri, 24 Feb 2023 13:39:18 GMT + recorded_at: Fri, 22 Sep 2023 14:12:09 GMT - request: method: put - uri: http://backend:5352/source/home:package_test_user/test_package/_meta?user=user_10 + uri: http://backend:5352/source/home:package_test_user/test_package/_meta?user=user_1 body: encoding: UTF-8 string: | - Time of our Darkness - Aut nam assumenda eos. + Of Mice and Men + Aut cum ullam maiores. headers: Accept-Encoding: @@ -69,21 +69,22 @@ http_interactions: Connection: - close Content-Length: - - '164' + - '159' body: encoding: UTF-8 string: | - Time of our Darkness - Aut nam assumenda eos. + Of Mice and Men + Aut cum ullam maiores. - recorded_at: Fri, 24 Feb 2023 13:39:18 GMT + recorded_at: Fri, 22 Sep 2023 14:12:09 GMT - request: method: put uri: http://backend:5352/source/home:package_test_user/test_package/_config body: encoding: UTF-8 - string: Dolores maxime voluptatem. Libero ipsam quod. Ipsum et voluptas. + string: Est voluptatem blanditiis. Consequatur veritatis optio. Et accusamus + error. headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 @@ -103,25 +104,25 @@ http_interactions: Connection: - close Content-Length: - - '209' + - '207' body: encoding: UTF-8 string: | - - 1321483a4f3b9b8282b93957400119e7 + + 47b1457170216f3cc257ed9d4763c917 unknown - + unknown - recorded_at: Fri, 24 Feb 2023 13:39:18 GMT + recorded_at: Fri, 22 Sep 2023 14:12:09 GMT - request: method: put uri: http://backend:5352/source/home:package_test_user/test_package/somefile.txt body: encoding: UTF-8 - string: Veniam totam voluptas. Et autem officia. Quod et quae. + string: Minima omnis consectetur. Adipisci sit culpa. Corporis assumenda repellat. headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 @@ -141,19 +142,19 @@ http_interactions: Connection: - close Content-Length: - - '209' + - '207' body: encoding: UTF-8 string: | - - c10f23e8c90245728500e06a498a8512 + + 66de12f4c7bdffa3be8289e75502514f unknown - + unknown - recorded_at: Fri, 24 Feb 2023 13:39:18 GMT + recorded_at: Fri, 22 Sep 2023 14:12:09 GMT - request: method: put uri: http://backend:5352/source/home:other_package_test_user/_meta?user=other_package_test_user @@ -193,16 +194,16 @@ http_interactions: - recorded_at: Fri, 24 Feb 2023 13:39:18 GMT + recorded_at: Fri, 22 Sep 2023 14:12:09 GMT - request: method: put - uri: http://backend:5352/source/home:other_package_test_user/branch_test_package/_meta?user=user_11 + uri: http://backend:5352/source/home:other_package_test_user/branch_test_package/_meta?user=user_2 body: encoding: UTF-8 string: | - It's a Battlefield - Dolor et provident quae. + To Your Scattered Bodies Go + Numquam voluptatum optio doloremque. headers: Accept-Encoding: @@ -223,21 +224,21 @@ http_interactions: Connection: - close Content-Length: - - '177' + - '198' body: encoding: UTF-8 string: | - It's a Battlefield - Dolor et provident quae. + To Your Scattered Bodies Go + Numquam voluptatum optio doloremque. - recorded_at: Fri, 24 Feb 2023 13:39:18 GMT + recorded_at: Fri, 22 Sep 2023 14:12:09 GMT - request: method: put uri: http://backend:5352/source/home:other_package_test_user/branch_test_package/_config body: encoding: UTF-8 - string: Ut animi iure. Libero tenetur porro. Architecto illum enim. + string: Corrupti odio id. Rerum culpa eum. Et et temporibus. headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 @@ -257,25 +258,25 @@ http_interactions: Connection: - close Content-Length: - - '209' + - '207' body: encoding: UTF-8 string: | - - 01ded241467f9407411db1abd876da6c + + deffe8598bfa235890ff62cca91bb3fd unknown - + unknown - recorded_at: Fri, 24 Feb 2023 13:39:18 GMT + recorded_at: Fri, 22 Sep 2023 14:12:09 GMT - request: method: put uri: http://backend:5352/source/home:other_package_test_user/branch_test_package/somefile.txt body: encoding: UTF-8 - string: Quis et impedit. Vel ipsam excepturi. Saepe aliquam esse. + string: Et quas dolore. Odio placeat dolor. Eos consequatur qui. headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 @@ -295,19 +296,19 @@ http_interactions: Connection: - close Content-Length: - - '209' + - '207' body: encoding: UTF-8 string: | - - ad36f3d47ffde6036aaacb16f295d2c8 + + 8ba2f9c21ec1f18d75a9a305116dd25d unknown - + unknown - recorded_at: Fri, 24 Feb 2023 13:39:18 GMT + recorded_at: Fri, 22 Sep 2023 14:12:09 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -316,7 +317,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 39f24837-d436-4048-9c4f-e3bea14e5f7c + - b16eb5a2-7f33-4a53-a8b1-ef15d72ba504 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -335,19 +336,18 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '297' body: encoding: UTF-8 string: | - - - - + + + - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT + recorded_at: Fri, 22 Sep 2023 14:12:14 GMT - request: method: get - uri: http://backend:5352/source/home:package_test_user/test_package?expand=1&rev=94 + uri: http://backend:5352/source/home:package_test_user/test_package?expand=1&rev=2 body: encoding: US-ASCII string: '' @@ -370,25 +370,24 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '297' body: encoding: UTF-8 string: | - - - - + + + - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT + recorded_at: Fri, 22 Sep 2023 14:12:14 GMT - request: method: get - uri: http://backend:5352/source/home:package_test_user/test_package/_history?deleted=0&meta=0&rev=94 + uri: http://backend:5352/source/home:package_test_user/test_package/_history?deleted=0&meta=0&rev=2 body: encoding: US-ASCII string: '' headers: X-Request-Id: - - 39f24837-d436-4048-9c4f-e3bea14e5f7c + - b16eb5a2-7f33-4a53-a8b1-ef15d72ba504 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -407,19 +406,19 @@ http_interactions: Connection: - close Content-Length: - - '215' + - '213' body: encoding: UTF-8 string: | - - c10f23e8c90245728500e06a498a8512 + + 66de12f4c7bdffa3be8289e75502514f unknown - + unknown - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT + recorded_at: Fri, 22 Sep 2023 14:12:14 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -428,7 +427,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 39f24837-d436-4048-9c4f-e3bea14e5f7c + - b16eb5a2-7f33-4a53-a8b1-ef15d72ba504 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -447,16 +446,15 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '297' body: encoding: UTF-8 string: | - - - - + + + - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT + recorded_at: Fri, 22 Sep 2023 14:12:14 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -465,7 +463,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 39f24837-d436-4048-9c4f-e3bea14e5f7c + - b16eb5a2-7f33-4a53-a8b1-ef15d72ba504 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -484,53 +482,15 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '297' body: encoding: UTF-8 string: | - - - - + + + - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT -- request: - method: get - uri: http://backend:5352/source/home:package_test_user/test_package - body: - encoding: US-ASCII - string: '' - headers: - X-Request-Id: - - eb78ff34-b263-40df-add1-74b992641ba0 - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - User-Agent: - - Ruby - response: - status: - code: 200 - message: OK - headers: - Content-Type: - - text/xml - Cache-Control: - - no-cache - Connection: - - close - Content-Length: - - '393' - body: - encoding: UTF-8 - string: | - - - - - - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT + recorded_at: Fri, 22 Sep 2023 14:12:14 GMT - request: method: get uri: http://backend:5352/build/home:package_test_user/_result?lastbuild=1&locallink=1&multibuild=1&package=test_package&view=status @@ -539,7 +499,7 @@ http_interactions: string: '' headers: X-Request-Id: - - eb78ff34-b263-40df-add1-74b992641ba0 + - e5507138-b026-49b9-a984-2d7437fdad5b Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -564,44 +524,7 @@ http_interactions: string: ' ' - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT -- request: - method: get - uri: http://backend:5352/source/home:package_test_user/test_package - body: - encoding: US-ASCII - string: '' - headers: - X-Request-Id: - - 5614b719-0b3b-454e-9905-cf94c2112f67 - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - User-Agent: - - Ruby - response: - status: - code: 200 - message: OK - headers: - Content-Type: - - text/xml - Cache-Control: - - no-cache - Connection: - - close - Content-Length: - - '393' - body: - encoding: UTF-8 - string: | - - - - - - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/build/home:package_test_user/_result?lastbuild=1&locallink=1&multibuild=1&package=test_package&view=status @@ -610,7 +533,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 5614b719-0b3b-454e-9905-cf94c2112f67 + - 1369a71a-464f-4cef-a418-1e83bcc2930f Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -635,7 +558,7 @@ http_interactions: string: ' ' - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/build/home:package_test_user/_result?package=test_package&view=status @@ -644,7 +567,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 9cdbe266-47cb-42c2-a492-81c51ec63c1f + - 5fa7316b-1b6d-4f6e-b859-7ef462f20914 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -669,44 +592,7 @@ http_interactions: string: ' ' - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT -- request: - method: get - uri: http://backend:5352/source/home:package_test_user/test_package - body: - encoding: US-ASCII - string: '' - headers: - X-Request-Id: - - 32b6168f-bcd9-4778-b69a-9fd2a235632f - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - User-Agent: - - Ruby - response: - status: - code: 200 - message: OK - headers: - Content-Type: - - text/xml - Cache-Control: - - no-cache - Connection: - - close - Content-Length: - - '393' - body: - encoding: UTF-8 - string: | - - - - - - recorded_at: Fri, 24 Feb 2023 13:39:19 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -715,7 +601,7 @@ http_interactions: string: '' headers: X-Request-Id: - - a0a5c2db-9125-489d-ba3c-6be2a4475381 + - 6f0a5734-5d67-424c-a9c4-d915708118d9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -734,53 +620,15 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '297' body: encoding: UTF-8 string: | - - - - + + + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT -- request: - method: get - uri: http://backend:5352/source/home:package_test_user/test_package - body: - encoding: US-ASCII - string: '' - headers: - X-Request-Id: - - a0a5c2db-9125-489d-ba3c-6be2a4475381 - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - User-Agent: - - Ruby - response: - status: - code: 200 - message: OK - headers: - Content-Type: - - text/xml - Cache-Control: - - no-cache - Connection: - - close - Content-Length: - - '393' - body: - encoding: UTF-8 - string: | - - - - - - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: put uri: http://backend:5352/source/home:package_test_user/test_package/new_file?rev=repository&user=package_test_user @@ -789,7 +637,7 @@ http_interactions: string: '' headers: X-Request-Id: - - a0a5c2db-9125-489d-ba3c-6be2a4475381 + - 6f0a5734-5d67-424c-a9c4-d915708118d9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -815,20 +663,20 @@ http_interactions: d41d8cd98f00b204e9800998ecf8427e - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: post uri: http://backend:5352/source/home:package_test_user/test_package?cmd=commitfilelist&comment=&user=package_test_user body: encoding: UTF-8 - string: + string: headers: Content-Type: - application/octet-stream X-Request-Id: - - a0a5c2db-9125-489d-ba3c-6be2a4475381 + - 6f0a5734-5d67-424c-a9c4-d915708118d9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -847,16 +695,16 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '391' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: put uri: http://backend:5352/source/home:package_test_user/test_package/_meta?user=package_test_user @@ -864,8 +712,8 @@ http_interactions: encoding: UTF-8 string: | - Time of our Darkness - Aut nam assumenda eos. + Of Mice and Men + Aut cum ullam maiores. headers: Accept-Encoding: @@ -886,15 +734,15 @@ http_interactions: Connection: - close Content-Length: - - '164' + - '159' body: encoding: UTF-8 string: | - Time of our Darkness - Aut nam assumenda eos. + Of Mice and Men + Aut cum ullam maiores. - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -920,16 +768,16 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '391' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package?view=info @@ -938,7 +786,7 @@ http_interactions: string: '' headers: X-Request-Id: - - a0a5c2db-9125-489d-ba3c-6be2a4475381 + - 6f0a5734-5d67-424c-a9c4-d915708118d9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -957,14 +805,14 @@ http_interactions: Connection: - close Content-Length: - - '232' + - '230' body: encoding: UTF-8 string: | - + bad build configuration, no build type defined or detected - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -973,7 +821,7 @@ http_interactions: string: '' headers: X-Request-Id: - - a0a5c2db-9125-489d-ba3c-6be2a4475381 + - 6f0a5734-5d67-424c-a9c4-d915708118d9 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -992,16 +840,16 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '391' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: post uri: http://backend:5352/source/home:package_test_user/test_package?cmd=diff&linkrev=base&onlyissues=1&orev=0&view=xml @@ -1029,18 +877,18 @@ http_interactions: Connection: - close Content-Length: - - '331' + - '330' body: encoding: UTF-8 string: | - + - + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -1049,7 +897,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 5e50d272-8cbc-4321-89c9-613df9fa1625 + - 3e65abd6-27c2-4cb0-8132-1e551a441f7e Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1068,19 +916,19 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '391' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get - uri: http://backend:5352/source/home:package_test_user/test_package?expand=1&rev=95 + uri: http://backend:5352/source/home:package_test_user/test_package?expand=1&rev=3 body: encoding: US-ASCII string: '' @@ -1103,25 +951,25 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '391' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get - uri: http://backend:5352/source/home:package_test_user/test_package/_history?deleted=0&meta=0&rev=95 + uri: http://backend:5352/source/home:package_test_user/test_package/_history?deleted=0&meta=0&rev=3 body: encoding: US-ASCII string: '' headers: X-Request-Id: - - 5e50d272-8cbc-4321-89c9-613df9fa1625 + - 3e65abd6-27c2-4cb0-8132-1e551a441f7e Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1140,56 +988,19 @@ http_interactions: Connection: - close Content-Length: - - '225' + - '223' body: encoding: UTF-8 string: | - - c10f23e8c90245728500e06a498a8512 + + 678787247aea5163dc2bec8dceaa733f unknown - + package_test_user - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT -- request: - method: get - uri: http://backend:5352/source/home:package_test_user/test_package - body: - encoding: US-ASCII - string: '' - headers: - X-Request-Id: - - 5e50d272-8cbc-4321-89c9-613df9fa1625 - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - User-Agent: - - Ruby - response: - status: - code: 200 - message: OK - headers: - Content-Type: - - text/xml - Cache-Control: - - no-cache - Connection: - - close - Content-Length: - - '393' - body: - encoding: UTF-8 - string: | - - - - - - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -1198,7 +1009,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 5e50d272-8cbc-4321-89c9-613df9fa1625 + - 3e65abd6-27c2-4cb0-8132-1e551a441f7e Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1217,16 +1028,16 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '391' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/source/home:package_test_user/test_package @@ -1235,7 +1046,7 @@ http_interactions: string: '' headers: X-Request-Id: - - eab89506-084b-450e-bcc2-fe36f741f062 + - 3e65abd6-27c2-4cb0-8132-1e551a441f7e Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1254,16 +1065,16 @@ http_interactions: Connection: - close Content-Length: - - '393' + - '391' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:15 GMT - request: method: get uri: http://backend:5352/build/home:package_test_user/_result?lastbuild=1&locallink=1&multibuild=1&package=test_package&view=status @@ -1272,7 +1083,7 @@ http_interactions: string: '' headers: X-Request-Id: - - eab89506-084b-450e-bcc2-fe36f741f062 + - a4a785d4-250c-408e-ac5b-7de7fdfacad8 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1297,44 +1108,7 @@ http_interactions: string: ' ' - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT -- request: - method: get - uri: http://backend:5352/source/home:package_test_user/test_package - body: - encoding: US-ASCII - string: '' - headers: - X-Request-Id: - - f7c1ba5d-2a18-4cb7-8cb2-7aab860b9a29 - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - User-Agent: - - Ruby - response: - status: - code: 200 - message: OK - headers: - Content-Type: - - text/xml - Cache-Control: - - no-cache - Connection: - - close - Content-Length: - - '393' - body: - encoding: UTF-8 - string: | - - - - - - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:16 GMT - request: method: get uri: http://backend:5352/build/home:package_test_user/_result?lastbuild=1&locallink=1&multibuild=1&package=test_package&view=status @@ -1343,7 +1117,7 @@ http_interactions: string: '' headers: X-Request-Id: - - f7c1ba5d-2a18-4cb7-8cb2-7aab860b9a29 + - 8bccbcc7-6bd0-4bdf-a21b-b80148b3c625 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1368,7 +1142,7 @@ http_interactions: string: ' ' - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT + recorded_at: Fri, 22 Sep 2023 14:12:16 GMT - request: method: get uri: http://backend:5352/build/home:package_test_user/_result?package=test_package&view=status @@ -1377,7 +1151,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 6546cb46-2476-4c3b-8add-618fd6382edd + - ebba2b4f-7552-4454-bff7-be4c2138e728 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -1402,5 +1176,5 @@ http_interactions: string: ' ' - recorded_at: Fri, 24 Feb 2023 13:39:20 GMT -recorded_with: VCR 6.1.0 + recorded_at: Fri, 22 Sep 2023 14:12:16 GMT +recorded_with: VCR 6.2.0