Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CloWM S3-Proxy Service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Computational Metagenomics
CloWM
CloWM S3-Proxy Service
Commits
66b9091c
Commit
66b9091c
authored
1 year ago
by
Daniel Göbel
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix/65-fix-broken-bucket-name-regex' into 'development'
Resolve "Fix broken bucket name regex" Closes
#65
See merge request
!62
parents
47269fdf
65a28d64
No related branches found
No related tags found
2 merge requests
!71
Delete dev branch
,
!62
Resolve "Fix broken bucket name regex"
Pipeline
#39334
passed
1 year ago
Stage: test
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.pre-commit-config.yaml
+3
-3
3 additions, 3 deletions
.pre-commit-config.yaml
app/schemas/bucket.py
+1
-1
1 addition, 1 deletion
app/schemas/bucket.py
requirements-dev.txt
+2
-2
2 additions, 2 deletions
requirements-dev.txt
requirements.txt
+1
-1
1 addition, 1 deletion
requirements.txt
with
7 additions
and
7 deletions
.pre-commit-config.yaml
+
3
−
3
View file @
66b9091c
...
...
@@ -15,13 +15,13 @@ repos:
-
id
:
check-merge-conflict
-
id
:
check-ast
-
repo
:
https://github.com/psf/black
rev
:
23.
9.1
rev
:
23.
10.0
hooks
:
-
id
:
black
files
:
app
args
:
[
--check
]
-
repo
:
https://github.com/charliermarsh/ruff-pre-commit
rev
:
'
v0.
0.292
'
rev
:
'
v0.
1.1
'
hooks
:
-
id
:
ruff
-
repo
:
https://github.com/PyCQA/isort
...
...
@@ -31,7 +31,7 @@ repos:
files
:
app
args
:
[
-c
]
-
repo
:
https://github.com/pre-commit/mirrors-mypy
rev
:
v1.6.
0
rev
:
v1.6.
1
hooks
:
-
id
:
mypy
files
:
app
...
...
This diff is collapsed.
Click to expand it.
app/schemas/bucket.py
+
1
−
1
View file @
66b9091c
...
...
@@ -18,7 +18,7 @@ class _BaseBucket(BaseModel):
description
=
"
Name of the bucket
"
,
min_length
=
3
,
max_length
=
63
,
pattern
=
r
"
^([a-z0-9](?:[a-z0-9-]*[a-z0-9])?.)
+
[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
"
,
pattern
=
r
"
^([a-z0-9](?:[a-z0-9-]*[a-z0-9])?
\
.)
*
[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
"
,
# https://docs.ceph.com/en/latest/radosgw/s3/bucketops/#constraints
)
description
:
str
=
Field
(
...
...
This diff is collapsed.
Click to expand it.
requirements-dev.txt
+
2
−
2
View file @
66b9091c
...
...
@@ -4,8 +4,8 @@ pytest-asyncio>=0.21.0,<0.22.0
pytest-cov>=4.1.0,<4.2.0
coverage[toml]>=7.3.0,<7.4.0
# Linters
ruff
black>=23.0
9
.0,<23.1
0
.0
ruff
>=0.1.0,<0.2.0
black>=23.
1
0.0,<23.1
1
.0
isort>=5.12.0,<5.13.0
mypy>=1.6.0,<1.7.0
# stubs for mypy
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
+
1
−
1
View file @
66b9091c
...
...
@@ -3,7 +3,7 @@ clowmdb>=2.2.0,<2.3.0
# Webserver packages
anyio
>=3.7.0,<4.0.0
fastapi
>=0.10
3
.0,<0.10
4
.0
fastapi
>=0.10
4
.0,<0.10
5
.0
pydantic
>=2.4.0,<2.5.0
pydantic-settings
>=2.0.0,<2.1.0
uvicorn
>=0.23.0,<0.24.0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment