Re: [ovs-dev] [PATCH 2/2] checkpatch: Fix personal word list storage.
Roi Dayan writes: > On 08/11/2023 20:50, Aaron Conole wrote: >> Eelco Chaudron writes: >> >>> On 2 Nov 2023, at 14:20, Roi Dayan via dev wrote: >>> From: Gaetan Rivet The enchant dictionary synchronizes additions to the source file. Keep the two word source separate by adding the extra words only to the current session. Signed-off-by: Gaetan Rivet Acked-by: Roi Dayan --- utilities/checkpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py index 9276640760d4..b484a37db2e8 100755 --- a/utilities/checkpatch.py +++ b/utilities/checkpatch.py @@ -95,7 +95,7 @@ def open_spell_check_dict(): 'dictionary.txt') spell_check_dict = enchant.DictWithPWL('en_US', word_dic) for kw in extra_keywords: -spell_check_dict.add(kw) +spell_check_dict.add_to_session(kw) >>> >>> I guess this should be the first patch (or maybe a fixes patch in general). >> >> +1 - I would be fine with merging this on its own. >> > > ok. is it possible to take only this one from the series or I need > to send it again on its own? Yes - I will take this patch on Monday. return True except: -- 2.40.1 ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev >>> >>> ___ >>> dev mailing list >>> d...@openvswitch.org >>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev >> ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] [PATCH 2/2] checkpatch: Fix personal word list storage.
On 08/11/2023 20:50, Aaron Conole wrote: > Eelco Chaudron writes: > >> On 2 Nov 2023, at 14:20, Roi Dayan via dev wrote: >> >>> From: Gaetan Rivet >>> >>> The enchant dictionary synchronizes additions to the source file. >>> Keep the two word source separate by adding the extra words only >>> to the current session. >>> >>> Signed-off-by: Gaetan Rivet >>> Acked-by: Roi Dayan >>> --- >>> utilities/checkpatch.py | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py >>> index 9276640760d4..b484a37db2e8 100755 >>> --- a/utilities/checkpatch.py >>> +++ b/utilities/checkpatch.py >>> @@ -95,7 +95,7 @@ def open_spell_check_dict(): >>> 'dictionary.txt') >>> spell_check_dict = enchant.DictWithPWL('en_US', word_dic) >>> for kw in extra_keywords: >>> -spell_check_dict.add(kw) >>> +spell_check_dict.add_to_session(kw) >> >> I guess this should be the first patch (or maybe a fixes patch in general). > > +1 - I would be fine with merging this on its own. > ok. is it possible to take only this one from the series or I need to send it again on its own? >>> >>> return True >>> except: >>> -- >>> 2.40.1 >>> >>> ___ >>> dev mailing list >>> d...@openvswitch.org >>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev >> >> ___ >> dev mailing list >> d...@openvswitch.org >> https://mail.openvswitch.org/mailman/listinfo/ovs-dev > ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] [PATCH 2/2] checkpatch: Fix personal word list storage.
Eelco Chaudron writes: > On 2 Nov 2023, at 14:20, Roi Dayan via dev wrote: > >> From: Gaetan Rivet >> >> The enchant dictionary synchronizes additions to the source file. >> Keep the two word source separate by adding the extra words only >> to the current session. >> >> Signed-off-by: Gaetan Rivet >> Acked-by: Roi Dayan >> --- >> utilities/checkpatch.py | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py >> index 9276640760d4..b484a37db2e8 100755 >> --- a/utilities/checkpatch.py >> +++ b/utilities/checkpatch.py >> @@ -95,7 +95,7 @@ def open_spell_check_dict(): >> 'dictionary.txt') >> spell_check_dict = enchant.DictWithPWL('en_US', word_dic) >> for kw in extra_keywords: >> -spell_check_dict.add(kw) >> +spell_check_dict.add_to_session(kw) > > I guess this should be the first patch (or maybe a fixes patch in general). +1 - I would be fine with merging this on its own. >> >> return True >> except: >> -- >> 2.40.1 >> >> ___ >> dev mailing list >> d...@openvswitch.org >> https://mail.openvswitch.org/mailman/listinfo/ovs-dev > > ___ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] [PATCH 2/2] checkpatch: Fix personal word list storage.
On 02/11/2023 16:07, Eelco Chaudron wrote: > > > On 2 Nov 2023, at 14:20, Roi Dayan via dev wrote: > >> From: Gaetan Rivet >> >> The enchant dictionary synchronizes additions to the source file. >> Keep the two word source separate by adding the extra words only >> to the current session. >> >> Signed-off-by: Gaetan Rivet >> Acked-by: Roi Dayan >> --- >> utilities/checkpatch.py | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py >> index 9276640760d4..b484a37db2e8 100755 >> --- a/utilities/checkpatch.py >> +++ b/utilities/checkpatch.py >> @@ -95,7 +95,7 @@ def open_spell_check_dict(): >> 'dictionary.txt') >> spell_check_dict = enchant.DictWithPWL('en_US', word_dic) >> for kw in extra_keywords: >> -spell_check_dict.add(kw) >> +spell_check_dict.add_to_session(kw) > > I guess this should be the first patch (or maybe a fixes patch in general). I don't think the order matters. I just sent together because they can cause a conflict as the patches modify the same area. Let me know if you want me to add a fixes line or it can be amended when commit taken. This is the fixes line. Fixes: 999c7773a60b ("checkpatch: add a comment spell-checker") > >> >> return True >> except: >> -- >> 2.40.1 >> >> ___ >> dev mailing list >> d...@openvswitch.org >> https://mail.openvswitch.org/mailman/listinfo/ovs-dev > ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] [PATCH 2/2] checkpatch: Fix personal word list storage.
On 2 Nov 2023, at 14:20, Roi Dayan via dev wrote: > From: Gaetan Rivet > > The enchant dictionary synchronizes additions to the source file. > Keep the two word source separate by adding the extra words only > to the current session. > > Signed-off-by: Gaetan Rivet > Acked-by: Roi Dayan > --- > utilities/checkpatch.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py > index 9276640760d4..b484a37db2e8 100755 > --- a/utilities/checkpatch.py > +++ b/utilities/checkpatch.py > @@ -95,7 +95,7 @@ def open_spell_check_dict(): > 'dictionary.txt') > spell_check_dict = enchant.DictWithPWL('en_US', word_dic) > for kw in extra_keywords: > -spell_check_dict.add(kw) > +spell_check_dict.add_to_session(kw) I guess this should be the first patch (or maybe a fixes patch in general). > > return True > except: > -- > 2.40.1 > > ___ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
[ovs-dev] [PATCH 2/2] checkpatch: Fix personal word list storage.
From: Gaetan Rivet The enchant dictionary synchronizes additions to the source file. Keep the two word source separate by adding the extra words only to the current session. Signed-off-by: Gaetan Rivet Acked-by: Roi Dayan --- utilities/checkpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py index 9276640760d4..b484a37db2e8 100755 --- a/utilities/checkpatch.py +++ b/utilities/checkpatch.py @@ -95,7 +95,7 @@ def open_spell_check_dict(): 'dictionary.txt') spell_check_dict = enchant.DictWithPWL('en_US', word_dic) for kw in extra_keywords: -spell_check_dict.add(kw) +spell_check_dict.add_to_session(kw) return True except: -- 2.40.1 ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev