-
Notifications
You must be signed in to change notification settings - Fork 3
Fix git repository handling #22
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
Conversation
User descriptionThis PR fixes how tmt web handles git repositories. A cloned local repository is now properly updated when changes occur in the remote repository. Also, when no ref is specified, the default branch will now be used instead of reusing the ref from the previous checkout. PR TypeBug fix, Enhancement Description
Diagram Walkthroughflowchart LR
A["Clone Repository"] --> B["Fetch Remote Updates"]
B --> C["Determine Default Branch"]
C --> D["Checkout Ref/Branch"]
D --> E["Update Branch if Needed"]
|
| Relevant files | |||
|---|---|---|---|
| Bug fix |
| ||
| Tests |
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||
37f695e to
5481465
Compare
5481465 to
2cc69ca
Compare
LecrisUT
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just minor comments. Looks like functionally it would work fine.
bf6c87d to
59c3097
Compare
|
Thanks for the reviews! |
This PR fixes how tmt web handles git repositories. A cloned local repository is now properly updated when changes occur in the remote repository. Also, when no ref is specified, the default branch will now be used instead of reusing the ref from the previous checkout.
Fixes #21
Related: TFT-3576