-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[RESEND] "EasyLogin": Simplifying Account Configuration for Git Users #1877
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
base: master
Are you sure you want to change the base?
Conversation
Welcome to GitGitGadgetHi @devtracer, and welcome to GitGitGadget, the GitHub App to send patch series to the Git mailing list from GitHub Pull Requests. Please make sure that either:
You can CC potential reviewers by adding a footer to the PR description with the following syntax:
NOTE: DO NOT copy/paste your CC list from a previous GGG PR's description, 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.txt To 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 are issues in commit 163e937: |
This is the
I believe the commit message length is reasonable, but if additional details are needed, please let me know so I can expand it appropriately.
I added a cc at the end, but it seems this might not align with the required syntax. Could you guide me on how to include the correct sign-off? I’d appreciate a brief example or reference to the proper format. |
It's not a good idea to open and close and open and close and open PRs (three in total) for the very same idea. Just force-push and re-use the original PR. Also, you may want to use a different branch name in your fork, but it's now too late to change that unless you plan on closing this PR and open a fourth PR.
You are quoting the more specific feedback below your question.
You will probably stop believing that this commit message length is reasonable after looking at other commits in the commit history that look nowhere near as terse. Following the guidance in https://github.blog/2022-06-30-write-better-commits-build-better-projects/ will almost definitely improve it, in particular with a strong focus on this part:
Indeed. There is even documentation specifically about the format how you sign off on patches, and a rationale why you do it: https://git-scm.com/docs/SubmittingPatches#sign-off. In addition to all of that, when you carefully look at the already existing files in And lastly, how is this Bash script a documentation for some existing Git functionality? It is not! A wiser idea, then, would be to take a step back, reflect, realize that this is not patch material at all, and instead send a regular mail describing your idea to the Git mailing list. See https://git-scm.com/community for more details. |
@devtracer are you actually interested in contributing to the Git project? I spent a substantial amount of time providing feedback to help you on the way, but you have not responded and I am getting the impression that my time was wasted. |
Dear @dscho , I sincerely apologize for the delay in my response. I greatly appreciate the time and effort you dedicated to providing feedback to assist me. Please know that your insights were not taken for granted, and I deeply regret any impression to the contrary. I had intended to send a thoughtful reply expressing my gratitude for your support, but unfortunately, university commitments caused an unexpected delay. I also hesitated as I wondered whether continuing the discussion via email might be preferable to you. That said, I am still very much interested in contributing to the Git project and building on our discussion. My idea is to develop a TUI-based Git account manager aimed at simplifying account management for users. I am excited about this prospect and would value your continued guidance if you’re willing to provide it. Thank you again for your patience and understanding. I look forward to hearing your thoughts. Best regards, |
Greetings, @dscho, I hope this message finds you well. I am writing in response to your previous message to address the valuable feedback you provided and to share my thoughts on the points you raised.
I appreciate your feedback. This was my very first contribution, and I am still a beginner, but I will take this as a learning opportunity and improve in the future.
Understood, I will follow this approach moving forward.
Oh, I see now! I mistakenly thought a brief explanation would suffice. I now understand the importance of providing more detailed explanations for my project and will strive to improve my commit messages accordingly.
Thank you for clarifying! I will make sure to follow the proper method from now on.
My intention was to share the script with the development team and allow them to decide the most suitable location for it. However, I see your point and will reevaluate this approach.
I understand now! I will revisit the guidelines and, as mentioned in my previous reply, work on refining my idea to make it a wiser idea and more valuable. I’ll also explore the mailing list as suggested to better communicate my thoughts. Finally, I want to sincerely thank you for the time and effort you’ve put into providing me with such thorough and constructive feedback. Your insights have been incredibly valuable, and I hope to use this knowledge to grow and contribute meaningfully to the Git project. I truly appreciate the opportunity to learn from an experienced developer like you and look forward to staying in touch with the Git team. Best regards, |
Upon reviewing the source code of the Git project, I found that it is written in C. Therefore, I will utilize C and its TUI to develop the account manager. Additionally, I plan to create a folder within the backend code to include this account manager. What are your thoughts on this approach? Does it seem appropriate? |
@devtracer it might make sense to first send an email to the Git mailing list stating your intent. There may already be something like that out there, and you may also face some push-back against integrating this into Git proper. In both cases, I would like to prevent you from spending too much time on it before learning about such obstacles. |
@dscho Ok, I see. Thanks for pointing that out! I searched through the link you provided in the previous message and found this
Should I send an email to git-mentoring@googlegroups.com, or would git@vger.kernel.org be more appropriate for this? |
@devtracer git-mentoring seems to be all but dead. So I would recommend sending to git@vger.kernel.org (and be prepared to ping in weekly cadences if nobody replies, which happens quite frequently for such emails). |
@dscho Thank you for your recommendations and assistance. I truly appreciate it and am very grateful for your support in helping others. I will share the results with you through this thread. Best wishes, |
Resend this message so to include the commit's sign
Greetings to the Git and GitGitGadget community!
I’m excited to present an idea that aims to streamline the login and account configuration process within Git. While this is not a complete pull request, it serves as a proposal for introducing a new feature: the
easylogin
command.This feature introduces a simple way for users to configure their Git accounts. The core of this idea is encapsulated in a bash script, currently located at:
Documentation/config/easylogin
The command structure for easylogin is straightforward:
git easylogin <username> <email>
By executing this command, users can effortlessly update their account's username and email settings without navigating through more complex configuration steps.
I’d love to hear the community’s thoughts on this concept. Does this approach align with Git’s design philosophy? Are there potential improvements or alternative implementations you’d suggest?
Your feedback is invaluable and will guide the development of this idea into a fully functional feature. Thank you for your time and consideration!
Best regards!
cc: devtracer devoft1@gmail.com