Skip to content

Commit

Permalink
Added MinIO Client
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianeicher committed Aug 14, 2023
1 parent 7f713ab commit 2609441
Show file tree
Hide file tree
Showing 3 changed files with 1,778 additions and 0 deletions.
10 changes: 10 additions & 0 deletions utils/minio-client.watch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from urllib.request import urlopen, Request
import re

data = urlopen(Request('https://dl.min.io/client/mc/release/darwin-arm64/archive/')).read().decode('utf-8')
matches = re.findall(r'mc\.RELEASE\.((\d\d\d\d-\d\d-\d\d)T\d\d-\d\d-\d\dZ)<', data)
releases = [{
'version': match[1].replace('-', '.').replace('.0', '.'),
'released': match[1],
'timestamp': match[0]
} for match in matches]
Loading

0 comments on commit 2609441

Please sign in to comment.