Skip to content

CE-3278: Add CREATING, FETCHING and COMMITTING/TAGGING log entries

Sky Brewer requested to merge CE-3278-extend-logs into develop

First some database modifications:

  • Add a GIT_PROJECT_FETCHED to logs where GIT_PROJECT_CREATED is missing
  • Add a GIT_PROJECT_FETCHING and GIT_PROJECT_CREATING log entry
  • Set all the TEMPLATE_PROCESSING_AND_COMMIT to GIT_COMMITTING_AND_TAGGING entry
  • Set all the TAG_CREATED to GIT_COMMITTED_AND_TAGGED entries

Change in the creation of logs

  • Add a GIT_PROJECT_FETCHING_OR_CREATING log entry
  • Add a GIT_COMMITTING_AND_TAGGING log entry
  • Remove the TEMPLATE_PROCESSING_AND_COMMIT for TEMPLATE_PROCESSED log entry

Change in the fetching of logs

  • Should now be able to determine if failure happened in GIT_PROJECT_FETCHING GIT_PROJECT_CREATING or GIT_COMMITTING_AND_TAGGING, hence able to put in GIT_COMMITTING_AND_TAGGING when from GIT_PROJECT_FETCHING
  • Now much simpler calculation of the api response, in that we don't care about the queued, or started log entries. And just fetch the ones we wanted.
Edited by Sky Brewer

Merge request reports

Loading