You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Section to list files and directories copied and patched within this repository from external repositories not supporting bender.
317
+
To update, see below `vendor` command.
318
+
294
319
295
320
## Configuration Format (`bender.yml`, `Bender.local`)
296
321
@@ -429,6 +454,16 @@ The `bender parents <PKG>` command lists all packages calling the `PKG` package.
429
454
430
455
This command will ensure all dependencies are downloaded from remote repositories. This is usually automatically executed by other commands, such as `sources` and `script`.
431
456
457
+
### `import` --- Copy files from dependencies that do not support bender
458
+
459
+
This command will update the dependencies listed in the `external_import` section of the `Bender.yml` file, fetching the files from the remote repositories and applying the necessary patch files.
460
+
This command will print a diff to the patched remote repository.
461
+
If the `--refetch` argument is passed, it will refetch the upstream and apply patched.
462
+
If the `--gen_patch` argument is passed, it will generate additional new patches from the current diff.
463
+
If the `-n/--no_patch` argument is passed, any application of current patches will be suppressed, with `--gen_patch` any existing patch files will be deleted and a new patch created.
464
+
Please make sure you manage the includes and sources required for these files separately, as this command only fetches the files and patches them.
465
+
This is in part based on [lowRISC's `vendor.py` script](https://github.com/lowRISC/opentitan/blob/master/util/vendor.py).
0 commit comments