aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/README.patches
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/README.patches')
-rw-r--r--contrib/ntp/README.patches39
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/ntp/README.patches b/contrib/ntp/README.patches
new file mode 100644
index 000000000000..d59345e41bca
--- /dev/null
+++ b/contrib/ntp/README.patches
@@ -0,0 +1,39 @@
+See README.hackers for notes on coding styles.
+
+If you are going to patch both ntp-stable and ntp-dev
+please do it this way:
+
+ > cd ntp-stable
+ > (make and test your changes to ntp-stable first)
+ > (commit your changes to ntp-stable)
+ > cd ../ntp-dev
+ > bk pull ../ntp-stable (get your changes from ntp-stable)
+ > (resolve any problems and test your changes)
+ > (commit your changes to ntp-dev)
+
+With the current release of bitkeeper it is *much* easier to move changes
+from ntp-stable to ntp-dev than it is to move changes from ntp-dev to
+ntp-stable.
+
+If you make your changes in the above order and then submit them,
+it will be trivial to apply your patches.
+
+Otherwise, it will be much more difficult to apply your patches.
+
+---
+
+Please read (and follow) the previous section if you want to submit
+patches for both ntp-stable and ntp-dev.
+
+To submit patches please use the 'bk send' command:
+
+ > cd REPO
+ > bk citool (or bk ci ... ; bk commit ... )
+ > bk pull # make sure your repo is up-to-date
+ > bk send -d -ubk://www.ntp.org/home/bk/REPO - > file-containing-the-patch
+ > bk receive -vv -a < file-containing-the-patch
+ # Sanity check.
+
+ # Open a bugzilla item at <http://bugzilla.ntp.org>
+
+ # After the bug is opened, visit the bug and attach file-containing-the-patch