Skip to content

feat(565): relative file pointers dir input e2e#613

Merged
jakobmoellerdev merged 3 commits into
open-component-model:mainfrom
matthiasbruns:feat/565_relative_file_pointers_dir_input_e2e
Aug 22, 2025
Merged

feat(565): relative file pointers dir input e2e#613
jakobmoellerdev merged 3 commits into
open-component-model:mainfrom
matthiasbruns:feat/565_relative_file_pointers_dir_input_e2e

Conversation

@matthiasbruns

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

  • Add missing tests for #565

Which issue(s) this PR fixes

Fixes #565

On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
Copilot AI review requested due to automatic review settings August 22, 2025 07:47
@matthiasbruns matthiasbruns requested a review from a team as a code owner August 22, 2025 07:47
@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/s Small labels Aug 22, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds missing end-to-end tests for issue #565, which appears to be related to relative file pointers and directory input functionality. The changes focus on testing working directory behavior when adding component versions to OCM repositories.

  • Adds test cases for working directory validation when constructing component versions
  • Updates dependencies to use specific version tags instead of commit hashes
  • Verifies both failure and success scenarios for file path resolution with working directories

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
cli/cmd/download/plugin/integration/go.mod Updates dependency versions from commit hashes to semantic version tags
cli/cmd/cmd_test.go Adds comprehensive test cases for working directory behavior in component version construction

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread cli/cmd/cmd_test.go Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

feat: update cmd tests to cover working-directory flag

On-behalf-of: SAP <matthias.bruns@sap.com>

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@matthiasbruns matthiasbruns force-pushed the feat/565_relative_file_pointers_dir_input_e2e branch from 51a2e82 to 47b33c2 Compare August 22, 2025 07:49
@jakobmoellerdev jakobmoellerdev merged commit 522020b into open-component-model:main Aug 22, 2025
17 checks passed
@matthiasbruns matthiasbruns deleted the feat/565_relative_file_pointers_dir_input_e2e branch August 22, 2025 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature new feature, enhancement, improvement, extension size/s Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make file and dir inputs support relative paths

3 participants