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

Ensure Local Availability of Repositories Before Execution #1379

Open
Jotaherrera opened this issue Oct 2, 2024 · 0 comments
Open

Ensure Local Availability of Repositories Before Execution #1379

Jotaherrera opened this issue Oct 2, 2024 · 0 comments

Comments

@Jotaherrera
Copy link

The command m <repo> <job> fetches the repository and executes the job, but it doesn't make the repository locally available. This is problematic because, for parity, the repository should be locally accessible during the execution of the command.

Expected Behavior

  1. Fetch the repository.
  2. Make it available in a temporary directory.
  3. Change to that directory.
  4. Execute the job within the temporary repository.

Steps to Reproduce

  1. Run the command: m <repo> <job>.
  2. Observe that while the job runs, the repository is not accessible locally, resulting in a lack of context.

Suggested Fix

Modify the command behavior so that the repository is fetched and made available in a temporary directory, with the job running in that local context.

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

No branches or pull requests

1 participant