nodejs / nodejs/node-core-utils
Automatically copy relevant text into user's clipboard
未关闭
还没有人认领这个 Issue。
enhancement
- 主要语言
- JavaScript
- 星标
- 313
- 派生
- 137
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 24
描述
When running commands, eg:
$ git node land --continue
Running `final`..
✔ 06e09b61712d4963699d90389b43bddcf41c02f0
✔ 0:0 skipping fixes-url fixes-url
✔ 0:0 blank line after title line-after-title
✔ 0:0 line-lengths are valid line-length
✔ 0:0 metadata is at end of message metadata-end
✔ 0:0 reviewers are valid reviewers
✔ 0:0 valid subsystems subsystem
✔ 0:0 Title is <= 50 columns. title-length
--------------------------------------------------------------------------------
The following commits are ready to be pushed to DANGER/master
- 06e09b6171 test: refactor http-https-default-ports
--------------------------------------------------------------------------------
To finish landing:
1. Run `git push DANGER master`
2. Post in the PR: `Landed in 06e09b6`
--------------------------------------------------------------------------------
? Clean up generated temporary files? [Y/n] Y
it should be possible to copy the Landed in ... to the clipboard, so the user can just change to browser and directly paste it in.
Not sure if possible on Windows, but on mac it's pbcopy, and on Linux it's normally xclip -selection clipboard.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 git node land --continue 的实现和输出路径,尤其是打印 Landed in ... 指示的位置。确定如何在 macOS、Linux 和 Windows 上实现剪贴板支持;当相关文本被复制后,用户可以直接将其粘贴到 pull request 中时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100