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
path: root/doc
AgeCommit message (Collapse)Author
2021-08-20Remove streamrpc implementationQuang-Minh Nguyen
Changelog: removed
2021-08-10documentation: Update requirements to run the testsPavlo Strokov
Because Postgres database is required for tests to pass we explicitly says about it in the documentation and provide a simple instruction on how to get one. The change also updates documentation of the glsql package to align it with the new approach. The old info that is not actual anymore is removed.
2021-07-19Merge branch 'qmnguyen0711/add-docs-for-pack-objects' into 'master'James Fargher
Add documentation for pack-object cache See merge request gitlab-org/gitaly!3636
2021-07-14Add documentation for pack-object cacheQuang-Minh Nguyen
Changelog: other
2021-07-12Add StreamRPC library codeJacob Vosmaer
Changelog: other
2021-06-18Remove deprecated env config valuesPavlo Strokov
GITALY_SOCKET_PATH, GITALY_LISTEN_ADDR and GITALY_PROMETHEUS_LISTEN_ADDR were marked as deprecated in eb5b9b3af (Document GITALY_DEBUG, 2017-05-10). It is time to remove them from the code. To exclude situation when some configuration values could be overridden by the env vars by mistake the change removes envconfig.Process call on the gitaly configuration struct.
2021-06-11featureflag: Remove reference transactions feature flagPatrick Steinhardt
Reference transactions have now been baking for several releases and is performing well. With backchannel voting having landed in release 13.12, the last blocker which has kept customers from deploying these has been removed. As a result, we can now finally drop the feature flag altogether and always enable reference transactions. Changelog: changed
2021-05-27Import path re-writerPavlo Strokov
The path re-writer is the go script to re-write imports in the go source code files, proto files and go.mod file. The script accepts path to the project dir where go.mod file locates, current module version and desired module version. Upgrading a module requires re-generating the gRPC stubs from proto file that is why the code of the path re-writer script is imported in a new 'upgrade-module' task which covers that need. Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/3177
2021-05-12document reconciliation fixes in virtual storage documentationSami Hiltunen
This commit adds documentation about the reconciliation jobs the reconciler schedules to fix various inconsistencies that might happen in a virtual storage.
2021-05-12document repository assignmentsSami Hiltunen
This updates the virtual storage documentation to cover repository assignments.
2021-04-30Correct spellingDarwin Sanoy
2021-04-26Add word busyDarwin Sanoy
2021-04-26UpdatesDarwin Sanoy
2021-04-22Apply 3 suggestion(s) to 1 file(s)DarwinJS
2021-04-22updatesDarwin Sanoy
2021-04-22updateDarwin Sanoy
2021-04-22Integrating gitaly history informationDarwin Sanoy
2021-04-20doc: Document process for custom git patchesPatrick Steinhardt
Now that we have a single distribution of git across all of GitLab's official distributions of Gitaly, we are in a nicer position to add custom patches to git. In order to ensure high standards and assert that we won't ever start to diverge from upstream, this commit documents the high bar we want to set ourselves for adding custom patches.
2021-04-01Add pack-objects cache design notesJacob Vosmaer
2021-03-24Clarify "contents" of cache file and how to reset it Katrin Leinweber
2021-02-25Feature flag rollout docs: clarify doc & checklist WRT removal stepsÆvar Arnfjörð Bjarmason
It wasn't clear from the existing checklist item added in 2d9d7f9c9 (Add roll out issue template, 2019-06-11) what the removal steps are, and what "remove feature flag" meant. Split this up into steps where we discuss the removal from the codebase, and what changelog entries we expect there, and then discuss how to remove the feature via chatops.
2021-02-25Feature flag rollout docs: add examples of Go/Ruby code removalÆvar Arnfjörð Bjarmason
2021-02-25Feature flag rollout docs: remove dangerous example of !2994Ævar Arnfjörð Bjarmason
Amend the docs I added in 86c8480e8 (Feature flag rollout doc: expand on post-100% steps, 2021-01-12) to mention the example of 0ff3ee285 (Remove on-by-default go_user_delete_{branch,tag} feature flags, 2021-01-21) instead of fbc9f83ab (Remove Ruby code for 100% on user_delete_{branch,tag} in Go feature, 2021-01-15). As noted in 0ff3ee285 what I did in fbc9f83ab was wrong & dangerous. Let's not recommend it.
2021-02-25Feature flag rollout docs: add reminders to set the feature to 100% && trueÆvar Arnfjörð Bjarmason
I screwed this up in [1] and [2] and as a result the feature didn't get enabled 100% on January 14th like I thought, but on January 27th when the changes [3][4] to remove the feature flag itself went live ([4] being the relevant change). 1. https://gitlab.com/gitlab-org/gitaly/-/issues/3412#note_485304117 2. https://gitlab.com/gitlab-org/gitaly/-/issues/3413#note_485303898 3. https://gitlab.com/gitlab-org/gitaly/-/merge_requests/3035 4. https://gitlab.com/gitlab-org/gitaly/-/merge_requests/3033
2021-02-25Feature flag rollout doc: re-flow paragraph, whitespace-only changeÆvar Arnfjörð Bjarmason
Re-flow a paragraph I added in 40f953069 (Feature flag rollout doc: rewrite & make better use of template, 2020-12-15).
2021-02-23Merge branch 'pks-object-pools-documentation' into 'master'Ævar Arnfjörð Bjarmason
doc: Add documentation on object pools See merge request gitlab-org/gitaly!3060
2021-02-16Removal of git.NewCommandPavlo Strokov
After long rounds of refactoring we finally can remove git.NewCommand function. The change also includes removal of the TODO left because of the NewCommand usage with the global config.Config variable. And as a final step the doc is updated and now mentions usage of the git.CommandFactory interface instead of git.NewCommand(). Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2699
2021-02-06fix typo: spell correction for observability markdown documentunknown
2021-02-03doc: Add documentation on object poolsPatrick Steinhardt
We do not have any documentation of our object pools. This commit adds an initial document which details some aspects of how they work and what problem they aim to solve.
2021-01-18Fixing Michael's bug.Ævar Arnfjörð Bjarmason
2021-01-18Feature flag rollout doc: elaborate on the PITA staging sign-in processÆvar Arnfjörð Bjarmason
You land on a 404 once you sign in, this is confusing, document it a bit.
2021-01-18Feature flag rollout doc: clarify the "Feature flag labels" itemÆvar Arnfjörð Bjarmason
I added this because of a question @pks-t had in https://gitlab.com/gitlab-org/gitaly/-/merge_requests/2995#note_484390302 It's easy to miss that we auto-add the featureflag::disabled flag initially, let's cover that and provide handy links to the tracker to see the status of each label.
2021-01-18Feature flag rollout doc: expand on post-100% stepsÆvar Arnfjörð Bjarmason
Add more steps reflecting what we need to do after we have the feature at 100%. Includes a paraphrased version of what I noted in my a96949aef (Enable feature flag go_user_delete_{branch,tag} by default, 2021-01-12) as part of https://gitlab.com/gitlab-org/gitaly/-/merge_requests/2994
2021-01-18Feature flag rollout doc: add advice about the workflow::* labelÆvar Arnfjörð Bjarmason
I only found out about this today, or I would have added it in my 40f953069 (Feature flag rollout doc: rewrite & make better use of template, 2020-12-15).
2021-01-14Merge branch 'avar/its-over-three-thousand' into 'master'Toon Claes
Beginners guide doc: markdown quote localhost:3000 See merge request gitlab-org/gitaly!3001
2021-01-14git: Rename SafeCmd() to NewCommand()Patrick Steinhardt
Back when we introduced the Git DSL, we still had conflicting sets of safe and unsafe functions. Because of this legacy, our safe set of functions is still has the "Safe" prefix. This commit now ends that chapter and renames `SafeCmd()`. In alginment with the preceding renames, this is being renamed to `NewCommand()`.
2021-01-13Beginners guide doc: markdown quote localhost:3000Ævar Arnfjörð Bjarmason
The rest of the "localhost:3000" occurrences are quoted, let's quote this one too.
2020-12-17Feature flag rollout doc: rewrite & make better use of templateÆvar Arnfjörð Bjarmason
Rather than duplicating things between the issue template and process doc, let's cross link the two. Also elaborate on a lot of things I encountered when enabling my first features. This is the result of feedback on the initial version of this [1] and a video chat with @zj-gitlab this morning. 1. https://gitlab.com/gitlab-org/gitaly/-/merge_requests/2910
2020-12-17PROCESS doc: trivial typo fixÆvar Arnfjörð Bjarmason
2020-12-16Document Praefect replication of forksPaul Okstad
2020-12-09docs: clarify "plumbing" v.s. "porcelain" in git(1) usageÆvar Arnfjörð Bjarmason
Clarify the recently added documentation in 2cbfe50d7 (docs: Explain how to interact with Git in Gitaly, 2020-09-23) to not draw a hard line on using non-plumbing. As the change being made here argues this doesn't reflect reality on the ground. As a practical matter we make plenty of use of non-plumbing, e.g. "gc", "bundle", "log", "remote", "config", "worktree" etc. What we actually care about is the sort of command use I altered in 61b9b30a5 (git.Remote: use "git remote" exit code instead of parsing stderr, 2020-11-10). Let's try to make the docs reflect that. I also sent a note to the git ML about the general issue: https://public-inbox.org/git/878sa7xujm.fsf@evledraar.gmail.com/T/
2020-12-09doc: re-flow server-side git usage paragraph & add sectionsÆvar Arnfjörð Bjarmason
This is mainly done in preparation for a follow-up change, to make the diff easier to read.
2020-12-07Revert "featureflag: Remove reference transaction feature flag"Patrick Steinhardt
This reverts commit ca8e2de58193775a62599b3a4de682c511046033 and restores the feature flag for enabling/disabling reference transactions. The main reason to revert the change is that there are currently still some problems with TLS setups and injected Praefect server information, where Gitaly may not be able to verify authenticity of Praefect servers and thus fail to establish a connection. This also removes the environment variable to disable transactions, which was only added as a short-term fix to make GitLab setups work in such environments again.
2020-12-04hooks: Remove the Ruby reference-transaction hook feature flagPatrick Steinhardt
While use of the Git reference-transaction hook and thus for use of transactions is universally enabled nowadays for our Go code, Ruby still only conditionally uses the reference-transaction hook. Given that this feature flag had been default-enabled for some time now, let's remove it altogether.
2020-11-23docs: Remove text that Gitaly doesn't use Git2GoZeger-Jan van de Weg
2020-11-20Document the ASDF_DATA_DIR workaroundRobert Speicher
2020-11-09update read-only mode documentationSami Hiltunen
Read-only mode documentation is outdated and refers to virtual storage wide read-only mode from the first iteration. This commit updates the documentation to describe the current situation.
2020-11-02Merge branch 'pks-remove-reftx-ff' into 'master'Toon Claes
featureflag: Remove reference transaction feature flag See merge request gitlab-org/gitaly!2725
2020-10-30doc: Document that Ruby reference transaction hook is enabled by defaultPatrick Steinhardt
The Ruby reference transaction hook has been enabled by default in 303f10ed (featureflag: Enable Ruby reference transaction hooks by default, 2020-10-29), but documentation wasn't adjusted accordingly. Let's do so.
2020-10-30featureflag: Remove reference transaction feature flagPatrick Steinhardt
The reference transaction feature flag has been enabled by default since commit a1102605 (featureflags: Default-enable primary-wins reference transactions, 2020-08-11). This commit now removes it altogether.