forked from documentdb/documentdb
-
Notifications
You must be signed in to change notification settings - Fork 6
Track changes from upstream #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
AlekSi
wants to merge
114
commits into
main
Choose a base branch
from
ferretdb
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
d6794c9
Update CODEOWNERS (#4)
AlekSi fc8f917
Add versioning tool (#3)
chilagrow 8a85bdd
Add basic repository and Mergify configuration (#6)
AlekSi dfb4bdb
Build `.deb` packages on CI (#2)
chilagrow 3cfbfa1
Set better artifact name (#7)
AlekSi 04821c5
Install python3 for test installation image (#8)
AlekSi 299aa44
Add release checklist (#9)
chilagrow aa9b69f
Merge branch 'main' into ferretdb
AlekSi 9e6fe15
Update release checklist (#10)
AlekSi 39ec23d
Update CHANGELOG.md
AlekSi ee54dd9
Update CHANGELOG (#14)
AlekSi 64e4625
Merge branch 'main' into merge-upstream
AlekSi d468b9b
Merge pull request #15 from FerretDB/merge-upstream
AlekSi f7539ee
Merge branch 'main' into ferretdb
AlekSi 9bca0e3
Make `.deb` package names unique (#12)
chilagrow 8fe5219
Small tweaks (#17)
AlekSi d682564
Merge pull request #19 from FerretDB/main
AlekSi 4063590
Build packages for PostgreSQL 17 (#11)
AlekSi c9c13d6
Define Docker build tags (#16)
chilagrow 46b3f5a
Add and use `trust` label (#22)
AlekSi 99efe6b
Update `defineversion` logic (#23)
AlekSi 8d0e808
Update workflow (#24)
AlekSi 92eb372
Prepare Docker images builds (#25)
AlekSi 9e96940
Minor tweaks (#26)
AlekSi 6b1b7c3
Fix Docker images building (#27)
AlekSi e19f7d7
Fix quay.io login
AlekSi bf0ebfa
Enable other registries (#28)
AlekSi aa5e310
Add more Docker tags (#30)
AlekSi a69b743
Merge pull request #31 from microsoft/main
AlekSi 6092471
Remove `branch` from Debian package versions (#32)
AlekSi 696c433
Prepare release (#33)
AlekSi f7c318c
Prepare v0.102.0-ferretdb-2.0.0 (GA) release (#37)
AlekSi 8366073
Merge debian and docker version code (#35)
chilagrow b5ed892
Check control file default version (#36)
chilagrow 4aa45ff
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi b8cd669
Merge pull request #40 from FerretDB/merge-into-ferretdb
AlekSi 9129ad5
Fix handling of explicit `maxTimeMS` zero values (#41)
AlekSi 34064ee
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 2cd740b
Merge upstream (#42)
AlekSi 9c521eb
Fix `listDatabases` and related commands
AlekSi 80462f5
Prepare v0.102.0-ferretdb-2.1.0 release (#44)
AlekSi 48cf934
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 6106bc9
Install `sudo`
AlekSi 0122a0a
Merge upstream (#45)
AlekSi ce33455
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi e4c2258
Merge upstream (#48)
AlekSi 5ce0666
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi da61790
Merge upstream (#49)
AlekSi c1a5115
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi c501656
Merge upstream (#50)
AlekSi ac578a4
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 445037d
Merge upstream (#54)
AlekSi 7486bb9
Enable more feature toggles (#51)
AlekSi 73c2395
Remove label that does nothing
AlekSi d89f70b
Normalize whitespace in build scripts
AlekSi 9efcabf
Normalize whitespace in build scripts (#59)
AlekSi b66a82b
Unify `debian_files`
AlekSi 71802fc
Unify `debian_files` (#60)
AlekSi bfc0b31
Unify test packages
AlekSi 8a9e2d4
Unify test packages (#61)
AlekSi 80c8861
Unify more packaging files
AlekSi 149841b
Unify more packaging files (#62)
AlekSi 0e64853
Unify build script
AlekSi ab79acf
Tweak help
AlekSi f838c59
Unify build script (#63)
AlekSi d4de5a3
Move packaging files (#64)
AlekSi 2b0e6f9
Build arm64 .deb packages (#67)
AlekSi 9492778
Fix arm64 builds, part 1 (#68)
AlekSi d321a1c
Fix arm64 builds, part 2 (#69)
AlekSi fa129dc
Bump Go (#70)
AlekSi dc41469
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 859432a
Merge upstream (#71)
AlekSi 7514232
Prepare v0.103.0-ferretdb-2.2.0 release (#73)
AlekSi c45681d
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 560b14b
Merge upstream (#74)
AlekSi aa58f47
Add `barman-cli-cloud` for backups (#75)
josmo 9b65832
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 4de83a0
Merge upstream (#76)
AlekSi c2757ae
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 26da990
Merge upstream (#77)
AlekSi 2045d0e
Prepare v0.104.0-ferretdb-2.3.0 release (#78)
AlekSi 1190e10
Provide production build docker images for branch builds (#79)
chilagrow 21016ff
Unify production and development Dockerfiles
AlekSi 2e4bd56
Add version annotation to Docker images (#82)
AlekSi 601ec8a
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 7df4500
Merge upstream (#83)
AlekSi 166d11e
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi e6a46da
Merge upstream (#84)
AlekSi c243168
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 53525fc
Merge upstream (#85)
AlekSi 58193fc
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 973fd0a
Merge upstream (#86)
AlekSi ec5b9cc
Prepare v0.105.0-ferretdb-2.4.0 release
AlekSi 8453d93
Prepare v0.105.0-ferretdb-2.4.0 release (#87)
AlekSi c0a348b
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 05182b5
Merge upstream (#88)
AlekSi 9ccd074
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 5b5cb57
Merge upstream (#90)
AlekSi 09ef059
Merge CodeQL changes from upstream
AlekSi 61e3e55
Abbreviate SHA hashes to at least 10 characters
AlekSi 04a0257
Build RPM packages (#96)
AlekSi 30b4da0
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi b33e3aa
Merge upstream (#98)
AlekSi beb9d25
Prepare v0.106.0-ferretdb-2.5.0 release (#99)
AlekSi a81c65b
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 18bd81e
Merge upstream (#100)
AlekSi 1531831
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi e1d37b6
Merge upstream (#101)
AlekSi 27cb619
Use Debian 12 Bookwork as base image
AlekSi 349130a
Use Debian 12 Bookworm as base image (#102)
AlekSi 3f80da9
Add TODO comment about Debian 13 Trixie
AlekSi 7eded64
Merge branch 'ferretdb' into merge-into-ferretdb
AlekSi 2fdd5d8
Merge upstream (#104)
AlekSi e638354
Prepare v0.107.0-ferretdb-2.7.0 release
AlekSi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # FerretDB's DocumentDB Release Checklist | ||
|
|
||
| ## Preparation | ||
|
|
||
| 1. Create draft release on GitHub to see a list of merged PRs. | ||
| 2. Update CHANGELOG.md manually. It will point to versions of DocumentDB and FerretDB that are not released yet. | ||
| 3. Update `packaging/debian_files/changelog` and `packaging/rpm_files/documentdb.spec`. | ||
| 4. Send PR with changes, merge it. | ||
|
|
||
| ## Git tag | ||
|
|
||
| 1. Make a signed tag with `git tag -s --cleanup=verbatim vX.Y.Z-ferretdb-A.B.C(-p)` (like `v0.103.0-ferretdb-2.2.0-beta.1`), | ||
| where `X.Y.Z` is the SemVar formatted version of DocumentDB (like `0.103.0`), | ||
| and `A.B.C(-p)` is the compatible FerretDB version (like `2.2.0-beta.1`). | ||
| 2. Check `git status` output. | ||
| 3. Push it! | ||
|
|
||
| ## Release | ||
|
|
||
| 1. Find [Packages CI build](https://github.com/FerretDB/documentdb/actions/workflows/ferretdb_packages.yml?query=event%3Apush) | ||
| for the tag to release. | ||
| 2. Check Docker images. | ||
| 3. Upload `.deb` and `.rpm` packages to the draft release. | ||
| 4. Update release notes with the content of CHANGELOG.md. | ||
| 5. Publish release on GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| --- | ||
| # see https://docs.mergify.com/ | ||
|
|
||
| pull_request_rules: | ||
| - name: "Assign PRs" | ||
| conditions: | ||
| - "-closed" | ||
| - "#assignee = 0" | ||
| actions: | ||
| assign: | ||
| add_users: ["{{ author }}"] | ||
|
|
||
| - name: "Add label on conflicts" | ||
| conditions: | ||
| - "conflict" | ||
| actions: | ||
| comment: | ||
| message: "@{{author}} this pull request has merge conflicts." | ||
| label: | ||
| add: [conflict] | ||
|
|
||
| - name: "Remove label when conflicts were resolved" | ||
| conditions: | ||
| - "-conflict" | ||
| actions: | ||
| label: | ||
| remove: [conflict] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| --- | ||
| # https://github.com/repository-settings/app | ||
|
|
||
| repository: | ||
| allow_squash_merge: true | ||
| allow_merge_commit: true | ||
| allow_rebase_merge: false | ||
| allow_auto_merge: true | ||
| allow_update_branch: true | ||
| delete_branch_on_merge: true | ||
| enable_automated_security_fixes: true | ||
| enable_vulnerability_alerts: true | ||
|
|
||
| # https://docs.github.com/en/rest/issues/labels | ||
| labels: | ||
| - name: conflict | ||
| color: "#FF0000" | ||
| description: PRs that have merge conflicts | ||
|
|
||
| - name: deps | ||
| color: "#D4C5F9" | ||
| description: PRs that update dependencies | ||
|
|
||
| - name: not ready | ||
| color: "#000000" | ||
| description: Issues that are not ready to be worked on; PRs that should skip CI | ||
|
|
||
| - name: packages | ||
| color: "#9B022C" | ||
| description: PRs that should build packages | ||
|
|
||
| - name: trust | ||
| color: "#00FF00" | ||
| description: PRs that can access Actions secrets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| --- | ||
| name: Go | ||
| on: | ||
| pull_request: | ||
| types: | ||
| - unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild | ||
| - opened | ||
| - reopened | ||
| - synchronize | ||
| push: | ||
| branches: | ||
| - ferretdb | ||
| tags: | ||
| - "*" | ||
| schedule: | ||
| - cron: "12 0 * * *" | ||
|
|
||
| env: | ||
| GOPATH: /home/runner/go | ||
| GOCACHE: /home/runner/go/cache | ||
| GOLANGCI_LINT_CACHE: /home/runner/go/cache/lint | ||
| GOMODCACHE: /home/runner/go/mod | ||
| GOPROXY: https://proxy.golang.org | ||
| GOTOOLCHAIN: local | ||
|
|
||
| jobs: | ||
| test: | ||
| name: Test | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: 15 | ||
|
|
||
| # Do not run this job in parallel for any PR change or branch push. | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | ||
| cancel-in-progress: true | ||
|
|
||
| if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready') | ||
|
|
||
| steps: | ||
| # TODO https://github.com/FerretDB/github-actions/issues/211 | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Go | ||
| uses: FerretDB/github-actions/setup-go@main | ||
|
|
||
| - name: Run tests | ||
| run: | | ||
| cd packaging/defineversion | ||
| go mod tidy | ||
| go mod verify | ||
| go test ./... | ||
|
|
||
| - name: Check dirty | ||
| if: always() | ||
| run: | | ||
| git status --untracked-files --ignored | ||
| git status | ||
| git diff --exit-code | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.