I wouldn’t do either until it was determined why the pinholes are appearing in the first place.
If your pulling well water through the lines, it is probable that the water is “acidic”. That means the ph level in your water is too low and is slowly but surely attempting to become neutral by gnawing away at the pipes. Acidic water is aggressive.
Put an acid neutralizer unit where the water enters the house (poe)and that will get the ph level to neutral, saving you hours of arguing over heat/compression fittings.