Skip to content

codesearch (and xref) does not contain DokuWiki's test classes #2

@Klap-in

Description

@Klap-in

In the xref (https://github.com/dokuwiki/dokuwiki-plugin-xref) the references to classes of the unit tests e.g. [[xref>TestRequest]] are missing.

downloader, for dokuwiki a download url and repo are given.
https://github.com/dokuwiki/dokuwiki-extensionmirror/blob/decb7ff91ce858a7a59b93eff6bac090e962e254/src/Downloader.php#L57-L60

If I try the download link, indeed I get a DokuWiki download without test classes, as set in https://github.com/dokuwiki/dokuwiki/blob/master/.gitattributes

Probably the tool uses the download, which means the attempt to checkout the repository does not succeed. I guess a checkout would contain the test classes.

The getDownloads() does a normalizedRepo(), after that the DokuWiki entry is added and, therefore, not normalized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions