Age | Commit message (Collapse) | Author |
|
|
|
Restore Object Pools when restoring an object pool
Closes gitaly#1355
See merge request gitlab-org/gitlab-ce!23682
|
|
Pool repositories are persisted in the database, and when the DB is
restored, the data need to be restored on disk. This is done by
resetting the state machine and rescheduling the object pool creation.
This is not an exact replica of the state like at the time of the
creation of the backup. However, the data is consistent again.
Dumping isn't required as internally GitLab uses git bundles which
bundle all refs and include all objects in the bundle that they require,
reduplicating as more repositories get backed up. This does require more
data to be stored.
Fixes https://gitlab.com/gitlab-org/gitaly/issues/1355
|
|
Nurtch link
See merge request gitlab-org/gitlab-ce!23668
|
|
|
|
|
|
|
|
Resolve various database deprecation warnings
See merge request gitlab-org/gitlab-ce!23772
|
|
|
|
|
|
Extending from ActiveRecord::Migration is deprecated, but was still used
in a bunch of places.
|
|
Ref
https://docs.gitlab.com/ee/development/documentation/styleguide.html#lin
ks
|
|
|
|
Update automatic merging documentation
See merge request gitlab-org/gitlab-ce!23689
|
|
Docs: Add spaces before code snippets in vuex.md
See merge request gitlab-org/gitlab-ce!23737
|
|
Documentation: Content corrections for reCAPTCHA docs
See merge request gitlab-org/gitlab-ce!23667
|
|
add information about how merge requests related to forks are processed
See merge request gitlab-org/gitlab-ce!23764
|
|
Add docs to help choose the best GitLab installation method
Closes #54308
See merge request gitlab-org/gitlab-ce!23254
|
|
Add hyperlinks to ci yaml documentation
See merge request gitlab-org/gitlab-ce!23674
|
|
Update README.md
See merge request gitlab-org/gitlab-ce!23672
|
|
Remove incorrect example Rack Attack configuration
Closes #54983
See merge request gitlab-org/gitlab-ce!23742
|
|
the added note describes code from https://gitlab.com/gitlab-org/gitlab-ee/blob/master/lib/gitlab/import_export/merge_request_parser.rb#L15
|
|
|
|
|
|
|
|
|
|
Add note about allow_failure default value for manual jobs
See merge request gitlab-org/gitlab-ce!23685
|
|
Added docs for similar issues
Closes #55194
See merge request gitlab-org/gitlab-ce!23403
|
|
|
|
|
|
Add documentation note about not nesting storage paths
See merge request gitlab-org/gitlab-ce!23722
|
|
Add missing links to resources
See merge request gitlab-org/gitlab-ce!23605
|
|
|
|
We're moving from merging + reverting to only merging with the `ours`
strategy, removing the need for merge requests or reverting conflicts.
For more details, refer to Merge Train merge request
https://gitlab.com/gitlab-org/merge-train/merge_requests/6.
|
|
|
|
|
|
'54626-able-to-download-a-single-archive-file-with-api-by-ref-name' into 'master'
Add endpoint to download single artifact by ref
Closes #54626
See merge request gitlab-org/gitlab-ce!23538
|
|
|
|
|
|
|
|
* Specified that reCAPTCHA v2 keys must be used
* Updated the URL for application settings
* Some small rewording
|
|
|
|
Resolve "Hide variables in UI by default"
Closes #20422
See merge request gitlab-org/gitlab-ce!23518
|
|
Ability to override Issuer Email for Cert Manager
See merge request gitlab-org/gitlab-ce!23503
|
|
|
|
20422-hide-ui-variables-by-default
|
|
When a project is forked, the new repository used to be a deep copy of everything
stored on disk by leveraging `git clone`. This works well, and makes isolation
between repository easy. However, the clone is at the start 100% the same as the
origin repository. And in the case of the objects in the object directory, this
is almost always going to be a lot of duplication.
Object Pools are a way to create a third repository that essentially only exists
for its 'objects' subdirectory. This third repository's object directory will be
set as alternate location for objects. This means that in the case an object is
missing in the local repository, git will look in another location. This other
location is the object pool repository.
When Git performs garbage collection, it's smart enough to check the
alternate location. When objects are duplicated, it will allow git to
throw one copy away. This copy is on the local repository, where to pool
remains as is.
These pools have an origin location, which for now will always be a
repository that itself is not a fork. When the root of a fork network is
forked by a user, the fork still clones the full repository. Async, the
pool repository will be created.
Either one of these processes can be done earlier than the other. To
handle this race condition, the Join ObjectPool operation is
idempotent. Given its idempotent, we can schedule it twice, with the
same effect.
To accommodate the holding of state two migrations have been added.
1. Added a state column to the pool_repositories column. This column is
managed by the state machine, allowing for hooks on transitions.
2. pool_repositories now has a source_project_id. This column in
convenient to have for multiple reasons: it has a unique index allowing
the database to handle race conditions when creating a new record. Also,
it's nice to know who the host is. As that's a short link to the fork
networks root.
Object pools are only available for public project, which use hashed
storage and when forking from the root of the fork network. (That is,
the project being forked from itself isn't a fork)
In this commit message I use both ObjectPool and Pool repositories,
which are alike, but different from each other. ObjectPool refers to
whatever is on the disk stored and managed by Gitaly. PoolRepository is
the record in the database.
|
|
|
|
Add a new endpoint
`projects/:id/jobs/artifacts/:ref_name/raw/*artifact_path?job=name`
which is the close the web URL for consistency sake. This endpoint can
be used to download a single file from artifacts for the specified ref
and job.
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54626
|
|
Documentation for "`only/except: merge-requests` for merge request pipelines"
Closes #54511 and #15310
See merge request gitlab-org/gitlab-ce!23397
|