rcy1314 / Rss-Translation

RSS翻译转换订阅
https://rcy1314.github.io/Rss-Translation/
MIT License
68 stars 64 forks source link

Sweep: Fix XML file to conform to rules #3

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

The XML file "rss/opensourceagenda.xml" does not conform to the rules. Here are the issues that need to be fixed:

  1. The element in the <channel> element should not contain non-English characters.</p> <ul> <li>Line 4: <title>最近添加的项目 - 开源议程

  2. Change to: Recently Added Projects - Open Source Agenda
  3. The element in the element should not contain non-English characters.

    • Line 6: 最近添加的开源项目源
    • Change to: Recently Added Open Source Projects Feed
  4. The element in the elements should not contain non-English characters.

    • Line 19: <![CDATA[LocalCTP是一个本地部署的仿CTP项目,免费使用(双重含义)。]]>

    • Change to: <![CDATA[LocalCTP is a locally deployed CTP project, free to use (dual meaning).]]>

    • Line 25: <![CDATA[🧰 多工具 Kubernetes Pentest 镜像 ]]>

    • Change to: <![CDATA[🧰 Multi-tool Kubernetes Pentest Image]]>

    • Line 31: <![CDATA[清理社交媒体中的 BS 信息,专注于重要内容]]>

    • Change to: <![CDATA[Clean up BS information in social media, focus on important content]]>

    • Line 37: <![CDATA[崩坏:星穹铁道 自动日常任务|自动锄大地/模拟宇宙/忘却之庭|图形界面|消息推送|7×24小时运行]]>

    • Change to: <![CDATA[Honkai Impact: Stellar Railway Auto Daily Tasks | Auto Farming/Space Simulation/Forgetful Garden | GUI | Push Notifications | 24/7 Operation]]>

    • Line 43: <![CDATA[NestJs 框架的服务器端指纹识别库 ]]>

    • Change to: <![CDATA[Server-side Fingerprint Recognition Library for NestJs Framework]]>

    • Line 49: <![CDATA[紧凑型 USB HID 主机 FPGA 内核,支持键盘、鼠标和游戏手柄。]]>

    • Change to: <![CDATA[Compact USB HID Host FPGA Core, supports keyboard, mouse, and gamepad.]]>

    • Line 55: <![CDATA[真正的shellcode加密工具。]]>

    • Change to: <![CDATA[Real shellcode encryption tool.]]>

    • Line 61: <![CDATA[]]>

    • Change to: <![CDATA[No description available.]]>

    • Line 67: <![CDATA[最稳定的BTC-全币种代理中转,开发者费用固定千分之2(1台也是0.02%,没有矿机数量门坎)几乎无损的转发,近乎变态的精准比例;轻松支持百万级并发!开发费单一抽取、精准比例、杜绝市面上“定制版多个钱包”导致的算力波动!minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxyminerproxy minerproxy]]>

    • Change to: <![CDATA[The most stable BTC-all currency proxy transfer, developer fee fixed at 0.2% (0.02% even for 1 machine, no minimum number of mining machines), almost lossless forwarding, almost insane precision ratio; easily supports millions of concurrent connections! Development fee extracted uniformly, precise ratio, eliminates the mining power fluctuations caused by "customized versions of multiple wallets" on the market! minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxy minerproxyminerproxy minerproxy]]>

    • Line 73: <![CDATA[在 Linux 服务器中安装浏览器(Firefox 和 Chromium)]]>

    • Change to: <![CDATA[Install browsers (Firefox and Chromium) on Linux servers.]]>

    • Line 79: <![CDATA[从人类反馈中进行视觉学习的平台]]>

    • Change to: <![CDATA[Platform for visual learning from human feedback.]]>

    • Line 85: <![CDATA[一个 HTML5 播放器,可以通过 Media Source Extension 播放 flv 和 hls,基于 typescript。]]>

    • Change to: <![CDATA[An HTML5 player that can play flv and hls through Media Source Extension, based on TypeScript.]]>

    • Line 91: <![CDATA[上海交通大学AI专业(本科)课程信息|A Website For Courses of AI Pilot Class, SJTU]]>

    • Change to: <![CDATA[Shanghai Jiao Tong University AI Major (Undergraduate) Course Information | A Website For Courses of AI Pilot Class, SJTU]]>

    • Line 97: <![CDATA[📊 🌐 🧑‍🏫 使用 R 和 ggplot2 进行数据可视化的研究生课程网站,使用 Quarto 构建]]>

    • Change to: <![CDATA[📊 🌐 🧑‍🏫 Graduate course website for data visualization using R and ggplot2, built with Quarto.]]>

Checklist - [X] `rss/opensourceagenda.xml` ✅ Commit [`6d2c3c5`](https://github.com/rcy1314/Rss-Translation/commit/6d2c3c5817b923721a407729ee11c6278538b242) > • Replace the non-English characters in the element in the <channel> element on line 4 with "Recently Added Projects - Open Source Agenda". > • Replace the non-English characters in the <description> element in the <channel> element on line 6 with "Recently Added Open Source Projects Feed". > • Replace the non-English characters in the <description> element in the <item> elements on lines 19, 25, 31, 37, 43, 49, 55, 61, 67, 73, 79, 85, 91, and 97 with their respective English translations as provided in the issue description. > <details open> > <summary>Sandbox Execution Logs</summary> > > > <details > > <summary>Sandbox logs 1/3</summary> > > ```⡿ Downloading Trunk 1.15.0... > ⡿ Downloading Trunk 1.15.0... > ⢿ Downloading Trunk 1.15.0... > ⣻ Downloading Trunk 1.15.0... > ⣽ Downloading Trunk 1.15.0... > ⣾ Downloading Trunk 1.15.0... > ⣷ Downloading Trunk 1.15.0... > ⣯ Downloading Trunk 1.15.0... > ⣟ Downloading Trunk 1.15.0... > ⡿ Downloading Trunk 1.15.0... > ⢿ Downloading Trunk 1.15.0... > ⣻ Downloading Trunk 1.15.0... > ⣽ Downloading Trunk 1.15.0... > ⣾ Downloading Trunk 1.15.0... > ✔ Downloading Trunk 1.15.0... done > ⡿ Verifying Trunk sha256... > ✔ Verifying Trunk sha256... done > ⡿ Unpacking Trunk... > ✔ Unpacking Trunk... done > > > ✔ 13 linters were enabled (.trunk/trunk.yaml) > > actionlint 1.6.25 (2 github-workflow files) > bandit 1.7.5 (4 python files) > black 23.7.0 (4 python files) > checkov 2.4.9 (3 yaml files) > git-diff-check (39 files) > isort 5.12.0 (4 python files) (created .isort.cfg) > markdownlint 0.36.0 (2 markdown files) (created .markdownlint.yaml) > osv-scanner 1.3.6 (1 lockfile file) > prettier 3.0.3 (2 markdown, 3 yaml files) > ruff 0.0.287 (4 python files) (created ruff.toml) > trivy 0.45.0 (1 lockfile, 3 yaml files) > trufflehog 3.54.3 (39 files) > yamllint 1.32.0 (3 yaml files) (created .yamllint.yaml) > > > Next Steps > > 1. Read documentation > Our documentation can be found at https://docs.trunk.io > > 2. Get help and give feedback > Join the Trunk community at https://slack.trunk.io > ``` > </details> <blockquote> <details > <summary>Sandbox logs 2/3</summary> ``` Checked 1 file ✔ No issues ``` </details> <details open> <summary>Sandbox logs 3/3</summary> ``` Found no applicable linters for the requested path ``` </details> <p></details></p> </blockquote> <p></details></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/sweep-ai[bot]"><img src="https://avatars.githubusercontent.com/in/307814?v=4" />sweep-ai[bot]</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <h2>Here's the PR! <a href="https://github.com/rcy1314/Rss-Translation/pull/4">https://github.com/rcy1314/Rss-Translation/pull/4</a>.</h2> <p>⚡ Sweep Free Trial: I used GPT-4 to create this ticket. You have 3 GPT-4 tickets left for the month and 0 for the day. For more GPT-4 tickets, visit <a href="https://buy.stripe.com/6oE5npbGVbhC97afZ4">our payment portal.</a> To retrigger Sweep, edit the issue.</p> <ul> <li>Install Sweep Configs: <a href="https://github.com/rcy1314/Rss-Translation/pull/2">Pull Request</a></li> </ul> <hr /> <h2>Step 1: 🔍 Code Search</h2> <p>I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.</p> <details > <summary>Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.</summary> https://github.com/rcy1314/Rss-Translation/blob/dc9cd9c65633ba2befd512ca617be01c81d8e73d/README.md#L1-L39 </details> <hr /> <h2>Step 2: 📍 Planning</h2> <p>From looking through the relevant snippets, I decided to make the following modifications:</p> <table> <thead> <tr> <th style="text-align: left;">File Path</th> <th style="text-align: left;">Proposed Changes</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;"><code>rss/opensourceagenda.xml</code></td> <td style="text-align: left;">Modify rss/opensourceagenda.xml with contents:<br/>• Replace the non-English characters in the <title> element in the <channel> element on line 4 with "Recently Added Projects - Open Source Agenda".<br/>• Replace the non-English characters in the <description> element in the <channel> element on line 6 with "Recently Added Open Source Projects Feed".<br/>• Replace the non-English characters in the <description> element in the <item> elements on lines 19, 25, 31, 37, 43, 49, 55, 61, 67, 73, 79, 85, 91, and 97 with their respective English translations as provided in the issue description.</td> </tr> </tbody> </table> <hr /> <h2>Step 3: 📝 Summary</h2> <p>I have created a plan for writing the pull request. I am now working my plan and coding the required changes to address this issue. Here is the planned pull request:</p> <p><strong>Fix XML file to conform to rules</strong> <code>sweep/fix-xml-conformity</code></p> <blockquote> <h2>Description</h2> <p>This PR fixes the XML file "rss/opensourceagenda.xml" to conform to the rules. The following changes were made:</p> <ul> <li>The <title> element in the <channel> element was modified to remove non-English characters. The new title is "Recently Added Projects - Open Source Agenda".</li> <li>The <description> element in the <channel> element was modified to remove non-English characters. The new description is "Recently Added Open Source Projects Feed".</li> <li>The <description> element in the <item> elements was modified to remove non-English characters and provide English translations as follows: <ul> <li>Line 19: "LocalCTP is a locally deployed CTP project, free to use (dual meaning)."</li> <li>Line 25: "Multi-tool Kubernetes Pentest Image"</li> <li>Line 31: "Clean up BS information in social media, focus on important content"</li> <li>Line 37: "Honkai Impact: Stellar Railway Auto Daily Tasks | Auto Farming/Space Simulation/Forgetful Garden | GUI | Push Notifications | 24/7 Operation"</li> <li>Line 43: "Server-side Fingerprint Recognition Library for NestJs Framework"</li> <li>Line 49: "Compact USB HID Host FPGA Core, supports keyboard, mouse, and gamepad."</li> <li>Line 55: "Real shellcode encryption tool."</li> <li>Line 61: "No description available."</li> <li>Line 67: "The most stable BTC-all currency proxy transfer, developer fee fixed at 0.2% (0.02% even for 1 machine, no minimum number of mining machines), almost lossless forwarding, almost insane precision ratio; easily supports millions of concurrent connections! Development fee extracted uniformly, precise ratio, eliminates the mining power fluctuations caused by 'customized versions of multiple wallets' on the market!"</li> <li>Line 73: "Install browsers (Firefox and Chromium) on Linux servers."</li> <li>Line 79: "Platform for visual learning from human feedback."</li> <li>Line 85: "An HTML5 player that can play flv and hls through Media Source Extension, based on TypeScript."</li> <li>Line 91: "Shanghai Jiao Tong University AI Major (Undergraduate) Course Information | A Website For Courses of AI Pilot Class, SJTU"</li> <li>Line 97: "Graduate course website for data visualization using R and ggplot2, built with Quarto."</li> </ul></li> </ul> <h2>Summary</h2> <p>This PR fixes the XML file "rss/opensourceagenda.xml" to conform to the rules by removing non-English characters from the <title> and <description> elements in both the <channel> and <item> elements. The changes ensure that the XML file is in compliance with the required format.</p> </blockquote> <hr /> <h2>Step 4: ⌨️ Coding</h2> <ul> <li>[X] <code>rss/opensourceagenda.xml</code> ✅ Commit <a href="https://github.com/rcy1314/Rss-Translation/commit/6d2c3c5817b923721a407729ee11c6278538b242"><code>6d2c3c5</code></a> <blockquote> <p>• Replace the non-English characters in the <title> element in the <channel> element on line 4 with "Recently Added Projects - Open Source Agenda". • Replace the non-English characters in the <description> element in the <channel> element on line 6 with "Recently Added Open Source Projects Feed". • Replace the non-English characters in the <description> element in the <item> elements on lines 19, 25, 31, 37, 43, 49, 55, 61, 67, 73, 79, 85, 91, and 97 with their respective English translations as provided in the issue description.</p> <details open> <summary>Sandbox Execution Logs</summary> <details > <summary>Sandbox logs 1/3</summary> ```⡿ Downloading Trunk 1.15.0... ⡿ Downloading Trunk 1.15.0... ⢿ Downloading Trunk 1.15.0... ⣻ Downloading Trunk 1.15.0... ⣽ Downloading Trunk 1.15.0... ⣾ Downloading Trunk 1.15.0... ⣷ Downloading Trunk 1.15.0... ⣯ Downloading Trunk 1.15.0... ⣟ Downloading Trunk 1.15.0... ⡿ Downloading Trunk 1.15.0... ⢿ Downloading Trunk 1.15.0... ⣻ Downloading Trunk 1.15.0... ⣽ Downloading Trunk 1.15.0... ⣾ Downloading Trunk 1.15.0... ✔ Downloading Trunk 1.15.0... done ⡿ Verifying Trunk sha256... ✔ Verifying Trunk sha256... done ⡿ Unpacking Trunk... ✔ Unpacking Trunk... done </blockquote></li> </ul> <blockquote> <p>✔ 13 linters were enabled (.trunk/trunk.yaml)</p> <p>actionlint 1.6.25 (2 github-workflow files) bandit 1.7.5 (4 python files) black 23.7.0 (4 python files) checkov 2.4.9 (3 yaml files) git-diff-check (39 files) isort 5.12.0 (4 python files) (created .isort.cfg) markdownlint 0.36.0 (2 markdown files) (created .markdownlint.yaml) osv-scanner 1.3.6 (1 lockfile file) prettier 3.0.3 (2 markdown, 3 yaml files) ruff 0.0.287 (4 python files) (created ruff.toml) trivy 0.45.0 (1 lockfile, 3 yaml files) trufflehog 3.54.3 (39 files) yamllint 1.32.0 (3 yaml files) (created .yamllint.yaml)</p> <p>Next Steps</p> <ol> <li> <p>Read documentation Our documentation can be found at <a href="https://docs.trunk.io">https://docs.trunk.io</a></p> </li> <li> <p>Get help and give feedback Join the Trunk community at <a href="https://slack.trunk.io">https://slack.trunk.io</a></p> <pre><code> </details></code></pre> </li> </ol> <details > <summary>Sandbox logs 2/3</summary> ``` Checked 1 file ✔ No issues ``` </details> <details open> <summary>Sandbox logs 3/3</summary> ``` Found no applicable linters for the requested path ``` </details> <p></details></p> </blockquote> <hr /> <h2>Step 5: 🔁 Code Review</h2> <p>Here are my self-reviews of my changes at <a href="https://github.com/rcy1314/Rss-Translation/commits/sweep/fix-xml-conformity"><code>sweep/fix-xml-conformity</code></a>.</p> <p>Here is the 1st review</p> <blockquote> <p>No changes required. The modifications in the file "rss/opensourceagenda.xml" are consistent with the issue description and seem to resolve the issue correctly. Good job!</p> </blockquote> <p>I finished incorporating these changes.</p> <hr /> <p>🎉 Latest improvements to Sweep:</p> <ul> <li>Getting Sweep to run linters before committing! Check out <a href="https://docs.sweep.dev/usage/config">Sweep Sandbox Configs</a> to set it up.</li> <li>Added support for self-hosting! Check out <a href="https://docs.sweep.dev/deployment">Self-hosting Sweep</a> to get started.</li> <li>[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using <a href="https://github.com/sweepai/sweep/blob/main/sweepai/config/server.py#L144">VECTOR_EMBEDDING_SOURCE</a></li> </ul> <hr /> <p>💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. <sup><a href="https://discord.com/invite/sweep">Join Our Discord</a></p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>