Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0043000 | Openbravo ERP | A. Platform | public | 2020-01-24 12:37 | 2020-02-14 09:32 | |||||||
| Reporter | jarmendariz | |||||||||||
| Assigned To | cberner | |||||||||||
| Priority | high | Severity | major | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | 3.0PR20Q2 | ||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | alostale | |||||||||||
| 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 | 0043000: Migrate current Mercurial hooks to Git hooks | |||||||||||
| Description | Currently we provide Mercurial hooks to automatically check for javascript linting/formatting errors before creating a commit. Git also support hooks in various stages [1], but with the different there can only be one script for each stage. It'd be convenient to have a mechanism to execute multiple scripts for the same hook. [1] https://git-scm.com/docs/githooks [^] | |||||||||||
| Steps To Reproduce | * Modify a javascript file. For instance: modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js * Add a line that will cause a linting error: var a = 1; * Stage and create a commit Before the commit is created, ESLint should run an notify there's an error. | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2020-01-24 12:37 | jarmendariz | New Issue | ||||||||||
| 2020-01-24 12:37 | jarmendariz | Assigned To | => platform | |||||||||
| 2020-01-24 12:37 | jarmendariz | OBNetwork customer | => No | |||||||||
| 2020-01-24 12:37 | jarmendariz | Modules | => Core | |||||||||
| 2020-01-24 12:37 | jarmendariz | Triggers an Emergency Pack | => No | |||||||||
| 2020-01-24 12:45 | jarmendariz | Relationship added | related to 0041898 | |||||||||
| 2020-01-31 09:29 | alostale | Note Added: 0117397 | ||||||||||
| 2020-01-31 09:29 | alostale | Assigned To | platform => cberner | |||||||||
| 2020-02-07 11:54 | hgbot | Checkin | ||||||||||
| 2020-02-07 11:54 | hgbot | Note Added: 0117556 | ||||||||||
| 2020-02-07 11:54 | hgbot | Status | new => resolved | |||||||||
| 2020-02-07 11:54 | hgbot | Resolution | open => fixed | |||||||||
| 2020-02-07 11:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6140b72f414d17a85ffc31d292d71705fa4a01f9 [^] | |||||||||
| 2020-02-07 12:44 | cberner | Review Assigned To | => alostale | |||||||||
| 2020-02-14 09:32 | alostale | Status | resolved => closed | |||||||||
| 2020-02-14 09:32 | alostale | Fixed in Version | => 3.0PR20Q2 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||