157 Commits (8af3fe19b407cb7054559ab90e58cc4dfede6293)
 

Author SHA1 Message Date
Simon Quigley 8af3fe19b4 Use futures for queuing pull and tarball tasks
1 week ago
Simon Quigley 406fddb27b Move to the database at the very end of a task
1 week ago
Simon Quigley 91fb6f2548 Only sync the task once per run in the task queue
1 week ago
Simon Quigley 9a35473d37 Use functions directly instead of grabbing many locks at once
1 week ago
Simon Quigley 1ecec033f1 Slightly rework locking with pull_project
1 week ago
Simon Quigley 0dced17ef2 Wrap clone/fetch in retry loops
1 week ago
Simon Quigley c9474eccfb Split apart Git functionality into a separate file
1 week ago
Simon Quigley 8b55525646 Decrease exponential backoff further
1 week ago
Simon Quigley f98b9c04d8 Attempt to fix assignment of commits
1 week ago
Simon Quigley 20a701641a General cleanup around task locking for a pkgconf
1 week ago
Simon Quigley 64ffc1b9e4 Be better about recognizing HTTP_PROXY
1 week ago
Simon Quigley 2bdae98c7e Try to also recognize NO_PROXY
1 week ago
Simon Quigley 76605a4aed No need to override the cert anymore
1 week ago
Simon Quigley ce4050f1e2 Attempt to correctly use HTTP proxies if set via env var
1 week ago
Simon Quigley fddc635957 Enable SSL and HTTP/2
1 week ago
Simon Quigley f3bd66b872 Lower exponential backoff initial value even further
1 week ago
Simon Quigley 90baa5d8b8 Slightly enhance logging
1 week ago
Simon Quigley 80932a3136 Only show every 5% in the Git progress
1 week ago
Simon Quigley 2331105d58 Do not allow duplicate log entries
1 week ago
Simon Quigley e39e2d4c49 Always consolidate the WAL file and VACUUM to start
1 week ago
Simon Quigley 565be5e97d Attempt to add repo clone/fetch progress to the log
1 week ago
Simon Quigley 6ea4665dbe Attempt to see if moving up the mutex will help with locking issues
1 week ago
Simon Quigley 345081b851 Try a different approach for tars
1 week ago
Simon Quigley 3bad275726 Also pass tarball_task by reference
1 week ago
Simon Quigley c0b95cf54f Don't sync tasks without jobstatuses, it'll be taken care of later
1 week ago
Simon Quigley 2915f73367 Try minimizing duplicate locks
1 week ago
Simon Quigley c0ba14764a small one-line
1 week ago
Simon Quigley 27da8b7df0 Make jobstatus_map a shared pointer, hopefully resolving nullptr issues
1 week ago
Simon Quigley a43739dfeb Lower exponential delay 10x
1 week ago
Simon Quigley ddc29602ee Add missing job_statuses
1 week ago
Simon Quigley 7feaf1726c Remove static const from jobstatuses to ensure it is passed correctly
1 week ago
Simon Quigley 296f37262d Also use exponential backoff for a locked db in the initial database schema, and support passing a QString to exec()
1 week ago
Simon Quigley 8b6ff0a865 Only queue the tarball task if the pull was successful
1 week ago
Simon Quigley 495912f0d2 Add several null checks for commits
1 week ago
Simon Quigley 1e92157a12 Consolidate much of the pull and build logic
1 week ago
Simon Quigley 228f430797 Be safer about removals from the active tokens list
1 week ago
Simon Quigley 6e12e28cd7 Invert passed check, this broke all queries, whoops
1 week ago
Simon Quigley 966bdcd1cb Centralize exec() in db_common for gradual backoff retries
1 week ago
Simon Quigley 8dc972b4de Move the database initialization to db_common
1 week ago
Simon Quigley 604683dc90 Fix installation of the common library
1 week ago
Simon Quigley 775e5bddb7 Centralize the database thread connection code
1 week ago
Simon Quigley 10d43282b6 Add the same to PackageConf syncs, and make logic more robust
1 week ago
Simon Quigley d3d19f4f2a Add exponential backup for task retries
1 week ago
Simon Quigley 0e26020d13 Change synchronous to NORMAL from FULL
1 week ago
Simon Quigley 0dd70c9545 add missing type decl
1 week ago
Simon Quigley 5df6fb4fc4 Fix bad task locks
1 week ago
Simon Quigley d6e268bf62 Make the SSO redirects work behind a correctly-configured reverse proxy
1 week ago
Simon Quigley 16b669c380 Fix prefix path
1 week ago
Simon Quigley 717dcd63f7 build-packages no longer exists as a CLI utility
1 week ago
Simon Quigley 2ed625e6a7 Correct cmake install file
1 week ago