unified approach to legacy source repository