Skip to content

chore: add just launcher commands#962

Open
ovitrif wants to merge 4 commits into
masterfrom
chore/add-just
Open

chore: add just launcher commands#962
ovitrif wants to merge 4 commits into
masterfrom
chore/add-just

Conversation

@ovitrif
Copy link
Copy Markdown
Collaborator

@ovitrif ovitrif commented May 21, 2026

This PR adds a Just command launcher for common local Android development tasks.

Description

This PR:

  1. Adds a top-level Justfile with short commands for setup, build, test, lint, release, E2E, translations, changelog preview, and cleanup.
  2. Adds an .env.example template and just init for creating the ignored local .env file.
  3. Updates README, agent rules and release command docs to route thru the Just launcher.

Preview

N/A

QA Notes

Manual Tests

N/A

Automated Checks

  • just init
  • just list
  • just --dry-run release
  • just --dry-run test file LightningRepoTest
  • just --dry-run test lane ComposeUi
  • just --dry-run translations pull
  • just --dry-run e2e network assembleTnetRelease
  • just --dry-run e2e no geo
  • just compile
  • just test
  • just lint
  • just build
  • just --unstable --fmt --check

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 47bb0634af

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md Outdated
@ovitrif ovitrif added this to the 2.4.0 milestone May 22, 2026
@ovitrif ovitrif self-assigned this May 22, 2026
@ovitrif ovitrif requested review from ben-kaufman and jvsena42 May 22, 2026 00:23
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f1c0320df4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Justfile Outdated
@ovitrif ovitrif changed the title chore: add just launcher chore: setup just launcher commands May 22, 2026
@ovitrif ovitrif changed the title chore: setup just launcher commands chore: add just launcher commands May 22, 2026
Comment thread Justfile Outdated
Comment thread Justfile
Comment thread .env.example
@@ -0,0 +1,18 @@
# Copy to .env and fill only what you need.

GITHUB_ACTOR=
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After just init, .env contains empty GITHUB_ACTOR and GITHUB_TOKEN values. Since just loads .env for every Gradle recipe, those empty env vars win over gpr.user and gpr.key from local properties. Could we either comment out the optional credential keys in .env.example, or make getGithubCredentials() ignore blank env values?

Comment thread .env.example
KEY_ALIAS=
KEY_PASSWORD=

E2E=false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E2E and GEO come from the auto-loaded .env, so they also affect just build and just release. A local .env used for E2E can accidentally produce a normal or release build with BuildConfig.E2E=true or GEO=false. Could we keep these build-mode flags out of the auto-loaded template, or explicitly set safe defaults in non-E2E recipes?

Comment thread README.md
- macOS: `brew install just`
- Linux: `mkdir -p ~/.local/bin && curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to ~/.local/bin`
- Windows: `winget install --id Casey.Just --exact`
- Windows shell: install Git for Windows or another `sh` provider for Bash-backed recipes.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This says another sh provider is enough on Windows, but just init runs through #!/usr/bin/env bash and uses Bash syntax like [[ ... ]] and pipefail. Could we either say Windows needs a Bash provider, like Git for Windows, or make init POSIX-sh compatible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants