<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with xim-pkgindex]]></title><description><![CDATA[A list of topics that have been tagged with xim-pkgindex]]></description><link>http://forum.d2learn.org/tags/xim-pkgindex</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 10:57:05 GMT</lastBuildDate><atom:link href="http://forum.d2learn.org/tags/xim-pkgindex.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[xlings: xim: 增加Project-Graph图&#x2F;节点绘制工具到xim-pkgindex索引仓库]]></title><description><![CDATA[<p dir="auto"><strong>issues:</strong> <a href="https://github.com/d2learn/xim-pkgindex/issues/10" rel="nofollow ugc">https://github.com/d2learn/xim-pkgindex/issues/10</a><br />
<strong>pull-request:</strong> <a href="https://github.com/d2learn/xim-pkgindex/pull/9" rel="nofollow ugc">https://github.com/d2learn/xim-pkgindex/pull/9</a><br />
<strong>xpkg包文件:</strong> <a href="https://github.com/d2learn/xim-pkgindex/blob/main/pkgs/p/project-graph.lua" rel="nofollow ugc">https://github.com/d2learn/xim-pkgindex/blob/main/pkgs/p/project-graph.lua</a></p>
<hr />
<hr />
<h2>基础信息 | Basic Info</h2>
<ul>
<li>名称: project-graph</li>
<li>协议: mit license</li>
<li>简介: 快速绘制节点图的桌面工具，可以用于项目进程拓扑图绘制、快速头脑风暴草稿</li>
<li>主页: <a href="https://project-graph.top" rel="nofollow ugc">https://project-graph.top</a></li>
<li>仓库地址: <a href="https://github.com/LiRenTech/project-graph" rel="nofollow ugc">https://github.com/LiRenTech/project-graph</a></li>
<li>支持平台: windows / linux / macos</li>
<li>d2learn交流版块: <a href="https://forum.d2learn.org/category/16/project-graph" rel="nofollow ugc">https://forum.d2learn.org/category/16/project-graph</a></li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1735566024280-bc2208df-7cc3-47f1-979b-94a051be1bea-image.png" alt="bc2208df-7cc3-47f1-979b-94a051be1bea-image.png" class=" img-fluid img-markdown" /></p>
<h2>XPackage's Pull-Request</h2>
<ul>
<li>#9</li>
</ul>
<h2>本地测试信息 | Local Test Info</h2>
<blockquote>
<p dir="auto">Paste your test console information or picture here (note: xpakcage is your xpackage's filename</p>
</blockquote>
<h3>ubuntu测试</h3>
<blockquote>
<p dir="auto"><a href="https://github.com/d2learn/xim-pkgindex/issues/10#issuecomment-2565176956" rel="nofollow ugc">windows测试</a>  | <a href="https://github.com/d2learn/xim-pkgindex/issues/10#issuecomment-2565351312" rel="nofollow ugc">archlinux测试</a></p>
</blockquote>
<p dir="auto"><strong>step1: <code>xim --add-xpkg yourPath/xpackage.lua</code></strong></p>
<blockquote>
<p dir="auto">test add to pkgindex database for xpackage</p>
</blockquote>
<p dir="auto">ubuntu</p>
<p dir="auto"><img src="https://github.com/user-attachments/assets/9ed2f209-70e7-4abf-b404-e1f569fc28fc" alt="image" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>step2: <code>xim -s xpackage</code></strong></p>
<blockquote>
<p dir="auto">test search for xpackage</p>
</blockquote>
<p dir="auto">ubuntu</p>
<pre><code class="language-bash">[xlings:xim]: search for *project-graph* ...

{ 
  "project-graph@1.0.0" = { },
  "project-graph@nightly" = { },
  "project-graph@1.1.0" = { 
    "project-graph@latest",
    "project-graph" 
  } 
}
</code></pre>
<p dir="auto"><strong>step3: <code>xim -i xpackage</code></strong></p>
<blockquote>
<p dir="auto">test install for xpackage</p>
</blockquote>
<p dir="auto">ubuntu</p>
<p dir="auto"><img src="https://github.com/user-attachments/assets/4fb7e91d-d00b-4d4e-9fda-29a186319925" alt="image" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>step4: <code>xim -i xpackage</code></strong></p>
<blockquote>
<p dir="auto">test installed for xpackage</p>
</blockquote>
<p dir="auto"><img src="https://github.com/user-attachments/assets/35370f98-252b-4008-82e4-d206e566e60e" alt="image" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>step5: <code>xim -l xpackage</code></strong></p>
<blockquote>
<p dir="auto">test list for xpackage</p>
</blockquote>
<pre><code class="language-bash">speak@speak-pc:~/workspace/github/d2learn/xim-pkgindex$ xim -l project-graph
-&gt; project-graph@1.1.0 (project-graph@latest, project-graph)
</code></pre>
<p dir="auto"><strong>step6: <code>xim -r xpackage</code></strong></p>
<blockquote>
<p dir="auto">test remove/uninstall for xpackage</p>
</blockquote>
<p dir="auto"><img src="https://github.com/user-attachments/assets/e3d9919c-5c75-4e60-b0cb-f755e4970976" alt="image" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>step7: <code>xim -r xpackage</code></strong></p>
<blockquote>
<p dir="auto">test uninstalled for xpackage</p>
</blockquote>
<p dir="auto"><img src="https://github.com/user-attachments/assets/ca61de8b-30df-4f67-885c-45475ebca402" alt="image" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forum.d2learn.org/topic/57/xlings-xim-增加project-graph图-节点绘制工具到xim-pkgindex索引仓库</link><guid isPermaLink="true">http://forum.d2learn.org/topic/57/xlings-xim-增加project-graph图-节点绘制工具到xim-pkgindex索引仓库</guid><dc:creator><![CDATA[sunrisepeak]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[xlings: xim: xpkg增加自动匹配github上release的url功能]]></title><description><![CDATA[<p dir="auto">在包文件的xpm资源描述字段, 可以使用 <code>github_release_tag</code> 指定github上release的tag, 然后url就会变成一个支持正则表达的pattern, 能自动匹配release页面的特定文件</p>
<p dir="auto">例如下面这个包文件中使用这个功能可以<strong>在不修改包文件的情况下获取到最新的nightly版本</strong></p>
<ul>
<li>windows - 使用"%.exe$"匹配对应的exe安装包</li>
<li>linux - 使用"%.deb$"匹配deb安装包</li>
</ul>
<p dir="auto"><strong>具体的url匹配规则可以基于正则表达式自定义</strong></p>
<pre><code>package = {
    homepage = "https://project-graph.top",
    name = "project-graph",
    description = "快速绘制节点图的桌面工具 - 项目进程拓扑图绘制、头脑风暴草稿",

    maintainers = "LiRenTech",
    contributors = "https://github.com/LiRenTech/project-graph/graphs/contributors",
    licenses = "MIT",
    repo = "https://github.com/LiRenTech/project-graph",
    docs = "https://project-graph.top/getting-started",
    forum = "https://forum.d2learn.org/category/16/project-graph",

    -- xim pkg info
    type = "package", -- package, auto-config
    archs = {"x86_64", "aarch64"},
    status = "stable", -- dev, stable, deprecated
    categories = {"desktop-tools", "graph-tools"},

    xpm = {
        windows = {
            ["latest"] = { ref = "1.1.0" },
            ["nightly"] = {
                url = "%.exe$", -- url pattern
                github_release_tag = "nightly",
            },
            ....
        },
        debian = {
            ["latest"] = { ref = "1.1.0" },
            ["nightly"] = {
                url = "%.deb$", -- url pattern
                github_release_tag = "nightly",
           ...
        },
        ubuntu = { ref = "debian" },
        archlinux = { ref = "debian" },
        manjaro = { ref = "debian" },
    },
}
...
</code></pre>
<hr />
<p dir="auto">完整的包文件:  <a href="https://github.com/d2learn/xim-pkgindex/blob/main/pkgs/p/project-graph.lua" rel="nofollow ugc">https://github.com/d2learn/xim-pkgindex/blob/main/pkgs/p/project-graph.lua</a></p>
]]></description><link>http://forum.d2learn.org/topic/56/xlings-xim-xpkg增加自动匹配github上release的url功能</link><guid isPermaLink="true">http://forum.d2learn.org/topic/56/xlings-xim-xpkg增加自动匹配github上release的url功能</guid><dc:creator><![CDATA[sunrisepeak]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>