From 57cc062666f658c69057fd9045d4504fd463acc8 Mon Sep 17 00:00:00 2001 From: Jay Michalska Date: Mon, 21 Oct 2024 09:59:44 +0200 Subject: [PATCH] Update the cassettes for displaying the more accurate diffs --- ...the_changes_after_adding_a_new_comment.yml | 451 ++++++++++-------- 1 file changed, 240 insertions(+), 211 deletions(-) diff --git a/src/api/spec/cassettes/Comments_with_diff/reply_comment/when_under_the_beta_program/displays_the_changes_after_adding_a_new_comment.yml b/src/api/spec/cassettes/Comments_with_diff/reply_comment/when_under_the_beta_program/displays_the_changes_after_adding_a_new_comment.yml index 2efed8e656b..c48bec736b4 100644 --- a/src/api/spec/cassettes/Comments_with_diff/reply_comment/when_under_the_beta_program/displays_the_changes_after_adding_a_new_comment.yml +++ b/src/api/spec/cassettes/Comments_with_diff/reply_comment/when_under_the_beta_program/displays_the_changes_after_adding_a_new_comment.yml @@ -7,7 +7,7 @@ http_interactions: encoding: UTF-8 string: | - Wildfire at Midnight + The Wealth of Nations headers: @@ -29,15 +29,15 @@ http_interactions: Connection: - close Content-Length: - - '111' + - '112' body: encoding: UTF-8 string: | - Wildfire at Midnight + The Wealth of Nations - recorded_at: Mon, 22 Jan 2024 10:25:08 GMT + recorded_at: Mon, 21 Oct 2024 07:55:26 GMT - request: method: put uri: http://backend:5352/source/target_project/target_package/_meta?user=user_2 @@ -45,8 +45,8 @@ http_interactions: encoding: UTF-8 string: | - The Monkey's Raincoat - Ex rem eos ratione. + Shall not Perish + Dolores doloribus perspiciatis et. headers: Accept-Encoding: @@ -67,15 +67,15 @@ http_interactions: Connection: - close Content-Length: - - '156' + - '166' body: encoding: UTF-8 string: | - The Monkey's Raincoat - Ex rem eos ratione. + Shall not Perish + Dolores doloribus perspiciatis et. - recorded_at: Mon, 22 Jan 2024 10:25:08 GMT + recorded_at: Mon, 21 Oct 2024 07:55:26 GMT - request: method: put uri: http://backend:5352/source/source_project/_meta?user=user_3 @@ -83,7 +83,7 @@ http_interactions: encoding: UTF-8 string: | - To Your Scattered Bodies Go + Things Fall Apart headers: @@ -105,15 +105,15 @@ http_interactions: Connection: - close Content-Length: - - '118' + - '108' body: encoding: UTF-8 string: | - To Your Scattered Bodies Go + Things Fall Apart - recorded_at: Mon, 22 Jan 2024 10:25:08 GMT + recorded_at: Mon, 21 Oct 2024 07:55:26 GMT - request: method: put uri: http://backend:5352/source/source_project/_project/_attribute?meta=1&user=user_3 @@ -142,18 +142,18 @@ http_interactions: Connection: - close Content-Length: - - '169' + - '168' body: encoding: UTF-8 string: | - - e28df5c238c3194b485915bc8eade511 - + + f827c7465192760ab7701d3df7b20386 + user_3 - recorded_at: Mon, 22 Jan 2024 10:25:08 GMT + recorded_at: Mon, 21 Oct 2024 07:55:27 GMT - request: method: put uri: http://backend:5352/source/source_project/package_a/_meta?user=user_4 @@ -161,8 +161,8 @@ http_interactions: encoding: UTF-8 string: | - Many Waters - Odit occaecati reprehenderit omnis. + Alone on a Wide, Wide Sea + Repellat nesciunt ut exercitationem. headers: Accept-Encoding: @@ -183,21 +183,21 @@ http_interactions: Connection: - close Content-Length: - - '157' + - '172' body: encoding: UTF-8 string: | - Many Waters - Odit occaecati reprehenderit omnis. + Alone on a Wide, Wide Sea + Repellat nesciunt ut exercitationem. - recorded_at: Mon, 22 Jan 2024 10:25:08 GMT + recorded_at: Mon, 21 Oct 2024 07:55:27 GMT - request: method: put uri: http://backend:5352/source/source_project/package_a/README.txt body: encoding: UTF-8 - string: Laborum et molestias. Aut doloribus voluptas. Molestias ea quas. + string: Atque maxime aut. Libero non sunt. Asperiores ipsum molestias. headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 @@ -217,19 +217,19 @@ http_interactions: Connection: - close Content-Length: - - '203' + - '201' body: encoding: UTF-8 string: | - - e28e4e4200caea0f6b7798cc3af2957f + + a09afa482a997030612d990e3b7733aa 1 - + unknown - recorded_at: Mon, 22 Jan 2024 10:25:08 GMT + recorded_at: Mon, 21 Oct 2024 07:55:27 GMT - request: method: put uri: http://backend:5352/source/source_project/package_a/package_a.spec @@ -282,19 +282,19 @@ http_interactions: Connection: - close Content-Length: - - '203' + - '201' body: encoding: UTF-8 string: | - - e28e4e4200caea0f6b7798cc3af2957f + + a09afa482a997030612d990e3b7733aa 1 - + unknown - recorded_at: Mon, 22 Jan 2024 10:25:08 GMT + recorded_at: Mon, 21 Oct 2024 07:55:27 GMT - request: method: put uri: http://backend:5352/source/source_project/package_a/package_a.changes @@ -320,19 +320,19 @@ http_interactions: Connection: - close Content-Length: - - '203' + - '201' body: encoding: UTF-8 string: | - - e28e4e4200caea0f6b7798cc3af2957f + + a09afa482a997030612d990e3b7733aa 1 - + unknown - recorded_at: Mon, 22 Jan 2024 10:25:08 GMT + recorded_at: Mon, 21 Oct 2024 07:55:27 GMT - request: method: get uri: http://backend:5352/source/source_project/package_a @@ -358,16 +358,16 @@ http_interactions: Connection: - close Content-Length: - - '406' + - '404' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Mon, 22 Jan 2024 10:25:09 GMT + recorded_at: Mon, 21 Oct 2024 07:55:27 GMT - request: method: post uri: http://backend:5352/source/source_project/package_a?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000&view=xml&withissues=1 @@ -395,18 +395,18 @@ http_interactions: Connection: - close Content-Length: - - '1939' + - '1468' body: encoding: UTF-8 string: | - - - + + + - + @@ -0,0 +1,1 @@ - +Laborum et molestias. Aut doloribus voluptas. Molestias ea quas. + +Atque maxime aut. Libero non sunt. Asperiores ipsum molestias. \ No newline at end of file @@ -447,27 +447,47 @@ http_interactions: + +%changelog +# let skip this for now - - - - - @@ -1,1 +0,0 @@ - -Autem sunt et. Rem laborum quibusdam. Et autem delectus. - \ No newline at end of file - - - - - @@ -1,1 +0,0 @@ - -# This will be replaced - \ No newline at end of file - recorded_at: Mon, 22 Jan 2024 10:25:09 GMT + recorded_at: Mon, 21 Oct 2024 07:55:27 GMT +- request: + method: get + uri: http://backend:5352/source/target_project/target_package + body: + encoding: US-ASCII + string: '' + headers: + X-Request-Id: + - fecc60ac-1d3d-4e26-a3ac-149c5bac0d02 + 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: + - '89' + body: + encoding: UTF-8 + string: | + + + recorded_at: Mon, 21 Oct 2024 07:55:32 GMT - request: method: get uri: http://backend:5352/build/source_project/_result?lastbuild=0&locallink=1&multibuild=1&package=package_a&view=status @@ -476,7 +496,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 8066546a-85bc-4492-b4b2-85e8fcfd3d92 + - 047c5eed-e875-4597-94d9-4eb7aabb462f Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -501,7 +521,7 @@ http_interactions: string: ' ' - recorded_at: Mon, 22 Jan 2024 10:25:15 GMT + recorded_at: Mon, 21 Oct 2024 07:55:32 GMT - request: method: get uri: http://backend:5352/source/source_project/package_a @@ -510,7 +530,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 8066546a-85bc-4492-b4b2-85e8fcfd3d92 + - 047c5eed-e875-4597-94d9-4eb7aabb462f Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -529,16 +549,16 @@ http_interactions: Connection: - close Content-Length: - - '406' + - '404' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Mon, 22 Jan 2024 10:25:15 GMT + recorded_at: Mon, 21 Oct 2024 07:55:32 GMT - request: method: post uri: http://backend:5352/source/source_project/package_a?cacheonly=1&cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000&view=xml&withissues=1 @@ -549,7 +569,7 @@ http_interactions: Content-Type: - application/octet-stream X-Request-Id: - - 8066546a-85bc-4492-b4b2-85e8fcfd3d92 + - 047c5eed-e875-4597-94d9-4eb7aabb462f Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -564,7 +584,7 @@ http_interactions: Content-Type: - text/xml Content-Length: - - '1939' + - '1468' Cache-Control: - no-cache Connection: @@ -572,14 +592,14 @@ http_interactions: body: encoding: UTF-8 string: | - - - + + + - + @@ -0,0 +1,1 @@ - +Laborum et molestias. Aut doloribus voluptas. Molestias ea quas. + +Atque maxime aut. Libero non sunt. Asperiores ipsum molestias. \ No newline at end of file @@ -620,36 +640,22 @@ http_interactions: + +%changelog +# let skip this for now - - - - - @@ -1,1 +0,0 @@ - -Autem sunt et. Rem laborum quibusdam. Et autem delectus. - \ No newline at end of file - - - - - @@ -1,1 +0,0 @@ - -# This will be replaced - \ No newline at end of file - recorded_at: Mon, 22 Jan 2024 10:25:16 GMT + recorded_at: Mon, 21 Oct 2024 07:55:32 GMT - request: method: get - uri: http://backend:5352/source/target_project/target_package + uri: http://backend:5352/source/source_project/package_a body: encoding: US-ASCII string: '' headers: X-Request-Id: - - 8066546a-85bc-4492-b4b2-85e8fcfd3d92 + - 047c5eed-e875-4597-94d9-4eb7aabb462f Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -668,15 +674,104 @@ http_interactions: Connection: - close Content-Length: - - '299' + - '404' body: encoding: UTF-8 string: | - - - + + + + - recorded_at: Mon, 22 Jan 2024 10:25:16 GMT + recorded_at: Mon, 21 Oct 2024 07:55:32 GMT +- request: + method: post + uri: http://backend:5352/source/source_project/package_a?cacheonly=1&cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000&view=xml&withissues=1 + body: + encoding: UTF-8 + string: '' + headers: + Content-Type: + - application/octet-stream + X-Request-Id: + - 047c5eed-e875-4597-94d9-4eb7aabb462f + 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 + Content-Length: + - '1468' + Cache-Control: + - no-cache + Connection: + - close + body: + encoding: UTF-8 + string: | + + + + + + + @@ -0,0 +1,1 @@ + +Atque maxime aut. Libero non sunt. Asperiores ipsum molestias. + \ No newline at end of file + + + + + @@ -0,0 +1,1 @@ + +- Fixes ------ + \ No newline at end of file + + + + + @@ -0,0 +1,27 @@ + +Name: package_a + +Version: 1 + +Release: 1 + +Summary: Most simple RPM package + +License: CC0-1.0 + + + +%description + +This is my first RPM package, which does nothing. + + + +%prep + +# we have no source, so nothing here + + + +%build + +cat > package_a.sh <<EOF + +#!/usr/bin/bash + +echo Hello world, from package_a. + +EOF + + + +%install + +mkdir -p %{buildroot}/usr/bin/ + +install -m 755 package_a.sh %{buildroot}/usr/bin/package_a.sh + + + +%files + +/usr/bin/package_a.sh + + + +%changelog + +# let skip this for now + + + + + + + recorded_at: Mon, 21 Oct 2024 07:55:32 GMT - request: method: get uri: http://backend:5352/source/source_project/package_a @@ -685,7 +780,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 8066546a-85bc-4492-b4b2-85e8fcfd3d92 + - 047c5eed-e875-4597-94d9-4eb7aabb462f Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -704,19 +799,19 @@ http_interactions: Connection: - close Content-Length: - - '406' + - '404' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Mon, 22 Jan 2024 10:25:16 GMT + recorded_at: Mon, 21 Oct 2024 07:55:32 GMT - request: method: post - uri: http://backend:5352/source/source_project/package_a?cacheonly=1&cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000&view=xml&withissues=1 + uri: http://backend:5352/source/source_project/package_a?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000&view=xml&withissues=1 body: encoding: UTF-8 string: '' @@ -724,7 +819,7 @@ http_interactions: Content-Type: - application/octet-stream X-Request-Id: - - 8066546a-85bc-4492-b4b2-85e8fcfd3d92 + - 047c5eed-e875-4597-94d9-4eb7aabb462f Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -739,7 +834,7 @@ http_interactions: Content-Type: - text/xml Content-Length: - - '1939' + - '1468' Cache-Control: - no-cache Connection: @@ -747,14 +842,14 @@ http_interactions: body: encoding: UTF-8 string: | - - - + + + - + @@ -0,0 +1,1 @@ - +Laborum et molestias. Aut doloribus voluptas. Molestias ea quas. + +Atque maxime aut. Libero non sunt. Asperiores ipsum molestias. \ No newline at end of file @@ -795,27 +890,13 @@ http_interactions: + +%changelog +# let skip this for now - - - - - @@ -1,1 +0,0 @@ - -Autem sunt et. Rem laborum quibusdam. Et autem delectus. - \ No newline at end of file - - - - - @@ -1,1 +0,0 @@ - -# This will be replaced - \ No newline at end of file - recorded_at: Mon, 22 Jan 2024 10:25:16 GMT + recorded_at: Mon, 21 Oct 2024 07:55:33 GMT - request: method: get uri: http://backend:5352/source/target_project/target_package @@ -824,7 +905,7 @@ http_interactions: string: '' headers: X-Request-Id: - - 8066546a-85bc-4492-b4b2-85e8fcfd3d92 + - 047c5eed-e875-4597-94d9-4eb7aabb462f Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -843,15 +924,13 @@ http_interactions: Connection: - close Content-Length: - - '299' + - '89' body: encoding: UTF-8 string: | - - - + - recorded_at: Mon, 22 Jan 2024 10:25:16 GMT + recorded_at: Mon, 21 Oct 2024 07:55:33 GMT - request: method: get uri: http://backend:5352/build/source_project/_result?lastbuild=0&locallink=1&multibuild=1&package=package_a&view=status @@ -860,7 +939,7 @@ http_interactions: string: '' headers: X-Request-Id: - - abbfbf23-5679-4138-a037-c922d1a3cd67 + - 7ffcb582-1689-449b-92f7-3e8282eda9e2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -885,7 +964,7 @@ http_interactions: string: ' ' - recorded_at: Mon, 22 Jan 2024 10:25:16 GMT + recorded_at: Mon, 21 Oct 2024 07:55:33 GMT - request: method: get uri: http://backend:5352/source/source_project/package_a @@ -894,7 +973,7 @@ http_interactions: string: '' headers: X-Request-Id: - - bf5e76d6-ba04-4f20-a0b0-a3384517c0d5 + - a548b1a6-9a97-4727-896c-b86fe4f8b29d Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -913,19 +992,19 @@ http_interactions: Connection: - close Content-Length: - - '406' + - '404' body: encoding: UTF-8 string: | - - - - + + + + - recorded_at: Mon, 22 Jan 2024 10:25:17 GMT + recorded_at: Mon, 21 Oct 2024 07:55:34 GMT - request: method: post - uri: http://backend:5352/source/source_project/package_a?cacheonly=1&cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000&view=xml&withissues=1 + uri: http://backend:5352/source/source_project/package_a?cmd=diff&expand=1&filelimit=10000&opackage=target_package&oproject=target_project&tarlimit=10000&view=xml&withissues=1 body: encoding: UTF-8 string: '' @@ -933,7 +1012,7 @@ http_interactions: Content-Type: - application/octet-stream X-Request-Id: - - bf5e76d6-ba04-4f20-a0b0-a3384517c0d5 + - a548b1a6-9a97-4727-896c-b86fe4f8b29d Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -948,7 +1027,7 @@ http_interactions: Content-Type: - text/xml Content-Length: - - '1939' + - '1468' Cache-Control: - no-cache Connection: @@ -956,14 +1035,14 @@ http_interactions: body: encoding: UTF-8 string: | - - - + + + - + @@ -0,0 +1,1 @@ - +Laborum et molestias. Aut doloribus voluptas. Molestias ea quas. + +Atque maxime aut. Libero non sunt. Asperiores ipsum molestias. \ No newline at end of file @@ -1004,61 +1083,11 @@ http_interactions: + +%changelog +# let skip this for now - - - - - @@ -1,1 +0,0 @@ - -Autem sunt et. Rem laborum quibusdam. Et autem delectus. - \ No newline at end of file - - - - - @@ -1,1 +0,0 @@ - -# This will be replaced - \ No newline at end of file - recorded_at: Mon, 22 Jan 2024 10:25:17 GMT -- request: - method: get - uri: http://backend:5352/source/target_project/target_package - body: - encoding: US-ASCII - string: '' - headers: - X-Request-Id: - - bf5e76d6-ba04-4f20-a0b0-a3384517c0d5 - 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: - - '299' - body: - encoding: UTF-8 - string: | - - - - - recorded_at: Mon, 22 Jan 2024 10:25:17 GMT -recorded_with: VCR 6.2.0 + recorded_at: Mon, 21 Oct 2024 07:55:34 GMT +recorded_with: VCR 6.3.1