Make script for production #17

Closed
opened 2023-07-10 15:18:33 +00:00 by newsch · 0 comments
newsch commented 2023-07-10 15:18:33 +00:00 (Migrated from github.com)

As discussed in #6, it would be useful to have a standalone script that processes the generator inputs and sets up the program correctly for running on the map build server.

It should:

  • try to select the latest map build directory at ~/maps_build/*/intermediate_data/
  • build the program in release mode if it isn't already
  • process the generator inputs as mentioned in the README.
  • enable backtraces and debug logging
  • tee logs to a temporary file
  • accept an arbitrary number of dump files
  • write the the descriptions directory expected by the generator

The generator tool might also need to be updated to write the description inputs and ingest the outputs, but not call the scraper.

As [discussed in #6](https://github.com/organicmaps/wikiparser/pull/6#discussion_r1253462788), it would be useful to have a standalone script that processes the generator inputs and sets up the program correctly for running on the map build server. It should: - try to select the latest map build directory at `~/maps_build/*/intermediate_data/` - build the program in release mode if it isn't already - process the generator inputs as [mentioned in the README](https://github.com/organicmaps/wikiparser/blob/45efd77c0d213652f5b548ed99831b12a6be0d64/README.md?plain=1#L34). - enable backtraces and debug logging - tee logs to a temporary file - accept an arbitrary number of dump files - write the the `descriptions` directory expected by the generator The generator tool might also need to be updated to write the description inputs and ingest the outputs, but not call the scraper.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/wikiparser#17
No description provided.