Skip to content

Commit 4a61d98

Browse files
authored
Merge pull request #1826 from hmaarrfk/explain_timestamp
Document how to generate the timestamp for repodata patches
2 parents 079bd60 + dd13349 commit 4a61d98

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/maintainer/updating_pkgs.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,12 @@ Sometimes mistakes happen and a broken package ends up being uploaded to the con
222222

223223
If the only issue is in the package metadata, we can directly patch it using
224224
the `repo data patches feedstock <https://github.com/conda-forge/conda-forge-repodata-patches-feedstock>`__.
225-
Please make a PR there to add a patch. In order to ensure future versions have the required changes, you also
226-
need to change the recipe to reflect the metadata changes.
225+
If this is the case, the following general guidelines should be followed:
226+
1. Update the feedstocks recipe to ensure future builds do not propagate the issue with a new build number.
227+
2. Please make a PR there to add a patch. The patch should specify as much has possible the versions and times when the packages were generated. It may use the following information
228+
229+
- The current timestamp, you may generate it with ``python -c "import time; print(f'{time.time():.0f}000')"``.
230+
- The problematic version and build numbers of the packages to affect.
227231

228232
If instead the actual contents of the package are broken, the following steps will
229233
remove broken packages from the ``main`` channel:

0 commit comments

Comments
 (0)