intersystems / intersystems/git-source-control

Different Mappings per namespace, get overwritten due to embedded-git-config.json

Offen
#756 10 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
ObjectScript
Sterne
22
Forks
14
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
5

Beschreibung

Take an enterprise solution consisting of 2 interoperability production, running in two different namespaces., and one git repository, (called for argument's sake - "MySolution").

The IRIS instance defines a git initialise root folder: c:\MySolution.
The IRIS instance defines namespaces APPA and APPB where these productions are developed, and I want code edited/saved in each namespace to go to a namespace appropriate sub-folder.

The export mappings as therefore defined in Settings UI say,
- for APPA, that CLS files export to /APPA/src/cls, INC to /APPA/src/inc, etc.
- for APPB, that CLS files export to /APPB/src/cls, INC to /APPB/src/inc, etc. - you get he idea...

This works fine - initially...., but changing these settings via the UI creates an export file: embedded-git-config.json in the ROOT work folder, with the most recently updated namespace values (which could be APPA or APPB), and re-entering into the other namespace's Settings UI, loads and *overwrites* these previously defined namespace-specific mappings.

What is the use of this embedded-git-config.json ? Am I forced to a one-to-one mapping of GIT Repository to Namespace ?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduziere den Export-Mapping-Ablauf der Settings UI mit APPA und APPB unter Verwendung des Stammverzeichnisses c:\\MySolution und untersuche anschließend, wie embedded-git-config.json generiert und geladen wird. Bestätige, ob das Speichern eines Namespace die Mappings des anderen Namespace ersetzt, und dokumentiere oder teste das erwartete Verhalten für separate Mappings in einem gemeinsam genutzten Repository.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git
Bereich
devtools
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.