GNOME Bugzilla – Bug 765436
Don't build multiple cerbero checkouts into the same path
Last modified: 2016-04-25 12:40:36 UTC
Currently if I have many cerbero checkouts, for example one for 1.8, one for master, some for specific projects, by default they will all mess up into ~/cerbero.
Created attachment 326566 [details] [review] Change default home_dir to top_srcdir/build/ It has the advantage of having self-contained cerbero trees which is easier to maintain when having multiple cerbero checkouts. Using ~/cerbero make it too easy to mess up different builds into the same destination. Note that build/ directory is already in .gitignore.
It's also really useful with that: git worktree add ../cerbero-1.8 origin/1.8
Comment on attachment 326566 [details] [review] Change default home_dir to top_srcdir/build/ Makes sense to me and bothered me many times too, but I think it was like that some time ago and then was changed by Edward? Related to jenkins? Or I confuse that with something else.
Should wait for input from Edward before changing it.
Oh I forgot to mention that I checked with git blame, and my memory seems to be wrong. It always seemed to be like that... but there was *something* that Edward changed, I just can't find it.
The jenkins build changes the config to set a custom home_dir already I think.
Regarding jenkins, we do indeed set a custom home_dir in the configuration file used to build. The commit shouldn't cause any issues afaics
Then let's go ahead with this :)
Pushed to master: commit a31b5b7f4cfe9b2d49f5b538701d398981f82a73 Author: Xavier Claessens <xavier.claessens@collabora.com> Date: Fri Apr 22 13:33:22 2016 -0400 Change default home_dir to $top_srcdir/build/ This has the advantage of having self-contained cerbero trees which is easier to maintain when using multiple cerbero checkouts. Using ~/cerbero make it too easy to mess up different builds into the same destination. Note that build/ directory is already in .gitignore. https://bugzilla.gnome.org/show_bug.cgi?id=765436