如何添加描述以在 Bower.io 上搜索?
How do I add a description to search on Bower.io?
我有一个组件:chrome-extension-async
published to both Bower and NPM。
当我在 bower.io 上搜索它时,它找到了包裹,但没有找到描述。
我的 bower.json
有一个 description
属性。
libraries.io finds the component on both NPM and Bower, but the latter has no description (either from the json
or the readme)
我做错了什么?
另外,通过检查负责 Bower 包的 libraries.io 的 the code,从这个角度来看似乎一切都很好。如果您同时更改了 github 存储库名称,那很可能就是问题所在。
我最好的选择是缓存问题。如果你之前没有描述就发布了它,libraries.io 或 bower.io 可能会保存一些这样的字段的缓存,我不知道它什么时候会失效,你也可以看到你在这里有 0 颗星不是最新的。
我确定您已经尝试提升版本,因为正如我从 bower.io api 中看到的那样,您在 4 月 16 日做了最后一个版本。如果您没有想到,你可能想试一试。
我建议您尝试将您的名字更改为 chrome-extension-async-tmp
,然后看看它是否被选中。如果是这样,则意味着它与缓存有关。在这种情况下,您可以(取决于您的用户群)取消发布并重新发布该包,以便重新获取描述。
在对你的包进行简单的克隆和重命名后,我将它发布在 bower 上,1 天后它显示在两个 libraries.io and bower.io, with the correct descriptions. As you can see in their github.rake they are syncing repositories that have never been synced. Hopefully since #1080 的搜索结果中,他们添加了一个按钮来手动触发重新同步如果您已登录该站点(如果在 24 小时内未发生同步),则可以访问图书馆。所以我认为这就是您要找的。
这似乎已经修复,我就是这样做的:
- 点击 libraries.io 页面右下角的 "Make a Suggestion"。
- 这会变成一个表格:https://libraries.io/bower/chrome-extension-async/suggestions
- 更新了与此处相同的信息。
- 等几个星期。
现在 https://libraries.io/bower/chrome-extension-async has the full README and the search at https://bower.io/search/ 选择描述。
我认为这实际上是 libraries.io 中的一个错误,并在他们 fixed it 时解决了。
我有一个组件:chrome-extension-async
published to both Bower and NPM。
当我在 bower.io 上搜索它时,它找到了包裹,但没有找到描述。
我的 bower.json
有一个 description
属性。
libraries.io finds the component on both NPM and Bower, but the latter has no description (either from the json
or the readme)
我做错了什么?
另外,通过检查负责 Bower 包的 libraries.io 的 the code,从这个角度来看似乎一切都很好。如果您同时更改了 github 存储库名称,那很可能就是问题所在。
我最好的选择是缓存问题。如果你之前没有描述就发布了它,libraries.io 或 bower.io 可能会保存一些这样的字段的缓存,我不知道它什么时候会失效,你也可以看到你在这里有 0 颗星不是最新的。
我确定您已经尝试提升版本,因为正如我从 bower.io api 中看到的那样,您在 4 月 16 日做了最后一个版本。如果您没有想到,你可能想试一试。
我建议您尝试将您的名字更改为 chrome-extension-async-tmp
,然后看看它是否被选中。如果是这样,则意味着它与缓存有关。在这种情况下,您可以(取决于您的用户群)取消发布并重新发布该包,以便重新获取描述。
在对你的包进行简单的克隆和重命名后,我将它发布在 bower 上,1 天后它显示在两个 libraries.io and bower.io, with the correct descriptions. As you can see in their github.rake they are syncing repositories that have never been synced. Hopefully since #1080 的搜索结果中,他们添加了一个按钮来手动触发重新同步如果您已登录该站点(如果在 24 小时内未发生同步),则可以访问图书馆。所以我认为这就是您要找的。
这似乎已经修复,我就是这样做的:
- 点击 libraries.io 页面右下角的 "Make a Suggestion"。
- 这会变成一个表格:https://libraries.io/bower/chrome-extension-async/suggestions
- 更新了与此处相同的信息。
- 等几个星期。
现在 https://libraries.io/bower/chrome-extension-async has the full README and the search at https://bower.io/search/ 选择描述。
我认为这实际上是 libraries.io 中的一个错误,并在他们 fixed it 时解决了。