Skip to content

Feature request: accept more types of repository URIs in CLI #45

Open
@VickyRampin

Description

@VickyRampin

In the CLI for IGA, it would be great to be able to pass more types of URIs as an argument. Most academic/research repositories do not use the release feature in GitHub nor tag their commits in Git, and so wouldn't be able to be archived using IGA in it's current iteration.

In addition to accepting a link to a specific release, I think it'd be worthwhile to add support for a generic link to repository (e.g. https://github.com/caltechlibrary/iga) and/or a link to a specific commit (e.g. https://github.com/caltechlibrary/iga/commit/a3eb0f6004b43aaa13e0226c23e46248048be7ab).

We have to provide an ID to a parent record when using the CLI anyway, so I do not think versioning would be broken in expanding the options for the CLI. It makes sense the GitHub Action is based on releases only (conditional logic!), but maybe less so for the CLI, which may have more popular use amongst curators than patrons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions