1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Commit Graph

49 Commits

Author SHA1 Message Date
Georgi (Joro) Kodinov
36372e30e1 Keep the generated docs as an github action artifact for inspection. 2026-09-16 12:34:42 +03:00
Georgi (Joro) Kodinov
6f18dc2d11 Right now test moxygen docs generation triggers on every pull request
regardless of what is changed.

There's no need for that.

It's enough to run it only when something in include/mysql changes.
2026-09-10 14:11:43 +03:00
Oleksandr Byelkin
b140f801e6 Merge branch '13.0' into 13.1 2026-09-04 12:21:02 +02:00
Georgi Kodinov
3e3f56d99e MDEV-39806: Add a per-push/per-pull-request checker for Markdown API docs
Create a GitHub action into the MariaDB server tree to build the Markdown
documentation using the cmake target provided by MDEV-39718.

This workflow generates API documentation for the plugin using a
Docker container packed with all the extra doxygen/moxygen tools.
Fixed some more doxygen problems.
Moved the repo to ghcr.io/mariadb/mariadb-doc-gen:latest.
2026-09-01 15:38:43 +03:00
Oleksandr Byelkin
f860f2a937 Merge branch '11.8' into 12.3 2026-08-20 08:27:14 +02:00
Oleksandr Byelkin
3b8db45403 Merge branch '11.4' into 11.8 2026-08-19 11:28:01 +02:00
forkfun
33240f3c96 Merge branch '11.8' into '12.3' 2026-07-30 11:41:55 +02:00
forkfun
eaca80bf32 Merge branch '11.4' into '11.8' 2026-07-29 12:27:46 +02:00
Sergei Golubchik
9beedae93c github copilot review instructions
Assisted-By: Claude:claude-4.8-opus
2026-07-28 19:40:00 +02:00
Vladislav Vaintroub
4cb930bbf8 MDEV-37739 Fix remaining test cases in parts suite on case-insensitive FS
1. Relax InnoDB rename assertion for partitions

row_rename_table_for_mysql() asserted that RENAME_IGNORE_FK is never
used to rename a table to a temporary name:

    ut_ad(fk != RENAME_IGNORE_FK || !new_is_tmp);

But EXCHANGE PARTITION renames a partition to a temporary #sql-exchange
name, and during DDL-log recovery with lower_case_table_names=1 this
reaches the partition retry in innobase_rename_table(), which passes
RENAME_IGNORE_FK.  So relax the assertion for partition names.
This fixes an assertion failure in parts.partition_debug_innodb during
crash recovery; debug-only change.

2. Fix diff in parts.alter_table

Guard the lower_case_table_names combinations in include/lcase_names.inc
with the matching include/have_lowercaseN.inc,
so each is skipped unless the server actually ended up in that mode.
mtr can be run (and on one CI machine is run) with a forced
--mysqld=--lower_case_table_names, and the server does not always
honour the request (=2 is reset to 0 on a case-sensitive filesystem).
The "def" combination assumed lower_case_table_names=0; make that
explicit and rename it to lcase0 for symmetry with lcase1/lcase2.  It
stays an empty combination, since an explicit =0 would make the server
refuse to start on a case-insensitive filesystem.

3. Make sure the parts suite is actually tested on CI on case-insensitive
filesystem

add it to buildbot_suites.bat. In addition, test on case-sensitive NTFS
directory (Github Actions builder)
2026-07-03 14:03:44 +02:00
Kristian Nielsen
fcc5fc8916 Merge 11.8 to 12.3
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2026-06-15 16:53:03 +02:00
Vladislav Vaintroub
080a7318ac Merge 11.4 to 11.8 2026-06-01 13:59:20 +02:00
Vladislav Vaintroub
323644c591 MDEV-39719 Fix memory allocation errors on Windows ARM64 CI
Do not overload the machine. Huge reservation seem to stress
Windows on ARM64 memory management, so that random OOM can appear
when multiple processes are constantly allocating/deallocating
huge chunks of memory. Thus, reduce number of parallel threads to 2,
and do not run replication tests.
2026-05-26 16:44:29 +02:00
Vladislav Vaintroub
e41fc22435 CI - Fix Github Actions warning, bump actions/checkout version 2026-05-22 11:06:40 +02:00
gkodinov
1e07daa401 MDEV-38546: Automatically label incoming pull requests
Do not print a bogus error line

gh command line can return non-zero status even when it actually
sets a label.

So, as a result, daily runs of the scheduled task would print a bogus
error line, even if the label is applied successfully.

Fixed by removing the error status line and the counter.
2026-01-19 17:41:06 +02:00
gkodinov
ab82a78234 MDEV-38546 stage2: Automatically label new unlabeled pull requests with foundation/corporation/external contribution
Further tuned the query to cover only PRs since 2025-01 and to cover all PR states.
Removed unused JSON fields from the output and the parsing
Enabled writing the labels back to the issue.
2026-01-16 13:28:38 +02:00
gkodinov
6641ba618e MDEV-38546: Automatically label new unlabeled pull requests
with foundation/corporation/external contribution

Fixed a typo in the pr list filter.
2026-01-15 17:26:41 +02:00
gkodinov
6fcd279f5d [PATCH] MDEV-38546: Automatically label new unlabeled pull requests
with foundation/corporation/external contribution

The MariaDB server repository uses certain pull request labels as queue markers
 for incoming pull requests as follows:
- External Contribution: for all external contributions
- MariaDB Corporation: for employees of the MariaDB corporation
- MariaDB Foundation: for the employees of the MariaDB foundation

Right now, when a new pull request is filed, these tags need to be applied
manually.
However a large % of these manual assignments can be automated by checking
if the author is in https://github.com/orgs/MariaDB/teams/staff
or in https://github.com/orgs/MariaDB/teams/developers.

If they are in staff "MariaDB Foundation" is assigned.

if they are not in staff, but are in developers, "MariaDB Corporation" is assigned.

If they are in neither staff nor developers, "External Contribution" is assigned.

A github workflow is created to do the assignments. It is being triggered
every day at 2AM. Or it can be triggered manually.

This is stage1 of the fix: it is read only and only *prints* the changes needed
2026-01-15 14:20:12 +02:00
gkodinov
6efa1cf2c5 MDEV-38363 Remove pull_request_template.md
The template in pull_request_template.md is out of date and a documentation
rather than a pull request description. This was not really contriburing
a lot towards good pull request descriptions as most of the time it had to
be removed first before the actual descrption is written down.
Removed the pull_request_template.md as discussed in PR#4209

Note that there is a follow-up work in progress (and it will eventually
result in a pull request) to update the text in other contribution
related documents.
But removing this not-really-a-template template is going to produce
an immediate improvement into the contribution process.
2026-01-08 15:21:59 +02:00
Oleksandr Byelkin
4af88ced48 Merge branch '11.8' into bb-12.1-release 2025-10-28 15:26:26 +01:00
Oleksandr Byelkin
6d0be016fa Merge branch '11.4' into bb-11.8-release 2025-10-24 12:25:01 +02:00
Vladislav Vaintroub
8a2b620493 Windows ARM - speed up tests on CI, by using --debug-no-sync 2025-10-10 18:27:37 +02:00
Marko Mäkelä
d29fb34b83 Merge 11.8 into 12.1 2025-10-09 17:46:33 +03:00
Marko Mäkelä
e2bf227521 Merge 11.4 into 11.8 2025-10-09 16:57:55 +03:00
Vladislav Vaintroub
c59c544480 enable case-sensitivity on a Windows build in CI
Run tests on case-sensitive partition on order to catch bugs
2025-10-07 21:46:28 +03:00
Oleksandr Byelkin
dfcb5c91e0 Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
Oleksandr Byelkin
a65f7dc71d Merge branch '11.4' into 11.8 2025-06-18 07:43:24 +02:00
Vladislav Vaintroub
aaccf99fdb MDEV-36885 Windows/ARM64 - build and test on CI
Add corresponding workflow for Github Actions.
2025-05-26 23:07:57 +03:00
Vasilii Lakhin
40c5b62531 Fix remaining typos 2025-04-29 11:18:00 +10:00
Faustin Lammler
ab468e33af Add a sanity check for backups
The check makes sure that the backup contains the latest PR information
(based on title and PR number).
2025-03-25 08:30:12 +11:00
Faustin Lammler
c34bb80b3d MDBF-1000: wrong urls 2025-03-21 18:49:45 +02:00
Faustin Lammler
31adb3030c MDBF-1000: implement an export for the server repository
No MariaDB server code is touched here, this is only about GitHub
actions CI.
2025-03-21 12:18:10 +11:00
ParadoxV5
0fabe1dc18 Create FUNDING.yml
Configure a Sponsor button to surface a link to mariadb.org/donate
2024-11-26 17:39:37 +02:00
Andrew Hutchings
e6df06d40d Update markdown files for main branch
Coding standards and PR template now reference `main`.
2024-08-28 11:49:07 +10:00
Andrew Hutchings
68fed7e785 Update pull request template for refactoring
Make it clear that refactoring code goes into the latest version.
2024-06-21 09:42:15 +10:00
Daniel Black
711b8671be pr template: ask about release notes 2024-02-12 14:58:25 +00:00
Robin Newhouse
be4ac773b0 Explicitly recommend target branches in CODING_STANDARDS
When making commits, the branches to target are not clearly defined in
public documentation, and frequently change. As the development branch
and the earliest maintained branches progress, it should be reflected in
CODING_STANDARDS.md.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services.
2023-12-14 16:32:42 +00:00
Ian Gilfillan
6cf776b68d Update earliest verson in PR template 2023-11-14 07:44:45 +11:00
Marko Mäkelä
5fb2c031f7 Merge 10.11 into 11.0 2023-06-08 13:49:48 +03:00
Marko Mäkelä
2ec42f793d Merge 10.6 into 10.9 2023-05-19 15:11:06 +03:00
Marko Mäkelä
1fe830b56a Merge 10.5 into 10.6 2023-05-19 14:24:09 +03:00
Otto Kekäläinen
caeff13579 Remove CODEOWNERS as obsolete
The CODEOWNERS was added almost 3 years ago but never saw any adoption.
Only one person used it (me) to mark what files I maintain and for which
I wish to review commits. No other maintainers or code paths were added,
so clean it away for clarity.
2023-05-17 19:46:59 -07:00
Vicențiu Ciorbaru
b844a376ec Update pull request template to suggest making PRs editable by maintainers
Often there are small "nitpicky" changes that need to be done to a PR in order to
get it merged. To speed up the merge process, we will ask contributors
if they are ok with the reviewer making those changes.

Other fixups:
Improve PR template rendering in browser's textarea field. Line wrapping at 80
characters provides a bad user experience within the browser, which
handles word wrapping separately. Thus, prefer long lines in this
markdown file.

Remove the "backwards compatibility section". While the contributor
should ideally care about the impact of their patch on the server's
backwards compatibility, this is an advanced topic that is better
presented in a separate document.
2023-03-30 13:57:31 +03:00
Andrew Hutchings
b24b3cea7d Fix CODING_STANDARDS link in PR template
Relative links do not work in pull request templates, so use an explicit
link instead.
2023-02-23 16:44:29 +11:00
Andrew Hutchings
42f53c763a Add CODING_STANDARDS.md file
This is intended to be the start of a (not complete) coding standards
document we can refer contributors to. This can be modified to add more
nuances and become stricter over time. It can also have additional
content for other file types (CMake, YACC, etc).

It does not cover plugins which should each individually have their own coding
standards.
2023-02-03 15:47:17 +11:00
Eric Herman
61161cdaf9 PR template: rebase to earliest maintained version
We do not want people to try to rebase their patch on anything
prior to the earliest *maintained* version. (Currently, 10.3)
2023-01-20 15:06:51 +02:00
Daniel Lenski
e36a257323 Modify PR template to encourage contribution of automated tests
Many recent PRs offer up shell scripts or example queries in the testing
section, when these could be easily and usefully be converted to automated
tests based on MTR.  (https://github.com/MariaDB/server/pull/1888 and
https://github.com/MariaDB/server/pull/1940 are good examples of this.)

This modifies the PR template to more strongly encourage the contribution of
automated tests.
2021-11-17 23:11:45 +02:00
Robert Bindar
2274c4f5fc Add Pull Request template file to the MariaDB/server repository 2021-05-27 16:28:28 +03:00
Otto Kekäläinen
0ac8e2cfdb Add a Github CODEOWNERS file to project
As the first entry, define user 'ottok' (Otto Kekäläinen) as the person
who by default gets assigned all PRs that modify the debian/ contents.
2020-08-14 09:03:34 +10:00