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

Add support for Fossil and Mercurial #10

Open
nobodywasishere opened this issue Sep 26, 2023 · 2 comments
Open

Add support for Fossil and Mercurial #10

nobodywasishere opened this issue Sep 26, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@nobodywasishere
Copy link
Owner

This may require minor refactoring, but all we need to figure out to use these tools is:

  • check if a given url is a valid repository of that vcs type
  • get a list of all the tags and their hashes without cloning
  • get the name and hash of the main branch without cloning
  • cloning the repository
  • forcefully checking out a specific tag

How repos are parsed will also have to be changed, as the largest fossil host doesn't follow the domain.tld/user/proj format.

The current git functionality all lives entirely within CrystalDoc::VCS

Example Crystal Fossil repo for testing:
https://chiselapp.com/user/MistressRemilia/repository/remiaudio/index

If anyone knows of an example mercurial one please let me know!

@nobodywasishere nobodywasishere added the enhancement New feature or request label Sep 26, 2023
@nobodywasishere
Copy link
Owner Author

Added a fossil builder in 52ae389, still need to add support for querying for new versions and submitting new fossil repos

@nobodywasishere
Copy link
Owner Author

Manually added this to the database:

https://crystaldoc.info/chiselapp/MistressRemilia/libremiliacr/v0.11.2/index.html

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

1 participant