Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-deposit
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Platform
Development
Debian Packaging
swh-deposit
Commits
f1b90148
Commit
f1b90148
authored
1 year ago
by
Jenkins for Software Heritage
Browse files
Options
Downloads
Plain Diff
Merge tag 'debian/1.4.2-1_swh1' into debian/buster-swh
parents
94294832
287125e4
No related branches found
No related tags found
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
debian/changelog
+7
-3
7 additions, 3 deletions
debian/changelog
swh.deposit.egg-info/PKG-INFO
+1
-1
1 addition, 1 deletion
swh.deposit.egg-info/PKG-INFO
swh/deposit/settings/production.py
+16
-4
16 additions, 4 deletions
swh/deposit/settings/production.py
with
25 additions
and
9 deletions
PKG-INFO
+
1
−
1
View file @
f1b90148
Metadata-Version: 2.1
Metadata-Version: 2.1
Name: swh.deposit
Name: swh.deposit
Version: 1.4.
1
Version: 1.4.
2
Summary: Software Heritage Deposit Server
Summary: Software Heritage Deposit Server
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Author: Software Heritage developers
Author: Software Heritage developers
...
...
This diff is collapsed.
Click to expand it.
debian/changelog
+
7
−
3
View file @
f1b90148
swh-deposit (1.4.
1
-1~swh1
~bpo10+1) buster
-swh; urgency=medium
swh-deposit (1.4.
2
-1~swh1
) unstable
-swh; urgency=medium
* Rebuild for buster-swh
* New upstream release 1.4.2 - (tagged by Antoine R. Dumont
(@ardumont) <ardumont@softwareheritage.org> on 2023-11-23 12:14:27
+0100)
* Upstream changes: - v1.4.2 - settings.production: Allow
extra azure configuration
-- Software Heritage autobuilder (on jenkins-debian1) <jenkins@jenkins-debian1.internal.softwareheritage.org>
Mon
, 2
0
Nov 2023 1
4:00:55
+0000
-- Software Heritage autobuilder (on jenkins-debian1) <jenkins@jenkins-debian1.internal.softwareheritage.org>
Thu
, 2
3
Nov 2023 1
1:20:34
+0000
swh-deposit (1.4.1-1~swh1) unstable-swh; urgency=medium
swh-deposit (1.4.1-1~swh1) unstable-swh; urgency=medium
...
...
This diff is collapsed.
Click to expand it.
swh.deposit.egg-info/PKG-INFO
+
1
−
1
View file @
f1b90148
Metadata-Version: 2.1
Metadata-Version: 2.1
Name: swh.deposit
Name: swh.deposit
Version: 1.4.
1
Version: 1.4.
2
Summary: Software Heritage Deposit Server
Summary: Software Heritage Deposit Server
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Author: Software Heritage developers
Author: Software Heritage developers
...
...
This diff is collapsed.
Click to expand it.
swh/deposit/settings/production.py
+
16
−
4
View file @
f1b90148
...
@@ -123,15 +123,27 @@ if cfg_azure:
...
@@ -123,15 +123,27 @@ if cfg_azure:
f
"
Production: invalid configuration; missing
{
key
}
config entry.
"
f
"
Production: invalid configuration; missing
{
key
}
config entry.
"
)
)
# Default options
options
=
dict
(
azure_container
=
cfg_azure
[
"
container_name
"
],
connection_string
=
cfg_azure
[
"
connection_string
"
],
)
# Which may be enhanced with some extra options, lookup "object_parameters" in
# https://django-storages.readthedocs.io/en/latest/backends/azure.html
object_parameters
=
{}
for
optional_config_key
in
[
"
content_type
"
,
"
content_disposition
"
]:
if
optional_config_key
in
cfg_azure
:
object_parameters
[
optional_config_key
]
=
cfg_azure
[
optional_config_key
]
options
.
update
(
dict
(
object_parameters
=
object_parameters
))
STORAGES
=
{
STORAGES
=
{
"
staticfiles
"
:
{
"
staticfiles
"
:
{
"
BACKEND
"
:
"
django.contrib.staticfiles.storage.StaticFilesStorage
"
"
BACKEND
"
:
"
django.contrib.staticfiles.storage.StaticFilesStorage
"
},
},
"
default
"
:
{
"
default
"
:
{
"
BACKEND
"
:
"
storages.backends.azure_storage.AzureStorage
"
,
"
BACKEND
"
:
"
storages.backends.azure_storage.AzureStorage
"
,
"
OPTIONS
"
:
{
"
OPTIONS
"
:
options
,
"
azure_container
"
:
cfg_azure
[
"
container_name
"
],
"
connection_string
"
:
cfg_azure
[
"
connection_string
"
],
},
},
},
}
}
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