8000 Improve startup file copying of JavaScript files by jsteemann · Pull Request #14528 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Improve startup file copying of JavaScript files #14528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 29, 2021

Conversation

jsteemann
Copy link
Contributor

Scope & Purpose

Partial backport of #14512
Partial fix of BTS-516 (https://arangodb.atlassian.net/browse/BTS-516)

Improve startup file copying of JavaScript files

  • Make --javascript.copy-installation also copy the node_modules sub directory. This is required so we have a full copy of the JavaScript dependencies and not one that excludes some infrequently changed modules. In addition, file copying now intentionally excludes .map files as they are not needed.
  • 💩 Bugfix (requires CHANGELOG entry)
  • 🍕 New feature (requires CHANGELOG entry, feature documentation and release notes)
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification
  • 📖 CHANGELOG entry made

Backports:

  • No backports required

Related Information

Testing & Verification

  • The behavior in this PR was manually tested
  • This change is already covered by existing tests, such as server_permissions.
  • I ensured this code runs with ASan / TSan or other static verification tools

* Make `--javascript.copy-installation` also copy the `node_modules` sub
  directory. This is required so we have a full copy of the JavaScript
  dependencies and not one that excludes some infrequently changed modules.
  In addition, file copying now intentionally excludes .map files as they
  are not needed.
Copy link
Contributor
@KVS85 KVS85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@KVS85 KVS85 merged commit 7cc1774 into 3.6 Jul 29, 2021
@KVS85 KVS85 deleted the bug-fix-3.6/bts-516-file-copying branch July 29, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0