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

Packaging of osm2pgsql-replication?



[Redirecting the discussion to debian-gis@]

On 1/19/22 10:30, Jochen Topf wrote:
For about a year now osm2pgsql comes with "scripts/osm2pgsql-replication",
a Python script which is the easiest way to keep an osm2pgsql database
up-to-date with changes from OSM. So far this is not packaged in the
Debian osm2pgsql package, which was good, for the script was new and
needed some seasoning. But some people are using it now and some bugs
have been fixed, so maybe it is time to package this? Currently it is
not installed with "make install", but we are thinking about adding that
in the next version. A man page is already available.

Once this is done upstream, it makes sense to also include it in the Debian package.

Problem is the script needs python, pyosmium and psycopg2. I am not sure
whether its worth it to have so many more dependencies? Or would this
have to go into a different package anyway, because it is architecture
independent?

python is deal breaker due to the python2 removal, if you meant python3, that's not a problem.

osm2pgsql is the only binary package currently built and contains everything being installed.

Adding the dependencies for osm2pgsql-replication is not a big deal in my opinion. There may be some vocal opposition from users who don't use the replication script and don't already have those python3 packages installed, which seems unlikely.

A separate osm2pgsql-replication binary package can also be built to provide the script and install its dependencies, but that will require a trip through NEW causing a delay before it lands in unstable.

I personally don't think adding the script and its dependencies to the osm2pgsql binary package is an issue, so unless there is strong demand from actual osm2pgsql users to have it in a separate package we'll take that route.

Kind Regards,

Bas

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


Reply to: