You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Udi Meiri <eh...@google.com> on 2018/08/15 23:10:27 UTC

gradlew :rat broken

Hi,
Whenever I run ../../gradlew :rat from the sdks/python directory I get
errors about unapproved licenses. Example:
https://scans.gradle.com/s/gdpcgbexwyrpm

This didn't use to be the case a few weeks back.
Any ideas what could be causing this?

Re: gradlew :rat broken

Posted by Udi Meiri <eh...@google.com>.
Found an elegant solution: https://github.com/apache/beam/pull/6236

On Wed, Aug 15, 2018 at 4:25 PM Udi Meiri <eh...@google.com> wrote:

> nosetests.xml doesn't seem to get cleaned by :clean. Same goes for the
> containers sub-directory.
>
> On Wed, Aug 15, 2018 at 4:23 PM Yifan Zou <yi...@google.com> wrote:
>
>> I've also encountered that problem before. The nosetests.xml doesn't have
>> the license specified and you have to removed it before running the :rat
>> task locally.
>>
>> On Wed, Aug 15, 2018 at 4:19 PM Pablo Estrada <pa...@google.com> wrote:
>>
>>> The files that are causing the failure seem to have been generated. They
>>> are not part of the checked-in source code:
>>> https://github.com/apache/beam/tree/master/sdks/python/container
>>>
>>> Your files are container/vendor/...., and sdks/python/nosetests.xml
>>> (which is generated when running nosetests).
>>>
>>> On Wed, Aug 15, 2018 at 4:11 PM Udi Meiri <eh...@google.com> wrote:
>>>
>>>> Hi,
>>>> Whenever I run ../../gradlew :rat from the sdks/python directory I get
>>>> errors about unapproved licenses. Example:
>>>> https://scans.gradle.com/s/gdpcgbexwyrpm
>>>>
>>>> This didn't use to be the case a few weeks back.
>>>> Any ideas what could be causing this?
>>>>
>>> --
>>> Got feedback? go/pabloem-feedback
>>> <https://goto.google.com/pabloem-feedback>
>>>
>>

Re: gradlew :rat broken

Posted by Udi Meiri <eh...@google.com>.
nosetests.xml doesn't seem to get cleaned by :clean. Same goes for the
containers sub-directory.

On Wed, Aug 15, 2018 at 4:23 PM Yifan Zou <yi...@google.com> wrote:

> I've also encountered that problem before. The nosetests.xml doesn't have
> the license specified and you have to removed it before running the :rat
> task locally.
>
> On Wed, Aug 15, 2018 at 4:19 PM Pablo Estrada <pa...@google.com> wrote:
>
>> The files that are causing the failure seem to have been generated. They
>> are not part of the checked-in source code:
>> https://github.com/apache/beam/tree/master/sdks/python/container
>>
>> Your files are container/vendor/...., and sdks/python/nosetests.xml
>> (which is generated when running nosetests).
>>
>> On Wed, Aug 15, 2018 at 4:11 PM Udi Meiri <eh...@google.com> wrote:
>>
>>> Hi,
>>> Whenever I run ../../gradlew :rat from the sdks/python directory I get
>>> errors about unapproved licenses. Example:
>>> https://scans.gradle.com/s/gdpcgbexwyrpm
>>>
>>> This didn't use to be the case a few weeks back.
>>> Any ideas what could be causing this?
>>>
>> --
>> Got feedback? go/pabloem-feedback
>> <https://goto.google.com/pabloem-feedback>
>>
>

Re: gradlew :rat broken

Posted by Yifan Zou <yi...@google.com>.
I've also encountered that problem before. The nosetests.xml doesn't have
the license specified and you have to removed it before running the :rat
task locally.

On Wed, Aug 15, 2018 at 4:19 PM Pablo Estrada <pa...@google.com> wrote:

> The files that are causing the failure seem to have been generated. They
> are not part of the checked-in source code:
> https://github.com/apache/beam/tree/master/sdks/python/container
>
> Your files are container/vendor/...., and sdks/python/nosetests.xml (which
> is generated when running nosetests).
>
> On Wed, Aug 15, 2018 at 4:11 PM Udi Meiri <eh...@google.com> wrote:
>
>> Hi,
>> Whenever I run ../../gradlew :rat from the sdks/python directory I get
>> errors about unapproved licenses. Example:
>> https://scans.gradle.com/s/gdpcgbexwyrpm
>>
>> This didn't use to be the case a few weeks back.
>> Any ideas what could be causing this?
>>
> --
> Got feedback? go/pabloem-feedback
> <https://goto.google.com/pabloem-feedback>
>

Re: gradlew :rat broken

Posted by Pablo Estrada <pa...@google.com>.
The files that are causing the failure seem to have been generated. They
are not part of the checked-in source code:
https://github.com/apache/beam/tree/master/sdks/python/container

Your files are container/vendor/...., and sdks/python/nosetests.xml (which
is generated when running nosetests).

On Wed, Aug 15, 2018 at 4:11 PM Udi Meiri <eh...@google.com> wrote:

> Hi,
> Whenever I run ../../gradlew :rat from the sdks/python directory I get
> errors about unapproved licenses. Example:
> https://scans.gradle.com/s/gdpcgbexwyrpm
>
> This didn't use to be the case a few weeks back.
> Any ideas what could be causing this?
>
-- 
Got feedback? go/pabloem-feedback