Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
53d40e4
Add new API endpoint to revoke STS tokens (#21072)
taran-p Mar 31, 2025
9aa24b1
fix call toAPIErrorCode with a nil value error after check another er…
alingse Mar 31, 2025
e0c8738
fix: token is invalid for admin heal when minio is distErasure on win…
jiuker Apr 1, 2025
b1bc641
chore(all): replace map key deletion loop with clear() (#21082)
1911860538 Apr 1, 2025
a0e3f1c
internal: add handling of KVS config parse (#21079)
wooffie Apr 1, 2025
5f243fd
Fix anonymous unsigned trailing headers (#21095)
klauspost Apr 1, 2025
4041a87
start publishing latest-cicd images
harshavardhana Apr 2, 2025
8d223e0
Fix: Change TTFB metric type to histogram (#20999)
iamsagar99 Apr 2, 2025
07f31e5
Try reconnect IAM systems if failed initially (#20333)
shtripat Apr 2, 2025
01447d2
Fix evaluation of NewerNoncurrentVersions (#21096)
krisis Apr 3, 2025
8c70975
make sure to validate signature unsigned trailer stream (#21103)
harshavardhana Apr 3, 2025
f2619d1
Fix description error in README (#21099)
justforlxz Apr 3, 2025
f2c9eb0
Update yaml files to latest version RELEASE.2025-04-03T14-56-28Z
minio-trusted Apr 3, 2025
eafeb27
decom: Ignore orphan delete markers in verification stage (#21106)
vadmeste Apr 3, 2025
6640be3
fix: listParts crash when partNumberMarker is expected (#620)
harshavardhana Apr 4, 2025
0bd8f06
fix: healing to list, purge dangling objects (#621)
harshavardhana Apr 4, 2025
d0cada5
ilm: Expect objects with only free versions when scanning (#21112)
krisis Apr 8, 2025
a625866
Update yaml files to latest version RELEASE.2025-04-08T15-41-24Z
minio-trusted Apr 8, 2025
2b34e5b
move to go1.24 (#21114)
harshavardhana Apr 9, 2025
02a67cb
Fix buffered streams missing final entries (#21122)
klauspost Apr 10, 2025
4595293
typo: fix error msg for decoding XL headers (#21120)
wooffie Apr 10, 2025
3310f74
build(deps): bump golang.org/x/crypto from 0.32.0 to 0.35.0 in /docs/…
dependabot[bot] Apr 15, 2025
eb33bc6
Add New Accesskey Info and OpenID Accesskey List API endpoints (#21097)
taran-p Apr 15, 2025
89aec68
typo: fix return of checkDiskFatalErrs (#21121)
wooffie Apr 16, 2025
479303e
build(deps): bump golang.org/x/crypto from 0.32.0 to 0.35.0 in /docs/…
dependabot[bot] Apr 16, 2025
0581001
build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 (#21200)
dependabot[bot] Apr 17, 2025
1d6478b
build(deps): bump golang.org/x/net from 0.34.0 to 0.38.0 in /docs/deb…
dependabot[bot] Apr 17, 2025
7ee7536
build(deps): bump github.com/nats-io/nats-server/v2 from 2.9.23 to 2.…
dependabot[bot] Apr 17, 2025
fb3f67a
Fix shared error buffer (#21203)
klauspost Apr 18, 2025
e2ed696
fix: docker-compose link since latest release
harshavardhana Apr 20, 2025
43aa8e4
support autogenerated credentials for KMS_SECRET_KEY properly (#21223)
harshavardhana Apr 21, 2025
0379d6a
fix: permissions for docker-compose
harshavardhana Apr 21, 2025
864f80e
fix: batch expiry job doesn't report delete marker in batch-status (…
jiuker Apr 22, 2025
0d7408f
feat: support nats tls handshake first (#21008)
Apr 22, 2025
bd6dd55
Update yaml files to latest version RELEASE.2025-04-22T22-12-26Z
minio-trusted Apr 22, 2025
2d8ba15
Correct spelling (#21225)
shtripat Apr 23, 2025
2780778
Revert "Fix: Change TTFB metric type to histogram (#20999)"
harshavardhana Apr 23, 2025
427826a
update `minio/kms-go/kms` SDK (#21233)
aead Apr 24, 2025
18aceae
Fix nil dereference in adding service account (#21235)
taran-p Apr 24, 2025
f013749
Use go mod tool to install tools for go generate (#21232)
klauspost Apr 24, 2025
b754016
Add documentation for replication_max_lrg_workers (#21236)
cniackz Apr 24, 2025
ddd9a84
allow concurrent aborts on active uploadParts() (#21229)
jiuker Apr 25, 2025
93c389d
typo: return actual error from RemoveRemoteTargetsForEndpoint (#21238)
wooffie Apr 26, 2025
f14198e
update with newer pkger release
harshavardhana Apr 27, 2025
0e017ab
feat: support nats nkey seed auth (#21231)
matthewdavidlloyd Apr 27, 2025
30a1261
fix: track object and bucket for exipreAll (#21241)
jiuker Apr 28, 2025
9ea14c8
cleanup: use NewWithOptions replace the Deprecated one (#21243)
jiuker Apr 29, 2025
6d18dba
return error for AppendObject() API (#21272)
harshavardhana May 7, 2025
8cad40a
Update UI console to the latest version (#21278)
bexsoft May 9, 2025
c0a3395
Allow FTPS to force TLS (#21251)
klauspost May 9, 2025
1d50cae
remove support for FIPS 140-2 with boringcrypto (#21292)
aead May 16, 2025
ef9b03f
fix: unable to get net.Interface cause panic (#21277)
jiuker May 16, 2025
160f8a9
Update Console UI to latest version (#21294)
bexsoft May 21, 2025
63e102c
heal: Avoid disabling scanner healing in single and dist erasure mode…
vadmeste May 22, 2025
12a6ea8
fix: Use mime encode for Non-US-ASCII metadata (#21282)
jiuker May 22, 2025
ecde75f
docs: use github-style-notes in the readme (#21308)
CommanderStorm May 24, 2025
ee2028c
Update yaml files to latest version RELEASE.2025-05-24T17-08-30Z
minio-trusted May 24, 2025
9ebe168
add pull requests etiquette
harshavardhana May 25, 2025
2c7fe09
s3: Fix early listing stopping when ILM is enabled (#472) (#21246)
vadmeste May 26, 2025
816666a
make some targeted updates to README.md (#21125)
varun28sharma May 26, 2025
9f24ca5
fix: empty fileName cause Reader nil for PostPolicyBucketHandler (#21…
jiuker May 27, 2025
ea77bcf
fix: panic for TestListObjectsWithILM (#21322)
jiuker May 27, 2025
0a36d41
modernizes for loop in cmd/, internal/ (#21309)
12ya May 27, 2025
b4b3d20
Add `targetArn` label for bucket replication metrics (#21354)
shtripat Jun 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/go-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
go-version: [1.24.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
59 changes: 0 additions & 59 deletions .github/workflows/go-fips.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/go-healing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
go-version: [1.24.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
go-version: [1.24.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-resiliency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
go-version: [1.24.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
go-version: [1.24.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iam-integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# are turned off - i.e. if ldap="", then ldap server is not enabled for
# the tests.
matrix:
go-version: [1.23.x]
go-version: [1.24.x]
ldap: ["", "localhost:389"]
etcd: ["", "http://localhost:2379"]
openid: ["", "http://127.0.0.1:5556/dex"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: setup-go-step
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version: 1.24.x

- name: github sha short
id: vars
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/replication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
go-version: [1.23.x]
go-version: [1.24.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/root-disable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
go-version: [1.24.x]
os: [ubuntu-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
go-version: [1.24.x]
os: [ubuntu-latest]

steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/vulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.5
go-version: 1.24.x
cached: false
- name: Get official govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ extend-ignore-re = [
'http\.Header\{"X-Amz-Server-Side-Encryptio":',
"ZoEoZdLlzVbOlT9rbhD7ZN7TLyiYXSAlB79uGEge",
"ERRO:",
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$", # ignore line
]

[default.extend-words]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.hotfix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23-alpine as build
FROM golang:1.24-alpine as build

ARG TARGETARCH
ARG RELEASE
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23-alpine AS build
FROM golang:1.24-alpine AS build

ARG TARGETARCH
ARG RELEASE
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release.old_cpu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23-alpine AS build
FROM golang:1.24-alpine AS build

ARG TARGETARCH
ARG RELEASE
Expand Down
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ help: ## print this help
getdeps: ## fetch necessary dependencies
@mkdir -p ${GOPATH}/bin
@echo "Installing golangci-lint" && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOLANGCI_DIR)
@echo "Installing msgp" && go install -v github.com/tinylib/[email protected]
@echo "Installing stringer" && go install -v golang.org/x/tools/cmd/stringer@latest

crosscompile: ## cross compile minio
@(env bash $(PWD)/buildscripts/cross-compile.sh)
Expand Down Expand Up @@ -188,9 +186,9 @@ hotfix-vars:
$(eval VERSION := $(shell git describe --tags --abbrev=0).hotfix.$(shell git rev-parse --short HEAD))

hotfix: hotfix-vars clean install ## builds minio binary with hotfix tags
@wget -q -c https://github.com/minio/pkger/releases/download/v2.3.10/pkger_2.3.10_linux_amd64.deb
@wget -q -c https://raw.githubusercontent.com/minio/minio-service/v1.1.0/linux-systemd/distributed/minio.service
@sudo apt install ./pkger_2.3.10_linux_amd64.deb --yes
@wget -q -c https://github.com/minio/pkger/releases/download/v2.3.11/pkger_2.3.11_linux_amd64.deb
@wget -q -c https://raw.githubusercontent.com/minio/minio-service/v1.1.1/linux-systemd/distributed/minio.service
@sudo apt install ./pkger_2.3.11_linux_amd64.deb --yes
@mkdir -p minio-release/$(GOOS)-$(GOARCH)/archive
@cp -af ./minio minio-release/$(GOOS)-$(GOARCH)/minio
@cp -af ./minio minio-release/$(GOOS)-$(GOARCH)/minio.$(VERSION)
Expand Down
93 changes: 93 additions & 0 deletions PULL_REQUESTS_ETIQUETTE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# MinIO Pull Request Guidelines

These guidelines ensure high-quality commits in MinIO’s GitHub repositories, maintaining
a clear, valuable commit history for our open-source projects. They apply to all contributors,
fostering efficient reviews and robust code.

## Why Pull Requests?

Pull Requests (PRs) drive quality in MinIO’s codebase by:
- Enabling peer review without pair programming.
- Documenting changes for future reference.
- Ensuring commits tell a clear story of development.

**A poor commit lasts forever, even if code is refactored.**

## Crafting a Quality PR

A strong MinIO PR:
- Delivers a complete, valuable change (feature, bug fix, or improvement).
- Has a concise title (e.g., `[S3] Fix bucket policy parsing #1234`) and a summary with context, referencing issues (e.g., `#1234`).
- Contains well-written, logical commits explaining *why* changes were made (e.g., “Add S3 bucket tagging support so that users can organize resources efficiently”).
- Is small, focused, and easy to review—ideally one commit, unless multiple commits better narrate complex work.
- Adheres to MinIO’s coding standards (e.g., Go style, error handling, testing).

PRs must flow smoothly through review to reach production. Large PRs should be split into smaller, manageable ones.

## Submitting PRs

1. **Title and Summary**:
- Use a scannable title: `[Subsystem] Action Description #Issue` (e.g., `[IAM] Add role-based access control #567`).
- Include context in the summary: what changed, why, and any issue references.
- Use `[WIP]` for in-progress PRs to avoid premature merging or choose GitHub draft PRs.

2. **Commits**:
- Write clear messages: what changed and why (e.g., “Refactor S3 API handler to reduce latency so that requests process 20% faster”).
- Rebase to tidy commits before submitting (e.g., `git rebase -i main` to squash typos or reword messages), unless multiple contributors worked on the branch.
- Keep PRs focused—one feature or fix. Split large changes into multiple PRs.

3. **Testing**:
- Include unit tests for new functionality or bug fixes.
- Ensure existing tests pass (`make test`).
- Document testing steps in the PR summary if manual testing was performed.

4. **Before Submitting**:
- Run `make verify` to check formatting, linting, and tests.
- Reference related issues (e.g., “Closes #1234”).
- Notify team members via GitHub `@mentions` if urgent or complex.

## Reviewing PRs

Reviewers ensure MinIO’s commit history remains a clear, reliable record. Responsibilities include:

1. **Commit Quality**:
- Verify each commit explains *why* the change was made (e.g., “So that…”).
- Request rebasing if commits are unclear, redundant, or lack context (e.g., “Please squash typo fixes into the parent commit”).

2. **Code Quality**:
- Check adherence to MinIO’s Go standards (e.g., error handling, documentation).
- Ensure tests cover new code and pass CI.
- Flag bugs or critical issues for immediate fixes; suggest non-blocking improvements as follow-up issues.

3. **Flow**:
- Review promptly to avoid blocking progress.
- Balance quality and speed—minor issues can be addressed later via issues, not PR blocks.
- If unable to complete the review, tag another reviewer (e.g., `@username please take over`).

4. **Shared Responsibility**:
- All MinIO contributors are reviewers. The first commenter on a PR owns the review unless they delegate.
- Multiple reviewers are encouraged for complex PRs.

5. **No Self-Edits**:
- Don’t modify the PR directly (e.g., fixing bugs). Request changes from the submitter or create a follow-up PR.
- If you edit, you’re a collaborator, not a reviewer, and cannot merge.

6. **Testing**:
- Assume the submitter tested the code. If testing is unclear, ask for details (e.g., “How was this tested?”).
- Reject untested PRs unless testing is infeasible, then assist with test setup.

## Tips for Success

- **Small PRs**: Easier to review, faster to merge. Split large changes logically.
- **Clear Commits**: Use `git rebase -i` to refine history before submitting.
- **Engage Early**: Discuss complex changes in issues or Slack (https://slack.min.io) before coding.
- **Be Responsive**: Address reviewer feedback promptly to keep PRs moving.
- **Learn from Reviews**: Use feedback to improve future contributions.

## Resources

- [MinIO Coding Standards](https://github.com/minio/minio/blob/master/CONTRIBUTING.md)
- [Effective Commit Messages](https://mislav.net/2014/02/hidden-documentation/)
- [GitHub PR Tips](https://github.com/blog/1943-how-to-write-the-perfect-pull-request)

By following these guidelines, we ensure MinIO’s codebase remains high-quality, maintainable, and a joy to contribute to. Happy coding!
7 changes: 0 additions & 7 deletions README.fips.md

This file was deleted.

Loading