Adds patches to sqlite-vec since we need them while waiting for upstream pulls. Replaces `replace-in-file` vendoring option with a .patch file for now, as otherwise it forces CRLF line endings due to bug 1963411. Keeping a list of patches is cleaner anyway. Some files are being replaced due to CRLF -> LF conversion. Differential Revision: https://phabricator.services.mozilla.com/D247229
17 lines
509 B
Plaintext
17 lines
509 B
Plaintext
To vendor a new version of SQLite:
|
|
|
|
./mach vendor third_party/sqlite3/moz.yaml
|
|
|
|
To vendor new versions of SQLite extensions, check for `moz.yaml`
|
|
files in `ext/` subfolders.
|
|
|
|
Vendoring tracks GitHub tags, specific tags can be targeted
|
|
using the `--revision` option.
|
|
|
|
If patches are present, they should be in `patches/*.patch` files
|
|
and `--patch-mode check` must be passed to `./mach vendor`.
|
|
|
|
For example, to vendor sqlite-vec:
|
|
|
|
./mach vendor third_party/sqlite3/ext/sqlite-vec/moz.yaml --patch-mode check
|