Skip to content

Commit 14ac9ba

Browse files
authored
Merge pull request #2293 from conda-forge/beckermr-patch-1
doc: update output validation changes
2 parents 133ae53 + aa88e20 commit 14ac9ba

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/maintainer/infrastructure.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ the following things:
643643
- Rerender the feedstock in a PR from a fork of the feedstock and merge.
644644
- Request a feedstock token reset via our [admin-requests repo](https://github.com/conda-forge/admin-requests?tab=readme-ov-file#reset-your-feedstock-token).
645645
- Request that any new packages be added to the allowed outputs for the feedstock
646-
via our [admin-requests-repo](https://github.com/conda-forge/admin-requests?tab=readme-ov-file#add-a-package-output-to-a-feedstock).
646+
via our [admin-requests repo](https://github.com/conda-forge/admin-requests?tab=readme-ov-file#add-a-package-output-to-a-feedstock).
647647

648648
New packages that are added to existing feedstocks are not registered automatically in order to prevent
649649
typo squatting and other malicious activities. Package outputs are added during feedstock creation.
@@ -652,8 +652,9 @@ you will need to request that the new package name be added to your feedstock vi
652652
[admin-requests repo](https://github.com/conda-forge/admin-requests?tab=readme-ov-file#add-a-package-output-to-a-feedstock).
653653

654654
In rare cases, the package name may change regularly in a well-defined way (e.g., `libllvm18`, `libllvm19`, etc.).
655-
In this case, please submit a PR updating our [list of feedstocks with allowed glob patterns](https://github.com/conda-forge/feedstock-outputs/blob/main/feedstock_outputs_autoreg_allowlist.yml). Output packages that match
656-
these patterns will be automatically registered for your feedstock.
655+
In this case, you can use our [admin-requests repo](https://github.com/conda-forge/admin-requests?tab=readme-ov-file#add-a-package-output-to-a-feedstock)
656+
to add a glob pattern that matches the new package name pattern. We use the Python `fnmatch` module syntax.
657+
Output packages that match these patterns will be automatically registered for your feedstock.
657658

658659
## Stages of package building and involved infrastructure
659660

news/2024-09-08-output-validation-changes.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ adding new packages to existing feedstocks (e.g., when a new output is added), w
55
require that maintainers submit a PR to add the new output via our
66
[admin-requests repository](https://github.com/conda-forge/admin-requests?tab=readme-ov-file#add-a-package-output-to-a-feedstock).
77
New feedstocks created via `staged-recipes` will have their outputs added automatically. If you maintain a feedstock
8-
that regularly adds new outputs (e.g., `llvmdev` has `libllvm18`, `libllvm19`, etc.), we have created a
9-
[list of feedstocks with allowed glob patterns](https://github.com/conda-forge/feedstock-outputs/blob/main/feedstock_outputs_autoreg_allowlist.yml). These feedstocks will have any outputs matching their glob patterns
10-
added automatically. If you would like to add your feedstock to this list, please submit a PR. Further
8+
that regularly adds new outputs (e.g., `llvmdev` has `libllvm18`, `libllvm19`, etc.), you can use the `admin-requsts` repo
9+
to add a glob pattern that matches the pattern of your new outputs. We test these patterns aginst new outputs from the feedstock
10+
using the Python `fnmatch` module. Outputs from the feedstock that match a glob pattern will added automatically. Further
1111
details on package output validation can be found in our [documentation](https://conda-forge.org/docs/maintainer/infrastructure/#output-validation-and-feedstock-tokens).

0 commit comments

Comments
 (0)