4 ms·
The legacy system was built in a way that makes it impossible to store the code in any kind of VCS Come again?
by hinkley 9y ago
The legacy system was built in a way that makes it impossible to store the code in any kind of VCS
Come again?
- Terr_ 9y agoMaybe it's in something like Smalltalk?
- floaterpig 9y agoAnother alternative is one of the PICKs where the source code is (used to be perhaps) stored in the database, or I think COBOL on some systems didn't exactly lend itself to flat files from the little I saw (or at least the OS wasn't embracing CVS/SVN/Git in favour of some hugely expensive and utterly inferior product...).
- Terr_ 9y agoAh, right, or "business logic eval()ed from database text" systems.
- jupp0r 9y agoOr, more commonly - stored procedures.
- Terr_ 9y agoStored procedures are a little easier to handle provided your deployment system does a wipe/replace, similarly to overwriting scripts/executables. I was thinking of a grimmer scenario, where the system has an disquieting aspect of polymorphic, run-time code editing... central to its "flexible" production behavior. There are more things in heaven and earth than dreamt of in sane philosophy.
- fiddlerwoaroof 9y agoSmalltalks (at least Pharo) have integrated version control
- titanomachy 9y agoIt's not stored in text, or even in files at all. The program exists only in the form of holograms encoded into crystals which can only be altered by singing at a precise frequency.
- marcosdumay 9y agoI've seen: - The program can only be compiled in a particular Eclipse environment, that is copied from one machine to the other. Every attempt to replicate the environment from a plain Eclipse installation fails. - Building the program depends on specific versions of system executables. Those versions are long outdated. - The program depends on specific and very complex system settings for building and running. Those are comparable in size to the source code. And I mostly do not work with legacy systems. EDIT: Oh, and there is the obligatory "90% of the executable source lives on the database" kind.
- Arbalest 9y agoBinary formats, such as ladder logic in control systems, as an example. Which also typically can only be edited by a first party program.
- adrianratnapala 9y agoVCS requires that projects build from source code that is more or less immutable except when humans really want to change it. But some projects mutate in machine-dependent ways by the build system. Bonus points when said data is binary. I've seen CMake caches and Eclipse project files go wrong this way. Another good one is where your development project is testable only against a real database, and the schema keeps changing. Even if you could revert the schema file, you can't revert the data.
- jrimbault 9y agoMy experience: a small-ish size php application made originally by 2 autodidacts who didn't dig too far into programming and the tooling around programming (weirdly enough, I found some pretty advanced SQL in there, while it seems it didn't bother them to write the exact same request 7 times 5 lines apart from each other). There were/are files scattered all accross the filesystem with wild include statements both at the top of each scripts and in the execution logic. The scattering was/is so bad with mixed data files with logic files, dependencies (which were not registered as such, and were modified from their original source) thrown between original scripts. I've started versioning a year ago when I got there, and I only got to _good_ state last month, trimming and trimming. Just the fact that files were scattered accross the filesystem, while not constituing big enough clusters to warrant separate repositories, meant I had to make one large repo with weird ignore rules.
- emmelaich 9y agoNothing is impossible of course because it is all bits. But perhaps they are using something like Oracle BI where you assemble some blob in a UI on Windows then upload to the server. You could commit the blob to VCS. Or maybe serialize it to XML (supported in some versions). But try and convince the DBAs doing development to do that commit. Good luck.