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

fetch: try use gix to fetch package src #21

Open
wants to merge 6 commits into
base: production
Choose a base branch
from

Conversation

eatradish
Copy link
Member

But when acbs-build xxx is used again, there is a problem:

Error: './.git/objects' wasn't a directory

However, when I do the same steps manually, the problem does not reproduce:

gix clone --bare https://github.com/AOSC-Dev/oma oma-1
cd oma-1
gix fetch origin +refs/heads/*:refs/heads/*

@what-the-diff
Copy link

what-the-diff bot commented Aug 16, 2023

PR Summary

  • Added New Function for Managing Git Repositories
    A new functionality has been introduced that significantly improves how we interact with Git repositories. Previously, it had to be manually checked whether the repository exists or not. Now, this process is automated. The new function, git_fetch, determines if a repository exists, if not, it initially sets it up by cloning it. In case the repository already exists, this function helps keep it up-to-date by fetching the latest changes.

  • Incorporated gix_fetch for Enhanced Efficiency
    In situations where gix is available, another function called gix_fetch is utilized within the git_fetch sequence for added efficiency. This means, depending on the circumstances and tools available, the system can choose the most effective method to fetch repositories, optimizing performance.

@eatradish eatradish force-pushed the gix-clone-src branch 3 times, most recently from ac0f7c9 to 45e49d2 Compare August 17, 2023 06:30
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.

2 participants