[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenStreetMap Software



Hi Jochen,

On 04/08/2014 08:13 PM, Jochen Topf wrote:
> I just committed two changes:
> * Fixed line endings in log4j.properties
> * Updated man page

Many thanks for these changes and also for the feedback.

> Also there is one problem I can see: The osmosis binary doesn't know its own
> version. There is some magic in build.gradle that figures out the version
> string from the git tag/commit. For some reason this generates an empty
> VERSION string in the Debian built. You can see the result when calling

The Debian source package doesn't contain the git repository, so auto
detecting the version with git won't work.

To fix the version detection, I've added a patch to use a simple shell
script to extract the upstream version from the debian/changelog. Groovy
execute() only supports single commands, so you can't just run the
typical shell one-liner instead of the git command.

Additional patches for the changes from the master branch of the osmosis
git repository are also included now. I have my doubts if the pgsnapshot
changes are appropriate, I'm tempted to drop those from the package
again. My interest is mostly in the 64-bit fix, and the null-pointer
exception fix.

I've also figured out how to fix the checkstyle and jdepend dependencies
in the gradle build, so those tasks are no longer excluded.

The test task is still excluded because the database is not available.
Adding the postgis setup for osmosis to debian/rules shouldn't be much
of an issue, it's next on my list.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/E88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


Reply to: