Skip to content

patch generation cannot find the folder/file #1854

@zelosleone

Description

@zelosleone

Running rattler-build create-patch --directory "C:\Users\deniz\source\repos\zelosleone\staged-recipes\recipes\o3de\output\bld\rattler-build_o3de_1756134280\work to generate a patch for the changes results in:

Image (Even if the folder is clearly there)

Even if we edit the source file to point out the folder for source json file via for example

{"recipe_path":"C:\\Users\\deniz\\source\\repos\\zelosleone\\staged-recipes\\recipes\\o3de\\recipe.yaml","source_cache":"C:\\Users\\deniz\\source\\repos\\zelosleone\\staged-recipes\\recipes\\o3de\\output\\src_cache","sources":[{"url":"https://github.com/o3de/o3de/archive/refs/tags/2505.1.tar.gz","sha256":"181c2153582fda6b7819e994653c40125312efc3d245e8dacddccc8e86c2be5f"}]}

It won't be able to find, and we won't be able to generate patches for these cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions