Skip to content

Updating project to use luarocks#34

Draft
travishathaway wants to merge 1 commit into
osm2pgsql-dev:masterfrom
travishathaway:luarocks
Draft

Updating project to use luarocks#34
travishathaway wants to merge 1 commit into
osm2pgsql-dev:masterfrom
travishathaway:luarocks

Conversation

@travishathaway
Copy link
Copy Markdown

Please see my original comment here for a little more context:

Description

To make this easier to package and distribute, I'm proposing that we update this repository to use a luarocks spec file. This pull request still needs some refine, and I am more than happy to do that. I just want to know whether this would even be considered at all.

Notable changes:

  • Adds a new osm2pgsql-themepark-scm-1.rockspec
  • Adds a new THEMEPARK_PATH environment variable for finding user defined themes.
  • Reorganizes the folder structure to move themes/ into the the lua/ folder so these default themes can appear in the package.

I've left my implementation notes in the .openspec/ folder intact so you can have even more context around how everything works. We can of course remove this if we decide to merge this.

Like I said in the comment above, I have a complete working example of all this in my CLI tool osmprj, so I'm feeling quite confident that this could be a worthwhile change.

More than happy to discuss further, and thank you so much for taking the time to read and consider this change 🙏.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant