incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Mueller <>
Subject Re: Apache Release?
Date Fri, 04 May 2012 14:34:03 GMT
On Fri, May 4, 2012 at 4:42 AM, Jukka Zitting <>wrote:

> * Is helpful if source package contains a single top-level directory
> under which everything else is placed. That way when unpacking the
> sources in a busy directory you won't end up with a mess. If it's not
> too much trouble, I suggest to add a "cordova-1.7.0" top level
> directory to the package.

Here's what I've settled on for weinre, for now.  Archives organized like
this on the server:

That is, a "builds" directory, with a subdirectory per "version", and then
all the things for that version in the version directory.

When you unpack one of the archives, say <xyz>.zip, it unpacks to an <xyz>
directory in the same dir as the .zip.

This ends up yielding rediculously long names, given "pre-release" status
and incubator-itis, like


But I'm happy with it.  In theory, an "official release" would look more
like this, assuming post-incubator-graduation:


> (*) Unless you've already encountered, Release Audit Tool (RAT) is a
> simple program developed at to help
> audit Apache releases. To use it, download the binaries and run "java
> -jar apache-rat-0.8.jar /path/to/cordova/sources".

Nice having a tool like this.  But I can't figure out the exclude options
work.  I tried various flavors of this:

    rat --dir . \
       --exclude "**" \
       --exclude "**" \
       --exclude "**" \
       --exclude "**" \
       --exclude "*weinre.server/node_modules/*" \
       --exclude "*weinre.server/web/*"

But it didn't seem to exclude those directories, or at least not
recursively.  And I can't find any doc for rat, other than the command-line
help, which is not helpful.

Good news: the only hits for weinre, after manually deleting what I didn't
want scanned, were .gitignore and .npmignore files, which I'm hoping are
safe to "exclude" as well.  :-)

Patrick Mueller

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message