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

[code] 添加原始的示例代码 #18

Merged
merged 7 commits into from
Jan 21, 2022
Merged

[code] 添加原始的示例代码 #18

merged 7 commits into from
Jan 21, 2022

Conversation

inkydragon
Copy link
Contributor

@inkydragon inkydragon commented Dec 16, 2021

uvbook 合并到 libuv 主项目中了( nikhilm/uvbook#83 )。不知道有没有机会把这边的中文翻译也合并过去。

从 libuv 的 master 分支中 cherry-pick 出示例代码并保留作者信息,然后再导入过来。

# in libuv/
git log --pretty=email --patch-with-stat --reverse --full-index --binary -- docs\code > code.patch

# in Chinese-uvbook
git am --committer-date-is-author-date < code.patch

如果要把这边的翻译合并到 libuv 主项目,也是差不多的操作。主要是这样可以保留历史提交信息。

目前没有更新代码,也没有做构建的支持。这个有机会单独开 pr 吧。
这个 pr 就只导入示例代码。

saghul and others added 7 commits April 25, 2017 08:27
PR-URL: libuv/libuv#1246
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
Fixes: libuv/help#4
PR-URL: libuv/libuv#1363
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: libuv/libuv#1330
Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Previously, we required the user to specify the expected read/write
flags for a pipe or tty. But we've already been asking the OS to tell us
what they actually are (fcntl F_GETFL), so we can hopefully just use
that information directly.

Fixes: libuv/libuv#1936
PR-URL: libuv/libuv#1964
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
Freenode is gone (replaced by Libera.chat), but IRC was unused anyways.

Fixes: libuv/libuv#3157
Fixes: libuv/libuv#3208
PR-URL: libuv/libuv#3214
Reviewed-By: Ben Noordhuis <[email protected]>
cherry pick with:

git log --pretty=email --patch-with-stat --reverse --full-index --binary -- path/to/file_or_folder > code.patch
git am --committer-date-is-author-date < code.patch
@luohaha luohaha merged commit 5db70ce into luohaha:master Jan 21, 2022
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.

6 participants