Skip to content

Commit

Permalink
ingest: Link to vendored/README.md for instructions on vendoring
Browse files Browse the repository at this point in the history
Point users to the centralized usage docs of the vendored ingest repo
instead of maintaining a different copy of snippets that may become
out of sync.
  • Loading branch information
victorlin committed Oct 17, 2023
1 parent 21cb18b commit b38be5c
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,8 @@ aws s3 cp - s3://nextstrain-data/files/ncov/open/nextclade_21L.tsv.zst.renew < /

## `vendored`

This repository uses [`git subrepo`](https://github.com/ingydotnet/git-subrepo) to manage copies of ingest scripts in `vendored`, from [nextstrain/ingest](https://github.com/nextstrain/ingest). To pull new changes from the central ingest repository, first install `git subrepo`, then run:
This repository uses [`git subrepo`](https://github.com/ingydotnet/git-subrepo) to manage copies of ingest scripts in [`vendored`](./vendored), from [nextstrain/ingest](https://github.com/nextstrain/ingest). To pull new changes from the central ingest repository, first install `git subrepo`, then run:

```sh
git subrepo pull vendored
```

Changes should not be pushed using `git subrepo push`.

1. For pathogen-specific changes, make them in this repository via a pull request.
2. For pathogen-agnostic changes, make them on [nextstrain/ingest](https://github.com/nextstrain/ingest) via pull request there, then use `git subrepo pull` to add those changes to this repository.
See [vendored/README.md](vendored/README.md#vendoring) for instructions on how to update
the vendored scripts. Note that this repo is a special case and does not put vendored
scripts in an `ingest/` directory. Modify commands accordingly.

0 comments on commit b38be5c

Please sign in to comment.