Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9341638
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Subscribers
None
View Options
diff --git a/PKG-INFO b/PKG-INFO
index 7e15c36..240b315 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,59 +1,59 @@
Metadata-Version: 2.1
Name: swh.core
-Version: 0.0.41
+Version: 0.0.42
Summary: Software Heritage core utilities
Home-page: https://forge.softwareheritage.org/diffusion/DCORE/
Author: Software Heritage developers
Author-email: swh-devel@inria.fr
License: UNKNOWN
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
Project-URL: Funding, https://www.softwareheritage.org/donate
Project-URL: Source, https://forge.softwareheritage.org/source/swh-core
Description: swh-core
========
core library for swh's modules:
- config parser
- hash computations
- serialization
- logging mechanism
Defines also a celery application to run concurrency tasks
Celery use
----------
### configuration file
worker.ini file which looks like:
[main]
task_broker = amqp://guest@localhost//
task_modules = swh.loader.dir.tasks, swh.loader.tar.tasks, swh.loader.git.tasks
task_queues = swh_loader_tar, swh_loader_git, swh_loader_dir
task_soft_time_limit = 0
This file can be set in the following location:
- ~/.swh
- ~/.config/swh
- /etc/softwareheritage
### run celery worker
Sample command:
celery worker --app=swh.core.worker \
--pool=prefork \
--autoscale=2,2 \
-Ofair \
--loglevel=info 2>&1 | tee -a swh-core-worker.log
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Description-Content-Type: text/markdown
Provides-Extra: testing
diff --git a/debian/control b/debian/control
index cfe5bfb..738b701 100644
--- a/debian/control
+++ b/debian/control
@@ -1,26 +1,27 @@
Source: swh-core
Maintainer: Software Heritage developers <swh-devel@inria.fr>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python (>= 2),
python3-all,
python3-aiohttp,
python3-arrow,
python3-flask,
- python3-requests,
python3-dateutil,
python3-msgpack,
python3-nose,
python3-psycopg2,
+ python3-requests,
+ python3-requests-mock,
python3-setuptools,
python3-systemd,
python3-yaml,
python3-vcversioner
Standards-Version: 3.9.6
Homepage: https://forge.softwareheritage.org/diffusion/DCORE/
Package: python3-swh.core
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3-systemd
Description: Software Heritage core utilities
diff --git a/swh.core.egg-info/PKG-INFO b/swh.core.egg-info/PKG-INFO
index 7e15c36..240b315 100644
--- a/swh.core.egg-info/PKG-INFO
+++ b/swh.core.egg-info/PKG-INFO
@@ -1,59 +1,59 @@
Metadata-Version: 2.1
Name: swh.core
-Version: 0.0.41
+Version: 0.0.42
Summary: Software Heritage core utilities
Home-page: https://forge.softwareheritage.org/diffusion/DCORE/
Author: Software Heritage developers
Author-email: swh-devel@inria.fr
License: UNKNOWN
Project-URL: Bug Reports, https://forge.softwareheritage.org/maniphest
Project-URL: Funding, https://www.softwareheritage.org/donate
Project-URL: Source, https://forge.softwareheritage.org/source/swh-core
Description: swh-core
========
core library for swh's modules:
- config parser
- hash computations
- serialization
- logging mechanism
Defines also a celery application to run concurrency tasks
Celery use
----------
### configuration file
worker.ini file which looks like:
[main]
task_broker = amqp://guest@localhost//
task_modules = swh.loader.dir.tasks, swh.loader.tar.tasks, swh.loader.git.tasks
task_queues = swh_loader_tar, swh_loader_git, swh_loader_dir
task_soft_time_limit = 0
This file can be set in the following location:
- ~/.swh
- ~/.config/swh
- /etc/softwareheritage
### run celery worker
Sample command:
celery worker --app=swh.core.worker \
--pool=prefork \
--autoscale=2,2 \
-Ofair \
--loglevel=info 2>&1 | tee -a swh-core-worker.log
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Description-Content-Type: text/markdown
Provides-Extra: testing
diff --git a/version.txt b/version.txt
index b066bae..f1bdebd 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-v0.0.41-0-gdefc4f3
\ No newline at end of file
+v0.0.42-0-gd15bf05
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Jul 4, 12:12 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3303477
Attached To
rDCORE Foundations and core functionalities
Event Timeline
Log In to Comment