nodejs / nodejs/node-core-utils

Automatically copy relevant text into user's clipboard

Open
#211 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
314
Forks
137
Avg merge
2d 8h
Merged PRs (30d)
24

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation and output path for git node land --continue, especially where the Landed in ... instruction is printed. Determine how clipboard support can work on macOS, Linux, and Windows; done means the relevant text is copied for the user to paste directly into the pull request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.