Alright so I wrote a custom program for my employer, a local government agency. That program has now caught the eye of another public agency. My higher ups have no problem sharing the program (and source code) with them but would still like to maintain some level of "ownership" over it for what amounts to PR reasons....basically "Hey look at this cool thing we made that will make your job easier". Other than that they have left the whole process up to me and I am not sure on the best way to proceed.
Do I go completely open source, put my code out somewhere under a GPL(General Public Licence) and hope people respect the open source process?? If so whats the best way of going about it? Sourceforge.net seems to be the best/easiest option I've found so far but I've also run across open source projects that host their own code repository. Its a fairly simple/small program so I don't see my employer wanting to put in the time and effort of doing that but I could probably convince them if it was the better route.
OR do I go for a less open approach and have this other agency (and every possible future agency) sign an NDA (Nondisclosure Agreement) before they get my code, obviously with some sort of mutual collaboration element to it?? Is there something out there like Sourceforge that allows more control over who can see your code or am I forced to get something setup in-house??
I'm probably jumping the gun since its just the one other agency but I'd like to lay the right ground work in case word spreads.