Cited here by the late Bruce Olson long ago, and still - I'd think - the standard source of information:
http://www.standingstones.com/dannyboy.html
Bottom line: "Londonderry Air" is plausibly a descendant or variant of an older melody known as "The Young Man's Dream."