Skip to content
Snippets Groups Projects
  1. Dec 10, 2016
  2. Dec 09, 2016
  3. Dec 08, 2016
  4. Dec 06, 2016
  5. Dec 05, 2016
    • Bob Van Landuyt's avatar
      Feature: delegate all open discussions to Issue · 1123057a
      Bob Van Landuyt authored
      When a merge request can only be merged when all discussions are
      resolved. This feature allows to easily delegate those discussions to a
      new issue, while marking them as resolved in the merge request.
      
      The user is presented with a new issue, prepared with mentions of all
      unresolved discussions, including the first unresolved note of the
      discussion, time and link to the note.
      
      When the issue is created, the discussions in the merge request will get
      a system note directing the user to the newly created issue.
      1123057a
  6. Dec 01, 2016
    • Yorick Peterse's avatar
      Pass commit data to ProcessCommitWorker · 6b4d3356
      Yorick Peterse authored
      By passing commit data to this worker we remove the need for querying
      the Git repository for every job. This in turn reduces the time spent
      processing each job.
      
      The migration included migrates jobs from the old format to the new
      format. For this to work properly it requires downtime as otherwise
      workers may start producing errors until they're using a newer version
      of the worker code.
      Verified
      6b4d3356
    • Adam Niedzielski's avatar
      Replace references to MergeRequestDiff#commits with st_commits · cb6f8cdf
      Adam Niedzielski authored
      when we care only about the number of commits
      
      We do not have to instantiate all objects in this case.
      cb6f8cdf
    • Adam Niedzielski's avatar
      Refactor JiraService by moving code out of JiraService#execute method · 11055973
      Adam Niedzielski authored
      The implicit interface of project services states that the "execute"
      method is meant to be called when project hooks are executed.
      Currently JiraService does not support any project events even though
      JiraService#supported_events says that "commit" and "merge_request"
      are supported. They are only used to render correct options in
      JIRA configuration screen, but they are not supported.
      Because of that, this commit makes "execute" method a no-op.
      11055973
  7. Nov 29, 2016
  8. Nov 28, 2016
    • Adam Niedzielski's avatar
      Pass tag SHA to post-receive hook when tag is created via UI · cf58271e
      Adam Niedzielski authored
      We only know the tag SHA after we create the tag.
      This means that we pass a different value to the hooks that happen before
      creating the tag, and a different value to the hooks that happen after
      creating the tag.
      
      This is not an ideal situation, but it is a trade-off we decided to
      make. For discussion of the alternatives please refer to
      https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7700#note_18982873
      
      "pre-receive" and "update" hooks always get the SHA of the commit
      that the tag points to. "post-receive" gets the tag SHA if it is
      an annotated tag or the commit SHA if it is an lightweight tag.
      Currently we always create annotated tags if UI is used.
      cf58271e
  9. Nov 25, 2016
  10. Nov 24, 2016
  11. Nov 23, 2016
    • Yorick Peterse's avatar
      Remove event caching code · 5371da34
      Yorick Peterse authored
      Flushing the events cache worked by updating a recent number of rows in
      the "events" table. This has the result that on PostgreSQL a lot of dead
      tuples are produced on a regular basis. This in turn means that
      PostgreSQL will spend considerable amounts of time vacuuming this table.
      This in turn can lead to an increase of database load.
      
      For GitLab.com we measured the impact of not using events caching and
      found no measurable increase in response timings. Meanwhile not flushing
      the events cache lead to the "events" table having no more dead tuples
      as now rows are only inserted into this table.
      
      As a result of this we are hereby removing events caching as it does not
      appear to help and only increases database load.
      
      For more information see the following comment:
      https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6578#note_18864037
      Verified
      5371da34
  12. Nov 22, 2016
  13. Nov 21, 2016
  14. Nov 19, 2016
  15. Nov 18, 2016
  16. Nov 17, 2016
Loading