the-carlisle-group / Dado

DevOps for Dyalog APL
MIT License
16 stars 3 forks source link

Package folder names in Application #25

Closed PaulMansour closed 4 years ago

PaulMansour commented 5 years ago

Package folder names include the version number. When included under an application, they currently maintain this name. This means that when a new version of an app is installed over an existing version, you can build up folders of old obsolete packages, unless a full uninstall or delete is done.

PaulMansour commented 5 years ago

Investigate truncating the name to remove the version number.

PaulMansour commented 4 years ago

We must have the version number if multiple versions of same project are to be installed. This will be rare however. So we could inspect the complete dependency list and if no duplicate projects, use simple names with no version. If dupes, use extended names for all (or some, but probably just use for all).

If simple names used, we must have a manifest or log of the actual versions, and if project or package next to the dws file.

PaulMansour commented 4 years ago

Ok how about we go with simplest name if possible (ie XL2APL), add the group if necessary (CarlisleGroup-XL2APL) and then the version if necessary (CarlisleGroup-XL2APL-1.2.3). The vast majority of times, the names will be simple. This means for most apps, the folder names will not be constantly changing everytime you do a minor update.

PaulMansour commented 4 years ago

Done