Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0042830 | Openbravo ERP | A. Platform | public | 2020-01-09 13:59 | 2020-01-14 10:15 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | alostale | |||||||||||
Priority | urgent | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR20Q1 | Fixed in Version | 3.0PR20Q1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0042830: ant package.module is missing to exclude .git | |||||||||||
Description | The standard ant package.module task used to package modules by developers is missing to exclude .git folder. It currently has excludes for both .hg & .svn but is missing to add same for .git Consequence is it including all git repo history (if present) inside the obx file making them unnecessarily large. On some occasions it can cause later secondary problem with module management as it tries to overwrite some read-only files inside .git in case of updating a module via mmc (having .git inside obx) when older module version also have .git files present. Relevant code to which the new (.git) case should be added: https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/erpCommon/modules/ExtractModule.java#l232 [^] | |||||||||||
Steps To Reproduce | Clone any module which is hosted as a git repository and run ant package.module to create obx file. Check obx file (unzip -v) and notice it does contain .git. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-01-14 09:12 | alostale | Type | feature request => backport | |||||||||
2020-01-14 09:12 | alostale | Target Version | => 3.0PR20Q1 | |||||||||
2020-01-14 09:54 | hgbot | Checkin | ||||||||||
2020-01-14 09:54 | hgbot | Note Added: 0116825 | ||||||||||
2020-01-14 09:54 | hgbot | Status | scheduled => resolved | |||||||||
2020-01-14 09:54 | hgbot | Resolution | open => fixed | |||||||||
2020-01-14 09:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR20Q1/rev/3920e7daa2ad38aa3cb27c9575a20bb8c30be377 [^] | |||||||||
2020-01-14 10:15 | caristu | Note Added: 0116829 | ||||||||||
2020-01-14 10:15 | caristu | Status | resolved => closed | |||||||||
2020-01-14 10:15 | caristu | Fixed in Version | => 3.0PR20Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|