/contrib/ntp/README.patches

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 49 lines · 34 code · 15 blank · 0 comment · 0 complexity · 8fa3a0d592acbac536f0260d17ce200e MD5 · raw file

  1. See README.hackers for notes on coding styles.
  2. The master copy of this information can be found at:
  3. http://support.ntp.org/Dev/MaintainerIssues#How_to_work_on_a_bug_using_BitKe
  4. If you are going to patch both ntp-stable and ntp-dev
  5. please do it this way:
  6. > cd ntp-stable
  7. > (make and test your changes to ntp-stable first)
  8. > (commit your changes to ntp-stable)
  9. > cd ../ntp-dev
  10. > bk pull ../ntp-stable (get your changes from ntp-stable)
  11. > (resolve any problems and test your changes)
  12. > (commit your changes to ntp-dev)
  13. With the current release of bitkeeper it is *much* easier to move changes
  14. from ntp-stable to ntp-dev than it is to move changes from ntp-dev to
  15. ntp-stable.
  16. If you make your changes in the above order and then submit them,
  17. it will be trivial to apply your patches.
  18. Otherwise, it will be much more difficult to apply your patches.
  19. You are pretty much done now if your repos are on pogo.udel.edu.
  20. If these patches are for a bugzilla issue, mark the issue as Resolved/READY
  21. with a comment of "Please pick up the patches in pogo:/wherever"
  22. ---
  23. Please read (and follow) the previous section if you want to submit
  24. patches for both ntp-stable and ntp-dev.
  25. If you cannot easily get your patches to pogo, you may submit patches
  26. via the 'bk send' command:
  27. > cd REPO
  28. > bk citool (or bk ci ... ; bk commit ... )
  29. > bk pull # make sure your repo is up-to-date
  30. > bk send -d -ubk://www.ntp.org/home/bk/REPO - > file-containing-the-patch
  31. > bk receive -vv -a < file-containing-the-patch
  32. # Sanity check.
  33. # Open a bugzilla item at <http://bugzilla.ntp.org>
  34. # After the bug is opened, visit the bug and attach file-containing-the-patch