1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 07:20:00 +03:00

Fix alpha smoke ingest default path to repo tmp/.

The script lived under examples/crash_reporter/backend/scripts but pointed at examples/tmp/; smoke notes live at project root tmp/alpha_smoke_round1.txt.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-05-24 23:03:42 +02:00
parent 253f932434
commit 7e6a502103

View File

@@ -5,10 +5,13 @@
* *
* Usage: * Usage:
* php scripts/ingest_alpha_smoke_tickets.php [--file=path] [--url=BASE] [--owner=admin] [--dry-run] * php scripts/ingest_alpha_smoke_tickets.php [--file=path] [--url=BASE] [--owner=admin] [--dry-run]
*
* Default input: <repo>/tmp/alpha_smoke_round1.txt (project root, not examples/).
*/ */
declare(strict_types=1); declare(strict_types=1);
$repoRoot = dirname(__DIR__, 3); // scripts → backend → crash_reporter → examples → repo root
$repoRoot = dirname(__DIR__, 4);
$defaultFile = $repoRoot . '/tmp/alpha_smoke_round1.txt'; $defaultFile = $repoRoot . '/tmp/alpha_smoke_round1.txt';
$opts = getopt('', ['file::', 'url::', 'owner::', 'dry-run', 'device::', 'app-version::']); $opts = getopt('', ['file::', 'url::', 'owner::', 'dry-run', 'device::', 'app-version::']);