You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2019/12/02 15:42:06 UTC

Re: linting issues on ‘trunk’, ‘gradlew check’ fails.

Hi Nicolas, Pawan,

With OFBIZ-11278 Mathieu reduced maxErrors to 37769, so it's not a worry for you anymore :)

Jacques

Le 30/11/2019 à 08:58, Jacques Le Roux a écrit :
> Hi Nicolas, Pawan,
>
> Mathieu said that the lint errors which remains are yours: https://markmail.org/message/2ilvc5swhem4fuxn. I tend to think so :)
>
> The ofbizTrunkFrameworkPlugins build will always fail as long as we have not cured those.
>
> But it's now "hard" to exactly know from where they come.
>
> I think we should rely on a  Checkstyle pre-commit hook: https://gist.github.com/davetron5000/37350 to complement tasks.checkstyleMain.maxErrors
>
> So every committer would have it installed locally and the problem would be gone \o/
>
> What do people think?
>
> Jacques
>
>
> Le 29/11/2019 à 08:18, Jacques Le Roux a écrit :
>> Done, with that something changed.
>>
>> Before https://ci.apache.org/builders/ofbizTrunkFrameworkPlugins was only failing with tests. Now it fails also with lint (as you can see[1] tests 
>> are OK). The lint result is there[2]
>>
>> It's not the case for https://ci.apache.org/builders/ofbizTrunkFramework where the check task is not run.
>>
>> [1] https://ci.apache.org/projects/ofbiz/logs/trunk/plugins/html/
>> [2] https://ci.apache.org/projects/ofbiz/logs/trunk/checkstyle.html
>>
>> Jacques
>>
>> Le 27/11/2019 à 09:35, Jacques Le Roux a écrit :
>>> To make things absolutely clear, in Buildbot we use pullAllPluginsSource. So "gradlew check" will include the plugins
>>>
>>> I created OFBIZ-11299 for that
>>>
>>> Jacques
>>>
>>> Le 26/11/2019 à 18:04, Mathieu Lirzin a écrit :
>>>> Jacques Le Roux <ja...@les7arts.com> writes:
>>>>
>>>>> Since it depends on the good will of scrutinizer/s and varies in
>>>>> errors depending on context, I suggest that we add a "gradlew check"
>>>>> step in our Builbot trunk framework builder.
>>>>>
>>>>> Then everyone will be aware of this feature and we will be able to adjust the maxErrors as needed. Actually I'm still waiting for INFRA-19443 
>>>>> for that...
>>>> Excellent idea.
>>>>
>>>
>>
>