cpmteam/CPM

Make CPM classes/packages/routines be system-wide mapped

Closed this issue · 6 comments

Looks like we need %ALL namespace mapping involved

Just need an %Installer class

Yeah, looks like:

  • we could stay with current names for classes/routines/globals;
  • if we add mappings for them (CPM.*) to %ALL;
  • once we have %Installer working.

And the last thing I want is to rename everything. If we could live witth current names but still be system-wide - so be it.

This is half-way done in develop_tsafin branch via automatic projection massaging:

  • there is established CPM., %CPM. mapping to %ALL for globals, routines, packages;
  • but CPM.* classes content is not yet visible system-wide.

Thus I'm temporarily switching to CPM namespace for CPM.Registry.Package content, proceed operations and return back.

This hack is acceptible at the time of initial population of remote repository, but is inacceptible even for alpha. Need to figure out what is missing for CPM.Registtry.Package mapping.

Although, OTOH, for alpha, without global packages installation, and all local installs, we are probably ok to have no sharing of CPM.Registry.Package at all. i.e.

CPM>install component

should install it locally to the current namespace, and we are ok with that.

We should probably remove switch to CPM namespace upon shell invocation.

Closed by #39