summaryrefslogtreecommitdiff
path: root/lib/gitlab/workhorse.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use persistent Redis cluster for Workhorse pub/sub notificationssh-use-shared-state-cluster-pubsubStan Hu2019-07-221-1/+1
| | | | | | | | | Previously, in Omnibus, Workhorse expected to listen via the Redis shared state cluster for the `workhorse:notifications` publish/subscribe channel, but the Rails code was using the Sidekiq queue cluster for this. To fix this inconsistency, we make the Rails code use the persistent cluster, since we don't want Workhorse to be looking at anything Sidekiq-related.
* Add a feature flag for subdirectory archivesNick Thomas2019-04-161-15/+35
|
* JSON-encoded binary fields should use Base64::encode64Nick Thomas2019-04-161-1/+6
| | | | | | | It is not interoperable to use Base64::urlsafe_encode64 for fields in JSON that contain binary (as opposed to UTF8-safe) data. For instance, the Golang JSON decoder (which is what gitlab-workhorse uses) insists upon the standard base64 encoding.
* Revert "Revert "Merge branch '24704-download-repository-path' into 'master'""Nick Thomas2019-04-161-4/+34
| | | | This reverts commit 171818df0a72097aa1a804c8213666b3f66b0966.
* Revert "Merge branch '24704-download-repository-path' into 'master'"revert-24704-download-repository-pathPatrick Bajao2019-04-111-34/+4
| | | | | This reverts commit 6c75bd015cba181f028bc87c396c3d8e43b5dc3e, reversing changes made to 1be7f5aaa38aba79843eae8835be6c99c025e982.
* Renamed terminal_specification to channel_specificationFrancisco Javier López2019-04-041-7/+7
| | | | | | We're moving from using terminology related to terminals when we refer to Websockets connections in Workhorse. It's more appropiate a concept like channel.
* Download a folder from repositoryPatrick Bajao2019-04-021-4/+34
| | | | | | | | 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.
* Allow multiple repositories per projectBob Van Landuyt2019-03-261-2/+2
| | | | | | | | This changes the repository type from a binary `wiki?` to a type. So we can have more than 2 repository types. Now everywhere we called `.wiki?` and expected a boolean, we check that type.
* Update GitLab Workhorse to v8.0.0Nick Thomas2018-12-111-1/+0
|
* Add feature flag for workhorse content type calculationFrancisco Javier López2018-12-061-0/+1
|
* Enable frozen string for lib/gitlab/*.rbgfyoung2018-10-221-1/+3
|
* Add receive_max_input_size setting to Application settingsRubén Dávila2018-09-071-1/+10
| | | | | If user has configure the setting then it will be passed to gitlab-shell and gitlab-workhorse
* Remove last flags from Blob and WorkhorseJacob Vosmaer2018-07-111-18/+6
|
* Make blob and other RPC's mandatoryJacob Vosmaer (GitLab)2018-07-091-15/+8
|
* Make all Gitaly diff flags mandatoryJacob Vosmaer2018-07-061-10/+6
|
* Move git archives downloading to GitalyZeger-Jan van de Weg2018-05-171-6/+1
|
* Add an API endpoint to download git repository snapshotsNick Thomas2018-04-191-0/+14
|
* Merge branch 'jramsay-38830-tarball' into 'master'Douwe Maan2018-04-061-2/+2
|\ | | | | | | | | | | | | Add alternative archive route Closes #38830 See merge request gitlab-org/gitlab-ce!17225
| * Add new repository archive routeJames Ramsay2018-04-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add `<project>/-/archive/<ref>/<filename>.<format>` route using the `-` separator to prevent namespace collisions. If the filename is `<project>-<ref>` or the ref is a sha, the sha will be omitted, otherwise the default filename will be used. - deprecate previous archive route `repository/<ref>/archive`
| * Add option to suppress archive commit shaJames Ramsay2018-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add append_sha option (defaults true) to provide a method for toggling this feature. Support added to GitLab Workhorse by gitlab-org/gitlab-workhorse!232
* | Add `direct_upload` setting for artifactsdirect-upload-of-artifactsKamil Trzciński2018-04-051-4/+0
|/
* Gitlab-workhorse still needs RepoPath on Git HTTPJacob Vosmaer (GitLab)2018-03-291-10/+9
|
* Make all workhorse gitaly calls opt-out, take 2Jacob Vosmaer2018-03-281-4/+4
|
* Revert "Merge branch 'workhorse-gitaly-mandatory' into 'master'"Sean McGivern2018-03-281-4/+4
| | | This reverts merge request !18002
* Remove some easy cases of 'path_to_repo' useJacob Vosmaer (GitLab)2018-03-281-2/+0
|
* Merge branch 'ac/lfs-direct-upload-ee-to-ce' into 'master'Kamil Trzciński2018-03-281-8/+0
|\ | | | | | | | | | | | | LFS direct upload port to CE Closes #44548 See merge request gitlab-org/gitlab-ce!17752
| * Port LFS direct_upload from EEac/lfs-direct-upload-ee-to-ceAlessio Caiazza2018-03-271-8/+0
| |
* | Make all workhorse gitaly calls opt-outJacob Vosmaer (GitLab)2018-03-271-4/+4
|/
* naming thingsKim "BKC" Carlbäcker2018-03-071-2/+2
|
* Make git push mandatoryKim "BKC" Carlbäcker2018-03-061-18/+4
|
* Upgrade GitLab Workhorse to v3.6.0Kamil Trzciński2018-02-061-0/+12
|
* port of 594e6a0a625^..f74c90f68c6Micaël Bergeron2018-02-011-3/+6
|
* Default to Gitaly for 'git push' HTTP/SSH, and make Gitaly mandatory for SSH ↵Jacob Vosmaer (GitLab)2018-01-221-1/+4
| | | | pull
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Add option to disable git archive caching in workhorseoption-disable-archive-cacheJacob Vosmaer2018-01-091-0/+7
|
* Remove Ci::Build#artifacts_file?Zeger-Jan van de Weg2017-12-031-1/+1
|
* Rename artifacts_* to legacy_artifacts_*Kamil Trzcinski2017-12-031-1/+1
|
* Adds Rubocop rule for line break after guard clauseJacopo2017-11-161-0/+1
| | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
* Support show-all-refs for git over HTTPNick Thomas2017-10-301-2/+3
|
* Migrate Workhorse Send{Diff,Patch} to Gitalyfeature/migrate-workhorse-send-git-diff-patch-to-gitalyAhmad Sherif2017-10-091-10/+36
|
* Send extra Gitaly params for `send_git_archive` if neededAlejandro Rodríguez2017-10-021-0/+7
|
* add username to authorized result, so that gitlab-shell can pass it to hooksDavid Turner2017-09-291-1/+1
|
* Backport the EE signature of Gitlab::Workhorse#send_artifacts_entryrc/backport-workhorse-send_artifacts_entry-signature-from-eeRémy Coutable2017-09-081-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Make it explicit that workhorse needs artifact pathGrzegorz Bizon2017-09-051-2/+2
|
* Make Gitaly PostUploadPack mandatoryJacob Vosmaer (GitLab)2017-09-011-4/+1
|
* Remove deprecated field from workhorse API responsesworkhorse-deprecate-gitaly-addressJacob Vosmaer2017-08-151-1/+0
|
* Enable gitaly_post_upload_pack by defaultJacob Vosmaer2017-07-251-1/+4
|
* Use a unique feature name for Workhorse send blob migrationfix/use-another-gitaly-feature-name-for-workhorse-send-blobAhmad Sherif2017-07-241-1/+1
|
* Merge branch 'migrate-workhorse-send-blob-to-gitaly' into 'master'Robert Speicher2017-07-121-4/+22
|\ | | | | | | | | | | | | Migrate Workhorse SendBlob to Gitaly Closes gitaly#356 See merge request !12313
| * Migrate Workhorse SendBlob to GitalyAhmad Sherif2017-07-111-4/+22
| |