1
0
mirror of https://github.com/minio/mc.git synced 2025-04-18 10:04:03 +03:00

4986 Commits

Author SHA1 Message Date
jiuker
b00526b153
feat: add deletemarker info for batch status (#5191) 2025-04-16 11:13:26 -07:00
Olli Janatuinen
391616f9cf
mirror: skip status message from excluded buckets (#5190) 2025-04-10 08:51:27 -07:00
Burkov Egor
ddda0fce2c
typo: fix typo in tracing error for path (#5189) 2025-04-10 08:51:05 -07:00
Burkov Egor
0b4d69bc57
fix: update better error handling (#5188) 2025-04-10 08:50:18 -07:00
Mark Theunissen
e929f89cee
ConsoleMsg is not set by open source or AIStor, we should remove this an… (#5186)
ConsoleMsg is not set by open source or eos, we should remove this and correctly show Message only
RELEASE.2025-04-08T15-39-49Z
2025-04-08 08:39:49 -07:00
dorman
56f94fd375
fix the terminal is damaged when parameters are missing (#5175) RELEASE.2025-04-03T17-07-56Z 2025-04-03 10:07:56 -07:00
jiuker
2d305ce990
fix: error out when the source and destination might be subdirectories of each other (#5173) 2025-04-01 22:51:22 -07:00
Harshavardhana
3296636c25 fix: replace tag and point to relevant release 2025-03-31 15:31:04 -07:00
Taran Pelkey
5349af0082
Add admin accesskey sts-revoke and idp ldap accesskey sts-revoke (#5160) 2025-03-31 13:55:31 -07:00
dorman
ceb07bee89
fix return EOF failure on lines with trailing empty lines (#5176) 2025-03-28 02:05:40 -07:00
jiuker
5ce725ba7d
fix: no data transition will show error for when mc ilm info not found (#5177) 2025-03-28 01:26:11 -07:00
Harshavardhana
c652022dab
upgrade golang-lint to v2 (#5178) 2025-03-28 01:05:40 -07:00
Harshavardhana
d249b65941
pre-emptively disable sha256 payload if checksum is set (#5167) 2025-03-27 12:54:23 -07:00
dependabot[bot]
b2d265dcc6
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 (#5169)
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.1...v4.5.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 08:40:50 -07:00
Aditya Manthramurthy
0f061900ee
batch: use server's generate API when available (#5166)
Uses the new GenerateBatchJobV2 API to request server to list supported
batch jobs and to request job templates in `mc batch generate`
2025-03-14 10:29:01 -07:00
Klaus Post
cf909e1063
Add ping sort to mc support top rpc (#5158)
Use key 'p' to sort by ping.
2025-03-13 01:02:18 -07:00
Aditya Manthramurthy
c1d5d4cbb4
Update all deps (#5165) RELEASE.2025-03-12T17-29-24Z 2025-03-12 10:29:24 -07:00
Shireesh Anjal
b3a00e0f8c
Update madmin-go to latest version (#5161)
and clear reference to the removed variable madmin.HealthDataTypeSysLoad
2025-03-11 10:47:28 -07:00
Aditya Manthramurthy
06520070bb
Update ssh and jws libs for fixed CVEs (#5164)
-   https://pkg.go.dev/vuln/GO-2025-3488
-   https://pkg.go.dev/vuln/GO-2025-3487
2025-03-11 09:36:39 -07:00
Harshavardhana
ce874fdc6a rename rcp -> rpc 2025-03-07 15:46:22 -08:00
Shireesh Anjal
1e412f58a5
Remove logs feature from 'mc support callhome' (#5157)
Both the flags --logs and --diag are removed, and the command supports
only diagnostics callhome.
2025-03-06 08:30:58 -08:00
jinapurapu
b0f40b4db7
Reject add ILM rule with both day and date parameters (#5155) 2025-03-06 05:05:05 -08:00
jinapurapu
10035268c4
Fix transition days calculation (#5154) 2025-03-05 13:23:17 -08:00
Klaus Post
9eb205cb62
Mirror should delete on delete marker creation + ILM (#5148)
Fixes #5147
RELEASE.2025-02-21T16-00-46Z
2025-02-21 08:00:46 -08:00
jiuker
0ba848a99e
fix: use tags package instead of s3utils (#5146) 2025-02-20 00:54:15 -08:00
Grahit
28909abaa4
fix empty ilm tier list output (#5145) 2025-02-19 20:27:26 -08:00
Harshavardhana
383560b1c3
update all dependencies (#5143) RELEASE.2025-02-15T10-36-16Z 2025-02-15 02:36:16 -08:00
Anis Eleuch
8585339d12
More fixes to custom arch hotfix building (#5135)
Set TARGET_GOOS and TARGET_GOARCH to specify the target architecture of
the built binary.
2025-02-14 08:49:56 -08:00
jiuker
468ab39f41
test: add tags copy test for mirror (#5141) 2025-02-14 08:49:41 -08:00
Klaus Post
217d92358b
Add CRC64NVME checksum type. (#5142)
Also adds `CRC32-FO` and `CRC32C-FO` for complete object checksums.

```
λ mc cp -checksum=crc64nvme mc.exe myminio/testbucket
...com\minio\mc\mc.exe: 41.95 MiB / 41.95 MiB

λ mc stat myminio/testbucket/mc.exe
Name      : mc.exe
Date      : 2025-02-14 13:59:05 CET
Size      : 42 MiB
ETag      : 7f130846cec6e6ece750565b1f3d9518-3
VersionID : f4daeb78-9eaf-4da9-b9ca-d8b65fbc69e3
Type      : file
Checksum  : CRC64NVME:TOfg0RHhpZk=
Metadata  :
  Content-Type: application/x-msdownload

λ mc cp -checksum=crc32-fo mc.exe myminio/testbucket
...com\minio\mc\mc.exe: 41.95 MiB / 41.95 MiB

λ mc stat myminio/testbucket/mc.exe
Name      : mc.exe
Date      : 2025-02-14 13:58:52 CET
Size      : 42 MiB
ETag      : 7f130846cec6e6ece750565b1f3d9518-3
VersionID : 1ec587dd-9127-42ee-ad82-58b48f9676d5
Type      : file
Checksum  : CRC32:3Dt3fQ==
Metadata  :
  Content-Type: application/x-msdownload

λ _
```
2025-02-14 08:13:46 -08:00
Mark Theunissen
c32317ef80
Improve docs to hint to the user that MD5 is not stored (#5138)
Improve docs to hint to the user that MD5 is the odd one out in this list
2025-02-13 10:19:41 -08:00
jiuker
089f833ce0
feat: support --custom-header flags (#5127) 2025-02-13 10:18:53 -08:00
Burkov Egor
42b78ded3a
fix: explicit fd close fix (#5129) 2025-02-13 02:41:18 -08:00
jiuker
147e8f5b3b
feat: add tags copy for mirror (#5137) 2025-02-13 02:39:59 -08:00
Klaus Post
e97f4324d5
Fix vet check (#5134)
... and pin toolchain.
2025-02-12 08:36:32 -08:00
Harshavardhana
859c5989a1 make custom ARCH based hotfixes 2025-02-11 15:37:45 -08:00
Harshavardhana
10c50368c5 remove fips build 2025-02-08 13:06:32 -08:00
dorman
bd925c01a1
mirror: add the duration time and beautify the output (#5125)
add the duration time and beautify the output
RELEASE.2025-02-08T19-14-21Z
2025-02-08 11:14:21 -08:00
Burkov Egor
030c8125eb
fix: urls equals nil deref (#5126)
Now in checks we can get nil dereference while both struct has Content
field of nil. But in code we cheching for nil, and I believe that
testcase can be real:
```go
urls1 := URLs{};
urls2 := URLs{};
urls1.Equal(urls2);
```
2025-02-07 02:46:26 -08:00
Harshavardhana
6376279f15
add support for pre-2023 minio deployments (#5122) 2025-02-04 14:18:02 -08:00
Taran Pelkey
5aee0b1c9e
Change enable to "enable=" (#5104) 2025-02-04 12:34:19 -08:00
Sveinn ( keyb1nd )
8d713ff927
Giving mirror the option to exit early when --remove is not set (#5116)
* Giving mirror the option to exit early when --remove is not set
* Making sure always to cancel the context on exit
* Adding an internal flag to enable local listing only based on active/active and remove flags
* Renaming localListingOnly to sourceListingOnly
2025-02-04 12:32:54 -08:00
Klaus Post
318e707071
Add "mc support upload" encryption (#5113)
* Add `--enc` parameter to `mc support upload` to encrypt the file content.
* Add file size as zstd frame content size.
* Test opening the file before doing more.
* Uses same key as "mc support inspect".
RELEASE.2025-02-04T04-57-50Z
2025-02-03 20:57:50 -08:00
Harshavardhana
423ef1ba2a update go deps 2025-01-22 23:47:51 -08:00
Shubhendu
a4f20fe74c
Use latest madmin-go for policy content check (#5109)
Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
2025-01-22 23:41:01 -08:00
Mark Theunissen
5cfac09600
Improve the error message when trying to add multiple expiry options (#5117) 2025-01-22 22:51:38 -08:00
Klaus Post
b436cd2436
mc find - allow absolute times (#5118)
For `--newer-than` and `--older-than`, allow using absolute times.

Example:

```
λ mc ls play/testbucket
[2025-01-22 09:57:12 CET] 676KiB STANDARD Daily checks Procedure for Portainer.docx
[2025-01-22 16:40:07 CET]  22KiB STANDARD dovrennost_mobilizaciya_0-2.docx

λ mc find -newer-than="2025-01-22 09:57:00 CET" play/testbucket
play/testbucket/Daily checks Procedure for Portainer.docx
play/testbucket/dovrennost_mobilizaciya_0-2.docx

λ mc find -newer-than="2025-01-22 09:57:13 CET" play/testbucket
play/testbucket/dovrennost_mobilizaciya_0-2.docx
```

We allow the same timestamp types as `--rewind` and add the printed type for easy copy+paste.
2025-01-22 22:51:15 -08:00
dorman
0019b7b83c
fix: cp and mirror commands fail to be executed when the file length is 255 characters (#5114) 2025-01-21 02:19:00 -08:00
Harshavardhana
cc8758c88d chore: update deps RELEASE.2025-01-17T23-25-50Z 2025-01-17 15:25:50 -08:00
qinyuren
95e1f70eb5
The version-id in the get command does not work (#5110) 2025-01-16 01:52:17 -08:00