source: osmose-backend/osmose_run.py

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @b8d291d   5 years jocelyn.jaubert Add version field to XML file sent to frontend
(edit) @433b880   5 years jocelyn.jaubert Increase timeout when sending results with poster library
(edit) @beeb276   5 years jocelyn.jaubert Add option --version to get version from git describe
(edit) @9e40639   5 years jocelyn.jaubert Add tests to run all osmosis analysers, to check SQL queries
(edit) @5fb5824   5 years jocelyn.jaubert Remove specification of memory with JAVACMD_OPTIONS The specific values …
(edit) @eff8a79   5 years jocelyn.jaubert Create directory from conf.downloaddiff_path? if necessary
(edit) @7ed7144   5 years jocelyn.jaubert Increase timeout on update when using a POST-only request
(edit) @f9744c0   5 years jocelyn.jaubert Remove duplicated import of time in osmose_run.py
(edit) @4ca12a4   5 years jocelyn.jaubert Add support for directly POSTing results instead of using a http server …
(edit) @e3ded65   5 years naoliv Sleep a little on consecutive timeouts/errors Better avoid some temporary …
(edit) @6681de1   5 years jocelyn.jaubert Try update to frontend several times even if got a random error
(edit) @513838c   5 years naoliv User-friendlier mkdir error messages Instead having this: Traceback …
(edit) @0379ceb   5 years jocelyn.jaubert Retry upload after a generic URLError
(edit) @bb39a0a   5 years naoliv Only run when passing a valid analyser If the user calls osmose_run only …
(edit) @64de362   5 years jocelyn.jaubert Fix error code when country lock file isn't available
(edit) @954dd43   5 years jocelyn.jaubert Retry frontend update several times before going to next analyse
(edit) @6b1a5b3   5 years jocelyn.jaubert Don't set db_host by default, so that we can use socket connection
(edit) @09009b7   5 years jocelyn.jaubert Merge branch 'database-host'
(edit) @9ce6b7e   5 years jocelyn.jaubert Merge remote-tracking branch 'naoliv/directories'
(edit) @4e5e84b   5 years naoliv Support specifying the database host Also cite the usage of .pgpass
(edit) @8735c95   5 years naoliv Create work dirs when needed
(edit) @bbb961d   5 years naoliv Remove old references to osm2pgsql
(edit) @9862e1a   5 years jocelyn.jaubert Cleaning around logs printing
(edit) @a6bb16e   5 years jocelyn.jaubert Fix issue in osmose_run.py when run_osmosis_diff() didn't get an uptodate …
(edit) @ad99d50   5 years jocelyn.jaubert Don't use diffs when current extract is older than 20 days
(edit) @dc900c6   5 years jocelyn.jaubert Return error in case of authentification failure
(edit) @642beae   5 years jocelyn.jaubert Fix osmose_run.py functions so that logger is not a global variable
(edit) @818fd31   5 years jocelyn.jaubert Fix color printing in error message in osmose_run.py
(edit) @2341bd3   5 years jocelyn.jaubert Move log colors to OsmoseLog?.py
(edit) @a221e3c   6 years jocelyn.jaubert Move schema_info to schema + align osmosis tables list on grant part
(edit) @8006308   6 years jocelyn.jaubert Don't run analyses when the update is not finished
(edit) @83180247   6 years jocelyn.jaubert Replace <> to != for python 3 compatibility
(edit) @7e0bc56   6 years jocelyn.jaubert Report an error when country lock cannot be taken
(edit) @0a6aa41   6 years jocelyn.jaubert Minor code fixes from pyflakes
(edit) @60f159c   6 years jocelyn.jaubert Propagate error code in osmose_run.py
(edit) @82cfa24   6 years jocelyn.jaubert Make sure that state.txt is closed when reading it
(edit) @2e1a8d4   6 years jocelyn.jaubert Add sql_post_scripts option, used by merge analyses
(edit) @7e1bd8d   6 years jocelyn.jaubert Limit osmosis diff to half a day only on diffs coming from Geofabrik
(edit) @334e7f9   6 years jocelyn.jaubert Add support for views in addition to table for geometry_columns, as …
(edit) @f0dbecf   6 years jocelyn.jaubert Print a warning when results_url is not set as it won't upload
(edit) @57b968a   6 years jocelyn.jaubert Switch to 'normal' mode when launched with --change, but without any …
(edit) @e729b02   6 years jocelyn.jaubert Bug fix: don't re-init osmosis_diff if it was already initialized
(edit) @1bdfc33   6 years jocelyn.jaubert Correctly iterate on diffs when current one is older than 1 day
(edit) @168b334   6 years jocelyn.jaubert Add debugging to osmose_run.py
(edit) @4dc0e59   6 years jocelyn.jaubert Fix run_osmosis_diff() to stop when diffs were applied
(edit) @4ea46b2   6 years jocelyn.jaubert Stop fetching osmosis diff when we get the same timestamp twice
(edit) @5746484   6 years jocelyn.jaubert Increase maximum number of iteration when applying diffs
(edit) @2d6d261   6 years jocelyn.jaubert Increase timeout on result upload
(edit) @ac93b97   6 years jocelyn.jaubert Retry downloading osmosis diff two minutes later on fails
(edit) @d947284   7 years jocelyn.jaubert Apply diff with a 1-day granularity instead of 2-day This fixes an issue …
(edit) @e074685   7 years jocelyn.jaubert Check if pbf file exists when applying diffs
(edit) @7390313   7 years jocelyn.jaubert File state.txt is quite small, so lower min_file_size
(edit) @4c3cf1c   7 years jocelyn.jaubert Set JAVACMD_OPTIONS at the beginning, and add support for http_proxy
(edit) @14ecf90   7 years jocelyn.jaubert Get correct state.txt file when not using minute diffs
(edit) @bf76a61   7 years jocelyn.jaubert Add option to use a diff to update pbf file if specified in country …
(edit) @e7bffdf   7 years jocelyn.jaubert Rename option --init-change to --change_init
(edit) @b802c41   7 years jocelyn.jaubert Increase timeout to send analyses update to frontend
(edit) @3ca23bd   7 years jocelyn.jaubert Increase timeout to connect to update site
(edit) @d08d323   7 years jocelyn.jaubert Translate some texts from french to english
(edit) @264e583   7 years jocelyn.jaubert Add option --skip-init to osmose_run.py
(edit) @8e089e6   7 years jocelyn.jaubert Active boundary polygon clipping on error
(edit) @3aa826c   7 years jocelyn.jaubert Dump all error file as bz2
(edit) @0d5f71d5   7 years jocelyn.jaubert Take europe pbf file from local directory on osm8
(edit) @abc2a04   7 years jocelyn.jaubert Don't use an osmosis connection in analyser_sax if no db_string is given
(edit) @6c081e0   7 years jocelyn.jaubert Don't check database if we don't need osmosis
(edit) @253a4b9   7 years jocelyn.jaubert Move country + language options from sax options to generic options
(edit) @17c2492   7 years jocelyn.jaubert Fix how database extension are checked on postgresql database
(edit) @877895b3   7 years jocelyn.jaubert Add support in osmose_run.py to run in change mode
(edit) @5410325   7 years jocelyn.jaubert Send source with code and url when uploading errors to frontend
(edit) @3ab064c   7 years jocelyn.jaubert Add option --init-change to osmose_run.py
(edit) @f43e2ae   7 years jocelyn.jaubert Add some basic check of database configuration
(edit) @7e53c8a   7 years jocelyn.jaubert Give whole options to function run() in osmose_run.py
(edit) @feccd33   7 years jocelyn.jaubert Move analysers to a sub-directory
(edit) @0b643d7   7 years frodrigo Send file to frontend by class and no more by python file
(edit) @2bd7d0f   7 years frodrigo Generate one output xml error file by class and not one by python file
(edit) @0aacef9   7 years jocelyn.jaubert Don't remove file if --no-clean is specified
(edit) @4495a11   7 years jocelyn.jaubert Fix conf.download on code that keeps osmosis database
(edit) @ec5feb9   7 years jocelyn.jaubert Don't delete any file is downloaddst? is not set
(edit) @932c7dc   7 years jocelyn.jaubert Only run classes beginning with Analyser* in osmose_run.py
(edit) @13e082f   7 years jocelyn.jaubert Fix osmose_run.py when no file is downloaded
(edit) @d93918d   7 years jocelyn.jaubert Remove support for multiple download source per country
(edit) @d937afa   7 years jocelyn.jaubert Move database cleaning code to function clean_database()
(edit) @28cd9d7   7 years jocelyn.jaubert Move database import code in osmose_run.py to a function
(edit) @bf60d58   7 years jocelyn.jaubert Also remove .osm.pbf file after run
(edit) @0be587b   7 years jocelyn.jaubert Add support for PBF files in osmosis import
(edit) @3be1d53   7 years jocelyn.jaubert Remove 'common_' from variables declared in osmose_config.py
(edit) @8a374f8   7 years jocelyn.jaubert minor change in help
(edit) @ea6a714   7 years fred.rodrigo Fix analyser merge, port lost code from merge2 branch (dump CSV), write …
(edit) @b6c4d4e   7 years fred.rodrigo set config of osmosis's temporary file in osmose_config.py
(edit) @a9541ad   7 years jocelyn.jaubert drop osmosis schema before importing it
(edit) @a7e6efd   8 years jocelyn.jaubert Catch error when update to frontend fails
(edit) @d69f2ec   8 years jocelyn.jaubert oups: fix on cleaning database after running analysers
(edit) @01ab5b5   8 years jocelyn.jaubert When using --no-clean, change access permissions of kept table to RO
(edit) @3967a51   8 years jocelyn.jaubert Move osmosis sql scripts to execute to two pre and post lists in …
(edit) @e7f6f05   8 years jocelyn.jaubert Better cleaning of database connections - use enter() and …
(edit) @7b7524a   8 years jocelyn.jaubert Close database connections even when an analyser fail
(edit) @18dd3cf   8 years jocelyn.jaubert Remove column bbox from ways table
(edit) @a016b04   8 years jocelyn.jaubert Print error returned by frontend on update
(edit) @49bfa61   8 years jocelyn.jaubert Only look at class that comes from the appropriate module file
(edit) @87dde01b   8 years jocelyn.jaubert Only check last characters of the returned string on frontend update - …
Note: See TracRevisionLog for help on using the revision log.