Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nim-digger: program to build nim at any revision (including forks/PRs) (cf D's digger); useful for git bisect #332

Open
timotheecour opened this issue Jun 30, 2020 · 0 comments

Comments

@timotheecour
Copy link
Owner

timotheecour commented Jun 30, 2020

git bisect start badrev goodrev
git bisect run zsh -c "source ~/.zshrc && nim=$nim_0190_X d_nim_build_simple_local --skipusercfg && $nimb c -r --skipusercfg --skipparentcfg $timn_D/tests/nim/all/t11021.nim"

note

  • this requires knowing which csources hash was used to build a particular commit
  • future csources2 should have a commit hash version controlled in nim repo so we can programmatically access it (EDIT: indeed, see nimBuildCsourcesIfNeeded in 1.5.1)

EDIT

links

in D: https://github.com/CyberShadow/Digger

Digger can:
build and test D from git
build older versions of D
build D plus forks and pending pull requests
bisect D's history to find where regressions are introduced (or bugs fixed)

links

@timotheecour timotheecour changed the title program to build nim at any revision (cf D's digger); useful for git bisect nim-digger: program to build nim at any revision (cf D's digger); useful for git bisect Dec 6, 2020
@timotheecour timotheecour changed the title nim-digger: program to build nim at any revision (cf D's digger); useful for git bisect nim-digger: program to build nim at any revision (including forks/PRs) (cf D's digger); useful for git bisect Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant