osmand_map_creation icon indicating copy to clipboard operation
osmand_map_creation copied to clipboard

dependency management

Open pnoll1 opened this issue 2 years ago • 1 comments

Depdency management is currently a mishmash of manual updates, pip and updates tied to Debian Unstable.

  • osmand map creator
    • no releases, not packaged
    • put version number in log
  • ogr2osm
    • can add requirements file
    • own dependencies: lxml, gdal
  • curl, osmium-tool, postgresql, postgis, wget
    • put version numbers in log
    • use a stable distro

Options to stabilize build environment:

  • debian stable vm
  • guix or nix
  • container

pnoll1 avatar Sep 19 '22 01:09 pnoll1

scripts to build lxc container of current Debian Sid dev env added with 2c0674e8b0ad85d5dfe2628c6de363c881058e9a. Next, need to look at moving to a stable base. Debian Stable should just require switching the info in setup_container.sh. May want to work on improving testing first since test coverage is low and swapping to stable would change several dependencies to older versions. Alternatively, could switch to stable after debian 12 releases, ensuring continuity.

pnoll1 avatar Sep 28 '22 08:09 pnoll1

whole environment has moved to lxc container on btrfs backing. Snapshots are now low cost so before any upgrade can lxc clone container as backup and move to backup if there's issues.

pnoll1 avatar Dec 05 '22 08:12 pnoll1

packaged ogr2osm for guix. Packaging OsmAndMapCreator(omc) would require packaging gradle too.

Unclear if effort to package omc would pay off. Need to learn packaging system and building omc isn't documented.

pnoll1 avatar Dec 11 '22 05:12 pnoll1

switched to bookworm. everything that can be stable is.

pnoll1 avatar Jul 03 '23 08:07 pnoll1