Lin Jen-Shin
9ae92b8caa
Add cop to make sure we don't use ivar in a module
2017-09-18 21:23:45 +08:00
Jacob Vosmaer
902b5347dc
Prepare Repository#merge for migration to Gitaly
2017-09-15 16:39:20 +02:00
Jacob Vosmaer
9e40baba1e
Rename Gitlab::Git::Committer to User
2017-09-14 17:42:02 +02:00
Kim "BKC" Carlbäcker
25c34608b9
Migrate Git::CommitStats to Gitaly
2017-09-11 21:00:58 +02:00
Alejandro Rodríguez
c2e99b40f7
Implement fix for n+1 issue on `flatten_tree` helper
2017-09-06 17:47:25 -03:00
Robert Speicher
86cbf60cbb
Merge branch 'feature/migrate-branch-operations-to-gitaly' into 'master'
...
Migrate creating/deleting a branch to Gitaly
See merge request !13864
2017-09-06 17:26:05 +00:00
Ahmad Sherif
41ef94e777
Migrate creating/deleting a branch to Gitaly
2017-09-06 17:25:17 +02:00
micael.bergeron
a6af5522d7
renames ambiguous methods and add spec
2017-09-06 09:01:53 -04:00
micael.bergeron
dbaed90c8d
fix refactoring error with Blob.binary?
...
remove some lint
2017-09-06 09:01:53 -04:00
micael.bergeron
c9aa793215
revert to using a simple representation
2017-09-06 09:01:53 -04:00
micael.bergeron
bca72f5906
wip: fake its a binary diff
2017-09-06 09:01:53 -04:00
Ahmad Sherif
e10437de40
Migrate Gitlab::Git::Repository#find_branch to Gitaly
2017-09-05 17:29:45 +00:00
Jacob Vosmaer
9d88ad45d2
Add Gitaly migration points for branch/tag create/delete
2017-09-05 12:00:13 +02:00
Sean McGivern
4efdb451b5
Merge branch 'move-git-operation-service' into 'master'
...
Move GitOperationService to Gitlab::Git
See merge request !13984
2017-09-04 11:06:12 +00:00
Sean McGivern
dabce2c571
Merge branch 'git-operation-service-to-git' into 'master'
...
Prepare GitOperationService for moving to Gitlab::Git
See merge request !13773
2017-09-04 10:56:26 +00:00
Jacob Vosmaer
6cdaa27a53
Move GitOperationService to Gitlab::Git
2017-09-01 14:37:56 +02:00
Jacob Vosmaer (GitLab)
0187018e48
Simplify Git interactions in AfterImportService
2017-09-01 12:01:50 +00:00
Jacob Vosmaer
254f5ab62b
Add Gitlab::Git::Repository#==
2017-09-01 11:40:07 +02:00
Jacob Vosmaer
8ad690b0d4
Prepare GitOperationService for move to Gitlab::Git
2017-08-31 15:35:59 +02:00
Sean McGivern
91a55ed6a1
Merge branch 'gitaly-440-shell-fetch-remote' into 'master'
...
Migrate Repository.FetchRemote to Gitaly
See merge request !13625
2017-08-31 11:08:45 +00:00
Kim "BKC" Carlbäcker
b77176d11a
Migrate Repository.FetchRemote to Gitaly
...
- `Gitlab::Shell.fetch_remote` now takes a `Gitlab::Git::Repository` instead
2017-08-30 20:51:56 +02:00
Lin Jen-Shin
c5553ce772
Use `git update-ref --stdin -z` to delete refs
2017-08-30 22:01:23 +08:00
Lin Jen-Shin
86149a8216
Merge remote-tracking branch 'upstream/master' into 36807-gc-unwanted-refs-after-import
...
* upstream/master: (225 commits)
Add changelog entry
Backports EE 2756 logic to CE.
Make rubocop happy
Make profile settings dropdown consistent
Add filter by my reaction
Update spec initialization with it being a shared component
Update identicon path and selector
Renamed to `identicon` and make shared component
Merge branch 'master-i18n' into 'master'
Fix broken Frontend JS guide
Replace 'project/star.feature' spinach test with an rspec analog
Adds position fixed to right sidebar
Fixes the margin of the top buttons of the pipeline page
Remove commented out code
Better align fallback image emojis
Decrease Metrics/CyclomaticComplexity threshold to 15
Add changelog
Respect the default visibility level when creating a group
Further break with_repo_branch_commit into parts
Make sure inspect doesn't generate crazy string
...
2017-08-30 21:13:19 +08:00
Lin Jen-Shin
9954dafda5
Just use a block
2017-08-29 16:23:12 +08:00
Maxim Rydkin
10ae0d8316
replace `is_ancestor` with `ancestor?`
2017-08-29 11:14:42 +03:00
Maxim Rydkin
87467127b6
replace `is_ancestor?` with `ancestor?`
2017-08-29 11:14:41 +03:00
Lin Jen-Shin
d1054bd3dd
Resolve feedback on the MR:
...
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13766
* Rename AfterImportService
* Use constants
* Move Git operations to Gitlab::Git::Repository
* Use Regexp.union
2017-08-25 22:38:07 +08:00
Sean McGivern
e46a3d2fda
Merge branch 'git-operation-user' into 'master'
...
Move GitHooksService into Gitlab::Git
See merge request !13739
2017-08-24 14:32:17 +00:00
Andrew Newdigate
fb49c94e49
Delegate Repository::branch_exists? and ref_exists? to Gitlab::Git
2017-08-24 09:20:04 +00:00
Douwe Maan
93ad83443a
Merge branch 'sh-fix-branch-count' into 'master'
...
Fix inconsistent number of branches when remote branches are present
Closes #36934
See merge request !13784
2017-08-24 07:42:30 +00:00
Stan Hu
37904108b9
Fix inconsistent number of branches when remote branches are present
...
Users of project mirrors would see that the number of branches did not
match the number in the branch dropdown because remote branches were
counted when Rugged was in use. With Gitaly, only local branches
are counted.
Closes #36934
2017-08-23 22:07:32 -07:00
Sean McGivern
d546f7d36e
Merge branch 'gitaly-commit-patch' into 'master'
...
Incorporate DiffService.CommitPatch Gitaly RPC
Closes gitaly#463
See merge request !13441
2017-08-23 10:39:01 +00:00
Jacob Vosmaer
da769135fe
Rubocop whitespace
2017-08-23 10:45:20 +02:00
Jacob Vosmaer
dc7c6bede2
Move GitHooksService to Gitlab::Git
2017-08-23 10:45:20 +02:00
Jacob Vosmaer
65f83941c3
Make gl_repository a G::G::Repository attribute
2017-08-23 10:45:20 +02:00
Jacob Vosmaer
9b93093292
Decouple GitOperationService from User
2017-08-23 10:45:20 +02:00
Alejandro Rodríguez
258d5a50e6
Incorporate DiffService.CommitPatch Gitaly RPC
2017-08-22 16:31:59 -03:00
Jacob Vosmaer
3049dfaf48
Simplify return values
2017-08-18 16:03:27 +02:00
Jacob Vosmaer
df7f2b135a
Simplify method arguments
2017-08-18 15:59:17 +02:00
Jacob Vosmaer
a902166475
More annotations
2017-08-18 15:55:30 +02:00
Jacob Vosmaer
faaed0aa1f
Delete unused Gitlab::Git methods
2017-08-18 14:12:17 +02:00
Jacob Vosmaer
66afd1ee1c
Add Gitaly annotation
2017-08-18 14:07:51 +02:00
Andrew Newdigate
aaa887feba
Client Implementation: RefService::RefExists
2017-08-18 09:43:58 +01:00
Alejandro Rodríguez
c463a83405
Incorporate RepositoryService.ApplyGitattributes Gitaly RPC
2017-08-17 14:44:30 -03:00
Robert Speicher
ec34b2d051
Merge branch 'dm-gpg-signature-performance' into 'master'
...
Only create commit GPG signature when necessary
See merge request !13561
2017-08-16 18:34:55 +00:00
Douwe Maan
ba7251fefd
Only create commit GPG signature when necessary
2017-08-16 18:57:50 +02:00
Rémy Coutable
fcce6c3168
Merge branch 'rs-more-public-send-whitelists' into 'master'
...
Whitelist or fix additional `Gitlab/PublicSend` cop violations
See merge request !13467
2017-08-16 11:25:26 +00:00
Rémy Coutable
7b68bdce15
Merge branch 'rs-trailingwhitespace-cop' into 'master'
...
Enable Layout/TrailingWhitespace cop and auto-correct offenses
See merge request !13573
2017-08-16 10:27:46 +00:00
Robert Speicher
4edfad9678
Enable Layout/TrailingWhitespace cop and auto-correct offenses
2017-08-15 13:44:37 -04:00
Nick Thomas
5fc871381a
Speed up project creation by inlining repository creation
2017-08-15 18:33:07 +01:00