deb-mock/mock/docs/buildroot-lock-schema-1.1.0.json
robojerk 4c0dcb2522
Some checks failed
Build Deb-Mock Package / build (push) Successful in 54s
Lint Code / Lint All Code (push) Failing after 1s
Test Deb-Mock Build / test (push) Failing after 36s
enhance: Add comprehensive .gitignore for deb-mock project
- Add mock-specific build artifacts (chroot/, mock-*, mockroot/)
- Include package build files (*.deb, *.changes, *.buildinfo)
- Add development tools (.coverage, .pytest_cache, .tox)
- Include system files (.DS_Store, Thumbs.db, ._*)
- Add temporary and backup files (*.tmp, *.bak, *.backup)
- Include local configuration overrides (config.local.yaml, .env.local)
- Add test artifacts and documentation builds
- Comprehensive coverage for Python build system project

This ensures build artifacts, chroot environments, and development
tools are properly ignored in version control.
2025-08-18 23:37:49 -07:00

120 lines
4.1 KiB
JSON

{
"$id": "https://raw.githubusercontent.com/rpm-software-management/mock/main/mock/docs/buildroot-lock-schema-1.1.0.json",
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"title": "Mock buildroot_lock.json file specification",
"description": "Version 1.1.0; last updated 2025-02-03",
"additionalProperties": false,
"properties": {
"version": {
"description": "Version of the https://raw.githubusercontent.com/rpm-software-management/mock/main/mock/docs/buildroot-lock-schema.json schema the document conforms to. Semantic versioned. Mock that implements v2.Y.Z versions no longer reads v1.Y.Z.",
"const": "1.1.0"
},
"buildroot": {
"description": "The object that describes the Mock buildroot",
"type": "object",
"additionalProperties": false,
"properties": {
"rpms": {
"description": "List of RPM packages installed in the buildroot",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"arch": {
"description": "Architecture for which the package was built, 'noarch' for arch agnostic packages",
"type": "string"
},
"epoch": {
"description": "Epoch number of the package",
"type": ["string", "null"]
},
"license": {
"description": "The distribution license(s) of the package",
"type": "string"
},
"name": {
"description": "Name of the package",
"type": "string"
},
"release": {
"description": "Release (downstream) number of the package",
"type": "string"
},
"sigmd5": {
"description": "The SIGMD5 tag from the rpm header.",
"type": "string"
},
"signature": {
"description": "The signature used to sign the rpm (if any), last 8 characters from the \"rpm -q --qf '%{sigpgp:pgpsig}\n'\" output",
"type": ["string", "null"]
},
"url": {
"description": "Uniform Resource Locator that points to additional information on the packaged software",
"type": "string"
},
"version": {
"description": "Version (upstream) of the package",
"type": "string"
}
},
"required": [
"arch",
"epoch",
"license",
"name",
"release",
"sigmd5",
"signature",
"url",
"version"
]
}
}
},
"required": [
"rpms"
]
},
"bootstrap": {
"description": "The object that describes the Mock bootstrap chroot. Optional, only provided when bootstrap (image) is used.",
"type": "object",
"additionalProperties": false,
"required": [
"image_digest",
"pull_digest",
"architecture",
"id"
],
"properties": {
"image_digest": {
"description": "SHA256 digest concatenated RootFS layer digests and Config section from 'podman image inspect' command, sha256 string",
"type": "string"
},
"pull_digest": {
"description": "Image digest, as reported by podman inspect, can be used for podman pull.",
"type": "string"
},
"architecture": {
"description": "OCI architecture string, as reported by podman inspect .Architecture field.",
"type": "string"
},
"id": {
"type": "string",
"description": "Image ID, as reported by podman inspect .Id"
}
}
},
"config": {
"description": "A set of important Mock configuration options used when the buildroot was generated (Mock's internal)",
"type": "object",
"properties": {}
}
},
"required": [
"buildroot",
"config",
"version"
]
}