Skip to content

Add support for Fossil and Mercurial #10

@nobodywasishere

Description

@nobodywasishere

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions