1. 10 4月, 2019 1 次提交
  2. 05 4月, 2019 2 次提交
  3. 02 4月, 2019 1 次提交
    • P
      Download a folder from repository · 6766a0a1
      Patrick Bajao 提交于
      Add `GetArchiveRequest` to git-archive params.
      
      Modifies `Git::Repository#archive_metadata` to append `path`
      to `ArchivePrefix` so it'll not hit the cache of repository archive
      when it already exists.
      6766a0a1
  4. 27 3月, 2019 1 次提交
    • G
      Upgrade `gitlab-markup` to 1.7.0 · e5af7d83
      Gabriel Mazetto 提交于
      The new version requires `python3` to be available. In omnibus
      installation this is already a reality as we are currently pathing
      previous `gitlab-markup` version to use `python3` instead of `python2`.
      
      We are now requiring `python3` with the gem without having to patch it.
      
      As a consequence to also make it easy to use it in development, we've
      introduced a `Pipfile` and `Pipfile.lock`, working similarly to
      `Gemfile` and `Gemfile.lock`, and added documentation on how to use
      them.
      e5af7d83
  5. 26 3月, 2019 1 次提交
  6. 20 3月, 2019 1 次提交
  7. 19 3月, 2019 1 次提交
    • S
      Bump Rugged to 0.28.0 · 30caec32
      Stan Hu 提交于
      This version bump makes things consistent between Gitaly and
      fixes a significant number of bugs:
      https://github.com/libgit2/libgit2/releases
      
      This also decreases disk space of Omnibus builds by ~30 MB.
      
      There is also a workaround for
      https://github.com/libgit2/rugged/issues/785. If Gitaly or another
      process changes .gitconfig while Rugged has the file loaded,
      Rugged::Repository#each_key will report stale values unless a lookup is
      done first.
      
      This bug only manifests in a spec because we are using both Gitaly and
      Rugged at the same time there, and we normally don't use Rugged in the
      CE/EE code in this way.
      30caec32
  8. 18 3月, 2019 1 次提交
  9. 13 3月, 2019 1 次提交
  10. 12 3月, 2019 1 次提交
  11. 09 3月, 2019 1 次提交
  12. 08 3月, 2019 3 次提交
  13. 06 3月, 2019 1 次提交
    • P
      Accept force option on commit via API · de5aef3b
      Patrick Bajao 提交于
      When `force` is set to `true` and `start_branch` is set, the
      branch will be ovewritten with the new commit based on the
      `HEAD` of the `start_branch`.
      
      This commit includes changes to update the `gitaly-proto` gem.
      de5aef3b
  14. 05 3月, 2019 1 次提交
    • D
      Allow raw `tls_options` to be passed in LDAP configuration · f6350fac
      Drew Blessing 提交于
      We've previously exposed ca_file and ssl_version but there are many
      possible options that can be used inside tls_options. Instead of
      exposing individual ones, simply expose the entire hash so it can
      be passed in and we won't have to add things in the future.
      f6350fac
  15. 02 3月, 2019 1 次提交
  16. 01 3月, 2019 2 次提交
  17. 25 2月, 2019 1 次提交
    • O
      Support merge to ref for merge-commit and squash · 1ad69967
      Oswaldo Ferreira 提交于
      Adds the ground work for writing into
      the merge ref refs/merge-requests/:iid/merge the
      merge result between source and target branches of
      a MR, without further side-effects such as
      mailing, MR updates and target branch changes.
      1ad69967
  18. 22 2月, 2019 1 次提交
  19. 17 2月, 2019 1 次提交
  20. 15 2月, 2019 1 次提交
  21. 12 2月, 2019 1 次提交
  22. 09 2月, 2019 1 次提交
  23. 06 2月, 2019 1 次提交
  24. 04 2月, 2019 1 次提交
  25. 31 1月, 2019 6 次提交
    • Y
      Fix requiring the rubyzip Gem · b124fbf3
      Yorick Peterse 提交于
      In commit 6fa5fd85 the `require: false`
      was removed to ensure the Gem was loaded at run time. Unfortunately, the
      `require` necessary for the rubyzip Gem is "zip" and not "rubyzip". As a
      result, Bundler would not require the Gem. This meant that we would
      still run into constant errors when referring to `Zip::File`.
      b124fbf3
    • S
      Fix uninitialized constant with GitLab Pages deploy · fc5ebc3c
      Stan Hu 提交于
      pages:deploy step was failing with the following error:
      
      ```
      unitialized constant SafeZip::Extract::Zip
      ```
      
      Since license_finder already pulls in rubyzip, we can make it
      a required gem. We also use the scope operator to make the reference to
      Zip::File explicit.
      fc5ebc3c
    • K
      Extract GitLab Pages using RubyZip · 66744469
      Kamil Trzciński 提交于
      RubyZip allows us to perform strong validation of
      expanded paths where we do extract file.
      
      We introduce the following additional checks
      to extract routines:
      
      1. None of path components can be symlinked,
      2. We drop privileges support for directories,
      3. Symlink source needs to point within the target directory,
         like `public/`,
      4. The symlink source needs to exist ahead of time.
      66744469
    • F
      Bump up tasklist package to v2.2.0 · e42d95fb
      Fatih Acet 提交于
      v2.1.0 was published wrongly by the package author.
      e42d95fb
    • F
      Use original tasklist package with new version · 1fabeecf
      Fatih Acet 提交于
      1fabeecf
    • F
      Temporarily use tasklist from fatihacet’s fork · 35ada101
      Fatih Acet 提交于
      35ada101
  26. 30 1月, 2019 2 次提交
    • Y
      Fix requiring the rubyzip Gem · ec22c9d2
      Yorick Peterse 提交于
      In commit 6fa5fd85 the `require: false`
      was removed to ensure the Gem was loaded at run time. Unfortunately, the
      `require` necessary for the rubyzip Gem is "zip" and not "rubyzip". As a
      result, Bundler would not require the Gem. This meant that we would
      still run into constant errors when referring to `Zip::File`.
      ec22c9d2
    • S
      Fix uninitialized constant with GitLab Pages deploy · 6fa5fd85
      Stan Hu 提交于
      pages:deploy step was failing with the following error:
      
      ```
      unitialized constant SafeZip::Extract::Zip
      ```
      
      Since license_finder already pulls in rubyzip, we can make it
      a required gem. We also use the scope operator to make the reference to
      Zip::File explicit.
      6fa5fd85
  27. 25 1月, 2019 1 次提交
    • T
      Use http_max_redirects opt to replace monkeypatch · f234aef9
      Thong Kuah 提交于
      http_max_redirects was introduced in 4.2.2, so upgrade kubeclient.
      
      The monkey-patch was global so we will have to check that all instances
      of Kubeclient::Client are handled.
      
      Spec all methods of KubeClient
      
      This should provide better confidence that we are indeed disallowing
      redirection in all cases
      f234aef9
  28. 23 1月, 2019 1 次提交
    • K
      Extract GitLab Pages using RubyZip · 1a8100cf
      Kamil Trzciński 提交于
      RubyZip allows us to perform strong validation of
      expanded paths where we do extract file.
      
      We introduce the following additional checks
      to extract routines:
      
      1. None of path components can be symlinked,
      2. We drop privileges support for directories,
      3. Symlink source needs to point within the target directory,
         like `public/`,
      4. The symlink source needs to exist ahead of time.
      1a8100cf
  29. 18 1月, 2019 1 次提交
  30. 17 1月, 2019 1 次提交
    • A
      Conditionally initialize the global opentracing tracer · 57a8859a
      Andrew Newdigate 提交于
      This change will instantiate an OpenTracing tracer and configure it
      as the global tracer when the GITLAB_TRACING environment variable is
      configured. GITLAB_TRACING takes a "connection string"-like value,
      encapsulating the driver (eg jaeger, etc) and options for the driver.
      
      Since each service, whether it's written in Ruby or Golang, uses the
      same connection-string, it should be very easy to configure all
      services in a cluster, or even a single development machine to be
      setup to use tracing.
      
      Note that this change does not include instrumentation or propagation
      changes as this is a way of breaking a previous larger change into
      components. The instrumentation and propagation changes will follow
      in separate changes.
      57a8859a