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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-24Rename BUILD_DIR to TARGET_DIRmakefile-build-dir-configurableJacob Vosmaer
2018-10-23Make BUILD_DIR configurableJacob Vosmaer
2018-10-23Version 0.126.0v0.126.0Zeger-Jan van de Weg
2018-10-23Merge branch 'rubocop-exclude' into 'master'Zeger-Jan van de Weg
Ignore ruby vendored or temp files in rubocop See merge request gitlab-org/gitaly!937
2018-10-22Ignore ruby vendored or temp files in rubocopAlejandro Rodríguez
2018-10-22Merge branch 'fix-govendor-license' into 'master'Zeger-Jan van de Weg
Don't confuse govendor license with ruby gem .go files See merge request gitlab-org/gitaly!935
2018-10-22Don't confuse govendor license with ruby gem .go filesJacob Vosmaer
2018-10-22Merge branch 'zj-prepare-tests' into 'master'Zeger-Jan van de Weg
Expose prepare-tests from top-level Makefile See merge request gitlab-org/gitaly!934
2018-10-22Readd prepare-tests to the MakefileZeger-Jan van de Weg
Preparing the test environment would've stayed coupled to make test, but that is too slow when just testing one package. This would allow users that know this task exists just run `make prepare-tests`.
2018-10-19Merge branch 'zj-gitaly-dont-start-no-storage' into 'master'Jacob Vosmaer
Require storage directories to exist at startup Closes #1341 See merge request gitlab-org/gitaly!675
2018-10-19Merge branch 'zj-update-remote-test' into 'master'Jacob Vosmaer
Explicitly set user email before tagging in a test See merge request gitlab-org/gitaly!930
2018-10-19Explicitly set user email before tagging in a testZeger-Jan van de Weg
Before this commit, I got a local failure: ``` --- FAIL: TestSuccessfulUpdateRemoteMirrorRequest (0.17s) testhelper.go:158: git [-C /home/zegerjan/src/gitlab.com/gitlab-org/gitaly/internal/testhelper/testdata/data/TestSuccessfulUpdateRemoteMirrorRequest312234598 tag -fam Overriding tag v1.0.0 0b4bc9a49b562e85de7cc9e834518ea6828729b9] testhelper.go:159: *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'zegerjan@zegerjan-XPS-15-9570.(none)') testhelper.go:160: exit status 128 ``` The problem my system has, is the fact that the email adress can't be auto detected. This could be fixed on my system, but that might keep the problem for other developers. What I don't understand right now, is that I did set the `user.email` on my local machine. So my first thought is that my user config, located in $HOME is not respected during tests. Probably because $HOME is not the same as for my local user.
2018-10-19Require storage directories to exist at startupZeger-Jan van de Weg
Right now GitLab tries to check if the disks are reachable, but this is not it's responsibility. This gave a couple of options to how Gitaly would do this, and I've opted to detect at boot if the storage is reachable. A forgotten mount will be clear this way, and logged without being hidden between lots of other messages.
2018-10-18Merge branch 'makefile-bootstrap' into 'master'Zeger-Jan van de Weg
Make Makefile more predictable by bootstrapping See merge request gitlab-org/gitaly!913
2018-10-17Merge branch 'bjk/prom_v0.9' into 'master'Zeger-Jan van de Weg
Update Prometheus vendoring See merge request gitlab-org/gitaly!922
2018-10-17Merge branch 'sh-add-nfs-workaround' into 'master'Jacob Vosmaer
Prevent stale packed-refs file when Gitaly is running on top of NFS Closes #1339 See merge request gitlab-org/gitaly!924
2018-10-17Prevent stale packed-refs file when Gitaly is running on top of NFSStan Hu
Users of the Linux NFS client v4.0 (and even v4.1) may encounter stale file handles or stale data if git gc is running for a long time. A patch for this kernel bug is here: https://marc.info/?l=linux-nfs&m=153816500525563&w=2 This workaround calls stat() on the packed-refs file to force the kernel to do a directory entry validation on the inode. Closes https://gitlab.com/gitlab-org/gitaly/issues/1339
2018-10-16Merge branch 'git-commands' into 'master'Alejandro Rodríguez
Standardize git command invocation See merge request gitlab-org/gitaly!915
2018-10-16Standardize git command invocationAlejandro Rodríguez
This propagates our git.GitEnv variables properly, plus DRYes the code
2018-10-16Merge branch 'grpc-update-1-15' into 'master'Alejandro Rodríguez
Update grpc to v1.15.x in gitaly-ruby See merge request gitlab-org/gitaly!918
2018-10-16Update grpc to v1.15.x in gitaly-rubyAlejandro Rodríguez
2018-10-16Merge branch '1368-config-toml-order' into 'master'Alejandro Rodríguez
Fix order in config.toml.example Closes #1368 See merge request gitlab-org/gitaly!923
2018-10-16Fix order in config.toml.exampleJacob Vosmaer
2018-10-16Add changelog entry.Ben Kochie
2018-10-16Use correct Prometheus histogram type.Ben Kochie
2018-10-16Un-alias Prometheus client_golang.Ben Kochie
2018-10-16Delete test repos during 'make clean'Jacob Vosmaer
2018-10-16speed up 'make rspec'Jacob Vosmaer
2018-10-16Add gitlab-git-test.git to makegen.goJacob Vosmaer
2018-10-16Make Makefile more predictable by bootstrappingJacob Vosmaer
2018-10-16Merge branch 'zj-bump-code-quality' into 'master'Jacob Vosmaer
Bump Code Quality CI/CD Job See merge request gitlab-org/gitaly!921
2018-10-16Update Prometheus vendoringBen Kochie
Update client_golang and common vendoring to latest release * Improves text rendering performance. * Pin to v0.9.x release.
2018-10-16Merge branch 'test-fixes' into 'master'Jacob Vosmaer
Skip lfs smudge for alternate object directoy tests Closes #1360 See merge request gitlab-org/gitaly!916
2018-10-16Bump Code Quality CI/CD JobZeger-Jan van de Weg
Since Rubocop was introduced pipelines succeeded with warnings, as Rubocop was newer than the quality checks that ran. This commit replaces the sample with the one listed in the docs: https://docs.gitlab.com/ee/ci/examples/code_quality.html The biggest change is the fact that this does now run a version of these checks based on CI_SERVER_VERSION. This might break our pipeline, or create new offences at a moments notice. Given `allow_failure` is still set to true, this could be alright and saves maintainence time.
2018-10-16Merge branch 'blob-tests' into 'master'Zeger-Jan van de Weg
Add unit tests for Blob from gitlab-ce + setup code See merge request gitlab-org/gitaly!920
2018-10-16Add unit tests for Blob from gitlab-ce + setup codeAlejandro Rodríguez
2018-10-16Merge branch 'zj-rubocop-ci' into 'master'Zeger-Jan van de Weg
Enable Rubocop on CI See merge request gitlab-org/gitaly!919
2018-10-16Enable some copsZeger-Jan van de Weg
To make Rubocop on CI somewhat useful, it has been enabled with some cops, using the `--auto-correct` flag.
2018-10-15Skip lfs smudge for alternate object directoy testsAlejandro Rodríguez
2018-10-15Regenerate rubocop configurationZeger-Jan van de Weg
Given Rubocop wasn't enfored for a while, this change makes sure there are no failures. Eventhough this is limited in its usefulness, it allows for a commit that hopefully passed CI on this branch. Hooks into `make verify`, ensuring it runs.
2018-10-15Swap out gitlab-styles for RubocopZeger-Jan van de Weg
gitlab-styles works on the assumption that ActiveSupport is loaded, and other Rails stuff is present. Leading to bugs in the rewrite rules. Defaulting to Rubocop seemed better, and faster for now.
2018-10-15Merge branch 'fix-verify' into 'master'Zeger-Jan van de Weg
Fix formatting See merge request gitlab-org/gitaly!917
2018-10-15Fix formattingAlejandro Rodríguez
2018-10-11Merge branch 'loc-fixes' into 'master'Alejandro Rodríguez
Force english output on git commands See merge request gitlab-org/gitaly!898
2018-10-11Force english output on git commandsAlejandro Rodríguez
For some reason my git got localized in spanish, and we had some tests failing because they relied on error messages being on english, as well as some code failing if the text wasn't ASCII-8BIT compatible. These changes fix those issues.
2018-10-11Merge branch 'sh-rugged-cleanup-gprc-middleware' into 'master'Alejandro Rodríguez
Free Rugged open file descriptors in gRPC middleware Closes #1359 See merge request gitlab-org/gitaly!911
2018-10-10Merge branch 'fix-git-protocol-prometheus-metrics' into 'master'Alejandro Rodríguez
Fix git protocol prometheus metrics Closes #1362 See merge request gitlab-org/gitaly!908
2018-10-10Fix git protocol prometheus metricsJacob Vosmaer
2018-10-10Only define RUGGED_KEY in one placeStan Hu
2018-10-10Merge branch 'deprecation-2' into 'master'Jacob Vosmaer
Remove deprecated methods See merge request gitlab-org/gitaly!910