faq.rst 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Frequently-Asked Questions (FAQ)
  2. ================================
  3. How do I update my changes?
  4. ---------------------------
  5. Often it is necessary to update your patch set before it is merged. Refer to the
  6. `Gerrit Upload Patch Set documentation`_ on how to do so.
  7. If you need to modify an existing patch set with multiple commits, refer to the
  8. `Gerrit Replace Changes documentation`_.
  9. How long will my changes take to merge into ``integration``?
  10. ------------------------------------------------------------
  11. This can vary a lot, depending on:
  12. * How important the patch set is considered by the TF maintainers. Where
  13. possible, you should indicate the required timescales for merging the patch
  14. set and the impact of any delay. Feel free to add a comment to your patch set
  15. to get an estimate of when it will be merged.
  16. * The quality of the patch set. Patches are likely to be merged more quickly if
  17. they follow the coding guidelines, have already had some code review, and have
  18. been appropriately tested.
  19. * The impact of the patch set. For example, a patch that changes a key generic
  20. API is likely to receive much greater scrutiny than a local change to a
  21. specific platform port.
  22. * How much opportunity for external review is required. For example, the TF
  23. maintainers may not wait for external review comments to merge trivial
  24. bug-fixes but may wait up to a week to merge major changes, or ones requiring
  25. feedback from specific parties.
  26. * How many other patch sets are waiting to be integrated and the risk of
  27. conflict between the topics.
  28. * If there is a code freeze in place in preparation for the release. Please
  29. refer the :ref:`Release Processes` document for more details.
  30. * The workload of the TF maintainers.
  31. How long will it take for my changes to go from ``integration`` to ``master``?
  32. ------------------------------------------------------------------------------
  33. This depends on how many concurrent patches are being processed at the same
  34. time. In simple cases where all potential regressions have already been tested,
  35. the delay will be less than 1 day. If the TF maintainers are trying to merge
  36. several things over the course of a few days, it might take up to a week.
  37. Typically, it will be 1-2 days.
  38. The worst case is if the TF maintainers are trying to make a release while also
  39. receiving patches that will not be merged into the release. In this case, the
  40. patches will be merged onto ``integration``, which will temporarily diverge from
  41. the release branch. The ``integration`` branch will be rebased onto ``master``
  42. after the release, and then ``master`` will be fast-forwarded to ``integration``
  43. 1-2 days later. This whole process could take up 4 weeks. Please refer to the
  44. :ref:`Release Processes` document for code freeze dates. The TF maintainers
  45. will inform the patch owner if this is going to happen.
  46. It is OK to create a patch based on commits that are only available in
  47. ``integration`` or another patch set, rather than ``master``. There is a risk
  48. that the dependency commits will change (for example due to patch set rework or
  49. integration problems). If this happens, the dependent patch will need reworking.
  50. What are these strange comments in my changes?
  51. ----------------------------------------------
  52. All the comments from ``TrustedFirmware Code Review`` user (email:
  53. ``ci@trustedfirmware.org``) are associated with Continuous Integration (CI)
  54. infrastructure. The links published on the comments redirect to the CI web
  55. interface at http://ci.trustedfirmware.org, where details of the tests failures,
  56. if any, can be examined.
  57. --------------
  58. *Copyright (c) 2019-2020, Arm Limited. All rights reserved.*
  59. .. _Gerrit Upload Patch Set documentation: https://review.trustedfirmware.org/Documentation/intro-user.html#upload-patch-set
  60. .. _Gerrit Replace Changes documentation: https://review.trustedfirmware.org/Documentation/user-upload.html#push_replace