-
Notifications
You must be signed in to change notification settings - Fork 130
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
[GSOC][PATCH] Modernize a test script #1675
Conversation
Welcome to GitGitGadgetHi @aryangupta701, 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:
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, |
a33de73
to
fee2b9f
Compare
could someone tell why is it failing? |
/preview |
Error: User aryangupta701 is not yet permitted to use GitGitGadget |
@dscho can you please allow me |
Invalid author email in d629374: "87857234+aryangupta701@users.noreply.github.com" |
Sure, and can you please fix the commit message? Follow the advice in |
/allow |
User aryangupta701 is now allowed to use GitGitGadget. WARNING: aryangupta701 has no public email address set on GitHub; |
@aryangupta701 let's have a closer look at the commit messages:
It is always good to have a look around to see how other people did things. So let's look at the commit message of the commit that touched the same file before you: c150064. The commit message looks like this:
You can probably spot quite a few differences between those two commit messages, right? Since the latter has been accepted, it would be good to align your commit messages with the style of that commit message. In particular, you might find https://github.blog/2022-06-30-write-better-commits-build-better-projects/ illuminating. |
thanks a lot @dscho |
d629374
to
efa2f53
Compare
@dscho is it better now? Your suggestions will be appreciated. |
/preview |
Preview email sent as pull.1675.git.1709144415499.gitgitgadget@gmail.com |
why does a random test keeps on failing? Is this a known issue? |
t/t0010-racy-git.sh
Outdated
test_expect_success \ | ||
"Racy GIT trial #$trial part A" \ | ||
'test "" != "$files"' | ||
test_expect_success 'Racy GIT trial #$trial part A' ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current standard is not to spell GIT
in all-upper-case letters ;-)
Also, while the commit message is better, I still would suggest reading https://github.blog/2022-06-30-write-better-commits-build-better-projects/ and following its advice. In particular the part about Intent, Context, Implementation and Justification. Remember, this here patch contribution is just a practice run, so you might as well practice writing good commit messages. Because when it comes to more complex contributions, you will have to write better commit messages. Finally:
Signed-off-by: aryangupta701 garyan447@gmail.com
I thought your name was "Aryan Gupta", not "aryangupta701"? If so, please replace the part before the email address.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am very grateful for your guidance. I will read through the blog carefully. Also is the current standard for git is "git" or "Git"?
efa2f53
to
c543e75
Compare
There are issues in commit c543e75: |
c543e75
to
593d639
Compare
There are issues in commit 593d639: |
593d639
to
0637711
Compare
/preview |
Preview email sent as pull.1675.git.1709163526788.gitgitgadget@gmail.com |
can I submit this patch now? @dscho |
Looks much better now! Go ahead and submit:-) |
/submit |
Submitted as pull.1675.git.1709209435242.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
Preview email sent as pull.1675.v4.git.1709716350994.gitgitgadget@gmail.com |
/submit |
Submitted as pull.1675.v4.git.1709716446874.gitgitgadget@gmail.com To fetch this version into
To fetch this version to local tag
|
This branch is now known as |
This patch series was integrated into seen via git@3208b89. |
This patch series was integrated into seen via git@a89c33c. |
This patch series was integrated into seen via git@34c1d1e. |
On the Git mailing list, Christian Couder wrote (reply to this): On Wed, Mar 6, 2024 at 10:46 AM Aryan Gupta via GitGitGadget
<gitgitgadget@gmail.com> wrote:
>
> From: Aryan Gupta <garyan447@gmail.com>
>
> Modernize the formatting of the test script to align with current
> standards and improve its overall readability.
>
> Signed-off-by: Aryan Gupta <garyan447@gmail.com>
> ---
> [GSOC][PATCH] Modernize a test script
>
> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1675%2Faryangupta701%2Ftest-modernize-v4
> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1675/aryangupta701/test-modernize-v4
> Pull-Request: https://github.com/gitgitgadget/git/pull/1675
>
> Range-diff vs v3:
>
> 1: 05ee9e8a458 = 1: 14c7137baea tests: modernize the test script t0010-racy-git.sh
This tells us that nothing changed in the patch since v3, so we can
only wonder why you sent this v4.
Did you fix some headers? Please explain.
> t/t0010-racy-git.sh | 31 +++++++++++++++----------------
> 1 file changed, 15 insertions(+), 16 deletions(-)
Otherwise, the patch looks good to me. Thanks. |
User |
On the Git mailing list, Aryan Gupta wrote (reply to this): On Thu, Mar 7, 2024 at 2:28 PM Christian Couder
<christian.couder@gmail.com> wrote:
>
> On Wed, Mar 6, 2024 at 10:46 AM Aryan Gupta via GitGitGadget
> <gitgitgadget@gmail.com> wrote:
> >
> > From: Aryan Gupta <garyan447@gmail.com>
> >
> > Modernize the formatting of the test script to align with current
> > standards and improve its overall readability.
> >
> > Signed-off-by: Aryan Gupta <garyan447@gmail.com>
> > ---
> > [GSOC][PATCH] Modernize a test script
> >
> > Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1675%2Faryangupta701%2Ftest-modernize-v4
> > Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1675/aryangupta701/test-modernize-v4
> > Pull-Request: https://github.com/gitgitgadget/git/pull/1675
> >
> > Range-diff vs v3:
> >
> > 1: 05ee9e8a458 = 1: 14c7137baea tests: modernize the test script t0010-racy-git.sh
>
> This tells us that nothing changed in the patch since v3, so we can
> only wonder why you sent this v4.
>
> Did you fix some headers? Please explain.
>
Hey. Sorry for making a lot of mistakes in my emails.
I thought that there were some bugs in GGG due to which it sent some
headers which were not syntactically correct. So I tried sending it again.
And that was the whole purpose of this.
> > t/t0010-racy-git.sh | 31 +++++++++++++++----------------
> > 1 file changed, 15 insertions(+), 16 deletions(-)
>
> Otherwise, the patch looks good to me. Thanks. |
On the Git mailing list, Junio C Hamano wrote (reply to this): Aryan Gupta <garyan447@gmail.com> writes:
> I thought that there were some bugs in GGG due to which it sent some
> headers which were not syntactically correct. So I tried sending it again.
> And that was the whole purpose of this.
I was wondering about the same thing. I still see an unwanted "[ ]"
around Kristoffer's e-mail address that will break responding to the
message in your [PATCH v4] e-mail that can be seen at
https://lore.kernel.org/git/pull.1675.v4.git.1709716446874.gitgitgadget@gmail.com/raw
so, the experiment revealed that it did send some headers were
broken.
Thanks for a clarification. |
On the Git mailing list, Junio C Hamano wrote (reply to this): Junio C Hamano <gitster@pobox.com> writes:
> I was wondering about the same thing. I still see an unwanted "[ ]"
> around Kristoffer's e-mail address that will break responding to the
> message in your [PATCH v4] e-mail that can be seen at
>
> https://lore.kernel.org/git/pull.1675.v4.git.1709716446874.gitgitgadget@gmail.com/raw
>
> so, the experiment revealed that it did send some headers were
> broken.
This does not necessarily mean GGG is broken. The majority of the
patches I see here from GGG are without these funny [square-bracket]
around addresses at all, and this was the only patch (or it is
possible that your other patches may have had the same issue; I do
not remember) with that problem. It might be caused by what you
feed GGG (e.g., the messages you give it in your pull request) that
caused GGG to hiccup, perhaps?
|
On the Git mailing list, Aryan Gupta wrote (reply to this): On Thu, Mar 7, 2024 at 7:30 PM Junio C Hamano <gitster@pobox.com> wrote:
>
> Junio C Hamano <gitster@pobox.com> writes:
>
> > I was wondering about the same thing. I still see an unwanted "[ ]"
> > around Kristoffer's e-mail address that will break responding to the
> > message in your [PATCH v4] e-mail that can be seen at
> >
> > https://lore.kernel.org/git/pull.1675.v4.git.1709716446874.gitgitgadget@gmail.com/raw
> >
> > so, the experiment revealed that it did send some headers were
> > broken.
>
> This does not necessarily mean GGG is broken. The majority of the
> patches I see here from GGG are without these funny [square-bracket]
> around addresses at all, and this was the only patch (or it is
> possible that your other patches may have had the same issue; I do
> not remember) with that problem. It might be caused by what you
> feed GGG (e.g., the messages you give it in your pull request) that
> caused GGG to hiccup, perhaps?
>
Ohh yes. I think I got the problem. I have fixed it. Can I try sending
the patch again now? |
This patch series was integrated into seen via git@fc6f60e. |
This patch series was integrated into next via git@38339ab. |
There was a status update in the "New Topics" section about the branch GSoC practice to modernize a test script. Will merge to 'master'. source: <pull.1675.v3.git.1709676557639.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@63e4af7. |
This patch series was integrated into seen via git@152b3d5. |
This patch series was integrated into seen via git@e9ca690. |
There was a status update in the "Cooking" section about the branch GSoC practice to modernize a test script. Will merge to 'master'. source: <pull.1675.v3.git.1709676557639.gitgitgadget@gmail.com> |
This patch series was integrated into seen via git@8658a7e. |
This patch series was integrated into seen via git@ba970ea. |
This patch series was integrated into seen via git@06ac518. |
This patch series was integrated into master via git@06ac518. |
This patch series was integrated into next via git@06ac518. |
Closed via 06ac518. |
cc: Eric Sunshine sunshine@sunshineco.com
cc: Christian Couder christian.couder@gmail.com