Project: datamanagement
Issue DM-4637: lsstsw should symlink afwdata or allow an envvar
To reduce disk usage, it is very handy to be able to make build/afwdata and stack/afwdata/BLAH be symlinks. build/ is easy: just make the symlink and then never have touch it unless you rm your whole stack. stack/afwdata/BLAH is harder: each time you rebuild something that depends on afwdata, it will install a new copy of afwdata, which you'll have to manually remove and declare your symlink with a new tag. A couple of ways to make this more automatic: * lsstsw checks whether build/afwdata is a symlink, and if so just makes the new stack "install" a symlink to the same directory. * Check for some environment variable (e.g. AFWDATA_BASE_DIR or something) and if that exists, just make a symlink to it, or make a dummy eups table that points to that directory and don't put anything in stack at all.
Story points: 5