Skip to content
Snippets Groups Projects
  1. Mar 27, 2018
  2. Mar 14, 2018
    • Zeger-Jan van de Weg's avatar
      Change Gitlab::Shell#add_namespace to #create_namespace · 77f0906e
      Zeger-Jan van de Weg authored
      Prior to this change, this method was called add_namespace, which broke
      the CRUD convention and made it harder to grep for what I was looking
      for. Given the change was a find and replace kind of fix, this was
      changed without opening an issue and on another feature branch.
      
      If more dynamic calls are made to add_namespace, these could've been
      missed which might lead to incorrect bahaviour. However, going through
      the commit log it seems thats not the case.
      Unverified
      77f0906e
  3. Mar 02, 2018
  4. Mar 01, 2018
  5. Feb 26, 2018
  6. Feb 21, 2018
    • Zeger-Jan van de Weg's avatar
      Handle branch and tag names which are commit ids · e70fe782
      Zeger-Jan van de Weg authored
      Adds a test where a branch name is also a valid commit id. Git, the
      binary should create an error message which is difficult to parse and
      leading to errors later, as seen in: gitlab-org/gitlab-ce#43222
      
      To catch these cases in the future,
      gitlab-test@1942eed5cc108b19c7405106e81fa96125d0be22 was created. Which
      a branch name matching the commit
      Unverified
      e70fe782
  7. Feb 20, 2018
  8. Feb 19, 2018
    • Sean McGivern's avatar
      Fix squash with renamed files · 01f5035b
      Sean McGivern authored
      We need to ignore the names for renamed files when configuring with sparse
      checkout.
      01f5035b
    • Stan Hu's avatar
      Fix squash rebase not working when diff contained encoded data · 8d32dfef
      Stan Hu authored
      When the applied diff contains UTF-8 or some other encoded data, the diff
      returned back from the git process may be in ASCII-8BIT format. Writing this
      data to stdin may fail if the data because stdin expects this data to be in
      UTF-8. By switching the output to binmode, we ensure that the diff will
      always be written as-is.
      
      Closes gitlab-org/gitlab-ee#4960
      8d32dfef
  9. Feb 07, 2018
    • Zeger-Jan van de Weg's avatar
      Don't use rugged in Repository#refs_hash · 73e78c4e
      Zeger-Jan van de Weg authored
      The refs hash is used to determine what branches and tags have a commit
      as head in the network graph. The previous implementation depended on
      Rugged#references. The problem with this implementation was that it
      depended on rugged, but also that it iterated over all references and
      thus loading more data than needed if for example the project uses CI/CD
      environments, Pipelines, or Merge Requests.
      
      Given only refs are checked the network cares about the GraphHelper#refs
      method has no need to reject those, simplifying the method.
      
      Closes gitlab-org/gitaly#880
      Unverified
      73e78c4e
  10. Feb 02, 2018
  11. Feb 01, 2018
  12. Jan 31, 2018
  13. Jan 30, 2018
  14. Jan 29, 2018
  15. Jan 25, 2018
  16. Jan 24, 2018
  17. Jan 18, 2018
  18. Jan 17, 2018
  19. Jan 11, 2018
  20. Jan 05, 2018
  21. Jan 04, 2018
  22. Jan 03, 2018
  23. Dec 27, 2017
  24. Dec 22, 2017
  25. Dec 14, 2017
    • Nick Thomas's avatar
      Import gitlab_projects.rb from gitlab-shell · 4b785df2
      Nick Thomas authored
      By importing this Ruby code into gitlab-rails (and gitaly-ruby), we avoid
      200ms of startup time for each gitlab_projects subprocess we are eliminating.
      
      By not having a gitlab_projects subprocess between gitlab-rails / sidekiq and
      any git subprocesses (e.g. for fork_project, fetch_remote, etc, calls), we can
      also manage these git processes more cleanly, and avoid sending SIGKILL to them
      Verified
      4b785df2
  26. Dec 07, 2017
Loading