summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/api/schemas/entities/test_case.json8
-rw-r--r--spec/fixtures/api/schemas/entities/test_case/recent_failures.json12
-rw-r--r--spec/fixtures/api/schemas/environment.json1
-rw-r--r--spec/fixtures/api/schemas/graphql/container_repositories.json12
-rw-r--r--spec/fixtures/api/schemas/graphql/container_repository.json40
-rw-r--r--spec/fixtures/api/schemas/graphql/container_repository_details.json49
-rw-r--r--spec/fixtures/api/schemas/internal/pages/lookup_path.json8
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/packages/package_files.json5
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/packages/package_with_build.json5
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/release.json6
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/release/release_for_guest.json6
-rw-r--r--spec/fixtures/csv_no_headers.csv3
-rw-r--r--spec/fixtures/dependency_proxy/a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.gzbin0 -> 32 bytes
-rw-r--r--spec/fixtures/domain_denylist.txt (renamed from spec/fixtures/domain_blacklist.txt)0
-rw-r--r--spec/fixtures/junit/junit_with_duplicate_failed_test_names.xml.gzbin0 -> 576 bytes
-rw-r--r--spec/fixtures/junit/junit_with_three_failures.xml.gzbin0 -> 545 bytes
-rw-r--r--spec/fixtures/lib/gitlab/import_export/complex/project.json20
-rw-r--r--spec/fixtures/lib/gitlab/import_export/designs/project.json9
-rw-r--r--spec/fixtures/packages/debian/README.md21
-rw-r--r--spec/fixtures/packages/debian/libsample0_1.2.3~alpha2-1_amd64.deb1
-rw-r--r--spec/fixtures/packages/debian/libsample0_1.2.3~alpha2_amd64.debbin0 -> 1124 bytes
-rw-r--r--spec/fixtures/packages/debian/sample-dev_1.2.3~binary_amd64.debbin0 -> 1164 bytes
-rw-r--r--spec/fixtures/packages/debian/sample-udeb_1.2.3~alpha2_amd64.udebbin0 -> 736 bytes
-rw-r--r--spec/fixtures/packages/debian/sample/debian/.gitignore8
-rw-r--r--spec/fixtures/packages/debian/sample/debian/changelog5
-rw-r--r--spec/fixtures/packages/debian/sample/debian/control35
-rwxr-xr-xspec/fixtures/packages/debian/sample/debian/rules6
-rw-r--r--spec/fixtures/packages/debian/sample/debian/source/format1
-rw-r--r--spec/fixtures/packages/debian/sample_1.2.3~alpha2.dsc19
-rw-r--r--spec/fixtures/packages/debian/sample_1.2.3~alpha2.tar.xzbin0 -> 864 bytes
-rw-r--r--spec/fixtures/packages/debian/sample_1.2.3~alpha2_amd64.buildinfo180
-rw-r--r--spec/fixtures/packages/debian/sample_1.2.3~alpha2_amd64.changes39
-rw-r--r--spec/fixtures/whats_new/20201225_01_01.yml (renamed from spec/fixtures/whats_new/01.yml)0
-rw-r--r--spec/fixtures/whats_new/20201225_01_02.yml (renamed from spec/fixtures/whats_new/02.yml)0
-rw-r--r--spec/fixtures/whats_new/20201225_01_05.yml (renamed from spec/fixtures/whats_new/05.yml)1
35 files changed, 483 insertions, 17 deletions
diff --git a/spec/fixtures/api/schemas/entities/test_case.json b/spec/fixtures/api/schemas/entities/test_case.json
index d731d7eed0a..483fa881f8c 100644
--- a/spec/fixtures/api/schemas/entities/test_case.json
+++ b/spec/fixtures/api/schemas/entities/test_case.json
@@ -12,7 +12,13 @@
"execution_time": { "type": "float" },
"system_output": { "type": ["string", "null"] },
"stack_trace": { "type": ["string", "null"] },
- "attachment_url": { "type": ["string", "null"] }
+ "attachment_url": { "type": ["string", "null"] },
+ "recent_failures": {
+ "oneOf": [
+ { "type": "null" },
+ { "$ref": "test_case/recent_failures.json" }
+ ]
+ }
},
"additionalProperties": false
}
diff --git a/spec/fixtures/api/schemas/entities/test_case/recent_failures.json b/spec/fixtures/api/schemas/entities/test_case/recent_failures.json
new file mode 100644
index 00000000000..7a753101472
--- /dev/null
+++ b/spec/fixtures/api/schemas/entities/test_case/recent_failures.json
@@ -0,0 +1,12 @@
+{
+ "type": "object",
+ "required": [
+ "count",
+ "base_branch"
+ ],
+ "properties": {
+ "count": { "type": "integer" },
+ "base_branch": { "type": "string" }
+ },
+ "additionalProperties": false
+}
diff --git a/spec/fixtures/api/schemas/environment.json b/spec/fixtures/api/schemas/environment.json
index 7c49b269994..b8c4253056e 100644
--- a/spec/fixtures/api/schemas/environment.json
+++ b/spec/fixtures/api/schemas/environment.json
@@ -16,6 +16,7 @@
],
"properties": {
"id": { "type": "integer" },
+ "global_id": { "type": "string" },
"name": { "type": "string" },
"state": { "type": "string" },
"external_url": { "$ref": "types/nullable_string.json" },
diff --git a/spec/fixtures/api/schemas/graphql/container_repositories.json b/spec/fixtures/api/schemas/graphql/container_repositories.json
new file mode 100644
index 00000000000..8e8982ff8c7
--- /dev/null
+++ b/spec/fixtures/api/schemas/graphql/container_repositories.json
@@ -0,0 +1,12 @@
+{
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": ["node"],
+ "properties": {
+ "node": {
+ "$ref": "./container_repository.json"
+ }
+ }
+ }
+}
diff --git a/spec/fixtures/api/schemas/graphql/container_repository.json b/spec/fixtures/api/schemas/graphql/container_repository.json
new file mode 100644
index 00000000000..e252bedab82
--- /dev/null
+++ b/spec/fixtures/api/schemas/graphql/container_repository.json
@@ -0,0 +1,40 @@
+{
+ "type": "object",
+ "required": ["id", "name", "path", "location", "createdAt", "updatedAt", "tagsCount", "canDelete", "expirationPolicyCleanupStatus"],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "location": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ },
+ "expirationPolicyStartedAt": {
+ "type": ["string", "null"]
+ },
+ "status": {
+ "type": ["string", "null"]
+ },
+ "tagsCount": {
+ "type": "integer"
+ },
+ "canDelete": {
+ "type": "boolean"
+ },
+ "expirationPolicyCleanupStatus": {
+ "type": "string",
+ "enum": ["UNSCHEDULED", "SCHEDULED", "UNFINISHED", "ONGOING"]
+ }
+ }
+}
diff --git a/spec/fixtures/api/schemas/graphql/container_repository_details.json b/spec/fixtures/api/schemas/graphql/container_repository_details.json
new file mode 100644
index 00000000000..3db91796fc6
--- /dev/null
+++ b/spec/fixtures/api/schemas/graphql/container_repository_details.json
@@ -0,0 +1,49 @@
+{
+ "type": "object",
+ "required": ["tags"],
+ "allOf": [{ "$ref": "./container_repository.json" }],
+ "properties": {
+ "tags": {
+ "type": "object",
+ "required": ["nodes"],
+ "properties": {
+ "nodes": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": ["name", "path", "location", "digest", "revision", "shortRevision", "totalSize", "createdAt", "canDelete"],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "location": {
+ "type": "string"
+ },
+ "digest": {
+ "type": "string"
+ },
+ "revision": {
+ "type": "string"
+ },
+ "shortRevision": {
+ "type": "string"
+ },
+ "totalSize": {
+ "type": "integer"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "canDelete": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/spec/fixtures/api/schemas/internal/pages/lookup_path.json b/spec/fixtures/api/schemas/internal/pages/lookup_path.json
index b2b3d3f9d0a..9d81ea495f1 100644
--- a/spec/fixtures/api/schemas/internal/pages/lookup_path.json
+++ b/spec/fixtures/api/schemas/internal/pages/lookup_path.json
@@ -14,8 +14,12 @@
"source": { "type": "object",
"required": ["type", "path"],
"properties" : {
- "type": { "type": "string", "enum": ["file"] },
- "path": { "type": "string" }
+ "type": { "type": "string", "enum": ["file", "zip"] },
+ "path": { "type": "string" },
+ "global_id": { "type": "string" },
+ "sha256": { "type": "string" },
+ "file_size": { "type": "integer" },
+ "file_count": { "type": ["integer", "null"] }
},
"additionalProperties": false
},
diff --git a/spec/fixtures/api/schemas/public_api/v4/packages/package_files.json b/spec/fixtures/api/schemas/public_api/v4/packages/package_files.json
index f057adba65c..93b6dcde080 100644
--- a/spec/fixtures/api/schemas/public_api/v4/packages/package_files.json
+++ b/spec/fixtures/api/schemas/public_api/v4/packages/package_files.json
@@ -7,7 +7,10 @@
"id": { "type": "integer" },
"package_id": { "type": "integer" },
"file_name": { "type": "string" },
- "file_sha1": { "type": "string" }
+ "file_sha1": { "type": "string" },
+ "pipelines": {
+ "items": { "$ref": "../pipeline.json" }
+ }
}
}
}
diff --git a/spec/fixtures/api/schemas/public_api/v4/packages/package_with_build.json b/spec/fixtures/api/schemas/public_api/v4/packages/package_with_build.json
index de3ef94138e..86b4e205c3e 100644
--- a/spec/fixtures/api/schemas/public_api/v4/packages/package_with_build.json
+++ b/spec/fixtures/api/schemas/public_api/v4/packages/package_with_build.json
@@ -5,6 +5,9 @@
"name": { "type": "string" },
"version": { "type": "string" },
"package_type": { "type": "string" },
- "pipeline": { "$ref": "../pipeline.json" }
+ "pipeline": { "$ref": "../pipeline.json" },
+ "pipelines": {
+ "items": { "$ref": "../pipeline.json" }
+ }
}
}
diff --git a/spec/fixtures/api/schemas/public_api/v4/release.json b/spec/fixtures/api/schemas/public_api/v4/release.json
index 02e23d2732d..69ac383b7fd 100644
--- a/spec/fixtures/api/schemas/public_api/v4/release.json
+++ b/spec/fixtures/api/schemas/public_api/v4/release.json
@@ -21,7 +21,6 @@
},
"commit_path": { "type": "string" },
"tag_path": { "type": "string" },
- "name": { "type": "string" },
"evidences": {
"type": "array",
"items": { "$ref": "release/evidence.json" }
@@ -42,11 +41,8 @@
"additionalProperties": false
},
"_links": {
- "required": ["merge_requests_url", "issues_url"],
"properties": {
- "merge_requests_url": { "type": "string" },
- "issues_url": { "type": "string" },
- "edit_url": { "type": "string"}
+ "edit_url": { "type": "string" }
}
}
},
diff --git a/spec/fixtures/api/schemas/public_api/v4/release/release_for_guest.json b/spec/fixtures/api/schemas/public_api/v4/release/release_for_guest.json
index 1a1e92ac778..058b7b4b4ed 100644
--- a/spec/fixtures/api/schemas/public_api/v4/release/release_for_guest.json
+++ b/spec/fixtures/api/schemas/public_api/v4/release/release_for_guest.json
@@ -26,11 +26,7 @@
"additionalProperties": false
},
"_links": {
- "required": ["merge_requests_url", "issues_url"],
- "properties": {
- "merge_requests_url": { "type": "string" },
- "issues_url": { "type": "string" }
- }
+ "properties": {}
}
},
"additionalProperties": false
diff --git a/spec/fixtures/csv_no_headers.csv b/spec/fixtures/csv_no_headers.csv
new file mode 100644
index 00000000000..364f7e8f1ae
--- /dev/null
+++ b/spec/fixtures/csv_no_headers.csv
@@ -0,0 +1,3 @@
+Issue in 中文,Test description
+"Hello","World"
+"Title with quote""",Description
diff --git a/spec/fixtures/dependency_proxy/a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.gz b/spec/fixtures/dependency_proxy/a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.gz
new file mode 100644
index 00000000000..14043720eaf
--- /dev/null
+++ b/spec/fixtures/dependency_proxy/a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.gz
Binary files differ
diff --git a/spec/fixtures/domain_blacklist.txt b/spec/fixtures/domain_denylist.txt
index baeb11eda9a..baeb11eda9a 100644
--- a/spec/fixtures/domain_blacklist.txt
+++ b/spec/fixtures/domain_denylist.txt
diff --git a/spec/fixtures/junit/junit_with_duplicate_failed_test_names.xml.gz b/spec/fixtures/junit/junit_with_duplicate_failed_test_names.xml.gz
new file mode 100644
index 00000000000..9bcd06759da
--- /dev/null
+++ b/spec/fixtures/junit/junit_with_duplicate_failed_test_names.xml.gz
Binary files differ
diff --git a/spec/fixtures/junit/junit_with_three_failures.xml.gz b/spec/fixtures/junit/junit_with_three_failures.xml.gz
new file mode 100644
index 00000000000..8ea9a9db437
--- /dev/null
+++ b/spec/fixtures/junit/junit_with_three_failures.xml.gz
Binary files differ
diff --git a/spec/fixtures/lib/gitlab/import_export/complex/project.json b/spec/fixtures/lib/gitlab/import_export/complex/project.json
index d88b2ebc83a..637e01bf123 100644
--- a/spec/fixtures/lib/gitlab/import_export/complex/project.json
+++ b/spec/fixtures/lib/gitlab/import_export/complex/project.json
@@ -7211,5 +7211,23 @@
}
]
}
- ]
+ ],
+ "push_rule": {
+ "force_push_regex": "MustContain",
+ "delete_branch_regex": "MustContain",
+ "commit_message_regex": "MustContain",
+ "author_email_regex": "MustContain",
+ "file_name_regex": "MustContain",
+ "branch_name_regex": "MustContain",
+ "commit_message_negative_regex": "MustNotContain",
+ "max_file_size": 1,
+ "deny_delete_tag": true,
+ "member_check": true,
+ "is_sample": true,
+ "prevent_secrets": true,
+ "reject_unsigned_commits": true,
+ "commit_committer_check": true,
+ "regexp_uses_re2": true
+ }
+
}
diff --git a/spec/fixtures/lib/gitlab/import_export/designs/project.json b/spec/fixtures/lib/gitlab/import_export/designs/project.json
index ebc08868d9e..e11b10a1d4c 100644
--- a/spec/fixtures/lib/gitlab/import_export/designs/project.json
+++ b/spec/fixtures/lib/gitlab/import_export/designs/project.json
@@ -98,6 +98,7 @@
"designs":[
{
"id":38,
+ "iid": 1,
"project_id":30,
"issue_id":469,
"filename":"chirrido3.jpg",
@@ -107,6 +108,7 @@
},
{
"id":39,
+ "iid": 2,
"project_id":30,
"issue_id":469,
"filename":"jonathan_richman.jpg",
@@ -116,6 +118,7 @@
},
{
"id":40,
+ "iid": 3,
"project_id":30,
"issue_id":469,
"filename":"mariavontrap.jpeg",
@@ -137,6 +140,7 @@
"event":0,
"design":{
"id":38,
+ "iid": 1,
"project_id":30,
"issue_id":469,
"filename":"chirrido3.jpg"
@@ -156,6 +160,7 @@
"event":1,
"design":{
"id":38,
+ "iid": 1,
"project_id":30,
"issue_id":469,
"filename":"chirrido3.jpg"
@@ -167,6 +172,7 @@
"event":0,
"design":{
"id":39,
+ "iid": 2,
"project_id":30,
"issue_id":469,
"filename":"jonathan_richman.jpg"
@@ -186,6 +192,7 @@
"event":1,
"design":{
"id":38,
+ "iid": 1,
"project_id":30,
"issue_id":469,
"filename":"chirrido3.jpg"
@@ -197,6 +204,7 @@
"event":2,
"design":{
"id":39,
+ "iid": 2,
"project_id":30,
"issue_id":469,
"filename":"jonathan_richman.jpg"
@@ -208,6 +216,7 @@
"event":0,
"design":{
"id":40,
+ "iid": 3,
"project_id":30,
"issue_id":469,
"filename":"mariavontrap.jpeg"
diff --git a/spec/fixtures/packages/debian/README.md b/spec/fixtures/packages/debian/README.md
new file mode 100644
index 00000000000..e398222ce62
--- /dev/null
+++ b/spec/fixtures/packages/debian/README.md
@@ -0,0 +1,21 @@
+# Build a Debian package
+
+Install the build dependencies:
+
+```shell
+sudo apt install dpkg-dev
+```
+
+Go to the `spec/fixtures/packages/debian` directory and clean up old files:
+
+```shell
+cd spec/fixtures/packages/debian
+rm -v *.tar.* *.dsc *.deb *.udeb *.buildinfo *.changes
+```
+
+Go to the package source directory and build:
+
+```shell
+cd sample
+dpkg-buildpackage --no-sign
+```
diff --git a/spec/fixtures/packages/debian/libsample0_1.2.3~alpha2-1_amd64.deb b/spec/fixtures/packages/debian/libsample0_1.2.3~alpha2-1_amd64.deb
deleted file mode 100644
index c6cac69265a..00000000000
--- a/spec/fixtures/packages/debian/libsample0_1.2.3~alpha2-1_amd64.deb
+++ /dev/null
@@ -1 +0,0 @@
-empty
diff --git a/spec/fixtures/packages/debian/libsample0_1.2.3~alpha2_amd64.deb b/spec/fixtures/packages/debian/libsample0_1.2.3~alpha2_amd64.deb
new file mode 100644
index 00000000000..e428f8fcf76
--- /dev/null
+++ b/spec/fixtures/packages/debian/libsample0_1.2.3~alpha2_amd64.deb
Binary files differ
diff --git a/spec/fixtures/packages/debian/sample-dev_1.2.3~binary_amd64.deb b/spec/fixtures/packages/debian/sample-dev_1.2.3~binary_amd64.deb
new file mode 100644
index 00000000000..70567d75265
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample-dev_1.2.3~binary_amd64.deb
Binary files differ
diff --git a/spec/fixtures/packages/debian/sample-udeb_1.2.3~alpha2_amd64.udeb b/spec/fixtures/packages/debian/sample-udeb_1.2.3~alpha2_amd64.udeb
new file mode 100644
index 00000000000..b69692a26d4
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample-udeb_1.2.3~alpha2_amd64.udeb
Binary files differ
diff --git a/spec/fixtures/packages/debian/sample/debian/.gitignore b/spec/fixtures/packages/debian/sample/debian/.gitignore
new file mode 100644
index 00000000000..cb63a746c89
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample/debian/.gitignore
@@ -0,0 +1,8 @@
+.debhelper
+debhelper-build-stamp
+files
+*.substvars
+libsample0
+sample-dev
+sample-udeb
+
diff --git a/spec/fixtures/packages/debian/sample/debian/changelog b/spec/fixtures/packages/debian/sample/debian/changelog
new file mode 100644
index 00000000000..5c20ee43c36
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample/debian/changelog
@@ -0,0 +1,5 @@
+sample (1.2.3~alpha2) unstable; urgency=medium
+
+ * Initial release
+
+ -- John Doe <john.doe@example.com> Thu, 01 Oct 2020 09:35:15 +0200
diff --git a/spec/fixtures/packages/debian/sample/debian/control b/spec/fixtures/packages/debian/sample/debian/control
new file mode 100644
index 00000000000..168d8e20d62
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample/debian/control
@@ -0,0 +1,35 @@
+Source: sample
+Priority: optional
+Maintainer: John Doe <john.doe@example.com>
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.5.0
+Section: libs
+Homepage: https://gitlab.com/
+#Vcs-Browser: https://salsa.debian.org/debian/sample-1.2.3
+#Vcs-Git: https://salsa.debian.org/debian/sample-1.2.3.git
+Rules-Requires-Root: no
+
+Package: sample-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libsample0 (= ${binary:Version}), ${misc:Depends}
+Description: Some mostly empty developpement files
+ Used in GitLab tests.
+ .
+ Testing another paragraph.
+
+Package: libsample0
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Some mostly empty lib
+ Used in GitLab tests.
+ .
+ Testing another paragraph.
+
+Package: sample-udeb
+Package-Type: udeb
+Architecture: any
+Depends: installed-base
+Description: Some mostly empty udeb
diff --git a/spec/fixtures/packages/debian/sample/debian/rules b/spec/fixtures/packages/debian/sample/debian/rules
new file mode 100755
index 00000000000..8ae87843489
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+%:
+ dh $@
+override_dh_gencontrol:
+ dh_gencontrol -psample-dev -- -v'1.2.3~binary'
+ dh_gencontrol --remaining-packages
diff --git a/spec/fixtures/packages/debian/sample/debian/source/format b/spec/fixtures/packages/debian/sample/debian/source/format
new file mode 100644
index 00000000000..89ae9db8f88
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/spec/fixtures/packages/debian/sample_1.2.3~alpha2.dsc b/spec/fixtures/packages/debian/sample_1.2.3~alpha2.dsc
new file mode 100644
index 00000000000..164d4755ed4
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample_1.2.3~alpha2.dsc
@@ -0,0 +1,19 @@
+Format: 3.0 (native)
+Source: sample
+Binary: sample-dev, libsample0, sample-udeb
+Architecture: any
+Version: 1.2.3~alpha2
+Maintainer: John Doe <john.doe@example.com>
+Homepage: https://gitlab.com/
+Standards-Version: 4.5.0
+Build-Depends: debhelper-compat (= 13)
+Package-List:
+ libsample0 deb libs optional arch=any
+ sample-dev deb libdevel optional arch=any
+ sample-udeb udeb libs optional arch=any
+Checksums-Sha1:
+ 5f8bba5574eb01ac3b1f5e2988e8c29307788236 864 sample_1.2.3~alpha2.tar.xz
+Checksums-Sha256:
+ b5a599e88e7cbdda3bde808160a21ba1dd1ec76b2ec8d4912aae769648d68362 864 sample_1.2.3~alpha2.tar.xz
+Files:
+ d79b34f58f61ff4ad696d9bd0b8daa68 864 sample_1.2.3~alpha2.tar.xz
diff --git a/spec/fixtures/packages/debian/sample_1.2.3~alpha2.tar.xz b/spec/fixtures/packages/debian/sample_1.2.3~alpha2.tar.xz
new file mode 100644
index 00000000000..da70fd2094f
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample_1.2.3~alpha2.tar.xz
Binary files differ
diff --git a/spec/fixtures/packages/debian/sample_1.2.3~alpha2_amd64.buildinfo b/spec/fixtures/packages/debian/sample_1.2.3~alpha2_amd64.buildinfo
new file mode 100644
index 00000000000..dd63727ba31
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample_1.2.3~alpha2_amd64.buildinfo
@@ -0,0 +1,180 @@
+Format: 1.0
+Source: sample
+Binary: libsample0 sample-dev sample-udeb
+Architecture: amd64 source
+Version: 1.2.3~alpha2
+Checksums-Md5:
+ 3b0817804f669e16cdefac583ad88f0e 671 sample_1.2.3~alpha2.dsc
+ fb0842b21adc44207996296fe14439dd 1124 libsample0_1.2.3~alpha2_amd64.deb
+ d2afbd28e4d74430d22f9504e18bfdf5 1164 sample-dev_1.2.3~binary_amd64.deb
+ 72b1dd7d98229e2fb0355feda1d3a165 736 sample-udeb_1.2.3~alpha2_amd64.udeb
+Checksums-Sha1:
+ 32ecbd674f0bfd310df68484d87752490685a8d6 671 sample_1.2.3~alpha2.dsc
+ 5248b95600e85bfe7f63c0dfce330a75f5777366 1124 libsample0_1.2.3~alpha2_amd64.deb
+ f81e4f66c8c6bb899653a3340c157965ee69634f 1164 sample-dev_1.2.3~binary_amd64.deb
+ e42e8f2fe04ed1bb73b44a187674480d0e49dcba 736 sample-udeb_1.2.3~alpha2_amd64.udeb
+Checksums-Sha256:
+ 844f79825b7e8aaa191e514b58a81f9ac1e58e2180134b0c9512fa66d896d7ba 671 sample_1.2.3~alpha2.dsc
+ 1c383a525bfcba619c7305ccd106d61db501a6bbaf0003bf8d0c429fbdb7fcc1 1124 libsample0_1.2.3~alpha2_amd64.deb
+ 9fbeee2191ce4dab5288fad5ecac1bd369f58fef9a992a880eadf0caf25f086d 1164 sample-dev_1.2.3~binary_amd64.deb
+ 2b0c152b3ab4cc07663350424de972c2b7621d69fe6df2e0b94308a191e4632f 736 sample-udeb_1.2.3~alpha2_amd64.udeb
+Build-Origin: Debian
+Build-Architecture: amd64
+Build-Date: Thu, 08 Oct 2020 15:15:24 +0200
+Build-Tainted-By:
+ merged-usr-via-symlinks
+ usr-local-has-includes
+ usr-local-has-libraries
+ usr-local-has-programs
+Installed-Build-Depends:
+ autoconf (= 2.69-11.1),
+ automake (= 1:1.16.2-4),
+ autopoint (= 0.19.8.1-10),
+ autotools-dev (= 20180224.1),
+ base-files (= 11),
+ base-passwd (= 3.5.47),
+ bash (= 5.0-7),
+ binutils (= 2.35.1-1),
+ binutils-common (= 2.35.1-1),
+ binutils-x86-64-linux-gnu (= 2.35.1-1),
+ bsdextrautils (= 2.36-3+b1),
+ bsdmainutils (= 12.1.7),
+ bsdutils (= 1:2.36-3+b1),
+ build-essential (= 12.8),
+ bzip2 (= 1.0.8-4),
+ calendar (= 12.1.7),
+ coreutils (= 8.32-4+b1),
+ cpp (= 4:10.2.0-1),
+ cpp-10 (= 10.2.0-9),
+ cpp-9 (= 9.3.0-18),
+ dash (= 0.5.10.2-7),
+ debconf (= 1.5.74),
+ debhelper (= 13.2.1),
+ debianutils (= 4.11.2),
+ dh-autoreconf (= 19),
+ dh-strip-nondeterminism (= 1.9.0-1),
+ diffutils (= 1:3.7-3),
+ dpkg (= 1.20.5),
+ dpkg-dev (= 1.20.5),
+ dwz (= 0.13-5),
+ file (= 1:5.38-5),
+ findutils (= 4.7.0-1),
+ g++ (= 4:10.2.0-1),
+ g++-10 (= 10.2.0-9),
+ gcc (= 4:10.2.0-1),
+ gcc-10 (= 10.2.0-9),
+ gcc-10-base (= 10.2.0-9),
+ gcc-9 (= 9.3.0-18),
+ gcc-9-base (= 9.3.0-18),
+ gettext (= 0.19.8.1-10),
+ gettext-base (= 0.19.8.1-10),
+ grep (= 3.4-1),
+ groff-base (= 1.22.4-5),
+ gzip (= 1.10-2),
+ hostname (= 3.23),
+ init-system-helpers (= 1.58),
+ intltool-debian (= 0.35.0+20060710.5),
+ libacl1 (= 2.2.53-8),
+ libarchive-zip-perl (= 1.68-1),
+ libasan5 (= 9.3.0-18),
+ libasan6 (= 10.2.0-9),
+ libatomic1 (= 10.2.0-9),
+ libattr1 (= 1:2.4.48-5),
+ libaudit-common (= 1:2.8.5-3),
+ libaudit1 (= 1:2.8.5-3+b1),
+ libbinutils (= 2.35.1-1),
+ libblkid1 (= 2.36-3+b1),
+ libbsd0 (= 0.10.0-1),
+ libbz2-1.0 (= 1.0.8-4),
+ libc-bin (= 2.31-3),
+ libc-dev-bin (= 2.31-3),
+ libc6 (= 2.31-3),
+ libc6-dev (= 2.31-3),
+ libcap-ng0 (= 0.7.9-2.2),
+ libcc1-0 (= 10.2.0-9),
+ libcroco3 (= 0.6.13-1),
+ libcrypt-dev (= 1:4.4.17-1),
+ libcrypt1 (= 1:4.4.17-1),
+ libctf-nobfd0 (= 2.35.1-1),
+ libctf0 (= 2.35.1-1),
+ libdb5.3 (= 5.3.28+dfsg1-0.6),
+ libdebconfclient0 (= 0.254),
+ libdebhelper-perl (= 13.2.1),
+ libdpkg-perl (= 1.20.5),
+ libelf1 (= 0.181-1),
+ libffi7 (= 3.3-4),
+ libfile-stripnondeterminism-perl (= 1.9.0-1),
+ libgcc-10-dev (= 10.2.0-9),
+ libgcc-9-dev (= 9.3.0-18),
+ libgcc-s1 (= 10.2.0-9),
+ libgcrypt20 (= 1.8.6-2),
+ libgdbm-compat4 (= 1.18.1-5.1),
+ libgdbm6 (= 1.18.1-5.1),
+ libglib2.0-0 (= 2.66.0-2),
+ libgmp10 (= 2:6.2.0+dfsg-6),
+ libgomp1 (= 10.2.0-9),
+ libgpg-error0 (= 1.38-2),
+ libicu67 (= 67.1-4),
+ libisl22 (= 0.22.1-1),
+ libitm1 (= 10.2.0-9),
+ liblsan0 (= 10.2.0-9),
+ liblz4-1 (= 1.9.2-2),
+ liblzma5 (= 5.2.4-1+b1),
+ libmagic-mgc (= 1:5.38-5),
+ libmagic1 (= 1:5.38-5),
+ libmount1 (= 2.36-3+b1),
+ libmpc3 (= 1.2.0-1),
+ libmpfr6 (= 4.1.0-3),
+ libpam-modules (= 1.3.1-5),
+ libpam-modules-bin (= 1.3.1-5),
+ libpam-runtime (= 1.3.1-5),
+ libpam0g (= 1.3.1-5),
+ libpcre2-8-0 (= 10.34-7),
+ libpcre3 (= 2:8.39-13),
+ libperl5.30 (= 5.30.3-4),
+ libpipeline1 (= 1.5.3-1),
+ libquadmath0 (= 10.2.0-9),
+ libseccomp2 (= 2.4.4-1),
+ libselinux1 (= 3.1-2),
+ libsigsegv2 (= 2.12-2),
+ libsmartcols1 (= 2.36-3+b1),
+ libstdc++-10-dev (= 10.2.0-9),
+ libstdc++6 (= 10.2.0-9),
+ libsub-override-perl (= 0.09-2),
+ libsystemd0 (= 246.6-1),
+ libtinfo6 (= 6.2+20200918-1),
+ libtool (= 2.4.6-14),
+ libtsan0 (= 10.2.0-9),
+ libubsan1 (= 10.2.0-9),
+ libuchardet0 (= 0.0.7-1),
+ libudev1 (= 246.6-1),
+ libunistring2 (= 0.9.10-4),
+ libuuid1 (= 2.36-3+b1),
+ libxml2 (= 2.9.10+dfsg-6),
+ libzstd1 (= 1.4.5+dfsg-4),
+ linux-libc-dev (= 5.8.10-1),
+ login (= 1:4.8.1-1),
+ lsb-base (= 11.1.0),
+ m4 (= 1.4.18-4),
+ make (= 4.3-4),
+ man-db (= 2.9.3-2),
+ mawk (= 1.3.4.20200120-2),
+ ncal (= 12.1.7),
+ ncurses-base (= 6.2+20200918-1),
+ ncurses-bin (= 6.2+20200918-1),
+ patch (= 2.7.6-6),
+ perl (= 5.30.3-4),
+ perl-base (= 5.30.3-4),
+ perl-modules-5.30 (= 5.30.3-4),
+ po-debconf (= 1.0.21),
+ sed (= 4.7-1),
+ sensible-utils (= 0.0.12+nmu1),
+ sysvinit-utils (= 2.96-5),
+ tar (= 1.30+dfsg-7),
+ util-linux (= 2.36-3+b1),
+ xz-utils (= 5.2.4-1+b1),
+ zlib1g (= 1:1.2.11.dfsg-2)
+Environment:
+ DEB_BUILD_OPTIONS="parallel=8"
+ LANG="fr_FR.UTF-8"
+ SOURCE_DATE_EPOCH="1601537715"
diff --git a/spec/fixtures/packages/debian/sample_1.2.3~alpha2_amd64.changes b/spec/fixtures/packages/debian/sample_1.2.3~alpha2_amd64.changes
new file mode 100644
index 00000000000..7a6bb78eb78
--- /dev/null
+++ b/spec/fixtures/packages/debian/sample_1.2.3~alpha2_amd64.changes
@@ -0,0 +1,39 @@
+Format: 1.8
+Date: Thu, 01 Oct 2020 09:35:15 +0200
+Source: sample
+Binary: libsample0 sample-dev sample-udeb
+Architecture: source amd64
+Version: 1.2.3~alpha2
+Distribution: unstable
+Urgency: medium
+Maintainer: John Doe <john.doe@example.com>
+Changed-By: John Doe <john.doe@example.com>
+Description:
+ libsample0 - Some mostly empty lib
+ sample-dev - Some mostly empty developpement files
+ sample-udeb - Some mostly empty udeb (udeb)
+Changes:
+ sample (1.2.3~alpha2) unstable; urgency=medium
+ .
+ * Initial release
+Checksums-Sha1:
+ 32ecbd674f0bfd310df68484d87752490685a8d6 671 sample_1.2.3~alpha2.dsc
+ 5f8bba5574eb01ac3b1f5e2988e8c29307788236 864 sample_1.2.3~alpha2.tar.xz
+ 5248b95600e85bfe7f63c0dfce330a75f5777366 1124 libsample0_1.2.3~alpha2_amd64.deb
+ f81e4f66c8c6bb899653a3340c157965ee69634f 1164 sample-dev_1.2.3~binary_amd64.deb
+ e42e8f2fe04ed1bb73b44a187674480d0e49dcba 736 sample-udeb_1.2.3~alpha2_amd64.udeb
+ 0d47e899f3cc67a2253a4629456ff927e0db5c60 5280 sample_1.2.3~alpha2_amd64.buildinfo
+Checksums-Sha256:
+ 844f79825b7e8aaa191e514b58a81f9ac1e58e2180134b0c9512fa66d896d7ba 671 sample_1.2.3~alpha2.dsc
+ b5a599e88e7cbdda3bde808160a21ba1dd1ec76b2ec8d4912aae769648d68362 864 sample_1.2.3~alpha2.tar.xz
+ 1c383a525bfcba619c7305ccd106d61db501a6bbaf0003bf8d0c429fbdb7fcc1 1124 libsample0_1.2.3~alpha2_amd64.deb
+ 9fbeee2191ce4dab5288fad5ecac1bd369f58fef9a992a880eadf0caf25f086d 1164 sample-dev_1.2.3~binary_amd64.deb
+ 2b0c152b3ab4cc07663350424de972c2b7621d69fe6df2e0b94308a191e4632f 736 sample-udeb_1.2.3~alpha2_amd64.udeb
+ f9900d3c94e94b329232668dcbef3dba2d96c07147b15b6dc0533452e4dd8a43 5280 sample_1.2.3~alpha2_amd64.buildinfo
+Files:
+ 3b0817804f669e16cdefac583ad88f0e 671 libs optional sample_1.2.3~alpha2.dsc
+ d79b34f58f61ff4ad696d9bd0b8daa68 864 libs optional sample_1.2.3~alpha2.tar.xz
+ fb0842b21adc44207996296fe14439dd 1124 libs optional libsample0_1.2.3~alpha2_amd64.deb
+ d2afbd28e4d74430d22f9504e18bfdf5 1164 libdevel optional sample-dev_1.2.3~binary_amd64.deb
+ 72b1dd7d98229e2fb0355feda1d3a165 736 libs optional sample-udeb_1.2.3~alpha2_amd64.udeb
+ 4e085dd67c120ca967ec314f65770a42 5280 libs optional sample_1.2.3~alpha2_amd64.buildinfo
diff --git a/spec/fixtures/whats_new/01.yml b/spec/fixtures/whats_new/20201225_01_01.yml
index 06db95be44f..06db95be44f 100644
--- a/spec/fixtures/whats_new/01.yml
+++ b/spec/fixtures/whats_new/20201225_01_01.yml
diff --git a/spec/fixtures/whats_new/02.yml b/spec/fixtures/whats_new/20201225_01_02.yml
index 91b0bd7036e..91b0bd7036e 100644
--- a/spec/fixtures/whats_new/02.yml
+++ b/spec/fixtures/whats_new/20201225_01_02.yml
diff --git a/spec/fixtures/whats_new/05.yml b/spec/fixtures/whats_new/20201225_01_05.yml
index 5b8939a2bc6..7c95e386f00 100644
--- a/spec/fixtures/whats_new/05.yml
+++ b/spec/fixtures/whats_new/20201225_01_05.yml
@@ -1,2 +1,3 @@
---
- title: bright and sunshinin' day
+ release: '01.05'