-
Notifications
You must be signed in to change notification settings - Fork 157
Inform Users about help.autocorrect #1055
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
Conversation
Welcome to GitGitGadgetHi @Brian-Bartels, and welcome to GitGitGadget, the GitHub App to send patch series to the Git mailing list from GitHub Pull Requests. Please make sure that your Pull Request has a good description, as it will be used as cover letter. Also, it is a good idea to review the commit messages one last time, as the Git project expects them in a quite specific form:
It is in general a good idea to await the automated test ("Checks") in this Pull Request before contributing the patches, e.g. to avoid trivial issues such as unportable code. Contributing the patchesBefore you can contribute the patches, your GitHub username needs to be added to the list of permitted users. Any already-permitted user can do that, by adding a comment to your PR of the form Both the person who commented An alternative is the channel Once on the list of permitted usernames, you can contribute the patches to the Git mailing list by adding a PR comment If you want to see what email(s) would be sent for a After you submit, GitGitGadget will respond with another comment that contains the link to the cover letter mail in the Git mailing list archive. Please make sure to monitor the discussion in that thread and to address comments and suggestions (while the comments and suggestions will be mirrored into the PR by GitGitGadget, you will still want to reply via mail). If you do not want to subscribe to the Git mailing list just to be able to respond to a mail, you can download the mbox from the Git mailing list archive (click the curl -g --user "<EMailAddress>:<Password>" \
--url "imaps://imap.gmail.com/INBOX" -T /path/to/raw.txtTo iterate on your change, i.e. send a revised patch or patch series, you will first want to (force-)push to the same branch. You probably also want to modify your Pull Request description (or title). It is a good idea to summarize the revision by adding something like this to the cover letter (read: by editing the first comment on the PR, i.e. the PR description): To send a new iteration, just add another PR comment with the contents: Need help?New contributors who want advice are encouraged to join git-mentoring@googlegroups.com, where volunteers who regularly contribute to Git are willing to answer newbie questions, give advice, or otherwise provide mentoring to interested contributors. You must join in order to post or view messages, but anyone can join. You may also be able to find help in real time in the developer IRC channel, |
|
There is an issue in commit 83b72f1: |
…f the feature Out of 200 engineers asked 160+ were not aware of help.autocorrect
|
There is an issue in commit 83b72f1: |
|
There are issues in commit 9a3d95b: |
|
@phillipwood , @j6t I need allow permissions, Can you help :) thanks |
In a poll of 200 engineers. 160+ didn't know about git autocorrect. This change will hopefully increase adoption of the feature.
|
There is an issue in commit 83b72f1: |
|
There are issues in commit 9a3d95b: |
|
There are issues in commit a038de3: |
In a poll of 200 engineers, 160+ didn't know about git autocorrect. A short message could help drive adoption
|
There is an issue in commit 83b72f1: |
|
There are issues in commit 9a3d95b: |
|
There are issues in commit a038de3: |
|
There are issues in commit fc4aea1: |
|
Also what is wrong with my commit messages? |
The requirements are listed here: https://git-scm.com/docs/SubmittingPatches#describe-changes. In the current context:
In general, it is a good idea to have a look around Git's commits to see how the expected format looks like. You will see that the format is more about explaining the rationale (or, motivation) for the patch, then go into the context that is not readily visible from the patch, and then maybe a discussion of alternative approaches and why they haven't been chosen. See 1235875 for a good example. Also note that the reviewers will frown upon four commits change the same line four times. The Git project highly discourages patch series that introduce a problem merely to fix it within the same patch series. You probably want to consider squashing those changes into a single one before going any further. |
|
@dscho Thanks for the pointers. I know 4 commits is bad style, I was mostly just trying to figure out the commit rules by trial and error. I'll definitely squash, thanks :) |
|
@Brian-Bartels still interested in this PR? |
|
/allow |
|
User Brian-Bartels is now allowed to use GitGitGadget. |
|
@dscho honestly no. I've contributed to other OS projects in the past. None have been as closed off and confusing as Git |
…tion In preparation for a different approach, remove what had been done in 5e0129b (Merge pull request #1055 from webstech/action, 2022-07-20) I would like to go into a different direction: - move pretty much all the core logic from `misc-helper` to `CIHelper`. - use `ncc` to bundle `CIHelper` as a single `dist/index.js` file. - add dedicates GitHub Actions in subdirectories that contain really small `index.js` files which in turn import the `CIHelper` and then let it do its magic. As a consequence, the Azure Pipelines we currently use can then be migrated to GitHub workflows in gitgitgadget/gitgitgadget-workflows and use the Actions like this: - uses: gitgitgadget/gitgitgadget/handle-slash-command@v1 with: repository: gitgitgadget/git pr-number: ... issue-comment-id: ... gitgitgadget-app-id: ${{ secrets.GITGITGADGET_GITHUB_APP_ID }} gitgitgadget-private-key: ${{ secrets.GITGITGADGET_GITHUB_APP_PRIVATE_KEY }} gitgitgadget-git-app-id: ${{ secrets.GITGITGADGET_GIT_GITHUB_APP_ID }} gitgitgadget-git-private-key: ${{ secrets.GITGITGADGET_GIT_GITHUB_APP_PRIVATE_KEY }} Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In a poll of 200 Microsoft employees, 162/200 didn't know about help.autocorrect. It's my favorite git feature and I believe that it could be more advertised to save developers inner loop pain.