1. 02 May, 2019 1 commit
    • Yorick Peterse's avatar
      Handle missing merge data for QA issues · eeecb61b
      Yorick Peterse authored
      Sometimes the "merged by" data for an MR is not available, even when
      merged. This can happen when (for some reason) data in the
      "merge_request_metrics" table for an MR is not present. How and when
      this happens is not clear at this time, but it happened for the
      following two MRs:
      
      1. gitlab-ce!27424
      2. gitlab-ce!27400
      
      For the first one I fixed the data manually, but I left the second one
      as-is.
      
      When this happens, we now fall back to mentioning the assignee (usually
      also the person that merges the MR), or the author if both the merger
      and assignee were not present.
      
      Fixes #287
      eeecb61b
  2. 20 Feb, 2019 1 commit
    • Yorick Peterse's avatar
      Simplify the project structure · f4482d2e
      Yorick Peterse authored
      This simplifies the project structure by making the following changes:
      
      1. The file/directory hierarchy now matches the pattern used for most
         Ruby projects. This means no more init.rb, and all code now resides
         in lib/release_tools/ instead of lib/.
      
      2. All classes and modules are namespaced to the ReleaseTools module,
         instead of them being defined at the top level.
      
      3. Dependencies are now loaded using regular require calls in
         lib/release_tools.rb, instead of relying on a mixture of require,
         require_relative, and autoload.
      
      4. The colorize Gem is updated to support the use of frozen strings, and
         because the used version was from 2009.
      f4482d2e