Closed
Bug 1007568
Opened 10 years ago
Closed 10 years ago
Follow symlinks when copying apps into STAGE_DIR
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(b2g-v2.0 fixed)
RESOLVED
FIXED
2.0 S2 (23may)
Tracking | Status | |
---|---|---|
b2g-v2.0 | --- | fixed |
People
(Reporter: leila.hadji, Assigned: leila.hadji)
Details
Attachments
(2 files, 2 obsolete files)
Directories under GAIA_APPDIRS might contain symlinks (e.g. outoftree_apps). When copying the symlinked apps into STAGE_DIR without -L option, clear-stage-app will remove the files in the target directory. This issue is seen on second run of "make install/reset-gaia". The issue appears after bug 999413 was merged.
Attachment #8419259 -
Flags: review?(timdream)
Updated•10 years ago
|
Attachment #8419259 -
Flags: review?(timdream) → review?(yurenju.mozilla)
Comment 2•10 years ago
|
||
Comment on attachment 8419259 [details] [diff] [review] Bug_1007568-Follow-symlinks-when-copying-apps-into-STAGE_DIR.patch Leila, your patch looks good so r=yurenju, and please send a pull request to mozilla-b2g/gaia on github and wait result of travis-ci is green, then I will merge that pr. thanks for your contribution!
Attachment #8419259 -
Flags: review?(yurenju.mozilla) → review+
Attachment #8421687 -
Flags: review?(yurenju.mozilla)
Keywords: checkin-needed
Comment 4•10 years ago
|
||
Thank you Leila, merged in https://github.com/mozilla-b2g/gaia/commit/4d7952a4. Congratulations on your first patch!
Comment 5•10 years ago
|
||
Comment on attachment 8421687 [details] [review] pull request for fixing Bug 1007568. r=yurenju
Attachment #8421687 -
Flags: review?(yurenju.mozilla) → review+
Comment 6•10 years ago
|
||
Reverted for OSX bustage. https://github.com/mozilla-b2g/gaia/commit/7973e06dc278f67b4109ac3c33020ed086f0d042 https://tbpl.mozilla.org/php/getParsedLog.php?id=39743357&tree=B2g-Inbound https://tbpl.mozilla.org/php/getParsedLog.php?id=39745749&tree=B2g-Inbound
Assignee: nobody → leila.hadji
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
Replaced with -LR to support OSX build too.
Attachment #8424577 -
Flags: review?(janx)
Comment 8•10 years ago
|
||
Comment on attachment 8424577 [details] [diff] [review] Bug_1007568-Follow-symlinks-when-copying-apps-into-STAGE_DIR_osx_tested.patch Review of attachment 8424577 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for the fixed patch Leila! I'm not the right person to review this, but since the new version is close enough to the previous, r+ with r=yurenju. Also, for changes in Gaia there is no need to upload patches here before opening a pull request. The whole review cycle can happen in the pull request. Please open a pull request with your new change, link it to this bug again, set the r+ flag for yurenju, and use the checkin-needed keyword when you feel confident that the tests will pass. Good luck!
Attachment #8424577 -
Flags: review?(janx) → review+
Comment 9•10 years ago
|
||
On second thought, you can just push -f to your current pull request branch `copy-symlink`, that will update the pull request currently linked to this bug and it already has r+. Be sure to mark the other patches as obsolete when adding `checkin-needed`, so as not to confuse the sheriff who will come to land your patch.
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #8424913 -
Flags: review+
Attachment #8419259 -
Attachment is obsolete: true
Attachment #8421687 -
Attachment is obsolete: true
Keywords: checkin-needed
Assignee | ||
Comment 11•10 years ago
|
||
https://travis-ci.org/mozilla-b2g/gaia/jobs/25522840 travis didn't pass but the error doesn't look like to be related to my commit, how can I regrigger the test? or should I create a new pull request?
Flags: needinfo?(janx)
Keywords: checkin-needed
Comment 12•10 years ago
|
||
The failure does look like an unrelated intermittent failure. I've re-triggered the job for you, but an easy way to do that is to rebase your commit on top of gaia/master and to `git push -f` it to your pull-request branch again.
Flags: needinfo?(janx)
Assignee | ||
Comment 13•10 years ago
|
||
passed : https://travis-ci.org/mozilla-b2g/gaia/jobs/25522840
Keywords: checkin-needed
Comment 14•10 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/d04280124a50efa3f80b3252a33d042ecac0d624
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
status-b2g-v2.0:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S2 (23may)
You need to log in
before you can comment on or make changes to this bug.
Description
•