Standardize place to store srcdir specific state
Categories
(Firefox Build System :: Bootstrap Configuration, enhancement)
Tracking
(firefox67 fixed)
| Tracking | Status | |
|---|---|---|
| firefox67 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(3 files)
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Nick, does my reply in https://phabricator.services.mozilla.com/D15724 answer your question? Are changes still needed to proceed?
Mike, removed you as a reviewer but do you agree with putting this state dir alongside the srcdir? (As opposed to hashed inside ~/.mozbuild)
Comment 6•7 years ago
|
||
Mmmm I think we should avoid writing in the source directory. I think it's better if we fill state stuff in a single central location that users can look at directly. However, as there can be multiple working trees, it might be better to use ~/.mozbuild/state/name-hash, rather than ~/.mozbuild/name-hash.
| Assignee | ||
Comment 7•7 years ago
|
||
Wfm. I'll update the patch.
Just pointing out that once a user deletes a srcdir we won't be able to cleanup its state dir anymore. I don't think this will be a huge problem though.
| Assignee | ||
Updated•7 years ago
|
Comment 9•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/205bf106e084
https://hg.mozilla.org/mozilla-central/rev/c64aeee4b5e0
https://hg.mozilla.org/mozilla-central/rev/de78b968e178
Description
•