| Sure, that's frustrating. But you know what's also frustrating? Code bases which involve multi-step manual steps to build. You should be able to get a working local environment with a single command. You should be able to get a working local build with a single build command. If you have depedent projects, they should either be in a monorepo, or delivered through a packaging system so they are not depend on the specific local naming of other repos. Having a repo depend on a different repo being in a specific place on the file system is bad, having multiple of them is terrible. Stick what's needed in an onboarding script, and make sure it works before onboarding someone. Ideally that script should be kept to a minimum, if it grows too large that's a sign you've split things artificially instead of finding natural splits. |
In an ideal world and in retrospect, you are right. But the build process is very old, created by someone long gone, of which multiple projects depend upon, each with minor tweaks and always reliant on the same hard-coded paths which IMO isn't that bad and can easily be rectified - it's really not worth the time or energy to allow dynamically named folders, not to mention dangerous since it's a critical production system that's worked forever. Nobody wants to break a running system, nor has the time to clean things up properly, especially since there are tons of build scripts that all rely on these paths, and trying to fix all of them would be a huge amount of work, spread across multiple projects, all requiring sign-off from higher-ups who will never be able to justify the cost to fix something that already works.