Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-deposit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine R. Dumont
swh-deposit
Commits
3663136e
Commit
3663136e
authored
7 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Plain Diff
New upstream version 0.0.19
parents
3ffe0ebe
662215d6
No related branches found
Branches containing commit
Tags
debian/upstream/0.0.11
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
PKG-INFO
+1
-1
1 addition, 1 deletion
PKG-INFO
swh.deposit.egg-info/PKG-INFO
+1
-1
1 addition, 1 deletion
swh.deposit.egg-info/PKG-INFO
swh/deposit/api/common.py
+9
-4
9 additions, 4 deletions
swh/deposit/api/common.py
version.txt
+1
-1
1 addition, 1 deletion
version.txt
with
12 additions
and
7 deletions
PKG-INFO
+
1
−
1
View file @
3663136e
Metadata-Version: 2.1
Name: swh.deposit
Version: 0.0.1
8
Version: 0.0.1
9
Summary: Software Heritage Deposit Server
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Author: Software Heritage developers
...
...
This diff is collapsed.
Click to expand it.
swh.deposit.egg-info/PKG-INFO
+
1
−
1
View file @
3663136e
Metadata-Version: 2.1
Name: swh.deposit
Version: 0.0.1
8
Version: 0.0.1
9
Summary: Software Heritage Deposit Server
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Author: Software Heritage developers
...
...
This diff is collapsed.
Click to expand it.
swh/deposit/api/common.py
+
9
−
4
View file @
3663136e
...
...
@@ -661,17 +661,22 @@ class SWHBaseDeposit(SWHDefaultConfig, SWHAPIView, metaclass=ABCMeta):
BAD_REQUEST
,
summary
=
summary
,
verbose_description
=
description
)
def
_basic_not_allowed_method
(
self
,
req
,
method
):
return
make_error_response
(
req
,
METHOD_NOT_ALLOWED
,
'
%s method is not supported on this endpoint
'
%
method
)
def
get
(
self
,
req
,
*
args
,
**
kwargs
):
return
make_error_response
(
req
,
METHOD_NOT_ALLOWED
)
return
self
.
_basic_not_allowed_method
(
req
,
'
GET
'
)
def
post
(
self
,
req
,
*
args
,
**
kwargs
):
return
make_error_response
(
req
,
METHOD_NOT_ALLOWED
)
return
self
.
_basic_not_allowed_method
(
req
,
'
POST
'
)
def
put
(
self
,
req
,
*
args
,
**
kwargs
):
return
make_error_response
(
req
,
METHOD_NOT_ALLOWED
)
return
self
.
_basic_not_allowed_method
(
req
,
'
PUT
'
)
def
delete
(
self
,
req
,
*
args
,
**
kwargs
):
return
make_error_response
(
req
,
METHOD_NOT_ALLOWED
)
return
self
.
_basic_not_allowed_method
(
req
,
'
DELETE
'
)
class
SWHGetDepositAPI
(
SWHBaseDeposit
,
metaclass
=
ABCMeta
):
...
...
This diff is collapsed.
Click to expand it.
version.txt
+
1
−
1
View file @
3663136e
v0.0.18-0-gceb38e9
\ No newline at end of file
v0.0.19-0-g662215d
\ No newline at end of file
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