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

Remote fetching #1552

Open
Sk7Str1p3 opened this issue Mar 31, 2025 · 1 comment
Open

Remote fetching #1552

Sk7Str1p3 opened this issue Mar 31, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Sk7Str1p3
Copy link
Contributor

Summary 💡

Print some info about repository without pulling it locally.

Motivation 🔦

Some repositories are enormous, and people may want know just few essentials like name, authors, LoC and size without cloning it. So IMO this could be great feature

@Sk7Str1p3 Sk7Str1p3 added the enhancement New feature or request label Mar 31, 2025
@spenserblack
Copy link
Collaborator

This has been brought up a few times: #419

Even if onefetch was updated to be able to run on bare repositories, it would still need to clone the repository to read it (but we could possibly skip resolving deltas).

AFAIK, the only way to truly avoid cloning a large repository would be to rely on the host's API. So that would require defining a second way to fetch all the stats, some of which might not be available. Additionally, we'd need to be able to read from the GitHub API, GitLab, and other major hosts, unless we're going to show favoritism for one git host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants