Created
August 9, 2018 20:15
-
-
Save luser/ad197fad05ef8d03ea643f02cf3a84a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http=//json-schema.org/draft-04/schema#", | |
"properties": { | |
"argv": { | |
"description": "Full mach commandline. If the commandline contains absolute paths they will be sanitized.", | |
"items": { | |
"type": "string" | |
}, | |
"type": "array" | |
}, | |
"build_opts": { | |
"description": "Selected build options", | |
"properties": { | |
"artifact": { | |
"description": "true if --enable-artifact-builds", | |
"type": "boolean" | |
}, | |
"ccache": { | |
"description": "true if ccache is in use (--with-ccache)", | |
"type": "boolean" | |
}, | |
"compiler": { | |
"description": "The compiler type in use (CC_TYPE)", | |
"enum": [ | |
"clang", | |
"clang-cl", | |
"gcc", | |
"msvc" | |
] | |
}, | |
"debug": { | |
"description": "true if build is debug (--enable-debug)", | |
"type": "boolean" | |
}, | |
"icecream": { | |
"description": "true if icecream in use", | |
"type": "boolean" | |
}, | |
"opt": { | |
"description": "true if build is optimized (--enable-optimize)", | |
"type": "boolean" | |
}, | |
"sccache": { | |
"description": "true if ccache in use is sccache", | |
"type": "boolean" | |
} | |
}, | |
"type": "object" | |
}, | |
"client_id": { | |
"description": "A UUID to uniquely identify a client", | |
"type": "string" | |
}, | |
"command": { | |
"description": "The mach command that was invoked", | |
"type": "string" | |
}, | |
"duration_ms": { | |
"description": "Command duration in milliseconds", | |
"type": "number" | |
}, | |
"exception": { | |
"description": "If a Python exception was encountered during the execution of the command, this value contains the result of calling `repr` on the exception object.", | |
"type": "string" | |
}, | |
"file_types_changed": { | |
"description": "This array contains a list of objects with {ext, count} properties giving the count of files changed since the last invocation grouped by file type", | |
"items": { | |
"properties": { | |
"count": { | |
"description": "Count of changed files with this extension", | |
"type": "number" | |
}, | |
"ext": { | |
"description": "File extension", | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"count", | |
"ext" | |
], | |
"type": "object" | |
}, | |
"type": "array" | |
}, | |
"success": { | |
"description": "true if the command succeeded", | |
"type": "boolean" | |
}, | |
"system": { | |
"properties": { | |
"cpu_brand": { | |
"description": "CPU brand string from CPUID", | |
"type": "string" | |
}, | |
"drive_is_ssd": { | |
"description": "true if the source directory is on a solid-state disk", | |
"type": "boolean" | |
}, | |
"logical_cores": { | |
"description": "Number of logical CPU cores present", | |
"type": "number" | |
}, | |
"memory_gb": { | |
"description": "System memory in GB", | |
"type": "number" | |
}, | |
"os": { | |
"description": "Operating system", | |
"enum": [ | |
"windows", | |
"macos", | |
"linux", | |
"other" | |
] | |
}, | |
"physical_cores": { | |
"description": "Number of physical CPU cores present", | |
"type": "number" | |
}, | |
"virtual_machine": { | |
"description": "true if the OS appears to be running in a virtual machine", | |
"type": "boolean" | |
} | |
}, | |
"required": [ | |
"os" | |
], | |
"type": "object" | |
}, | |
"time": { | |
"description": "Time at which this event happened", | |
"format": "date-time", | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"argv", | |
"build_opts", | |
"client_id", | |
"command", | |
"duration_ms", | |
"success", | |
"system", | |
"time" | |
], | |
"type": "object" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment