setup-dev

Solid

First-time repo setup — submodules, dependencies, and verification

Data & Documents 26 stars 8 forks Updated 5 days ago Apache-2.0

Install

View on GitHub

Quality Score: 72/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
74
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# First-Time Repo Setup Set up the Pedro repository from a fresh clone so it builds and passes all tests. ## Steps 1. **Switch to the right branch and do a pull** If the user passed `dev` as argument, the switch to the `dev` branch before doing anything. Otherwise switch to `master`. In both cases, run a `git pull --rebase`. 2. **Ensure git submodules are checked out** Run `git submodule update --init --recursive` from the project root. Verify by checking that `vendor/abseil-cpp` and `vendor/libbpf` are non-empty. 3. **Run full setup** Run `./scripts/setup.sh -a` to install all build, test, and dev dependencies. This takes a while — capture output to a temp file. It's normal for this step to take up to 30+ minutes. Check the output for errors. If setup reports a needed reboot (grub/kernel config changes), inform the user and stop. 4. **Run quick tests** Invoke `/quicktest` (no arguments) to run unit tests and verify the build works. If tests fail, investigate and report — don't proceed to presubmit until unit tests pass. 5. **Run presubmit** Invoke `/presubmit` to run the full presubmit suite (includes e2e tests, formatting, linting). If failures occur, investigate and report to the user. 6. **Report results** Summarize what was done and the final state: - Submodule status - Setup completion - Test results (unit + presubmit) - Any issues that need user attention (e.g. reboot required, flaky tests)

Details

Author
wowsignal-io
Repository
wowsignal-io/pedro
Created
2 years ago
Last Updated
5 days ago
Language
Rust
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category