Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opensuse.rst #194

Closed
wants to merge 8 commits into from
Closed

Conversation

Mr-Ao-Dragon
Copy link

@Mr-Ao-Dragon Mr-Ao-Dragon commented Nov 20, 2021

小幅度修改,保证信息准确性

source/opensuse.rst Outdated Show resolved Hide resolved
* 我们不提供 backports, source 和 debug 源。
* Tumbleweed 滚动发行版软件源的地址与上述例子稍有不同。
* 我们不提供 backports, source 和 debug 源,如您需要,请考虑上海交通大学的镜像站
* Tumbleweed 滚动发行版软件源的地址与上述例子稍有不同,一般为 [mirror site]/Tumbleweed/[file path]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reStructuredText 的格式与 Markdown 不同,请 clone 仓库后 make html 验证修改有效性。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不是Markdown,而是原文如此。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L79 对应的例子需要修改为 https://mirrors.ustc.edu.cn/opensuse/tumbleweed/

source/opensuse.rst Outdated Show resolved Hide resolved
@@ -32,7 +32,9 @@ i586, x86_64

sudo zypper mr -da

添加科大镜像源,以 openSUSE Leap 为例:
建议 leap 15.3 用户不执行此操作,改为手动禁用以下命令对应的官方源,并添加以下源。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Author

@Mr-Ao-Dragon Mr-Ao-Dragon Nov 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

因为 Leap 15.3 还多了几个源,贸然全部禁用会导致问题

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议 leap 15.3 用户 => 建议 openSUSE Leap 15.3 或更高版本的用户

此外最好把这句新增的话移动到「禁用原有软件源」的后面。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对rst语法不熟悉,怎么写注:格式呢?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对rst语法不熟悉,怎么写注:格式呢?

格式如:

.. warning::
    操作前请做好相应备份

渲染为网页的时候显示的效果参见 https://mirrors.ustc.edu.cn/help/ubuntu.html#id7

source/opensuse.rst Outdated Show resolved Hide resolved
Mr-Ao-Dragon and others added 2 commits November 20, 2021 17:56
Co-authored-by: taoky <taoky99@outlook.com>
Co-authored-by: taoky <taoky99@outlook.com>
source/opensuse.rst Outdated Show resolved Hide resolved
source/opensuse.rst Show resolved Hide resolved
@Mr-Ao-Dragon
Copy link
Author

Mr-Ao-Dragon commented Nov 21, 2021

这次应该没问题了?那再次申请合并

@taoky
Copy link
Member

taoky commented Nov 21, 2021

这次应该没问题了?那再次申请合并

修改没有 push?

@Mr-Ao-Dragon
Copy link
Author

这次应该没问题了?那再次申请合并

修改没有 push?

没有,直接在线编辑并commit

@taoky
Copy link
Member

taoky commented Nov 22, 2021

这次应该没问题了?那再次申请合并

修改没有 push?

没有,直接在线编辑并commit

您好,您没有合并在讨论中提及的全部修改(上一次 commit 为两天前)。

@Mr-Ao-Dragon
Copy link
Author

这次应该没问题了?那再次申请合并

修改没有 push?

没有,直接在线编辑并commit

您好,您没有合并在讨论中提及的全部修改(上一次 commit 为两天前)。

已commit

@iBug
Copy link
Member

iBug commented Nov 22, 2021

reStructuredText 的格式与 Markdown 不同,请 clone 仓库后 make html 验证修改有效性。

见上

@taoky
Copy link
Member

taoky commented Nov 22, 2021

我 unresolve 了两个 conversation,需要进行进一步的讨论和修改。

@@ -42,8 +40,10 @@ i586, x86_64
sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/\$releasever/repo/non-oss USTC:NON-OSS
sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/\$releasever/oss USTC:UPDATE-OSS
sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/\$releasever/non-oss USTC:UPDATE-NON-OSS

建议 openSUSE Leap 15.3 用户不禁用所有软件源,而是手动禁用以上命令对应的官方源,并添加USTC提供的镜像站源。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
建议 openSUSE Leap 15.3 用户不禁用所有软件源,而是手动禁用以上命令对应的官方源,并添加USTC提供的镜像站源
建议 openSUSE Leap 15.3 用户不禁用所有软件源,而是手动禁用以上命令对应的官方源,并添加 USTC 提供的镜像站源

或者

Suggested change
建议 openSUSE Leap 15.3 用户不禁用所有软件源,而是手动禁用以上命令对应的官方源,并添加USTC提供的镜像站源
建议 openSUSE Leap 15.3 用户不禁用所有软件源,而是手动禁用以上命令对应的官方源,并添加中科大镜像源

支持的 Linux 发行版
====

openSUSE, SLE[Suse Linux Enterprise], fedora, ununtu, debian.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请注意,https://mirrors.ustc.edu.cn/packman/debianubuntu 目录是空的,里面没有包。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的

@@ -12,10 +12,15 @@ https://mirrors.ustc.edu.cn/packman/

PackMan 软件源

支持的 Linux 发行版
====
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/path/to/mirrorhelp/source/packman.rst:16:Title underline too short.

参见 `openSUSE 中文论坛 <https://forum.suse.org.cn/t/opensuse/1759>`_ 。
* 对于非常古老的 openSUSE Leap,我们更建议您考虑升级系统以及依赖老版本的代码或软件。
* 如果您无法正常播放在线视频(例如爱奇艺),请尝试添加 `Packman 软件源 <http://mirrors.ustc.edu.cn/help/packman.html>`_ ,并安装VLC播放器。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* 如果您无法正常播放在线视频(例如爱奇艺),请尝试添加 `Packman 软件源 <http://mirrors.ustc.edu.cn/help/packman.html>`_ ,并安装VLC播放器
* 如果您无法正常播放在线视频(例如爱奇艺),请尝试添加 `Packman 软件源 <http://mirrors.ustc.edu.cn/help/packman.html>`_ ,并安装 VLC 播放器

另外安装 VLC 播放器和正常播放在线视频的关系是?播放视频应该安装的是解码器吧,要表达的意思是安装 VLC 的时候可以顺便安装视频解码器?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是的,这是最简便的方式,依赖会把解码器安装好

参见 `openSUSE 中文论坛 <https://forum.suse.org.cn/t/opensuse/1759>`_ 。
* 对于非常古老的 openSUSE Leap,我们更建议您考虑升级系统以及依赖老版本的代码或软件。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这一条需要特地写在注意事项里面吗?可以参考其他的帮助(比如说 Fedora 的),在「收录架构」下面加上「收录版本:所有仍在支持的版本」?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

也不错?

@taoky
Copy link
Member

taoky commented Nov 26, 2021

@Mr-Ao-Dragon 现在的 PR 还是有问题的,配置 Python 环境参考:

$ python3 -m venv .env
$ . .env/bin/activate
$ pip install -r requirements.txt

然后参考 https://github.com/ustclug/mirrorhelp/blob/master/CONTRIBUTING.md#%E6%96%87%E6%A1%A3%E6%A0%BC%E5%BC%8F 的介绍。

@iBug iBug marked this pull request as draft January 12, 2022 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants