Skip to content

fix tests that use testdata dirs with git repos #6

@whilei

Description

@whilei

In order to test the janus version command it's necessary to use
test git repos. There are three of these in ./gitvv/testdata.

Git doesn't like adding git repos because it wants to use submodules for
that kind of thing. Adding a submodule to a "superrepo" (one with submodules)
requires that each submodule has it's own remote, with url. In this case
it seems dumb to create actual submodules out of the testdata git repos
because they're entirely empty and only used for testing on-tag, above-tag,
and no-tag parsing.

The solution is to either buck up and create three miniscule remote repos
for each testdir, figure out how to add them to the janus repo NOT as submodules,
or find an alternate way of testing the ./gitvv package git parsing.

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