dokuwiki / dokuwiki-extensionmirror

Download all DokuWiki extensions in one go
2 stars 0 forks source link

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

Open Klap-in opened 10 months ago

Klap-in commented 10 months ago

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.

splitbrain commented 10 months ago

still needs to be updated on the server