Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-25Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-05Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-21Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-10Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-05Merge branch 'remove-unnecessary-freeze-in-lib-gitlab' into 'master'Jan Provaznik
Avoid calling freeze on already frozen strings in lib/gitlab See merge request gitlab-org/gitlab-ce!32637
2019-09-04Backport EE changes for productivity analyticsPavel Shutsin
Improve diff lines count efficiency
2019-09-04Avoid calling freeze on already frozen strings in lib/gitlabdineshpanda
2019-07-24Add Rugged calls to performance barStan Hu
This will help diagnose the source of excessive I/O from Rugged calls. To implement this, we need to obtain the full list of arguments sent to each request method.
2019-07-18Merge branch 'sh-add-rugged-logs' into 'master'Douglas Barbosa Alexandre
Add Rugged calls and duration to API and Rails logs Closes #64676 See merge request gitlab-org/gitlab-ce!30871
2019-07-18Add Rugged calls and duration to API and Rails logsStan Hu
This adds `rugged_duration_ms` and `rugged_calls` fields to `api_json.log` and `production_json.log`. This will make it easier to identify performance issues caused by excessive I/O. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64676
2019-07-18Merge branch 'webide-commit-use-correct-parent' into 'master'Nick Thomas
Use correct parent when committing in WebIDE See merge request gitlab-org/gitlab-ce!29598
2019-07-18Add start_sha to commits APIMarkus Koller
When passing start_branch on committing from the WebIDE, it's possible that the branch has changed since editing started, which results in the change being applied on top of the latest commit in the branch and overwriting the new changes. By passing the start_sha instead we can make sure that the change is applied on top of the commit which the user started editing from.
2019-07-18Merge branch 'jc-wrap-rugged-calls-with-disk-access' into 'master'Stan Hu
Wrap rugged calls with access disk block See merge request gitlab-org/gitlab-ce!30592
2019-07-17Added submodule links to Submodule type in GraphQL APIIgor
This is part of migration of Folder View to Vue
2019-07-16Wrap rugged calls with access disk blockJohn Cai
Whenever we use the rugged implementation, we are going straight to disk so we want to bypass the disk access check.
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-05Use Rugged if we detect storage is NFS and we can access the diskJohn Cai
Add a module we use as a singleton to determine whether or not rails is able to access the disk
2019-07-05Extend MergeToRefService for creating merge ref from the other refShinya Maeda
Currently, MergeToRefService is specifically designed for createing merge commits from source branch and target branch of merge reqeusts. We extend this behavior to source branch and any target ref paths.
2019-06-27Change GetRawChanges RPC to use bytesPaul Okstad
2019-06-25Fix broken worktree testGitalyBot
The setup was wrong, and due to Gitaly being a bit more strict it had to match up. The test is now accurate and passing again.
2019-06-19CE backport for changes in EE MR 14017Luke Duncalfe
This backports to CE changes to allow the EE model DesignManagement::Repository to override the #attributes_at method to provide its own git attributes. The #attributes_at method was freely available, as it's never called by anything in the app. It looks like the code that called it got refactored out of existence in ca66a04f. It was still being called in a spec https://gitlab.com/gitlab-org/gitlab-ce/blob/85b29c1c2fa3b94d7371cf454c485457a0756cb1/spec/services/files/create_service_spec.rb#L40 which I've left because with the change in Lfs::FileTransformer in fact is now again the perfect test! See EE MR https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14017 And these comment threads https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894#note_178002089 https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894#note_178049984
2019-06-05Add client code to call GetObjectDirectorySize RPCPatrick Bajao
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13460
2019-05-30Remove hook directory requirement from ShellZeger-Jan van de Weg
It used to be the case that GitLab created symlinks for each repository to one copy of the Git hooks, so these ran when required. This changed to set the hooks dynamically on Gitaly when invoking Git. The side effect is that we didn't need all these symlinks anymore, which Gitaly doesn't create anymore either. Now that means that the tests in GitLab-Rails should test for it either. Related: https://gitlab.com/gitlab-org/gitaly/issues/1392#note_175619926
2019-05-20API: Fix recursive flag not working with Rugged get_tree_entries flagStan Hu
Attempting to use the API endpoint /projects/:id/repository/tree?recursive=true would only return a subset of the results since the full recursive list wasn't actually being returned. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61979
2019-05-14Omit max-count for diverging_commit_counts behind feature flagJohn Cai
We want to optimize the query for the CountDivergingCommits rpc by removing the --max-count argument now that we have commit graphs enabled for all repositories during housekeeping. However, we want to test this first behind a feature flag.
2019-05-06Merge branch '30093-apply-bfg-object-map-to-database' into 'master'Douwe Maan
Remove cleaned up OIDs from database and cache Closes #30093 See merge request gitlab-org/gitlab-ce!26555
2019-05-06Merge branch 'jc-disconnect-git-alternates-client' into 'master'Stan Hu
Add client methods for DisconnectGitAlternates rpc See merge request gitlab-org/gitlab-ce!27938
2019-05-06Remove cleaned up OIDs from database and cacheNick Thomas
2019-05-05Run rubocop -a on CE filesStan Hu
2019-05-04Add client methods for DisconnectGitAlternates rpcJohn Cai
DisconnectGitAlternates is a Gitaly RPC that will delete a repository's objects/info/alternates file. This commit adds client support for that RPC.
2019-05-02Add support for two-step Gitaly Rebase RPCLuke Duncalfe
The new two-step Gitaly `Rebase` RPC yields the rebase commit SHA to the client before proceeding with the rebase. This avoids an issue where the rebase commit SHA was returned when the RPC had fully completed, and in some cases this would be after the Rails `post_receive` worker services had already run. In these situations, the merge request did not yet have its rebase_commit_sha attribute set introducing the possibility for bugs (such as previous approvals being reset). https://gitlab.com/gitlab-org/gitlab-ee/issues/5966
2019-04-30Add client methods for FetchIntoObjectPool RPCJohn Cai
Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an object pool. If the pool doesn't exist, it will create an empty pool before attempting the fetch. This change adds client code as well as specs to cover this behavior.
2019-04-29Port changes for design management to CEBob Van Landuyt
This ports the changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10462/ to CE
2019-04-25Added list_pages method to avoid loading all wiki pages contentFrancisco Javier López
Inside a wiki, when we show the sidebar or browse to the `pages`, all page contents are retrieved from Gitaly and that is a waste of resources, since no content from that pages are going to be showed. This MR introduces the method `ProjectWiki#list_pages`, which uses new wiki_list_pages RPC call to retrieve pages without content Also in the `WikisController` we're using the method to show pages in the sidebar and also on the `pages` page.
2019-04-19Make use of local ref if it is reachableOswaldo Ferreira
2019-04-19Remove source_branch_name commit checkStan Hu
This should already be done in Gitlab::Git:Compare.
2019-04-19Don't create a temp reference for branch comparisons within projectStan Hu
A temp reference is only needed to fetch a branch from another project, as in the case for forked repositories. For branch comparisons within the same project, we can just use the existing branch names to do the comparison. Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/38689#note_126107862
2019-04-17Merge branch 'sh-backport-list-commits-by-oid-rugged' into 'master'Douwe Maan
Bring back Rugged implementation of ListCommitsByOid See merge request gitlab-org/gitlab-ce!27441
2019-04-17Bring back Rugged implementation of ListCommitsByOidStan Hu
This brings back changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20432. For users using Gitaly on top of NFS, accessing the Git data directly via Rugged may be faster than going through than Gitaly. This merge request introduces the feature flag `rugged_list_commits_by_oid` to activate the Rugged method. For one customer, we saw that ListCommitsByOid was the second highest used endpoint that may be causing increased load.
2019-04-16Revert "Revert "Merge branch '24704-download-repository-path' into 'master'""Nick Thomas
This reverts commit 171818df0a72097aa1a804c8213666b3f66b0966.
2019-04-11Merge branch 'revert-24704-download-repository-path' into 'master'Rémy Coutable
Revert "Merge branch '24704-download-repository-path' into 'master'" See merge request gitlab-org/gitlab-ce!27249
2019-04-11Revert "Merge branch '24704-download-repository-path' into 'master'"Patrick Bajao
This reverts commit 6c75bd015cba181f028bc87c396c3d8e43b5dc3e, reversing changes made to 1be7f5aaa38aba79843eae8835be6c99c025e982.
2019-04-10Guard against nil dereferenced_targetJohn Cai
2019-04-04Allow to sort wiki pages by date and titleIgor
- Add controls for sorting by title and date - Execute Gitaly call which now accepts sorting params for wikis
2019-04-02Download a folder from repositoryPatrick 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.