You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@asterixdb.apache.org by Ian Maxon <im...@uci.edu> on 2015/09/16 01:03:06 UTC

If RAT complains after you just pulled from master..

The old Hadoop 1.x compatibility/emulation layer that has been
deprecated for a long while now got removed just now from the working
tree in Hyracks master. If you pull that change and then try to build,
and mvn fails with RAT complaining like this:
---
 Unapproved licenses:

  .../hyracks/hyracks/hyracks-hadoop-compat/.classpath
  .../hyracks/hyracks/hyracks-hadoop-compat/.project
  .../hyracks/hyracks/hyracks-hadoop-compat/.settings/org.eclipse.core.resources.prefs
---
Then all you need to do is just remove the 'hyracks-hadoop-compat'
folder under hyracks and hyracks-examples/ . Git generally is lazy and
doesn't delete things from the index as long as they're active in some
revision.

Thanks,
-Ian

Re: If RAT complains after you just pulled from master..

Posted by Till Westmann <ti...@apache.org>.
Or you can use “git clean -fd” to clean up your working tree.

Cheers,
Till

On 15 Sep 2015, at 16:03, Ian Maxon wrote:

> The old Hadoop 1.x compatibility/emulation layer that has been
> deprecated for a long while now got removed just now from the working
> tree in Hyracks master. If you pull that change and then try to build,
> and mvn fails with RAT complaining like this:
> ---
> Unapproved licenses:
>
> .../hyracks/hyracks/hyracks-hadoop-compat/.classpath
> .../hyracks/hyracks/hyracks-hadoop-compat/.project
> .../hyracks/hyracks/hyracks-hadoop-compat/.settings/org.eclipse.core.resources.prefs
> ---
> Then all you need to do is just remove the 'hyracks-hadoop-compat'
> folder under hyracks and hyracks-examples/ . Git generally is lazy and
> doesn't delete things from the index as long as they're active in some
> revision.
>
> Thanks,
> -Ian

Re: If RAT complains after you just pulled from master..

Posted by Till Westmann <ti...@apache.org>.

On 17 Sep 2015, at 0:26, Jochen Wiedmann wrote:

> ---------- Forwarded message ----------
> From: Till Westmann <ti...@apache.org>
> Date: Wed, Sep 16, 2015 at 10:09 PM
> Subject: Re: If RAT complains after you just pulled from master..
> To: dev@asterixdb.incubator.apache.org
>
>
>> Talking about RAT: Do you know if we could move the > excludes from 
>> the POM into an excludes file that can > be used by the maven build 
>> and when running RAT
>> on the command line?
>
> RAT Core does support such a feature, but the Maven plugin doesn't.
> Create an issue report, and I'll take care for it.

Here it is: https://issues.apache.org/jira/browse/RAT-208 :)

Cheers,
Till


Fwd: If RAT complains after you just pulled from master..

Posted by Jochen Wiedmann <jo...@gmail.com>.
---------- Forwarded message ----------
From: Till Westmann <ti...@apache.org>
Date: Wed, Sep 16, 2015 at 10:09 PM
Subject: Re: If RAT complains after you just pulled from master..
To: dev@asterixdb.incubator.apache.org


> Talking about RAT: Do you know if we could move the > excludes from the POM into an excludes file that can > be used by the maven build and when running RAT
> on the command line?

RAT Core does support such a feature, but the Maven plugin doesn't.
Create an issue report, and I'll take care for it.

Jochen

-- 
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

Re: If RAT complains after you just pulled from master..

Posted by Till Westmann <ti...@apache.org>.
On 15 Sep 2015, at 23:45, Jochen Wiedmann wrote:

> On Wed, Sep 16, 2015 at 1:03 AM, Ian Maxon <im...@uci.edu> wrote:
>
>> and mvn fails with RAT complaining like this:
>> ---
>> Unapproved licenses:
>>
>> .../hyracks/hyracks/hyracks-hadoop-compat/.classpath
>> .../hyracks/hyracks/hyracks-hadoop-compat/.project
>> .../hyracks/hyracks/hyracks-hadoop-compat/.settings/org.eclipse.core.resources.prefs
>
> How about configuring RAT to ignore .../hyracks/hyracks-hadoop-compat?
> Solves that problem once, and for everyone.

On one hand that’s true, on the other hand it leaves a footprint of a 
non-existing project in the code base (assuming that the RAT 
configuration is part of the code base).

Talking about RAT: Do you know if we could move the excludes from the 
POM into an excludes file that can be used by the maven build and when 
running RAT on the command line?

Cheers,
Till

Re: If RAT complains after you just pulled from master..

Posted by Jochen Wiedmann <jo...@gmail.com>.
On Wed, Sep 16, 2015 at 1:03 AM, Ian Maxon <im...@uci.edu> wrote:

> and mvn fails with RAT complaining like this:
> ---
>  Unapproved licenses:
>
>   .../hyracks/hyracks/hyracks-hadoop-compat/.classpath
>   .../hyracks/hyracks/hyracks-hadoop-compat/.project
>   .../hyracks/hyracks/hyracks-hadoop-compat/.settings/org.eclipse.core.resources.prefs

How about configuring RAT to ignore .../hyracks/hyracks-hadoop-compat?
Solves that problem once, and for everyone.

Jochen




-- 
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg