intersystems-community / cache-tort-git

Access to Tortoise Git interface from Caché Studio
https://github.com/intersystems-ru/cache-tort-git/wiki
MIT License
31 stars 20 forks source link

better support across upgrades #51

Open canzanos opened 4 years ago

canzanos commented 4 years ago

The code works fine. The one issue I have is the name of the objects. According to Intersystems documentation

Custom Items in CACHESYS You can create items in the CACHESYS database. When you install a Caché upgrade, this database is upgraded. During this upgrade, some items are deleted unless they follow the naming conventions for custom items. To add code or data to this database so that your items are not overwritten, do one of the following: Go to the %SYS namespace and create the item. For this namespace, the default routine database and default global database are both CACHESYS. Use the following naming conventions to prevent your items from being affected by the upgrade installation: Classes: start the package with Z or z Routines: start the name with Z, z, %Z, or %z Globals: start the name with ^Z, ^z, ^%Z, or ^%z

I had previously installed your code and it was working fine. I upgraded Cache/Healthshare and as part of the upgrade all of %SourceControl was removed.

Could this code either

  1. be named %ZSourceControl.* or
  2. be formally included in a Cache/Healthshare kit

so that I do not have to re-apply the code after an upgrade?