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

Branch name parameters #405

Merged
merged 12 commits into from
Oct 24, 2024
Merged

Branch name parameters #405

merged 12 commits into from
Oct 24, 2024

Conversation

haesleinhuepf
Copy link
Owner

closes #384

git-bob review

Copy link
Contributor

This message was generated by git-bob (version: 0.11.1, model: gpt-4o-2024-08-06, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

The changes in the pull request align with the discussion topic regarding the addition of branch name parameters. The modifications introduce the branch_name parameter to functions handling repository files in both GitHub and GitLab utilities, ensuring that file listings and content retrieval are specific to the branch provided. This addresses the issue mentioned and enhances functionality.

@haesleinhuepf
Copy link
Owner Author

Just for testing, please add a text file containing "hello world" to the playground directory,

git-bob implement this.

Copy link
Contributor

This message was generated by git-bob (version: 0.11.1, model: gpt-4o-2024-08-06, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

In response to the issue regarding branch name parameters, the changes introduce functions in both GitHub and GitLab utilities to handle the creation of a text file containing "hello world" in specific repositories or branches. This includes adding 'branch_name' as a parameter to ensure operations apply to the correct branch. Tests were updated to verify these functionalities, and a "hello world" file was added to the playground directory for demonstration.

@haesleinhuepf haesleinhuepf merged commit 27917d4 into main Oct 24, 2024
4 checks passed
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.

Bug: get_repository_file_contents does not have a branch parameter
1 participant