home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / vmsnet / internal / 1262 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  5.2 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!sdd.hp.com!hamblin.math.byu.edu!yvax.byu.edu!heinrich
  2. From: heinrich@yvax.byu.edu (Ed Heinrich  - The LOKI Group, Inc.)
  3. Newsgroups: vmsnet.internals
  4. Subject: re: PATCH on ALPHA ?
  5. Message-ID: <1992Sep2.075848.905@yvax.byu.edu>
  6. Date: 2 Sep 92 14:58:48 GMT
  7. References: <00960015.DDB2E380.11192@WKUVX1.BITNET>
  8. Organization: Brigham Young University
  9. Lines: 93
  10.  
  11. In article <00960015.DDB2E380.11192@WKUVX1.BITNET>, Hunter Goatley <goathunter@WKUVX1.BITNET> writes:
  12. > <MILLER@TGV.COM> writes:
  13. >>
  14. >>
  15. >>We generally distribute patches as DCL files to avoid problems like that.
  16. >>On those occations when I need to read someone a patch over the phone
  17. >>I have them read it back to me before they perform an update.  Then I ask
  18. >>them to rerun patch and examine the new binary values before they run the
  19. >>new image.  With Patch we can have a fix out to the customer within an hour
  20. >>instead of the day or two it takes to ship a new tape.
  21. >>
  22. > Exactly.  When I used to work for Clyde Digital (now Raxco), PATCH and
  23. > I became very good friends.  Not that the code had so many major
  24. > problems, but rather that a lot of customers liked to have their own
  25. > [...]
  26. > ago, and is part of the reason I left there.)
  27. > By using PATCH to update an image:
  28. >   o  the customer had the fix or modification within minutes;
  29. >   o  as the developer, I didn't have to go back to the sources for
  30. >      the released product and make a change to them;
  31. >   o  I didn't have to release the current, not-even-in-alpha-test
  32. >      version of the product that already included the change;
  33. >   o  I didn't have to worry about having five or six different images
  34. >      that all did mostly the same thing.  The patches were easily
  35. >      categorized and customer support could dole out the appropriate
  36. >      patch to any customer who needed/wanted it.
  37. > By using REPLACE instead of DEPOSIT, we and the customer were assured
  38. > that they were patching the right place.  I don't remember ever having
  39. > a customer screw up a patch---even one that had been read to him over
  40. > the phone or FAXed to him.  Granted, that's pretty amazing, but.... 8-)
  41. >>Has any one else here had any problems using Patch?
  42. >>
  43.  
  44. I have to agree w/ both Bruce and Hunter.  For software companies that
  45. have large customer bases PATCH is invaluable.  The cost of creating
  46. new distribution tapes (including cost of a TK-50, operator time,
  47. overnight shipping, etc.) has been estimated by one comapny I worked
  48. for to be $45 per hour - the cost of distributing a patch command
  49. file is much lower.  In addition, many system managers WILL apply a
  50. patch if they are told it fixes a potential crash-related bug, they
  51. may not, however, rush to do a full installation if you send them a 
  52. patched distribution kit.  (I know of some shops that only schedule
  53. product upgrades during Christmas week when the plant is closed, but
  54. they will apply a PATCH when they receive it).
  55.  
  56. I think that the risk of a misapplied patch is LOW enough - assuming
  57. the author of the patch is competent, AND USES REPLACE - to justify it's use.
  58. In my experience bad patches have not been a problem, the only problems I 
  59. know of came as the result of a site having PATCH defined as a foreign 
  60. command to another utility and this was fixed by having our patch command 
  61. files always define PATCH to be the DEC image.
  62.  
  63. As Hunter points out, there are times PATCH can be used to tweak a
  64. product to a particular customer's requirements and that alone can
  65. make it useful.  Although I have gotten away from the pratice and now
  66. use a hidden qualifier, I used to have debugging code included in
  67. products that was turned off.  If a customer had problems that could
  68. not be reproduced in-house, I would give them a patch to enable that
  69. debugging code.
  70.  
  71. > I never had any problems using PATCH, but it doesn't surprise me that
  72. > a lot of people don't like it.
  73. >
  74. I think the real issue with PATCH is that a lot of people really don't
  75. understand it.  It is a very powerful tool if used properly.  To someone
  76. who is neither familiar with Macro-32 nor with the particular application,
  77. it may appear to be some sort of cryptic voodoo....  
  78.  
  79. The question of use vs. abuse of PATCH needs to be managed.  Companies
  80. need to insure that PATCHES are reflected in source code changes as
  81. soon as the patches are cut to avoid issuing subsequent releases with the
  82. same bugs.  (I used to work for a company that supported RSX-based 
  83. applications.  A friend of mine was transfered into a different group 
  84. and given the listings to read to learn the application.  After a day, 
  85. he went to the Project Leader and told him, "THIS CAN'T WORK.  THE SOURCE 
  86. CODE HAS TOO MANY BUGS TO EVER WORK".  The Project Leader said, "Oh yeah, 
  87. I forgot to give you all the ZAPs".  ZAP being the RSX equilivent of PATCH.)
  88.  
  89. For companies, such as TGV, that make the extra effort to resolve 
  90. problems at a customer's site ASAP, patch is an effective tool to have
  91. available and can make the difference between a one hour resolution
  92. time and a week's time.  
  93.  
  94. *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*
  95. Ed Heinrich
  96. The LOKI Group, Inc.
  97. HEINRICH@yvax.byu.EDU
  98. *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*
  99.