FedericoCeratto/nim-package-directory

Broken links of `/packages.xml`

jiro4989 opened this issue · 2 comments

https://nimble.directory/packages.xml returns broken URL of package repository.

<link>https:/nimble.directory/packages.xml</link>

The URL starts with https:/ .

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Nim packages</title>
    <description>New and updated Nim packages</description>
    <link>https:/nimble.directory/packages.xml</link>
    <lastBuildDate>Thu, 12 Mar 2020 03:29:02 Z</lastBuildDate>
    <pubDate>Thu, 12 Mar 2020 03:29:02 Z</pubDate>
    <ttl>3600</ttl>

    <item>
     <title>nimpress</title>
     <description>Fast and simple calculation of polygenic scores</description>
     <link>https:/nimble.directory/pkg/nimpress</link>
     <guid isPermaLink="true">https:/nimble.directory/pkg/nimpress</guid>
     <pubDate>Tue, 10 Mar 2020 06:22:07 Z</pubDate>
    </item>
    <item>
     <title>weightedgraph</title>
     <description>Graph With Weight Libary</description>
     <link>https:/nimble.directory/pkg/weightedgraph</link>
     <guid isPermaLink="true">https:/nimble.directory/pkg/weightedgraph</guid>
     <pubDate>Tue, 10 Mar 2020 09:52:35 Z</pubDate>
    </item>
    <item>
     <title>norman</title>
     <description>Migration manager for Norm.</description>
     <link>https:/nimble.directory/pkg/norman</link>
     <guid isPermaLink="true">https:/nimble.directory/pkg/norman</guid>
     <pubDate>Thu, 12 Mar 2020 01:54:38 Z</pubDate>
    </item>
    <item>
     <title>nimfm</title>
     <description>A library for factorization machines in Nim.</description>
     <link>https:/nimble.directory/pkg/nimfm</link>
     <guid isPermaLink="true">https:/nimble.directory/pkg/nimfm</guid>
     <pubDate>Thu, 12 Mar 2020 03:14:51 Z</pubDate>
    </item>
  </channel>
</rss>

I think that public_baseurl of conf.json will be wrong.
(but this is a example file)

Fixed in 563e6a4 - Thank you!