Page MenuHomeSoftware Heritage
Paste Active Pastes
  • 251 5 https://inria.halpreprod.archives-ouvertes.fr/hal-01243573 {"atom:id": "hal-01243573", "atom:author": {"atom:name": "HAL", "atom:email": "hal@ccsd.cnrs.fr"}, "atom:client": "hal", "codemeta:url": "http://halv3-local.ccsd.cnrs.fr/hal-01243573", "codemeta:name": "The assignment problem", "codemeta:author": {"codemeta:name": null}, "codemeta:license": {"codemeta:name": "GNU General Public License v3.0 or later"}, "codemeta:version": "1", "atom:create-origin": "hal-01243573", "codemeta:identifier": [{"@name": "0", "@xmlns": {"": "http://www.w3.org/2005/Atom", "codemeta": "https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"}}, {"@name": "1"}], "codemeta:contributor": "Administrateur Du Ccsd", "codemeta:dateCreated": "2015-06-01", "codemeta:description": "Project in OR: The assignment problem A java implementation for the assignment problem first release", "codemeta:relatedLink": "https://www.gnu.org/software/glpk/", "codemeta:dateModified": "2017-12-21", "codemeta:datePublished": "2017-11-16", "codemeta:codeRepository": "https://github.com/moranegg/AffectationRO", "atom:external_identifier": "hal-01243573", "codemeta:operatingSystem": "debian", "codemeta:runtimePlatform": "outil", "codemeta:softwareVersion": "1.0.0", "codemeta:developmentStatus": "etat", "codemeta:applicationCategory": ["info", "info.info-ro"], "codemeta:programmingLanguage": ["java", "AMPL"], "codemeta:referencePublication": "hal-01587083"} <?xml version="1.0" encoding="utf-8"?>\n<entry xmlns="http://www.w3.org/2005/Atom" xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0">\n <client>hal</client>\n <id>hal-01243573</id>\n <external_identifier>hal-01243573</external_identifier>\n <create-origin>hal-01243573</create-origin>\n <author>\n <name>HAL</name>\n <email>hal@ccsd.cnrs.fr</email>\n </author>\n <codemeta:name>The assignment problem</codemeta:name>\n <codemeta:description>Project in OR: The assignment problem A java implementation for the assignment problem first release</codemeta:description>\n <codemeta:dateCreated>2015-06-01</codemeta:dateCreated>\n <codemeta:datePublished>2017-11-16</codemeta:datePublished>\n <codemeta:license>\n <codemeta:name>GNU General Public License v3.0 or later</codemeta:name>\n </codemeta:license>\n <codemeta:url>http://halv3-local.ccsd.cnrs.fr/hal-01243573</codemeta:url>\n <codemeta:identifier name="0"/>\n <codemeta:identifier name="1"/>\n <codemeta:applicationCategory>info</codemeta:applicationCategory>\n <codemeta:applicationCategory>info.info-ro</codemeta:applicationCategory>\n <codemeta:codeRepository>https://github.com/moranegg/AffectationRO</codemeta:codeRepository>\n <codemeta:relatedLink>https://www.gnu.org/software/glpk/</codemeta:relatedLink>\n <codemeta:programmingLanguage>java</codemeta:programmingLanguage>\n <codemeta:programmingLanguage>AMPL</codemeta:programmingLanguage>\n <codemeta:runtimePlatform>outil</codemeta:runtimePlatform>\n <codemeta:operatingSystem>debian</codemeta:operatingSystem>\n <codemeta:version>1</codemeta:version>\n <codemeta:softwareVersion>1.0.0</codemeta:softwareVersion>\n <codemeta:dateModified>2017-12-21</codemeta:dateModified>\n <codemeta:developmentStatus>etat</codemeta:developmentStatus>\n <codemeta:referencePublication>hal-01587083</codemeta:referencePublication>\n <codemeta:author>\n <codemeta:name> </codemeta:name>\n </codemeta:author>\n <codemeta:contributor>Administrateur Du Ccsd</codemeta:contributor>\n</entry>\n
    250 5 https://inria.halpreprod.archives-ouvertes.fr/hal-01243573 {"atom:id": "hal-01243573", "atom:author": {"atom:name": "HAL", "atom:email": "hal@ccsd.cnrs.fr"}, "atom:client": "hal", "codemeta:url": "http://halv3-local.ccsd.cnrs.fr/hal-01243573", "codemeta:name": "The assignment problem", "codemeta:author": {"codemeta:name": null}, "codemeta:license": {"codemeta:name": "GNU General Public License v3.0 or later"}, "codemeta:version": "1", "atom:create-origin": "hal-01243573", "codemeta:identifier": [{"@name": "0", "@xmlns": {"": "http://www.w3.org/2005/Atom", "codemeta": "https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"}}, {"@name": "1"}], "codemeta:contributor": "Administrateur Du Ccsd", "codemeta:dateCreated": "2015-06-01", "codemeta:description": "Project in OR: The assignment problem A java implementation for the assignment problem first release", "codemeta:relatedLink": "https://www.gnu.org/software/glpk/", "codemeta:dateModified": "2017-12-21", "codemeta:datePublished": "2017-11-16", "codemeta:codeRepository": "https://github.com/moranegg/AffectationRO", "atom:external_identifier": "hal-01243573", "codemeta:operatingSystem": "debian", "codemeta:runtimePlatform": "outil", "codemeta:softwareVersion": "1.0.0", "codemeta:developmentStatus": "etat", "codemeta:applicationCategory": ["info", "info.info-ro"], "codemeta:programmingLanguage": ["java", "AMPL"], "codemeta:referencePublication": "hal-01587083"} <?xml version="1.0" encoding="utf-8"?>\n<entry xmlns="http://www.w3.org/2005/Atom" xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0">\n <client>hal</client>\n <id>hal-01243573</id>\n <external_identifier>hal-01243573</external_identifier>\n <create-origin>hal-01243573</create-origin>\n <author>\n <name>HAL</name>\n <email>hal@ccsd.cnrs.fr</email>\n </author>\n <codemeta:name>The assignment problem</codemeta:name>\n <codemeta:description>Project in OR: The assignment problem A java implementation for the assignment problem first release</codemeta:description>\n <codemeta:dateCreated>2015-06-01</codemeta:dateCreated>\n <codemeta:datePublished>2017-11-16</codemeta:datePublished>\n <codemeta:license>\n <codemeta:name>GNU General Public License v3.0 or later</codemeta:name>\n </codemeta:license>\n <codemeta:url>http://halv3-local.ccsd.cnrs.fr/hal-01243573</codemeta:url>\n <codemeta:identifier name="0"/>\n <codemeta:identifier name="1"/>\n <codemeta:applicationCategory>info</codemeta:applicationCategory>\n <codemeta:applicationCategory>info.info-ro</codemeta:applicationCategory>\n <codemeta:codeRepository>https://github.com/moranegg/AffectationRO</codemeta:codeRepository>\n <codemeta:relatedLink>https://www.gnu.org/software/glpk/</codemeta:relatedLink>\n <codemeta:programmingLanguage>java</codemeta:programmingLanguage>\n <codemeta:programmingLanguage>AMPL</codemeta:programmingLanguage>\n <codemeta:runtimePlatform>outil</codemeta:runtimePlatform>\n <codemeta:operatingSystem>debian</codemeta:operatingSystem>\n <codemeta:version>1</codemeta:version>\n <codemeta:softwareVersion>1.0.0</codemeta:softwareVersion>\n <codemeta:dateModified>2017-12-21</codemeta:dateModified>\n <codemeta:developmentStatus>etat</codemeta:developmentStatus>\n <codemeta:referencePublication>hal-01587083</codemeta:referencePublication>\n <codemeta:author>\n <codemeta:name> </codemeta:name>\n </codemeta:author>\n <codemeta:contributor>Administrateur Du Ccsd</codemeta:contributor>\n</entry>\n
    249 5 https://inria.halpreprod.archives-ouvertes.fr/hal-01243573 {"atom:id": "hal-01243573", "atom:author": {"atom:name": "HAL", "atom:email": "hal@ccsd.cnrs.fr"}, "atom:client": "hal", "codemeta:url": "http://halv3-local.ccsd.cnrs.fr/hal-01243573", "codemeta:name": "The assignment problem", "codemeta:author": {"codemeta:name": null}, "codemeta:license": {"codemeta:name": "GNU General Public License v3.0 or later"}, "codemeta:version": "1", "atom:create-origin": "hal-01243573", "codemeta:identifier": [{"@name": "0", "@xmlns": {"": "http://www.w3.org/2005/Atom", "codemeta": "https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"}}, {"@name": "1"}], "codemeta:contributor": "Administrateur Du Ccsd", "codemeta:dateCreated": "2015-06-01", "codemeta:description": "Project in OR: The assignment problem A java implementation for the assignment problem first release", "codemeta:relatedLink": "https://www.gnu.org/software/glpk/", "codemeta:dateModified": "2017-12-21", "codemeta:datePublished": "2017-11-16", "codemeta:codeRepository": "https://github.com/moranegg/AffectationRO", "atom:external_identifier": "hal-01243573", "codemeta:operatingSystem": "debian", "codemeta:runtimePlatform": "outil", "codemeta:softwareVersion": "1.0.0", "codemeta:developmentStatus": "etat", "codemeta:applicationCategory": ["info", "info.info-ro"], "codemeta:programmingLanguage": ["java", "AMPL"], "codemeta:referencePublication": "hal-01587083"} <?xml version="1.0" encoding="utf-8"?>\n<entry xmlns="http://www.w3.org/2005/Atom" xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0">\n <client>hal</client>\n <id>hal-01243573</id>\n <external_identifier>hal-01243573</external_identifier>\n <create-origin>hal-01243573</create-origin>\n <author>\n <name>HAL</name>\n <email>hal@ccsd.cnrs.fr</email>\n </author>\n <codemeta:name>The assignment problem</codemeta:name>\n <codemeta:description>Project in OR: The assignment problem A java implementation for the assignment problem first release</codemeta:description>\n <codemeta:dateCreated>2015-06-01</codemeta:dateCreated>\n <codemeta:datePublished>2017-11-16</codemeta:datePublished>\n <codemeta:license>\n <codemeta:name>GNU General Public License v3.0 or later</codemeta:name>\n </codemeta:license>\n <codemeta:url>http://halv3-local.ccsd.cnrs.fr/hal-01243573</codemeta:url>\n <codemeta:identifier name="0"/>\n <codemeta:identifier name="1"/>\n <codemeta:applicationCategory>info</codemeta:applicationCategory>\n <codemeta:applicationCategory>info.info-ro</codemeta:applicationCategory>\n <codemeta:codeRepository>https://github.com/moranegg/AffectationRO</codemeta:codeRepository>\n <codemeta:relatedLink>https://www.gnu.org/software/glpk/</codemeta:relatedLink>\n <codemeta:programmingLanguage>java</codemeta:programmingLanguage>\n <codemeta:programmingLanguage>AMPL</codemeta:programmingLanguage>\n <codemeta:runtimePlatform>outil</codemeta:runtimePlatform>\n <codemeta:operatingSystem>debian</codemeta:operatingSystem>\n <codemeta:version>1</codemeta:version>\n <codemeta:softwareVersion>1.0.0</codemeta:softwareVersion>\n <codemeta:dateModified>2017-12-21</codemeta:dateModified>\n <codemeta:developmentStatus>etat</codemeta:developmentStatus>\n <codemeta:referencePublication>hal-01587083</codemeta:referencePublication>\n <codemeta:author>\n <codemeta:name> </codemeta:name>\n </codemeta:author>\n <codemeta:contributor>Administrateur Du Ccsd</codemeta:contributor>\n</entry>\n
    248 5 https://inria.halpreprod.archives-ouvertes.fr/hal-01243573 {"atom:id": "hal-01243573", "atom:author": {"atom:name": "HAL", "atom:email": "hal@ccsd.cnrs.fr"}, "atom:client": "hal", "codemeta:url": "http://halv3-local.ccsd.cnrs.fr/hal-01243573", "codemeta:name": "The assignment problem", "codemeta:author": {"codemeta:name": null}, "codemeta:license": {"codemeta:name": "GNU General Public License v3.0 or later"}, "codemeta:version": "1", "atom:create-origin": "hal-01243573", "codemeta:identifier": [{"@name": "0", "@xmlns": {"": "http://www.w3.org/2005/Atom", "codemeta": "https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"}}, {"@name": "1"}], "codemeta:contributor": "Administrateur Du Ccsd", "codemeta:dateCreated": "2015-06-01", "codemeta:description": "Project in OR: The assignment problem A java implementation for the assignment problem first release", "codemeta:relatedLink": "https://www.gnu.org/software/glpk/", "codemeta:dateModified": "2017-12-21", "codemeta:datePublished": "2017-11-16", "codemeta:codeRepository": "https://github.com/moranegg/AffectationRO", "atom:external_identifier": "hal-01243573", "codemeta:operatingSystem": "debian", "codemeta:runtimePlatform": "outil", "codemeta:softwareVersion": "1.0.0", "codemeta:developmentStatus": "etat", "codemeta:applicationCategory": ["info", "info.info-ro"], "codemeta:programmingLanguage": ["java", "AMPL"], "codemeta:referencePublication": "hal-01587083"} <?xml version="1.0" encoding="utf-8"?>\n<entry xmlns="http://www.w3.org/2005/Atom" xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0">\n <client>hal</client>\n <id>hal-01243573</id>\n <external_identifier>hal-01243573</external_identifier>\n <create-origin>hal-01243573</create-origin>\n <author>\n <name>HAL</name>\n <email>hal@ccsd.cnrs.fr</email>\n </author>\n <codemeta:name>The assignment problem</codemeta:name>\n <codemeta:description>Project in OR: The assignment problem A java implementation for the assignment problem first release</codemeta:description>\n <codemeta:dateCreated>2015-06-01</codemeta:dateCreated>\n <codemeta:datePublished>2017-11-16</codemeta:datePublished>\n <codemeta:license>\n <codemeta:name>GNU General Public License v3.0 or later</codemeta:name>\n </codemeta:license>\n <codemeta:url>http://halv3-local.ccsd.cnrs.fr/hal-01243573</codemeta:url>\n <codemeta:identifier name="0"/>\n <codemeta:identifier name="1"/>\n <codemeta:applicationCategory>info</codemeta:applicationCategory>\n <codemeta:applicationCategory>info.info-ro</codemeta:applicationCategory>\n <codemeta:codeRepository>https://github.com/moranegg/AffectationRO</codemeta:codeRepository>\n <codemeta:relatedLink>https://www.gnu.org/software/glpk/</codemeta:relatedLink>\n <codemeta:programmingLanguage>java</codemeta:programmingLanguage>\n <codemeta:programmingLanguage>AMPL</codemeta:programmingLanguage>\n <codemeta:runtimePlatform>outil</codemeta:runtimePlatform>\n <codemeta:operatingSystem>debian</codemeta:operatingSystem>\n <codemeta:version>1</codemeta:version>\n <codemeta:softwareVersion>1.0.0</codemeta:softwareVersion>\n <codemeta:dateModified>2017-12-21</codemeta:dateModified>\n <codemeta:developmentStatus>etat</codemeta:developmentStatus>\n <codemeta:referencePublication>hal-01587083</codemeta:referencePublication>\n <codemeta:author>\n <codemeta:name> </codemeta:name>\n </codemeta:author>\n <codemeta:contributor>Administrateur Du Ccsd</codemeta:contributor>\n</entry>\n
    246 5 https://inria.halpreprod.archives-ouvertes.fr/hal-01243573 {"atom:id": "hal-01243573", "atom:author": {"atom:name": "HAL", "atom:email": "hal@ccsd.cnrs.fr"}, "atom:client": "hal", "codemeta:url": "http://halv3-local.ccsd.cnrs.fr/hal-01243573", "codemeta:name": "The assignment problem", "codemeta:author": {"codemeta:name": null}, "codemeta:license": {"codemeta:name": "GNU General Public License v3.0 or later"}, "codemeta:version": "1", "atom:create-origin": "hal-01243573", "codemeta:identifier": [{"@name": "0", "@xmlns": {"": "http://www.w3.org/2005/Atom", "codemeta": "https://doi.org/10.5063/SCHEMA/CODEMETA-2.0"}}, {"@name": "1"}], "codemeta:contributor": "Administrateur Du Ccsd", "codemeta:dateCreated": "2015-06-01", "codemeta:description": "Project in OR: The assignment problem A java implementation for the assignment problem first release", "codemeta:relatedLink": "https://www.gnu.org/software/glpk/", "codemeta:dateModified": "2017-12-21", "codemeta:datePublished": "2017-11-16", "codemeta:codeRepository": "https://github.com/moranegg/AffectationRO", "atom:external_identifier": "hal-01243573", "codemeta:operatingSystem": "debian", "codemeta:runtimePlatform": "outil", "codemeta:softwareVersion": "1.0.0", "codemeta:developmentStatus": "etat", "codemeta:applicationCategory": ["info", "info.info-ro"], "codemeta:programmingLanguage": ["java", "AMPL"], "codemeta:referencePublication": "hal-01587083"} <?xml version="1.0" encoding="utf-8"?>\n<entry xmlns="http://www.w3.org/2005/Atom" xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0">\n <client>hal</client>\n <id>hal-01243573</id>\n <external_identifier>hal-01243573</external_identifier>\n <create-origin>hal-01243573</create-origin>\n <author>\n <name>HAL</name>\n <email>hal@ccsd.cnrs.fr</email>\n </author>\n <codemeta:name>The assignment problem</codemeta:name>\n <codemeta:description>Project in OR: The assignment problem A java implementation for the assignment problem first release</codemeta:description>\n <codemeta:dateCreated>2015-06-01</codemeta:dateCreated>\n <codemeta:datePublished>2017-11-16</codemeta:datePublished>\n <codemeta:license>\n <codemeta:name>GNU General Public License v3.0 or later</codemeta:name>\n </codemeta:license>\n <codemeta:url>http://halv3-local.ccsd.cnrs.fr/hal-01243573</codemeta:url>\n <codemeta:identifier name="0"/>\n <codemeta:identifier name="1"/>\n <codemeta:applicationCategory>info</codemeta:applicationCategory>\n <codemeta:applicationCategory>info.info-ro</codemeta:applicationCategory>\n <codemeta:codeRepository>https://github.com/moranegg/AffectationRO</codemeta:codeRepository>\n <codemeta:relatedLink>https://www.gnu.org/software/glpk/</codemeta:relatedLink>\n <codemeta:programmingLanguage>java</codemeta:programmingLanguage>\n <codemeta:programmingLanguage>AMPL</codemeta:programmingLanguage>\n <codemeta:runtimePlatform>outil</codemeta:runtimePlatform>\n <codemeta:operatingSystem>debian</codemeta:operatingSystem>\n <codemeta:version>1</codemeta:version>\n <codemeta:softwareVersion>1.0.0</codemeta:softwareVersion>\n <codemeta:dateModified>2017-12-21</codemeta:dateModified>\n <codemeta:developmentStatus>etat</codemeta:developmentStatus>\n <codemeta:referencePublication>hal-01587083</codemeta:referencePublication>\n <codemeta:author>\n <codemeta:name> </codemeta:name>\n </codemeta:author>\n <codemeta:contributor>Administrateur Du Ccsd</codemeta:contributor>\n</entry>\n
    ...
    • Thu, May 6, 2:39 PM
    • 100 Lines
  • 100644 150739631316
    40000 68197352326
    100755 4558750275
    160000 949276565
    120000 926827576
    ...
    • Wed, May 5, 4:15 PM
    • 44 Lines
  • diff --git a/swh/web/settings/common.py b/swh/web/settings/common.py
    index d61949b6..c28bbcce 100644
    --- a/swh/web/settings/common.py
    +++ b/swh/web/settings/common.py
    @@ -58,7 +58,7 @@
    ...
    • Wed, May 5, 3:07 PM
    • 31 Lines
  • swh-web_1 | [05/May/2021 09:00:06] [DEBUG] urllib3.connectionpool._make_request:461 - http://swh-scheduler:5008 "POST /task_run/get HTTP/1.1" 200 170
    swh-web_1 | [05/May/2021 09:00:06] [DEBUG] Traceback (most recent call last):
    swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/rest_framework/views.py", line 506, in dispatch
    swh-web_1 | response = handler(request, *args, **kwargs)
    swh-web_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/rest_framework/decorators.py", line 50, in handler
    ...
    • Wed, May 5, 11:19 AM
    • 40 Lines
  • swh-graph-replayer_9 | INFO:swh.storage.tenacious:directory_add: failed to insert a batch of 200 directory objects, splitting
    swh-graph-replayer_9 | INFO:swh.storage.tenacious:Exception was duplicate key value violates unique constraint "directory_entry_dir_target_name_perms_idx"
    swh-graph-replayer_9 | DETAIL: Key (target, name, perms)=(\x12808630a3f448546d7ff22104f18cee070da608, \x617373657473, 16384) already exists.
    swh-graph-replayer_9 | CONTEXT: SQL statement "
    swh-graph-replayer_9 | insert into directory_entry_dir (target, name, perms)
    ...
    • Wed, May 5, 10:05 AM
    • 16 Lines
  • (swh) ✔ ~/swh/swh-environment/docker [master|⚑ 9]
    11:55 $ doco exec swh-loader swh loader run nixguix "https://guix.gnu.org/sources.json"
    INFO:swh.loader.package.nixguix.loader:Skip source '{'type': 'git', 'git_url': 'https://github.com/pali/0xffff', 'git_ref': '0.8'}' because key 'urls' is missing
    INFO:swh.loader.package.nixguix.loader:Skip source '{'type': 'git', 'git_url': 'https://github.com/pali/0xffff', 'git_ref': '0.8'}' because key 'integrity' is missing
    INFO:swh.loader.package.nixguix.loader:Skip source '{'type': 'git', 'git_url': 'https://github.com/4store/4store', 'git_ref': 'v1.1.6'}' because key 'urls' is missing
    ...
    • Tue, May 4, 2:42 PM
    • 15,795 Lines
  • Python 3.7.3 (default, Jul 25 2020, 13:03:44)
    [GCC 8.3.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import requests
    >>> requests.head("git://git.zx2c4.com/cgit.git")
    ...
    • Mon, May 3, 11:15 AM
    • 21 Lines
  • WARNING: autodoc: failed to import module 'logger' from module 'swh.core'; the following exception was raised:
    No module named 'systemd'
    /home/jenkins/workspace/DDOC/publish/swh-docs/.tox/sphinx/lib/python3.7/site-packages/swh/fuse/fs/artifact.py:docstring of swh.fuse.fs.artifact.Content.swhid:1: WARNING: duplicate object description of swh.fuse.fs.artifact.Content.swhid, other instance in apidoc/swh.fuse.fs.artifact, use :noindex: for one of them
    /home/jenkins/workspace/DDOC/publish/swh-docs/.tox/sphinx/lib/python3.7/site-packages/swh/fuse/fs/artifact.py:docstring of swh.fuse.fs.artifact.Content.prefetch:1: WARNING: duplicate object description of swh.fuse.fs.artifact.Content.prefetch, other instance in apidoc/swh.fuse.fs.artifact, use :noindex: for one of them
    /home/jenkins/workspace/DDOC/publish/swh-docs/.tox/sphinx/lib/python3.7/site-packages/swh/fuse/fs/artifact.py:docstring of swh.fuse.fs.artifact.Directory.swhid:1: WARNING: duplicate object description of swh.fuse.fs.artifact.Directory.swhid, other instance in apidoc/swh.fuse.fs.artifact, use :noindex: for one of them
    ...
    • Thu, Apr 29, 3:20 PM
    • 14 Lines
  • diff --git a/docker/services/swh-web/entrypoint.sh b/docker/services/swh-web/entrypoint.sh
    index 2d0ef86..9fb843f 100755
    --- a/docker/services/swh-web/entrypoint.sh
    +++ b/docker/services/swh-web/entrypoint.sh
    @@ -46,6 +46,16 @@ case "$1" in
    ...
    • Wed, Apr 28, 6:20 PM
    • 21 Lines
  • #!/usr/bin/env python3
    # Copyright (C) 2020-2021 The Software Heritage developers
    # See the AUTHORS file at the top-level directory of this distribution
    # License: GNU Affero General Public License version 3, or any later version
    ...
    • Wed, Apr 28, 4:25 PM
    • 27 Lines
  • $ docker run -it debian
    root@44dd2ec7f1fa:/# apt update ; apt install whois; mkpasswd --method=sha-512
    Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
    Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
    Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
    ...
    • Wed, Apr 28, 1:11 PM
    • 31 Lines
  •  ddouard  (e) swh   fixer ✚ 1 … 6  ~/s/s/swh-storage  1  pytest --doctest-modules swh/storage/fixer.py
    ===================================== test session starts ======================================
    platform linux -- Python 3.9.2, pytest-6.1.2, py-1.9.0, pluggy-0.13.1
    rootdir: /home/ddouard/swh/swh-environment/swh-storage, configfile: pytest.ini
    plugins: dash-1.18.1, postgresql-2.5.2, asyncio-0.14.0, django-4.1.0, requests-mock-1.8.0, forked-1.3.0, mock-3.3.1, xdist-2.1.0, hypothesis-6.4.3, flask-1.1.0, swh.core-0.12.1.dev3+g189ca1f, swh.journal-0.7.2.dev4+g056c210
    ...
    • Wed, Apr 28, 12:34 PM
    • 62 Lines
  •  ddouard  (e) swh   fixer ✚ 1 … 6  ~/s/s/swh-storage  pytest --doctest-modules -k fix_raw_extrinsic_metadata swh
    ===================================== test session starts ======================================
    platform linux -- Python 3.9.2, pytest-6.1.2, py-1.9.0, pluggy-0.13.1
    rootdir: /home/ddouard/swh/swh-environment/swh-storage, configfile: pytest.ini
    plugins: dash-1.18.1, postgresql-2.5.2, asyncio-0.14.0, django-4.1.0, requests-mock-1.8.0, forked-1.3.0, mock-3.3.1, xdist-2.1.0, hypothesis-6.4.3, flask-1.1.0, swh.core-0.12.1.dev3+g189ca1f, swh.journal-0.7.2.dev4+g056c210
    ...
    • Wed, Apr 28, 12:27 PM
    • 30 Lines
  • 12:20:10 Expected:
    12:20:10 {
    12:20:10 'target': 'swh:1:dir:460a586d1c95d120811eaadb398d534e019b5243',
    12:20:10 }
    12:20:10 Got:
    ...
    • Wed, Apr 28, 12:23 PM
    • 6 Lines
  • ReferenceError
    The following error originated from your test code, not from Cypress.
    > formatValuePerType is not defined
    ...
    • Wed, Apr 28, 10:24 AM
    • 34 Lines
  • <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <style>
    .first {
    background: red;
    ...
    • Wed, Apr 28, 12:07 AM
    • 20 Lines
    • HTML
  • bootstrap.servers=broker1.journal.softwareheritage.org:9093,broker2.journal.softwareheritage.org:9093,broker3.journal.softwareheritage.org:9093,broker4.journal.softwareheritage.org:9093
    sasl.mechanism=SCRAM-SHA-512
    security.protocol=SASL_SSL
    sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required \
    username="USERNAME" \
    ...
    • Tue, Apr 27, 5:32 PM
    • 6 Lines
  • #!/usr/bin/env python3
    # Copyright (C) 2021 The Software Heritage developers
    # See the AUTHORS file at the top-level directory of this distribution
    # License: GNU General Public License version 3, or any later version
    ...
    • Tue, Apr 27, 3:25 PM
    • 94 Lines
    • Python
  • 09:54:09 + tox -a
    09:54:09 + grep -qx sphinx
    09:54:09 Traceback (most recent call last):
    09:54:09 File "/usr/bin/tox", line 11, in <module>
    09:54:09 load_entry_point('tox==3.7.0', 'console_scripts', 'tox')()
    ...
    • Tue, Apr 27, 11:55 AM
    • 144 Lines
  • swh-web_1 | 172.21.0.14 - - [27/Apr/2021:08:06:46 +0000] "GET /metrics/prometheus/ HTTP/1.1" 200 359 "-" "Prometheus/2.23.0"
    prometheus_1 | level=warn ts=2021-04-27T08:06:46.788Z caller=scrape.go:1378 component="scrape manager" scrape_pool=swh-web-exporter target=http://swh-web:5004/metrics/prometheus/ msg="Error on ingesting samples that are too old or are too far into the future" num_dropped=33
    prometheus_1 | level=warn ts=2021-04-27T08:06:46.788Z caller=scrape.go:1145 component="scrape manager" scrape_pool=swh-web-exporter target=http://swh-web:5004/metrics/prometheus/ msg="Append failed" err="out of bounds"
    prometheus_1 | level=warn ts=2021-04-27T08:06:46.789Z caller=scrape.go:1094 component="scrape manager" scrape_pool=swh-web-exporter target=http://swh-web:5004/metrics/prometheus/ msg="Appending scrape report failed" err="out of bounds"
    prometheus_1 | level=warn ts=2021-04-27T08:06:51.298Z caller=scrape.go:1094 component="scrape manager" scrape_pool=swh-counters-exporter target=http://swh-counters:5011/metrics msg="Appending scrape report failed" err="out of bounds"
    ...
    • Tue, Apr 27, 10:08 AM
    • 31 Lines
  • swh-web_1 | DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
    • Mon, Apr 26, 5:21 PM
    • 1 Line
  • Not working:
    ```
    kubectl exec -ti deployment/webapp -- bash
    + LOCAL_CMD=/usr/local/bin/kubectl
    + '[' -f /usr/local/bin/kubectl ']'
    ...
    • Mon, Apr 26, 3:05 PM
    • 28 Lines
  • storage:
    cls: local
    db: dbname=softwareheritage-dev
    objstorage:
    cls: memory
    ...
    • Mon, Apr 26, 11:30 AM
    • 6 Lines
    • YAML
  • ---
    storage:
    cls: pipeline
    steps:
    - cls: buffer
    ...
    • Mon, Apr 26, 11:19 AM
    • 14 Lines
  • In [1]: from swh.storage.tests import storage_data as sd
    In [2]: set(sd.StorageData.git_revisions)
    ---------------------------------------------------------------------------
    TypeError Traceback (most recent call last)
    <ipython-input-11-45b8523ac10c> in <module>
    ...
    • Thu, Apr 22, 5:37 PM
    • 22 Lines
  • (Pdb) p self
    Revision(message=b'hello', author=Person(fullname=b'Nicolas Dandrimont <nicolas@example.com> ', name=b'Nicolas Dandrimont', email=b'nicolas@example.com'), committer=Person(fullname=b'St\xc3fano Zacchiroli <stefano@example.com>', name=b'St\xc3fano Zacchiroli', email=b'stefano@example.com'), date=TimestampWithTimezone(timestamp=Timestamp(seconds=1234567890, microseconds=0), offset=120, negative_utc=False), committer_date=TimestampWithTimezone(timestamp=Timestamp(seconds=1123456789, microseconds=0), offset=120, negative_utc=False), type=<RevisionType.GIT: 'git'>, directory=b'RV\xe8V\xa0\xa0\x89\x89f\xd6\xba\x14\xfe\xb48\x8b\x8b\x82\xd3\x02', synthetic=True, metadata=ImmutableDict({'checksums': {'sha1': 'tarball-sha1', 'sha256': 'tarball-sha256'}, 'signed-off-by': 'some-dude'}), parents=(), id=b'\x01\xa7\x11O6\xfd\xdd^\xf2Q\x1b,\xad\xda#zh\xad\xbb\x12', extra_headers=((b'gpgsig', b'test123'), (b'mergetag', b'foo\\bar'), (b'mergetag', b'"\xaf\x89\x80\x01\x00')))
    (Pdb) p set([self])
    *** TypeError...
    • Thu, Apr 22, 5:33 PM
    • 4 Lines
  • diff --git a/swh/web/tests/api/views/test_origin_save.py b/swh/web/tests/api/views/test_origin_save.py
    index f4a5cc33..b565ed89 100644
    --- a/swh/web/tests/api/views/test_origin_save.py
    +++ b/swh/web/tests/api/views/test_origin_save.py
    @@ -21,6 +21,7 @@ from swh.web.common.models import (
    ...
    • Thu, Apr 22, 3:18 PM
    • 19 Lines
  • #!/usr/bin/env bash
    usage() {
    echo "Usage: $0 [-b|--build] [-u|--upload] [-d|--distribution <all|unstable|stable>] SWH_PACKAGE"
    echo "E.g.: make-package -b swh-core"
    ...
    • Thu, Apr 22, 11:59 AM
    • 131 Lines
    • Bash Scripting
  • journal_client:
    cls: kafka
    brokers:
    - broker0.journal.staging.swh.network:9093
    sasl.username: swh-douardda
    ...
    • Wed, Apr 21, 10:27 AM
    • 12 Lines
  • ```
    head -1 /tmp/reschedule-save-code-now.not-created.csv | swh web save submit-request | jq . | tee /tmp/reschedule-save-code-now.txt WARNING:swh.core.cli:Could not load subcommand scanner: swh-scanner
    --- Logging error ---
    Traceback (most recent call last):
    File "/home/tony/work/inria/repo/swh/swh-environment/swh-web-client/swh/web/client/cli.py", line 165, in submit_request
    ...
    • Tue, Apr 20, 1:02 PM
    • 53 Lines
  • now | id | request_date | visit_type | origin_url | status | loading_task_id | visit_date | loading_task$
    -------------------------------+-------+-------------------------------+------------+---------------------------------------------------------------------------------+----------+-----------------+----------------------------+-------------$
    2021-04-20 07:12:06.315517+00 | 74388 | 2021-04-20 07:04:53.803404+00 | git | https://github.com/Anuken/Mindustry | accepted | 380600429 | | running
    2021-04-20 07:12:06.315517+00 | 74387 | 2021-04-20 07:04:30.629639+00 | git | https://github.com/tobspr/shapez.io | accepted | 380600405 | | running
    2021-04-20 07:12:06.315517+00 | 71357 | 2021-04-01 16:57:50.205+00 | git | https://scm.gforge.inria.fr/anonscm/git/simty/simty.git | accepted | 379069991 | | running
    ...
    • Tue, Apr 20, 9:11 AM
    • 49 Lines
  • ```
    (Pdb++) self._swh_storage.origin_visit_status_get_random('git')
    *** swh.core.api.RemoteException: <RemoteException 500 TypeError: ["can not serialize '_GenericAlias' object"]>
    Traceback (most recent call last):
    File "/home/tony/work/inria/repo/swh/swh-environment/swh-core/swh/core/api/__init__.py", line 181, in meth_
    ...
    • Thu, Apr 15, 5:35 PM
    • 25 Lines
  • Staged
    modified swh/scheduler/pytest_plugin.py
    @@ -1,13 +1,15 @@
    -# Copyright (C) 2020 The Software Heritage developers
    +# Copyright (C) 2020-2021 The Software Heritage developers
    ...
    • Thu, Apr 15, 1:29 PM
    • 85 Lines
  • from swh.web.common.utils import parse_iso8601_date_to_utc
    import json
    _stat_counters_backfill = {
    "2015-09-01": {"revision": 0, "origin": 0, "content": 0},
    ...
    • Tue, Apr 13, 11:17 AM
    • 38 Lines
    • Python
  • import datetime
    import iso8601
    import elasticsearch
    ...
    • Mon, Apr 12, 10:31 AM
    • 33 Lines
    • Python
  • /home/ddouard/.virtualenvs/swh/lib/python3.9/site-packages/django/db/backends/postgresql/base.py
    161a162,164
    > if settings_dict.get('NAME', '').startswith('postgresql://'):
    > return {'dsn': settings_dict['NAME']}
    >
    • Fri, Apr 9, 4:04 PM
    • 5 Lines
  • # HELP swh_web_save_requests_delay_seconds Save Requests Duration
    # TYPE swh_web_save_requests_delay_seconds gauge
    swh_web_save_requests_delay_seconds{load_task_status="failed",visit_type="git"} 0.0
    swh_web_save_requests_delay_seconds{load_task_status="failed",visit_type="hg"} 0.0
    swh_web_save_requests_delay_seconds{load_task_status="failed",visit_type="svn"} 0.0
    ...
    • Thu, Apr 8, 11:26 AM
    • 8 Lines
  • ```
    swh-web=> select loading_task_status, avg(visit_date - request_date) from save_origin_request where loading_task_status in ('succeeded', 'failed') group by loading_task_status;
    loading_task_status | avg
    ---------------------+-----------------
    succeeded | 06:13:01.904513
    ...
    • Apr 7 2021, 3:54 PM
    • 34 Lines
  • 587,2020-05-06 08:38:15.900328+00,2020-05-06 08:38:15.890146+00,ipol.2018.236,,rejected,7,6,,"{""archive"": [{""summary"": ""Deposit without archive is rejected""}], ""metadata"": [{""fields"": [""author""], ""summary"": ""Mandatory fields are missing""}, {""fields"": [""name or title""], ""summary"": ""Mandatory alternate fields are missing""}]}",,333174385,,https://doi.org/10.5201/ipol.2018.236
    589,2020-05-06 10:44:11.614131+00,2020-05-06 10:44:11.606561+00,ipol.2018.236,,rejected,7,6,,"{""archive"": [{""summary"": ""Deposit without archive is rejected""}], ""metadata"": [{""fields"": [""author""], ""summary"": ""Mandatory fields are missing""}, {""fields"": [""name or title""], ""summary"": ""Mandatory alternate fields are missing""}]}",,333176410,,https://doi.org/10.5201/ipol.2018.236
    632,2020-05-26 13:47:09.857387+00,2020-05-26 13:47:09.82403+00,ipol.2011.blm-cdf,,rejected,7,6,,"{""archive"": [{""fields"": [1180], ""summary"": ""Mandatory archive type is not supported""}]}",,334942017,,https://doi.org/10.5201/ipol.2011.blm-cdf
    636,2020-05-27 22:53:07.665269+00,2020-05-27 22:53:07.627188+00,ipol.2011.blm-cdf,,rejected,7,6,,"{""archive"": [{""fields"": [1188], ""summary"": ""Mandatory archive type is not supported""}]}",,335056086,,https://doi.org/10.5201/ipol.2011.blm-cdf
    1245,2020-12-19 14:46:03.412595+00,2020-12-19 14:46:03.411527+00,ipol.2014.71,,rejected,7,6,,"{""metadata"": [{""fields"": [""codemeta:dateCreated""], ""summary"": ""Invalid date format""}]}",,349310053,349310062,https://doi.org/10.5201/ipol.2014.71
    ...
    • Apr 2 2021, 2:57 PM
    • 68 Lines
  • 551,2020-04-20 23:11:20.74476+00,2020-04-20 23:11:20.731795+00,87afca27-ebbb-408a-845d-5277b6a92f49,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab,done,7,6,,,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab;origin=https://www.ipol.im/87afca27-ebbb-408a-845d-5277b6a92f49;visit=swh:1:snp:98b5853bb907a1d931d46521c26f753ddf4de4d3;anchor=swh:1:rev:86e6c7e3ad0699601f73f343344a65f65b6f76ce;path=/,325543487,325543502,https://doi.org/10.5201/87afca27-ebbb-408a-845d-5277b6a92f49
    595,2020-05-06 22:48:30.487078+00,2020-05-06 22:48:30.447662+00,ipol.2018.236,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab,done,7,6,,,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab;origin=https://doi.org/10.5201/ipol.2018.236;visit=swh:1:snp:206991563b219d18cdfc998d0e35716ba142c12e;anchor=swh:1:rev:baabf12542cd6df80af9594de8922b5281f07272;path=/,333184241,333184251,https://doi.org/10.5201/ipol.2018.236
    596,2020-05-06 22:50:06.271071+00,2020-05-06 22:50:06.267703+00,ipol.2018.236,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab,done,7,6,,,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab;origin=https://doi.org/10.5201/ipol.2018.236;visit=swh:1:snp:3ceae6836c8fa31e09d66133934dbc2c68ac7860;anchor=swh:1:rev:17ba798378f39d47e0525ac436856976262ac733;path=/,333184242,333184252,https://doi.org/10.5201/ipol.2018.236
    597,2020-05-06 22:50:14.110159+00,2020-05-06 22:50:14.105915+00,ipol.2018.236,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab,done,7,6,,,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab;origin=https://doi.org/10.5201/ipol.2018.236;visit=swh:1:snp:f7decde6a26a4fa5f0886d71c010ceae827bae92;anchor=swh:1:rev:1bb3dbaf98e4e775ed84a9e2d428246a47ab12d6;path=/,333184243,333184254,https://doi.org/10.5201/ipol.2018.236
    602,2020-05-07 17:32:54.537693+00,2020-05-07 17:32:54.517556+00,ipol.2018.236,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab,done,7,6,597,,swh:1:dir:a10423592dd061a00f7d34e4a3c102ba00c3d2ab;origin=https://doi.org/10.5201/ipol.2018.236;visit=swh:1:snp:994f6ca7c49b1012768c4a5a6470f17f28d0e294;anchor=swh:1:rev:cd8faa35b66794fecfc5c1e49c826d1a287ab410;path=/,333382926,333382931,https://doi.org/10.5201/ipol.2018.236
    ...
    • Apr 2 2021, 2:56 PM
    • 115 Lines
  • 2021-04-02T07:33:09.081346338Z swh_storage.1.yjtfpr7ambpm@libra | ERROR:root:unsupported Unicode escape sequence
    2021-04-02T07:33:09.081377763Z swh_storage.1.yjtfpr7ambpm@libra | DETAIL: \u0000 cannot be converted to text.
    2021-04-02T07:33:09.081383405Z swh_storage.1.yjtfpr7ambpm@libra | CONTEXT: JSON data, line 1: ...ng prices from the Steam market.", "description":...
    2021-04-02T07:33:09.081387993Z swh_storage.1.yjtfpr7ambpm@libra | COPY tmp_revision, line 10, column metadata: "{"intrinsic": {"tool": "PKG-INFO", "raw": {"metadata_version": "2.1", "name": "steammarket", "versio..."
    2021-04-02T07:33:09.081392498Z swh_storage.1.yjtfpr7ambpm@libra | Traceback (most recent call last):
    ...
    • Apr 2 2021, 9:34 AM
    • 32 Lines
  • P997 irc log
    14:01 * hakb[m] < https://matrix.org/_matrix/media/r0/download/matrix.org/sWuFMMJQwliKvENXMZBPCYuc/message.txt >
    14:02 * hakb[m] < https://matrix.org/_matrix/media/r0/download/matrix.org/ZVjcnGQYAvfmxpMyGzdahqbh/message.txt >
    14:02 * hakb[m] < https://matrix.org/_matrix/media/r0/download/matrix.org/NUHFuDYZBNRXTTXEkXhlmLGS/message.txt >
    14:03 * hakb[m] < https://matrix.org/_matrix/media/r0/download/matrix.org/hpRqGUJfkoikaajfTfXGPkmI/message.txt >
    • Apr 1 2021, 4:12 PM
    • 4 Lines
  • fullset=# select * from revision order by id desc limit 10;
    id | sha1 | date | org
    --------+--------------------------------------------+------------------------+-----
    338447 | \x3a5c899326e18b639a8f09dea58c035ade73a8ea | 1970-01-01 01:00:00+01 |
    338446 | \x3bf3d78487e1700fb4b13396c8b1d41fd6b64446 | 1970-01-01 01:00:00+01 |
    ...
    • Apr 1 2021, 12:48 PM
    • 14 Lines
  • C D R C-D C-R D-R Loc pos
    03-29T12:30 1,949,158 264 338,263 5022 498,545,729 101,905 32,647,347 9,302,016
    03-29T14:25 1,949,158 264 338,263 5022 498,545,729 101,905 32,897,808
    03-30T10:12 1,949,230 264 338,287 5022 661,970,360 117,289 34,102,420 9,302,016
    ...
    • Apr 1 2021, 11:11 AM
    • 6 Lines
  • {'files': {'mapbox-geometry_1.0.0-1.debian.tar.xz': {'md5sum': '8c38df38641cad35883e2b207016709c',
    'name': 'mapbox-geometry_1.0.0-1.debian.tar.xz',
    'sha256': 'fab7bc559d03929685a47ad036ccee4151d5d0a5fbec522cde341908bbaeaf2a',
    'size': 3756,
    'uri': 'http://deb.debian.org/debian//pool/main/m/mapbox-geometry/mapbox-geometry_1.0.0-1.debian.tar.xz'},
    ...
    • Mar 30 2021, 1:10 PM
    • 19 Lines
    • Python
  • from datetime import datetime
    from hashlib import sha1
    import os
    import pytest
    ...
    • Mar 29 2021, 1:56 PM
    • 96 Lines
    • Python
  • swh/graph/tests/test_cli.py::test_pipeline
    ------------------------------------------------------------------------------------------------- live log call --------------------------------------------------------------------------------------------------
    DEBUG swh.core.config:config.py:88 Loading config file /tmp/tmp2xijfg30.swh-graph-test/config.yml
    INFO root:config.py:33 using swh-graph JAR: /home/anlambert/swh/swh-environment/swh-graph/java/target/swh-graph-0.3.0.jar
    INFO root:webgraph.py:205 starting compression at 2021-03-26 12:41:38.621097
    ...
    • Mar 26 2021, 12:42 PM
    • 115 Lines
  • ddouard@petitpalais:~$ cat revision-cvs-extract.py
    #!/usr/bin/env python
    import sys
    import iso8601
    ...
    • Mar 26 2021, 9:52 AM
    • 25 Lines
  • def test_foo():
    from unittest.mock import MagicMock, call
    f = MagicMock()
    ...
    • Mar 25 2021, 5:45 PM
    • 33 Lines
    • Python
  • def test_load_get_known_extids() -> None:
    """Checks PackageLoader.load() fetches known extids efficiently"""
    storage = Mock(wraps=get_storage("memory"))
    class StubPackageInfo(BasePackageInfo):
    ...
    • Mar 25 2021, 5:11 PM
    • 26 Lines
    • Python
  • swh  tony  yavin4  ~  work  …  swh  swh-environment  swh-auth   master  1⬆  1✎  1⚑  %  make -C docs clean
    make: Entering directory '/home/tony/work/inria/repo/swh/swh-environment/swh-auth/docs'
    sphinx-build -M clean . _build
    Removing everything under '_build'...
    rm -rf apidoc
    ...
    • Mar 25 2021, 4:53 PM
    • 36 Lines
  • keycloak_1 | 16:25:55,702 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-1) Uncaught server error: java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "additionalParameters" (class org.keycloak.models.credential.dto.PasswordCredentialData), not marked as ignorable (2 known properties: "hashIterations", "algorithm"])
    keycloak_1 | at [Source: (String)"{"hashIterations":27500,"algorithm":"pbkdf2-sha256","additionalParameters":{}}"; line: 1, column: 77] (through reference chain: org.keycloak.models.credential.dto.PasswordCredentialData["additionalParameters"])
    keycloak_1 | at org.keycloak.keycloak-server-spi@10.0.2//org.keycloak.models.credential.PasswordCredentialModel.createFromCredentialModel(PasswordCredentialModel.java:55)
    keycloak_1 | at org.keycloak.keycloak-services@10.0.2//org.keycloak.credential.PasswordCredentialProvider.getPassword(PasswordCredentialProvider.java:71)
    keycloak_1 | at org.keycloak.keycloak-services@10.0.2//org.keycloak.credential.PasswordCredentialProvider.isValid(PasswordCredentialProvider.java:243)
    ...
    • Mar 24 2021, 5:32 PM
    • 122 Lines
  • ddouard@petitpalais:/data/aeviso$ ipython3
    Python 3.7.3 (default, Jul 25 2020, 13:03:44)
    Type "copyright", "credits" or "license" for more information.
    IPython 5.8.0 -- An enhanced Interactive Python.
    ...
    • Mar 24 2021, 2:46 PM
    • 15 Lines
  • Mar 24 11:37:30 kelvingrove standalone.sh[946]: 11:37:30,352 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (default task-216) Uncaught server error: org.keycloak.authentication.AuthenticationFlowException: authenticator: direct-grant-validate-password
    Mar 24 11:37:30 kelvingrove standalone.sh[946]: at org.keycloak.keycloak-services@10.0.2//org.keycloak.authentication.DefaultAuthenticationFlow.processSingleFlowExecutionModel(DefaultAuthenticationFlow.java:423)
    Mar 24 11:37:30 kelvingrove standalone.sh[946]: at org.keycloak.keycloak-services@10.0.2//org.keycloak.authentication.DefaultAuthenticationFlow.processFlow(DefaultAuthenticationFlow.java:247)
    Mar 24 11:37:30 kelvingrove standalone.sh[946]: at org.keycloak.keycloak-services@10.0.2//org.keycloak.authentication.AuthenticationProcessor.authenticateOnly(AuthenticationProcessor.java:976)
    Mar 24 11:37:30 kelvingrove standalone.sh[946]: at org.keycloak.keycloak-services@10.0.2//org.keycloak.protocol.oidc.endpoints.TokenEndpoint.resourceOwnerPasswordCredentialsGrant(TokenEndpoint.java:592)
    ...
    • Mar 24 2021, 12:41 PM
    • 77 Lines
  • return datetime.datetime(
    1970, 1, 1, tzinfo=datetime.timezone.utc
    ) + datetime.timedelta(
    seconds=obj["timestamp"]["seconds"],
    > microseconds=obj["timestamp"]["microseconds"],
    ...
    • Mar 24 2021, 11:04 AM
    • 7 Lines
  • - username: hal
    password: ""
    email: ""
    - username: hal-preprod
    password: ""
    ...
    • Mar 23 2021, 12:17 PM
    • 21 Lines
  • 11:17 $ curl -i -H "Authorization: Bearer ${TOKEN}" https://archive.softwareheritage.org/api/1/stat/counters/
    HTTP/1.1 403 Forbidden
    Date: Tue, 23 Mar 2021 10:17:27 GMT
    Server: gunicorn/19.9.0
    Content-Type: application/json
    ...
    • Mar 23 2021, 11:18 AM
    • 17 Lines
  • swh-deposit_1 | [2021-03-23 09:29:57 +0000] [114] [DEBUG] GET /deposit/1/servicedocument/
    swh-deposit_1 | EEEEE KeycloakError: e: 401: b'{"error":"invalid_grant","error_description":"Invalid user credentials"}'
    swh-deposit_1 | EEEEE KeycloakError: e.error_message: b'{"error":"invalid_grant","error_description":"Invalid user credentials"}'
    swh-deposit_1 | EEEEE KeycloakError: e.code: 401
    swh-deposit_1 | EEEEE KeycloakError: e.body: b'{"error":"invalid_grant","error_description":"Invalid user credentials"}'
    • Mar 23 2021, 10:36 AM
    • 5 Lines
  • swh deposit upload --url http://localhost:5080/deposit \
    --username test \
    --password test \
    --metadata ../deposit-swh.update-metadata.xml --format json
    WARNING:swh.deposit.cli.client:The metadata file provided should contain "<swh:create_origin>" or "<swh:add_to_origin>" tag
    ...
    • Mar 22 2021, 4:07 PM
    • 33 Lines
  • (base) [zacchiro@rioc ~]$ ls -al /scratch/apietri/graph-2020-12-15/
    total 1108962828
    drwxr-xr-x 2 apietri irill 5 Jan 3 04:49 .
    drwxr-xr-x 11 apietri irill 14 Jan 6 18:45 ..
    -rw-r--r-- 1 apietri irill 917013631214 Jan 1 23:43 graph-bv.graph
    ...
    • Mar 19 2021, 2:26 PM
    • 12 Lines
  • def test_provenance_revision_add(provenance, swh_storage_with_objects, archive_pg):
    """Test the ProvenanceDB.revision_add() method"""
    for revision in TEST_OBJECTS["revision"]:
    ...
    • Mar 18 2021, 6:43 PM
    • 19 Lines
  • softwareheritage=> select target, discovery_date from raw_extrinsic_metadata rem where not exists (select 1 from raw_extrinsic_metadata_new remn where date_trunc('second', remn.discovery_date) = date_trunc('second', rem.discovery_date) and remn.target = case when rem.target LIKE 'swh:1:%' then rem.target else 'swh:1:ori:' || encode(digest(rem.target, 'sha1'), 'hex') end) order by target;
    target | discovery_date
    ----------------------------------------------------+-------------------------------
    swh:1:dir:d83b7dda887dc790f7207608474650d4344b8df9 | 2021-03-16 00:03:03.765938+00
    swh:1:dir:d83b7dda887dc790f7207608474650d4344b8df9 | 2021-03-16 16:41:37.093553+00
    ...
    • Mar 17 2021, 7:46 PM
    • 10 Lines
  • $ gbp import-orig --uscan
    gbp:info: Launching uscan...
    gbp:info: Using uscan downloaded tarball ../mirakuru_2.3.0.orig.tar.gz
    What is the upstream version? [2.3.0]
    gbp:info: Importing '../mirakuru_2.3.0.orig.tar.gz' to branch 'debian/upstream'...
    ...
    • Mar 17 2021, 10:01 AM
    • 770 Lines
  • ???
    swh-deposit_1 | Internal Server Error: /deposit/1/servicedocument/
    swh-deposit_1 | Traceback (most recent call last):
    swh-deposit_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
    ...
    • Mar 13 2021, 10:25 AM
    • 38 Lines
  • tox -e py3-django2-dev -- -s -k test_backend_
    GLOB sdist-make: /home/tony/work/inria/repo/swh/swh-environment/swh-deposit/setup.py
    py3-django2-dev inst-nodeps: /home/tony/work/inria/repo/swh/swh-environment/swh-deposit/.tox/.tmp/package/1/swh.deposit-0.11.2.dev3+gf42e3dfe.d20210312.zip
    py3-django2-dev installed: aiohttp==3.7.4.post0,aiohttp-utils==3.1.1,amqp==5.0.5,async-timeout==3.0.1,attrs==20.3.0,attrs-strict==0.2.1,beautifulsoup4==4.9.3,billiard==3.6.3.0,blinker==1.4,cassandra-driver==3.24.0,celery==5.0.5,certifi==2020.12.5,cffi==1.14.5,chardet==4.0.0,click==7.1.2,click-didyoumean==0.0.3,click-plugins==1.1.1,click-repl==0.1.6,confluent-kafka==1.6.0,coreapi==2.3.3,coreschema==0.0.4,coverage==5.5,cryptography==3.4.6,decorator==4.4.2,Deprecated==1.2.11,distro==1.5.0,Django==2.2.19,django-stubs==1.7.0,django-test-migrations==1.1.0,djangorestframework==3.12.2,djangorestframework-stubs==1.4.0,ecdsa==0.14.1,elasticsearch==7.11.0,fancycompleter==0.9.1,Flask==1.1.2,geomet==0.2.1.post1,gunicorn==20.0.4,httplib2==0.19.0,humanize==3.2.0,hypothesis==6.8.0,idna==2.10,importlib-metadata==3.7.2,iniconfig==1.1.1,iso8601==0.1.14,itsdangerous==1.1.0,itypes==1.2.0,jeepney==0.6.0,Jinja2==2.11.3,keyring==23.0.0,kombu==5.0.2,launchpadlib==1.10.13,lazr.restfulclient==0.14.3,lazr.uri==1.0.5,MarkupSafe==1.1.1,mirakuru==2.3.0,msgpack==1.0.2,multidict==5.1.0,mypy==0.812,mypy-extensions==0.4.3,oauthlib==3.1.0,packaging==20.9,pbr==5.5.1,pdbpp==0.10.2,pika==1.2.0,pkginfo==1.7.0,plotille==3.7.2,pluggy==0.13.1,port-for==0.4,prompt-toolkit==3.0.17,psutil==5.8.0,psycopg2==2.8.6,py==1.10.0,pyasn1==0.4.8,pycparser==2.20,Pygments==2.8.1,pyparsing==2.4.7,pyrepl==0.9.0,pytest==6.2.2,pytest-cov==2.11.1,pytest-django==4.1.0,pytest-mock==3.5.1,pytest-postgresql==2.6.1,python-dateutil==2.8.1,python-debian==0.1.39,python-jose==3.2.0,python-keycloak==0.24.0,python-mimeparse==1.6.0,pytz==2021.1,PyYAML==5.4.1,requests==2.25.1,requests-mock==1.8.0,rsa==4.7.2,SecretStorage==3.3.1,sentry-sdk==1.0.0,simpy==3.0.13,six==1.15.0,sortedcontainers==2.3.0,soupsieve==2.2,sqlparse==0.4.1,swh.auth @ file:///home/tony/work/inria/repo/swh/swh-environment/swh-auth,swh.core==0.12.0,swh.deposit @ file:///home/tony/work/inria/repo/swh/swh-environment/swh-deposit/.tox/.tmp/package/1/swh.deposit-0.11.2.dev3%2Bgf42e3dfe.d20210312.zip,swh.journal==0.7.1,swh.lister==0.10.0,swh.loader.core==0.20.0,swh.model==2.1.0,swh.objstorage==0.2.2,swh.scheduler==0.10.0,swh.storage==0.24.1,tenacity==7.0.0,testresources==2.0.1,toml==0.10.2,typed-ast==1.4.2,typing-extensions==3.7.4.3,uritemplate==3.0.1,urllib3==1.26.3,vine==5.0.0,wadllib==1.3.5,wcwidth==0.2.5,Werkzeug==1.0.1,wmctrl==0.3,wrapt==1.12.1,xmltodict==0.12.0,yarl==1.6.3,zipp==3.4.1
    py3-django2-dev run-test-pre: PYTHONHASHSEED='3082583648'
    ...
    • Mar 12 2021, 4:10 PM
    • 177 Lines
  • http https://archive.softwareheritage.org/api/1/snapshot/fc7706e4c177714475a4886831486ad0979983ea/ "Authorization: Bearer ${SWH_TOKEN}"
    HTTP/1.1 403 Forbidden
    Age: 0
    Allow: OPTIONS, GET, HEAD, OPTIONS
    Connection: keep-alive
    ...
    • Mar 12 2021, 2:54 PM
    • 21 Lines
  • from typing import List
    def f() -> None:
    l1: List[str] = ["foo"]
    l2: List[int] = [42]
    ...
    • Mar 11 2021, 4:28 PM
    • 7 Lines
    • Python
  • ______________ test_swh_model_todict_fromdict[metadata_authority-objects3] _______________
    object_type = 'metadata_authority'
    objects = [MetadataAuthority(type=<MetadataAuthorityType.FORGE: 'forge'>, url='http://example.org/', metadata=ImmutableDict({}))]
    ...
    • Mar 8 2021, 2:13 PM
    • 67 Lines
  • swh-loader-deposit_1 | [2021-03-05 13:29:50,864: INFO/MainProcess] Received task: swh.loader.package.deposit.tasks.LoadDeposit[29c39c67-9d10-4ee7-be6b-9a03c5dbbb8c]
    swh-loader-deposit_1 | [2021-03-05 13:29:50,867: DEBUG/ForkPoolWorker-1] Loading config file /loader-deposit.yml
    swh-loader-deposit_1 | [2021-03-05 13:29:51,384: DEBUG/MainProcess] heartbeat_tick : for connection 4c6e0d55bab340648017acbce1649821
    swh-loader-deposit_1 | [2021-03-05 13:29:51,384: DEBUG/MainProcess] heartbeat_tick : Prev sent/recv: 39/2290, now - 41/2446, monotonic - 845447.299477598, last_heartbeat_sent - 845447.299474569, heartbeat int. - 60 for connection 4c6e0d55bab340648017acbce1649821
    swh-loader-deposit_1 | [2021-03-05 13:29:52,977: DEBUG/ForkPoolWorker-1] last snapshot: None
    ...
    • Mar 5 2021, 2:33 PM
    • 43 Lines
  • jenkins@bfa1ac925ae0:/var/lib/jenkins/workspace/DFUSE/tests-on-diff@tmp/swh-fuse$ swh --log-level=DEBUG fs mount -f /tmp/fuse
    WARNING:root:Using default configuration (cannot load custom one)
    Traceback (most recent call last):
    File "/home/jenkins/.local/lib/python3.7/site-packages/swh/fuse/cli.py", line 72, in fuse
    raise ValueError(f"Cannot parse configuration file: {config_file}")
    ...
    • Mar 4 2021, 6:00 PM
    • 47 Lines
  • #!/bin/bash
    mkdir -p /srv/softwareheritage/ssd/seirl/tmp
    java -Xmx400G -server \
    -Djava.io.tmpdir=/srv/softwareheritage/ssd/seirl/tmp \
    ...
    • Mar 4 2021, 12:36 PM
    • 10 Lines
    • Bash Scripting
  • print("content_raw middle")
    for chunk in r.iter_content(chunk_size=None, decode_unicode=False):
    print("content_raw chunk", repr(chunk))
    yield chunk
    ...
    • Mar 4 2021, 11:40 AM
    • 7 Lines
  • Executing the snapshot_get_branches query on db.internal.softwareheritage.org gives unexpected
    performance results:
    - limiting the query to 10 results is fast and responsive
    ...
    • Mar 3 2021, 2:07 PM
    • 150 Lines
  • ```
    The number of checksum errors associated with a ZFS device
    exceeded acceptable levels. ZFS has marked the device as
    degraded.
    ...
    • Mar 3 2021, 11:00 AM
    • 68 Lines
  • Start docker container with docker-compose override on the deposit repository:
    In the following:
    #+begin_src sh
    alias swh-doco-keycloak="docker-compose -f docker-compose.yml -f docker-compose.keycloak.yml -f docker-compose.override.yml"
    ...
    • Feb 25 2021, 11:37 AM
    • 71 Lines
  • package org.softwareheritage.graph.utils;
    import it.unimi.dsi.big.webgraph.LazyLongIterator;
    import it.unimi.dsi.fastutil.BigArrays;
    import it.unimi.dsi.fastutil.io.BinIO;
    ...
    • Feb 24 2021, 3:03 PM
    • 61 Lines
    • Java
  • $ doco exec swh-loader /bin/bash
    swh@2d4da9949cde:/$ swh loader run mercurial https://mercurial-scm.org/repo/hello
    INFO:swh.loader.mercurial.Bundle20Loader:Load origin 'https://mercurial-scm.org/repo/hello' with type 'hg'
    {'status': 'eventful'}
    swh@2d4da9949cde:/$
    • Feb 23 2021, 5:39 PM
    • 5 Lines
  • ```
    from typing import Any, Dict
    import requests
    ...
    • Feb 23 2021, 2:27 PM
    • 123 Lines
  • ardumont@worker3:~% file repo.tar.gz
    repo.tar.gz: POSIX tar archive (GNU)
    ardumont@worker3:~% nomossa repo.tar.gz
    File repo.tar.gz contains license(s) GPL-2.0,LGPL
    ardumont@worker3:~% time nomossa info.txt.gpg
    ...
    • Feb 22 2021, 5:32 PM
    • 15 Lines
  • diff --git a/swh/clearlydefined/orchestrator.py b/swh/clearlydefined/orchestrator.py
    index 41beb9b..c35259e 100644
    --- a/swh/clearlydefined/orchestrator.py
    +++ b/swh/clearlydefined/orchestrator.py
    @@ -121,16 +121,16 @@ def map_previously_unmapped_data(storage: StorageInterface, cursor, connection)
    ...
    • Feb 22 2021, 3:45 PM
    • 25 Lines
    • Diff
  • softwareheritage-indexer=> select count(*) from content_fossology_license;
    now | count
    ------------------------------- | ------------
    2021-02-22 10:55:14.408757+00 | 4459106964
    (1 row)
    ...
    • Feb 22 2021, 11:55 AM
    • 829 Lines
  • FAILED .tox/py3/lib/python3.7/site-packages/swh/loader/tests/test_cli.py::test_get_loader - pkg_resources.ContextualVersionConflict: (chardet 4.0.0 (/home/tony/work/inria/repo/swh/swh-environment/swh-loader-core/.tox/py3/lib/python3.7/s...
    FAILED .tox/py3/lib/python3.7/site-packages/swh/loader/tests/test_cli.py::test_run_pypi - AssertionError: assert 1 == 0
    FAILED .tox/py3/lib/python3.7/site-packages/swh/loader/tests/test_cli.py::test_list_help_npm - AssertionError: assert 1 == 0
    ERROR .tox/py3/lib/python3.7/site-packages/swh/loader/package/archive/tests/test_tasks.py::test_tasks_archive_loader - pkg_resources.ContextualVersionConflict: (chardet 4.0.0 (/home/tony/work/inria/repo/swh/swh-environment/swh-loader-co...
    ERROR .tox/py3/lib/python3.7/site-packages/swh/loader/package/cran/tests/test_tasks.py::test_tasks_cran_loader - pkg_resources.ContextualVersionConflict: (chardet 4.0.0 (/home/tony/work/inria/repo/swh/swh-environment/swh-loader-core/.to...
    ...
    • Feb 19 2021, 6:00 PM
    • 11 Lines
  • swh-web_1 | django.urls.exceptions.Resolver404: {'tried': [[<URLResolver <module 'swh.web.admin.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/admin/urls.py'> (None:None) '^admin/'>], [<URLPattern '^favicon\.ico$'>], [<URLResolver <module 'swh.web.api.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/api/urls.py'> (None:None) '^api/'>], [<URLResolver <module 'swh.web.browse.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/browse/urls.py'> (None:None) '^browse/'>], [<URLPattern '^$' [name='swh-web-homepage']>], [<URLPattern '^jsreverse/$' [name='js_reverse']>], [<URLPattern '^(?P<swhid>swh:[0-9]+:[a-z]+:[0-9a-f]+.*)/$' [name='browse-swhid']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLResolver <module 'swh.web.misc.coverage' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/coverage.py'> (None:None) '^'>, <URLPattern '^coverage/$' [name='swh-coverage']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLPattern '^jslicenses/$' [name='jslicenses']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLResolver <module 'swh.web.misc.origin_save' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/origin_save.py'> (None:None) '^'>, <URLPattern '^save/$' [name='origin-save']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLResolver <module 'swh.web.misc.origin_save' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/origin_save.py'> (None:None) '^'>, <URLPattern '^save/(?P<visit_type>.+)/url/(?P<origin_url>.+)/$' [name='origin-save-request']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLResolver <module 'swh.web.misc.origin_save' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/origin_save.py'> (None:None) '^'>, <URLPattern '^save/types/list/$' [name='origin-save-types-list']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLResolver <module 'swh.web.misc.origin_save' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/origin_save.py'> (None:None) '^'>, <URLPattern '^save/requests/list/(?P<status>.+)/$' [name='origin-save-requests-list']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLResolver <module 'swh.web.misc.origin_save' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/origin_save.py'> (None:None) '^'>, <URLPattern '^save/task/info/(?P<save_request_id>.+)/' [name='origin-save-task-info']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLPattern '^stat_counters/' [name='stat-counters']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLResolver <module 'swh.web.misc.badges' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/badges.py'> (None:None) '^'>, <URLPattern '^badge/(?P<object_type>[a-z]+)/(?P<object_id>.+)/$' [name='swh-badge']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLResolver <module 'swh.web.misc.badges' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/badges.py'> (None:None) '^'>, <URLPattern '^badge/(?P<object_swhid>swh:[0-9]+:[a-z]+:[0-9a-f]+.*)/$' [name='swh-badge-swhid']>], [<URLResolver <module 'swh.web.misc.urls' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/misc/urls.py'> (None:None) '^'>, <URLPattern '^metrics/prometheus/$' [name='metrics-prometheus']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/login/$' [name='oidc-login']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/login-complete/$' [name='oidc-login-complete']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/logout/$' [name='oidc-logout']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/generate-bearer-token/$' [name='oidc-generate-bearer-token']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/generate-bearer-token-complete/$' [name='oidc-generate-bearer-token-complete']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/list-bearer-token/$' [name='oidc-list-bearer-tokens']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/get-bearer-token/$' [name='oidc-get-bearer-token']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/revoke-bearer-tokens/$' [name='oidc-revoke-bearer-tokens']>], [<URLResolver <module 'swh.web.auth.views' from '/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/web/auth/views.py'> (None:None) '^'>, <URLPattern '^oidc/profile/$' [name='oidc-profile']>], [<URLPattern '^logout/$' [name='logout']>], [<URLPattern '^static/(?P<path>.*)$'>]], 'path': 'favicon.ico/'}
    swh-web_1 |
    swh-web_1 | During handling of the above exception, another exception occurred:
    swh-web_1 |
    swh-web_1 | Traceback (most recent call last):
    ...
    • Feb 19 2021, 3:33 PM
    • 29 Lines
  • "swh.journal.objects.origin_visit_status",26,386129
    "swh.journal.objects.origin_visit_status",12,386575
    "swh.journal.objects.origin_visit_status",35,385683
    "swh.journal.objects.origin",54,8166
    "swh.journal.objects.origin_visit",55,195150
    ...
    • Feb 18 2021, 4:25 PM
    • 192 Lines
  • self = <swh.search.tests.test_elasticsearch.TestElasticsearchSearch testMethod=test_origin_intrinsic_metadata_date>
    def test_origin_intrinsic_metadata_date(self):
    """Checks inserting a date-like in a field does not update the mapping to
    require every document uses a date in that field; or that search queries
    ...
    • Feb 18 2021, 11:32 AM
    • 69 Lines
    • Python
  • {
    "origin" : {
    "mappings" : {
    "properties" : {
    "has_visits" : {
    ...
    • Feb 18 2021, 11:14 AM
    • 644 Lines
    • JSON
  • swh-loader_1 | [2021-02-17 12:59:37,002: INFO/MainProcess] Received task: swh.loader.mercurial.tasks.LoadMercurial[d8a7ffea-56e0-4c93-9c88-6d1efe05a5b1]
    swh-loader_1 | [2021-02-17 12:59:37,005: DEBUG/ForkPoolWorker-1] Loading config file /loader.yml
    swh-loader_1 | [2021-02-17 12:59:39,814: INFO/ForkPoolWorker-1] Load origin 'https://hg.sr.ht/~zimoun/hello-example' with type 'hg'
    swh-loader_1 | [2021-02-17 12:59:39,815: DEBUG/ForkPoolWorker-1] Cloning https://hg.sr.ht/~zimoun/hello-example to /tmp/swh.loader.mercurial.0bko1hw5-46 with timeout 7200 seconds
    swh-loader_1 | [2021-02-17 12:59:40,664: ERROR/ForkPoolWorker-1] Loading failure, updating to `not_found` status
    ...
    • Feb 17 2021, 2:01 PM
    • 16 Lines
  • ```
    root@73dd2e784003:/# aptitude why openjdk-17-jre
    i cassandra Depends openjdk-8-jre-headless | java8-runtime
    i A openjdk-17-jre Provides java8-runtime
    ```
    ...
    • Feb 16 2021, 12:41 PM
    • 12 Lines
  • 13:47 $ swh --log-level DEBUG search -C ~/.config/swh/search.yml journal-client objects -o origin_visit
    DEBUG:swh.core.config:Loading config file /home/anlambert/.config/swh/search.yml
    DEBUG:swh.journal.client:Consumer settings: {'debug': 'consumer', 'bootstrap.servers': 'journal0.internal.staging.swh.network', 'auto.offset.reset': 'earliest', 'group.id': 'anlambert.search', 'on_commit': <function _on_commit at 0x7f7168a54268>, 'error_cb': <function _error_cb at 0x7f7168a541e0>, 'enable.auto.commit': False, 'logger': <Logger swh.journal.client.rdkafka (DEBUG)>}
    Traceback (most recent call last):
    File "/home/anlambert/.virtualenvs/swh/bin/swh", line 8, in <module>
    ...
    • Feb 15 2021, 2:14 PM
    • 31 Lines
  • [15/Feb/2021 13:02:16] [DEBUG] urllib3.connectionpool._new_conn:231 - Starting new HTTP connection (1): search-esnode0.internal.staging.swh.network:9200
    [15/Feb/2021 13:02:17] [WARNING] elasticsearch.log_request_fail:281 - POST http://search-esnode0.internal.staging.swh.network:9200/origin/_search?size=100 [status:N/A request:0.013s]
    Traceback (most recent call last):
    File "/home/anlambert/.virtualenvs/swh/lib/python3.7/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
    ...
    • Feb 15 2021, 2:11 PM
    • 10 Lines
  • [15/Feb/2021 12:58:32] [DEBUG] urllib3.connectionpool._new_conn:231 - Starting new HTTP connection (1): search0.internal.staging.swh.network:5010
    [15/Feb/2021 12:58:32] [DEBUG] urllib3.util.retry.increment:575 - Incremented Retry for (url='/origin/search'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
    [15/Feb/2021 12:58:32] [WARNING] urllib3.connectionpool.urlopen:781 - Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fdd08e4a240>: Failed to establish a new connection: [Errno 111] Connection refused')': /origin/search
    [15/Feb/2021 12:58:32] [DEBUG] urllib3.connectionpool._new_conn:231 - Starting new HTTP connection (2): search0.internal.staging.swh.network:5010
    [15/Feb/2021 12:58:32] [DEBUG] urllib3.util.retry.increment:575 - Incremented Retry for (url='/origin/search'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
    ...
    • Feb 15 2021, 2:09 PM
    • 11 Lines
  • In [19]: exc
    Out[19]:
    hglib.error.CommandError('hg',
    'clone',
    b'--',
    ...
    • Feb 11 2021, 6:42 PM
    • 63 Lines
  • @startuml
    title swh-search environment (production)
    node moma {
    component webapp
    ...
    • Feb 11 2021, 11:29 AM
    • 54 Lines
  • # S1
    ## Old code
    | date | snapshot | | last_ev | last_unev | Snap |
    | ---- | -------- | --- | -------- | --------- | ---- |
    | 2022 | S2 | | 2022 | | S2 |
    ...
    • Feb 10 2021, 10:00 AM
    • 55 Lines
  • "swh.journal.objects.origin_visit_status",26,335718
    "swh.journal.objects.origin_visit_status",12,336502
    "swh.journal.objects.origin_visit_status",35,335346
    "swh.journal.objects.origin",54,8082
    "swh.journal.objects.origin_visit",55,169851
    ...
    • Feb 9 2021, 6:33 PM
    • 192 Lines
  • aiosqlite==0.16.1
    async-generator==1.10
    attrs==20.3.0
    attrs-strict==0.2.0
    certifi==2020.12.5
    ...
    • Feb 9 2021, 2:34 PM
    • 33 Lines
  • #!/bin/bash
    # SPDX-FileCopyrightText: © 2021 Stefano Zacchiroli <zack@upsilon.cc>
    # SPDX-License-Identifier: GPL-3.0-or-later
    ...
    • Feb 8 2021, 10:31 AM
    • 29 Lines
    • Bash Scripting
  • last which worked:
    ```
    tox -- -x -s
    GLOB sdist-make: /home/tony/work/inria/repo/swh/swh-environment/swh-storage/setup.py
    black installed: appdirs==1.4.4,attrs==20.3.0,black==19.10b0,click==7.1.2,pathspec==0.8.1,regex==2020.11.13,toml==0.10.2,typed-ast==1.4.2
    ...
    • Feb 5 2021, 3:48 PM
    • 325 Lines
  • #!/usr/bin/env bash
    # set -x
    set -e
    export ES_NODE="192.168.100.61:9200"
    ...
    • Feb 4 2021, 7:46 PM
    • 66 Lines
    • Bash Scripting
  • zack@noziere:/tmp/t$ tree
    .
    ├── a
    ├── b
    ├── c
    ...
    • Feb 4 2021, 12:00 PM
    • 61 Lines