mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-16 05:19:47 +01:00
This performance optimization results from the fact that during namespace loading, read permissions are no longer verified for every repository, but only for those that would result in a new namespace. Simply put: If a namespace has already been discovered, no further repositories within that namespace are checked. We need the new function `streamAll` for this, because the `getAllRepositories` would create all repositories before returning them, which would make it impossible to intervene in time using the filter parameter.
scm-ui
VSCode Plugins
- EditorConfig for VS Code
- Flow Language Support
- Prettier - Code formatter
- Project Snippets
- Debugger for Chrome
code --install-extension EditorConfig.EditorConfig
code --install-extension flowtype.flow-for-vscode
code --install-extension esbenp.prettier-vscode
code --install-extension rebornix.project-snippets
# debugging with chrome browser
code --install-extension msjsdiag.debugger-for-chrome
Install pre-commit hook
echo "" >> .hg/hgrc
echo "[hooks]" >> .hg/hgrc
echo "pre-commit = cd scm-ui && yarn run pre-commit" >> .hg/hgrc