Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes problems with fetching LFS objects during nvImageCodec conda build #5603

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

JanuszL
Copy link
Contributor

@JanuszL JanuszL commented Aug 9, 2024

  • conda does bare mirror first and then clones the code to the build dir
    it also fetches the LFS object, but it does that only for the built reference, if there are
    other objects they are left out. Then it does the full cone and checkout and that is why it
    complains about missing objects. Also, it doesn't allow running any post-clone hooks.
    see Clone fails if source has LFS files conda/conda-build#1462

Category:

Other (e.g. Documentation, Tests, Configuration)

Description:

  • conda does bare mirror first and then clones the code to the build dir
    it also fetches the LFS object, but it does that only for the built reference, if there are
    other objects they are left out. Then it does the full cone and checkout and that is why it
    complains about missing objects. Also, it doesn't allow running any post-clone hooks.
    see Clone fails if source has LFS files conda/conda-build#1462

Additional information:

Affected modules and functionalities:

  • conda build of nvImageCodec

Key points relevant for the review:

  • NA

Tests:

  • Existing tests apply
    • conda build
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [17359850]: BUILD STARTED

@jantonguirao jantonguirao self-assigned this Aug 9, 2024
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [17359850]: BUILD FAILED

@JanuszL
Copy link
Contributor Author

JanuszL commented Aug 9, 2024

Reported in conda/conda-build#5452.

- conda does bare mirror first and then clones the code to the build dir
  it also fetches the LFS object, but it does that only for the built reference, if there are
  other objects they are left out. Then it does the full cone and checkout and that is why it
  complains about missing objects. Also, it doesn't allow running any post-clone hooks.
  see conda/conda-build#1462

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [17360826]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [17360826]: BUILD PASSED

@JanuszL JanuszL merged commit 123f4f2 into NVIDIA:main Aug 12, 2024
6 checks passed
@JanuszL JanuszL deleted the fix_nvimage_conda_build branch August 12, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants