Skip to content

Commit ed4ceb2

Browse files
committed
Drop PR#31618 patch: no longer applies to v1.94.0
Publish plain enterprise-stripped copies of upstream until the PR is re-rebased or merges upstream.
1 parent a4a05f5 commit ed4ceb2

2 files changed

Lines changed: 10 additions & 600 deletions

File tree

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ With an empty `patch/` dir the output is a 1-to-1 copy of upstream minus
99
those enterprise components.
1010

1111
Two packages, mirroring the upstream image variants, tagged with the upstream
12-
release (e.g. `v1.93.0`) plus `latest`:
12+
release (e.g. `v1.94.0`) plus `latest`:
1313

1414
| Package | Upstream base | Consumed by |
1515
| --- | --- | --- |
@@ -37,27 +37,23 @@ release (e.g. `v1.93.0`) plus `latest`:
3737

3838
## Current patches
3939

40-
- `0001-litellm-pr31618-budget-threshold-webhook-alerts.patch`
41-
[BerriAI/litellm#31618](https://github.com/BerriAI/litellm/pull/31618),
42-
rebased onto v1.93.0 (the raw PR diff is based on newer `main` and does not
43-
apply to the stable tag as-is).
40+
None. `0001-litellm-pr31618-budget-threshold-webhook-alerts.patch`
41+
([BerriAI/litellm#31618](https://github.com/BerriAI/litellm/pull/31618)) was
42+
dropped when it stopped applying to v1.94.0 — restore it from git history and
43+
re-rebase (recipe below) if it's needed again before the PR merges upstream.
44+
With an empty `patch/` dir the builds publish unpatched copies of upstream
45+
(still enterprise-stripped).
4446

45-
## Refreshing a patch after upstream drift
47+
## Adding or refreshing a patch
4648

4749
```sh
4850
git clone --depth 1 --branch <version> --filter=blob:none --sparse https://github.com/BerriAI/litellm /tmp/litellm
4951
cd /tmp/litellm && git sparse-checkout set litellm
50-
gh pr diff 31618 --repo BerriAI/litellm > /tmp/pr.diff
52+
gh pr diff <pr-number> --repo BerriAI/litellm > /tmp/pr.diff
5153
git apply --include='litellm/*' /tmp/pr.diff # fix rejects by hand if any
52-
git diff > <this-repo>/patch/0001-litellm-pr31618-budget-threshold-webhook-alerts.patch
54+
git diff > <this-repo>/patch/0001-<short-name>.patch
5355
```
5456

55-
## When the PR merges upstream
56-
57-
Delete `patch/*.patch` (keep `patch/.gitkeep`) and push. Builds continue and
58-
publish unpatched copies of upstream (still enterprise-stripped) — consumers
59-
keep working unchanged.
60-
6157
## Consuming the internal packages
6258

6359
The packages stay **internal**, so every pull needs auth against ghcr.io with

0 commit comments

Comments
 (0)