Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0044588Openbravo ERPK. Packagingpublic2020-07-10 09:392021-04-30 12:31
mauricio_peccorini 
alostale 
normalmajoralways
closedfixed 
5
 
PR21Q3 
Core
No
0044588: Make Git ignore host specific Openbravo.properties files in HA environments
Overriding Openbravo.properties by using host-specific Openbravo.properties files (http://wiki.openbravo.com/wiki/Openbravo.properties#Overriding_properties_per_instance [^]) makes CodeSnapshot (the tool used by Services to manage source code deployment) complain about the existence of non-tracked files.
These files should be ignored just like the main Openbravo.properties.
In a source code environment managed using CodeSnapshot, add a config/hostname.Openbravo.properties file overriding a few properties.
Try to execute CodeSnapshot
In the .gitignore file, replace the line:
  config/Openbravo.properties
by:
  config/*Openbravo.properties
No tags attached.
related to feature request 0041898 acknowledged Triage Platform Base support git 
Issue History
2020-07-10 09:39mauricio_peccoriniNew Issue
2020-07-10 09:39mauricio_peccoriniAssigned To => platform
2020-07-10 09:39mauricio_peccoriniModules => Core
2020-07-10 09:39mauricio_peccoriniTriggers an Emergency Pack => No
2021-04-22 10:29sebastien_lironResolution time => 1619733600
2021-04-22 10:29sebastien_lironNote Added: 0127436
2021-04-22 10:29sebastien_lironSeverityminor => major
2021-04-22 10:29sebastien_lironTypefeature request => defect
2021-04-27 07:40alostaleAssigned Toplatform => alostale
2021-04-27 07:41alostaleRelationship addedrelated to 0041898
2021-04-27 07:51hgbotNote Added: 0127554
2021-04-30 12:31hgbotNote Added: 0127698
2021-04-30 12:31hgbotResolutionopen => fixed
2021-04-30 12:31hgbotStatusnew => closed
2021-04-30 12:31hgbotFixed in Version => PR21Q3
2021-04-30 12:31hgbotNote Added: 0127699

Notes
(0127436)
sebastien_liron   
2021-04-22 10:29   
As the autodeploy in services becomes the new standard this issue needs to be adressed rapidely now.
Thank you
(0127554)
hgbot   
2021-04-27 07:51   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/351 [^]
(0127698)
hgbot   
2021-04-30 12:31   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/351 [^]
(0127699)
hgbot   
2021-04-30 12:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: fc84808b019e38c88d6a038b7622f815e18443f5
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-04-27T07:44:26+02:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/fc84808b019e38c88d6a038b7622f815e18443f5 [^]

fixes BUG-44588: git tracks HA Openbravo.properties

In HA some properties can be overriden by having partial
Openbravo.properties files in config directory. These files follow the
naming pattern: hostName.Openbravo.properties. Git tracked them as new
files to be added.

Ignoring now all files following that pattern.

---
M .gitignore
---