Summary: | kdesrc-build throws exception when --pretend'ing with no initial source dir. | ||
---|---|---|---|
Product: | [Developer tools] kdesrc-build | Reporter: | Michael Pyne <mpyne> |
Component: | general | Assignee: | Michael Pyne <mpyne> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michael Pyne
2012-03-10 20:37:14 UTC
Git commit 2fb6687becd8f1f5b4797e40edc2812e9a4ee151 by Michael Pyne. Committed on 12/03/2012 at 03:16. Pushed by mpyne into branch 'master'. Fix handling of kde_projects.xml on first-run. Specifically, on first run in --pretend mode, where kdesrc-build has no existing metadata of any sort downloaded, and no way to make a source dir to hold incoming metadata. Instead we just save it in a temp file. The kde-build-metadata module still doesn't get downloaded though, and so if you (for whatever reason) run kdesrc-build --pretend as your first action upon installing kdesrc-build, you would not get 100% accurate build plans. Instead of special-casing that I think I would just add a --init or --setup command line option and then tell the user to use that for "--pretend in first-use" scenarios. M +31 -13 kdesrc-build http://commits.kde.org/kdesrc-build/2fb6687becd8f1f5b4797e40edc2812e9a4ee151 |