An error occurred fetching the project authors.
  1. 23 Jul, 2019 1 commit
    • Bob Van Landuyt's avatar
      Mark mirrors as failed 1 hour after they started · ab11eee1
      Bob Van Landuyt authored
      We call `Project#mark_stuck_remote_mirrors_as_failed!` from the
      `Git::BaseHooksService`. So that gets called every time we push tags
      or branches.
      
      Before this would only mark started mirrors as failed if they had
      been started 24 hours ago. A push would never take 24 hours,
      especially not when we run it so often.
      
      Lowering that threshold 1 hour should at least allow us to retry
      broken mirrors more often on pushes.
      
      The timeout for the initial push is set somewhat longer to accommodate
      for pushing large repos. Both numbers are currently picked arbitrarily.
      ab11eee1
  2. 07 May, 2019 1 commit
  3. 30 Apr, 2019 1 commit
  4. 23 Apr, 2019 1 commit
  5. 11 Apr, 2019 1 commit
    • Thong Kuah's avatar
      Align UrlValidator to validate_url gem implementation. · d119d3d1
      Thong Kuah authored
      Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement.
      Make use of the options attribute of the parent class ActiveModel::EachValidator.
      Add more options: allow_nil, allow_blank, message.
      Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
      d119d3d1
  6. 28 Mar, 2019 1 commit
  7. 15 Jan, 2019 1 commit
    • Stan Hu's avatar
      Only send one notification for failed remote mirror · 6fbbd4ab
      Stan Hu authored
      Retries in Sidekiq and in the remote mirror scheduler can cause repeated
      attempts in quick succession if the sync fails. Each failure will then
      send an e-mail to all project maintainers, which can spam users
      unnecessarily.
      
      Modify the logic to send one notification the first time the mirror
      fails by setting `error_notification_sent` to `true` and reset the
      flag after a successful sync.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56222
      6fbbd4ab
  8. 13 Dec, 2018 1 commit
  9. 12 Dec, 2018 1 commit
  10. 28 Nov, 2018 1 commit
  11. 19 Nov, 2018 1 commit
  12. 23 Aug, 2018 1 commit
  13. 26 Jul, 2018 1 commit
  14. 09 Jul, 2018 1 commit
  15. 21 Jun, 2018 1 commit
    • Yorick Peterse's avatar
      Don't expose project names in various counters · 9e29408e
      Yorick Peterse authored
      Various counters would expose either project names, or full project
      paths (e.g. "gitlab-org/gitlab-ce"). This commit changes various places
      where we use "add_event" so we no longer expose (potentially) private
      information.
      9e29408e
  16. 11 Jun, 2018 1 commit
  17. 01 Jun, 2018 1 commit
  18. 29 May, 2018 1 commit
  19. 07 May, 2018 3 commits