Skip to content

Commit

Permalink
[8.x] Sustainable Kibana Architecture: Temporarily allow non-snake ca…
Browse files Browse the repository at this point in the history
…se package names (elastic#201736) (elastic#203404)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Temporarily allow non-snake case
package names (elastic#201736)](elastic#201736)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-26T12:58:18Z","message":"Sustainable
Kibana Architecture: Temporarily allow non-snake case package names
(elastic#201736)\n\n## Summary\r\n\r\nIn the context of _Sustainable Kibana
Architecture_, we want to relocate\r\nplugins and packages to dedicated
solutions folders.\r\nCurrent CI checks enforce snake case for new
package names, and we\r\ncannot afford the extra churn of renaming all
packages' folders during\r\nrelocation.\r\n\r\nThe PR aims at relaxing
this constraint, only for the target folders of\r\nthe
relocation.","sha":"2850f68406960592b71a8e8ee21b1a8831f7348b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"title":"Sustainable
Kibana Architecture: Temporarily allow non-snake case package
names","number":201736,"url":"https://github.com/elastic/kibana/pull/201736","mergeCommit":{"message":"Sustainable
Kibana Architecture: Temporarily allow non-snake case package names
(elastic#201736)\n\n## Summary\r\n\r\nIn the context of _Sustainable Kibana
Architecture_, we want to relocate\r\nplugins and packages to dedicated
solutions folders.\r\nCurrent CI checks enforce snake case for new
package names, and we\r\ncannot afford the extra churn of renaming all
packages' folders during\r\nrelocation.\r\n\r\nThe PR aims at relaxing
this constraint, only for the target folders of\r\nthe
relocation.","sha":"2850f68406960592b71a8e8ee21b1a8831f7348b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201736","number":201736,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Temporarily allow non-snake case package names
(elastic#201736)\n\n## Summary\r\n\r\nIn the context of _Sustainable Kibana
Architecture_, we want to relocate\r\nplugins and packages to dedicated
solutions folders.\r\nCurrent CI checks enforce snake case for new
package names, and we\r\ncannot afford the extra churn of renaming all
packages' folders during\r\nrelocation.\r\n\r\nThe PR aims at relaxing
this constraint, only for the target folders of\r\nthe
relocation.","sha":"2850f68406960592b71a8e8ee21b1a8831f7348b"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <[email protected]>
  • Loading branch information
kibanamachine and gsoldevila authored Dec 9, 2024
1 parent 859c567 commit 2e79baa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/dev/run_check_file_casing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ run(async ({ log }) => {
// so it's still super slow. This prevents loading the files
// and still relies on gitignore to final ignores
'**/node_modules',
// temporarily allow non-snake case for module names
// during relocation packages and plugins
// in the context of Sustainable Kibana Architecture
'src/platform/**',
'x-pack/platform/**',
'x-pack/solutions/**',
],
});

Expand Down

0 comments on commit 2e79baa

Please sign in to comment.