-
Notifications
You must be signed in to change notification settings - Fork 277
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
mercurial support #1054
Comments
Somewhat related: #860 I think that if we start supporting VCS besides Git, we'll need to consider some sort of refactoring to make fetching repo stats more plugin-like. Although we can kind of get "universal support" by simply allowing non-Git repos, and just disabling any git stats. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
It's a feature request. Why stale since it's not implemented? |
@VitalyAnkh This just happens automatically to help clean up issues: https://github.com/o2sh/onefetch/blob/5a632825fc5c2e9a68de6830c54a4626b8371c16/.github/workflows/stale.yml Now that you've added a comment, IIRC the Anyway, adding mercurial support would be a pretty large undertaking for us, and I think we'd want
Before we even start implementing code changes for this. Step 1 for adding mercurial support will be making Git optional IMO, which is significant enough to deserve its own PR. @o2sh What do you think about making Git optional? |
In addition to making Git optional, it would require a Rust library like gitoxide, but for Mercurial, to parse the necessary repository information, which doesn't exist AFAIK Unfortunately, Mercurial does not appear to be too popular. |
Sounds good to me. With how much we export, it honestly shouldn't be too hard for a Mercurial user to write a separate tool mimicking our behavior. |
FYI if #1152 gets merged then I think it's pretty much guaranteed that we won't support Mercurial. Though adding Mercurial support to gengo does sound fun... 🤔 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Summary 💡
I wish I could see Firefox's repository information via onefetch. Ah! firefox uses mercurial as its vcs.
Motivation 🔦
onefetch should support multiple version control systems besides git, like mercurial, subversion, pijul...
The text was updated successfully, but these errors were encountered: