Page MenuHomeSoftware Heritage
Feed Advanced Search

Sep 20 2019

zack committed rDGRPH33f7a93fe822: typing: minimal changes to make a no-op mypy run pass (authored by zack).
typing: minimal changes to make a no-op mypy run pass
Sep 20 2019, 4:02 PM
zack committed rDGRPHdaee7606774b: swh.graph.pid: add type annotations (authored by zack).
swh.graph.pid: add type annotations
Sep 20 2019, 4:02 PM
zack closed D2019: typing: type annotate swh.graph.pid.
Sep 20 2019, 4:02 PM
zack updated the diff for D2019: typing: type annotate swh.graph.pid.
  • MANIFEST.in: ship py.typed
Sep 20 2019, 4:00 PM
zack committed rDTPLe6cbf6609926: AUTHORS: bump copyright year (authored by zack).
AUTHORS: bump copyright year
Sep 20 2019, 3:59 PM
zack committed rDTPLaaad7ab5c2a8: MANIFEST.in: ship py.typed (authored by zack).
MANIFEST.in: ship py.typed
Sep 20 2019, 3:59 PM
zack added a comment to D2019: typing: type annotate swh.graph.pid.

It does

Sep 20 2019, 3:55 PM
zack committed rDMOD1295f45d69c5: MANIFEST.in: ship py.typed (authored by zack).
MANIFEST.in: ship py.typed
Sep 20 2019, 3:49 PM
zack committed rDCOREbc6053845af5: MANIFEST.in: ship py.typed (authored by zack).
MANIFEST.in: ship py.typed
Sep 20 2019, 3:47 PM
zack created D2020: add build timestamp to page footers.
Sep 20 2019, 3:39 PM
zack added inline comments to D2019: typing: type annotate swh.graph.pid.
Sep 20 2019, 2:56 PM
zack created D2019: typing: type annotate swh.graph.pid.
Sep 20 2019, 2:42 PM
zack committed rDMOD70e5d50a121b: identifiers.py: do not inherit from on-the-fly namedtuple (authored by zack).
identifiers.py: do not inherit from on-the-fly namedtuple
Sep 20 2019, 1:41 PM
zack committed rDMOD267ffeeacbce: mypy.ini: remove left-over sample section (authored by zack).
mypy.ini: remove left-over sample section
Sep 20 2019, 1:41 PM
zack committed rDMOD54c664267640: mypy: ignore django-stubs, needed only by hypothesis (authored by zack).
mypy: ignore django-stubs, needed only by hypothesis
Sep 20 2019, 1:41 PM
zack committed rDMOD491dcc599dbf: typing: minimal changes to make a no-op mypy run pass (authored by zack).
typing: minimal changes to make a no-op mypy run pass
Sep 20 2019, 1:41 PM
zack closed D2016: typing: minimal changes to make a no-op mypy run pass.
Sep 20 2019, 1:41 PM
zack committed rDDOC65aec8bc7ea0: developer setup: add mypy and generalize text about tox invocation (authored by zack).
developer setup: add mypy and generalize text about tox invocation
Sep 20 2019, 1:39 PM
zack committed rDTPL72c29548cef6: add mypy scaffolding (authored by zack).
add mypy scaffolding
Sep 20 2019, 1:29 PM
zack committed rDCORE29801057f216: mypy: ignore django-stubs, needed only by hypothesis (authored by zack).
mypy: ignore django-stubs, needed only by hypothesis
Sep 20 2019, 1:24 PM
zack committed rDCORE5ad4fd3374aa: typing: minimal changes to make a no-op mypy run pass (authored by zack).
typing: minimal changes to make a no-op mypy run pass
Sep 20 2019, 1:24 PM
zack committed rDCOREb5f27e87ae1f: mypy: use conffile to ignore requests_mock (authored by zack).
mypy: use conffile to ignore requests_mock
Sep 20 2019, 1:24 PM
zack closed D2015: typing: minimal changes to make a no-op mypy run pass.
Sep 20 2019, 1:24 PM
zack added inline comments to D2016: typing: minimal changes to make a no-op mypy run pass.
Sep 20 2019, 12:14 PM
zack updated the diff for D2016: typing: minimal changes to make a no-op mypy run pass.
  • mypy: ignore django-stubs, needed only by hypothesis
  • identifiers.py: do not inherit from on-the-fly namedtuple
Sep 20 2019, 12:14 PM
zack updated the diff for D2015: typing: minimal changes to make a no-op mypy run pass.
  • mypy: ignore django-stubs, needed only by hypothesis
Sep 20 2019, 12:04 PM
zack updated the diff for D2015: typing: minimal changes to make a no-op mypy run pass.
  • mypy: use conffile to ignore requests_mock
Sep 20 2019, 11:30 AM
zack updated the diff for D2016: typing: minimal changes to make a no-op mypy run pass.
  • mypy.ini: remove left-over sample section
Sep 20 2019, 11:28 AM
zack created D2016: typing: minimal changes to make a no-op mypy run pass.
Sep 20 2019, 11:23 AM
zack created D2015: typing: minimal changes to make a no-op mypy run pass.
Sep 20 2019, 11:22 AM
zack committed rDENV1864119c727a: Makefile.python: drop spurious -p argument to mypy invocation (authored by zack).
Makefile.python: drop spurious -p argument to mypy invocation
Sep 20 2019, 11:18 AM
zack committed rDENVf21086656eb8: mypy: run on the swh/ dir rather than package (authored by zack).
mypy: run on the swh/ dir rather than package
Sep 20 2019, 11:16 AM

Sep 19 2019

zack committed rDENV758f7df1bdb0: make mypy settings per-package (authored by zack).
make mypy settings per-package
Sep 19 2019, 11:01 PM
zack added a comment to T2012: ci: Add a rule to prevent push when ci build failure.
In T2012#37261, @zack wrote:

Count me as -1 on this.

Strict rules like these tend to get in the way of getting work done when you need it.

Sep 19 2019, 10:55 PM · Continuous Integration
zack committed rDVAUfef0300bbc1e: CLI: drop obsolete alias "serve" for "rpc-serve" (authored by zack).
CLI: drop obsolete alias "serve" for "rpc-serve"
Sep 19 2019, 10:49 PM
zack closed D2013: CLI: drop obsolete alias "serve" for "rpc-serve".
Sep 19 2019, 10:49 PM
zack added a comment to T2012: ci: Add a rule to prevent push when ci build failure.

From what you wrote, what I think will actually fix your problem is seeing the OK/KO CI marker in the list of pending review requests, so that you can just skip the ones with failing build without having to click them. Would that be enough?

Sep 19 2019, 10:45 PM · Continuous Integration
zack created D2013: CLI: drop obsolete alias "serve" for "rpc-serve".
Sep 19 2019, 10:14 PM
zack committed rDLDG41af03e8c8df: test_from_disk.py: avoid shadowing base classes in tests (authored by zack).
test_from_disk.py: avoid shadowing base classes in tests
Sep 19 2019, 10:10 PM
zack closed D2011: test_from_disk.py: avoid shadowing base classes in tests.
Sep 19 2019, 10:10 PM
zack committed rDCORE8faa3254ccbf: db_testing.py: do not explode when TEST_DB_DUMP = None (authored by zack).
db_testing.py: do not explode when TEST_DB_DUMP = None
Sep 19 2019, 10:07 PM
zack closed D2012: db_testing.py: do not explode when TEST_DB_DUMP = None.
Sep 19 2019, 10:07 PM
zack committed rDDEP8f39669af9b7: admin CLI: avoid redefining deposit name in admin subcommand (authored by zack).
admin CLI: avoid redefining deposit name in admin subcommand
Sep 19 2019, 10:07 PM
zack closed D2009: admin CLI: avoid redefining deposit name in admin subcommand.
Sep 19 2019, 10:07 PM
zack created D2012: db_testing.py: do not explode when TEST_DB_DUMP = None.
Sep 19 2019, 6:14 PM
zack abandoned D2010: test_loader.py: drop unused (and wrongly typed) TEST_DB_DUMP.
Sep 19 2019, 6:04 PM
zack planned changes to D2010: test_loader.py: drop unused (and wrongly typed) TEST_DB_DUMP.
Sep 19 2019, 5:59 PM
zack created D2011: test_from_disk.py: avoid shadowing base classes in tests.
Sep 19 2019, 5:54 PM
zack created D2010: test_loader.py: drop unused (and wrongly typed) TEST_DB_DUMP.
Sep 19 2019, 5:50 PM
zack created D2009: admin CLI: avoid redefining deposit name in admin subcommand.
Sep 19 2019, 4:02 PM
zack committed R183:8717b3905eba: fix dangling cross reference in Merkle bibliography entry (authored by zack).
fix dangling cross reference in Merkle bibliography entry
Sep 19 2019, 2:15 PM
zack added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

@sunweaver here it is then: https://annex.softwareheritage.org/public/scratch/36489f4afbc3d2d3a43bf00d79f03deb4e9ed5f7.gz

Sep 19 2019, 1:56 PM · Vault
zack abandoned D1999: make codespell pass, fixing false-positives due to single-quoted strings.
Sep 19 2019, 1:35 PM
zack added a comment to D1999: make codespell pass, fixing false-positives due to single-quoted strings.
find swh docs -name '*.py' -o -name '*.rst' | xargs -r codespell -r "[\\w\\-'’\`]*[\\w\\-’\`]"

> (the default regexp is: https://github.com/codespell-project/codespell/blob/d7fa1e4/codespell_lib/_codespell.py#L29 )

Sep 19 2019, 1:35 PM
zack closed D2000: CLI: drop obsolete "api-server" and "serve" aliases.

closed in 43a9bf761d73b419a63d040ae335eceeadf852d9

Sep 19 2019, 1:30 PM
zack committed rDCIDX43a9bf761d73: CLI: drop obsolete "api-server" and "serve" aliases (authored by zack).
CLI: drop obsolete "api-server" and "serve" aliases
Sep 19 2019, 1:30 PM
zack closed T1964: Timeout reached while assembling the requested bundle (Rocrail) as Resolved.

@sunweaver: the bundle is ready, in theory you should be able to obtain it like this:

$ wget https://archive.softwareheritage.org/api/1/vault/revision/85678b0d6c52d6fd0af50c8e493c74dd15a7115d/gitfast/raw/ -O 85678b0d6c52d6fd0af50c8e493c74dd15a7115d.gitfast.gz
$ git init
$ zcat 85678b0d6c52d6fd0af50c8e493c74dd15a7115d.gitfast.gz | git fast-import

I say in theory because (due to T885) download of large bundles is a bit flaky right now.

Sep 19 2019, 12:18 PM · Vault
zack added a comment to T885: Vault: use objstorage streaming to store and fetch bundles.

see T1964 for a concrete example where the lack of streaming is causing problems (after the cooking, when the bundle is ready)

$ wget https://archive.softwareheritage.org/api/1/vault/revision/85678b0d6c52d6fd0af50c8e493c74dd15a7115d/gitfast/raw/
--2019-09-19 11:43:50--  https://archive.softwareheritage.org/api/1/vault/revision/85678b0d6c52d6fd0af50c8e493c74dd15a7115d/gitfast/raw/
Resolving archive.softwareheritage.org (archive.softwareheritage.org)... 128.93.193.31
Connecting to archive.softwareheritage.org (archive.softwareheritage.org)|128.93.193.31|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 539845226 (515M) [application/gzip]
Saving to: ‘index.html’
Sep 19 2019, 12:15 PM · Vault
zack updated subscribers of T2013: save code now: add optional email-based notification.
Sep 19 2019, 11:38 AM · Web app
zack triaged T2013: save code now: add optional email-based notification as Low priority.
Sep 19 2019, 11:38 AM · Web app
zack added a comment to D1999: make codespell pass, fixing false-positives due to single-quoted strings.

Why these three? We use single quotes everywhere.

Sep 19 2019, 10:25 AM
zack added a comment to T2012: ci: Add a rule to prevent push when ci build failure.

Count me as -1 on this.

Sep 19 2019, 9:55 AM · Continuous Integration
zack accepted D2005: Reuse the KafkaConsumer mock from swh.journal.
Sep 19 2019, 9:42 AM
zack accepted D1991: Reimplement REST API in Python with Py4J + aiohttp.
Sep 19 2019, 9:37 AM
zack updated the diff for D1999: make codespell pass, fixing false-positives due to single-quoted strings.
  • trigger CI
Sep 19 2019, 9:35 AM
zack updated the diff for D2000: CLI: drop obsolete "api-server" and "serve" aliases.
  • trigger CI
Sep 19 2019, 9:35 AM

Sep 18 2019

zack committed rDJNL3d2326a96f13: swh.journal.client: fix typo in docstring (authored by zack).
swh.journal.client: fix typo in docstring
Sep 18 2019, 4:00 PM
zack created D2000: CLI: drop obsolete "api-server" and "serve" aliases.
Sep 18 2019, 3:56 PM
zack created D1999: make codespell pass, fixing false-positives due to single-quoted strings.
Sep 18 2019, 3:52 PM
zack committed rDSCH0a4fd7af87a0: admin CLI: drop obsolete backward compatibility aliases (authored by zack).
admin CLI: drop obsolete backward compatibility aliases
Sep 18 2019, 3:39 PM
zack closed D1995: admin CLI: drop obsolete backward compatibility aliases.
Sep 18 2019, 3:39 PM
zack added projects to T2008: phase out wordpress archive page in favor of archive.s.o: Website, Web app.
Sep 18 2019, 3:20 PM · Unknown Object (Project), Web app, Website
zack triaged T2008: phase out wordpress archive page in favor of archive.s.o as Normal priority.
Sep 18 2019, 3:19 PM · Unknown Object (Project), Web app, Website
zack updated subscribers of T1964: Timeout reached while assembling the requested bundle (Rocrail).
Sep 18 2019, 3:10 PM · Vault
zack updated subscribers of T1964: Timeout reached while assembling the requested bundle (Rocrail).

So, this is now actually working (@rdicosmo just tried it again) *but* the bundle stops being assembled shortly before finishing due to a maximum size limit of ~500 MB:

Sep 18 2019, 3:10 PM · Vault
zack committed R183:282ff0ac2ebb: protect caseness in SWH graph dataset paper (authored by zack).
protect caseness in SWH graph dataset paper
Sep 18 2019, 3:08 PM
zack committed R183:344aec69a0ff: add WebGraph seminal papers (authored by zack).
add WebGraph seminal papers
Sep 18 2019, 3:08 PM
zack updated the task description for T775: Ingest Adullact forge.
Sep 18 2019, 2:24 PM · Archive coverage, FusionForge Forge
zack updated the task description for T778: FusionForge lister.
Sep 18 2019, 2:23 PM · FusionForge Forge
zack updated the task description for T778: FusionForge lister.
Sep 18 2019, 2:13 PM · FusionForge Forge
zack updated the task description for T778: FusionForge lister.
Sep 18 2019, 2:12 PM · FusionForge Forge
zack added a parent task for T778: FusionForge lister: T775: Ingest Adullact forge.
Sep 18 2019, 11:15 AM · FusionForge Forge
zack added a subtask for T775: Ingest Adullact forge: T778: FusionForge lister.
Sep 18 2019, 11:15 AM · Archive coverage, FusionForge Forge
zack renamed T775: Ingest Adullact forge from Add Adullact forge to the tracked forges to Ingest Adullact forge.
Sep 18 2019, 11:13 AM · Archive coverage, FusionForge Forge

Sep 17 2019

zack committed R183:8fc4e52d4e41: add Debsources ESE paper (authored by zack).
add Debsources ESE paper
Sep 17 2019, 6:58 PM
zack committed R183:892df9f71b05: git ignore auctex auto/ dir (authored by zack).
git ignore auctex auto/ dir
Sep 17 2019, 6:58 PM
zack added a reviewer for D1995: admin CLI: drop obsolete backward compatibility aliases: douardda.
Sep 17 2019, 5:52 PM
Herald added a reviewer for D1995: admin CLI: drop obsolete backward compatibility aliases: Reviewers.
Sep 17 2019, 5:51 PM
zack added a comment to D1991: Reimplement REST API in Python with Py4J + aiohttp.

FWIW, Jenkins fails on this diff with:

Checking patch java/server/src/main/java/org/softwareheritage/graph/Entry.java...
error: java/server/src/main/java/org/softwareheritage/graph/Entry.java: does not exist in index

Looks like a spurious CI error?

Sep 17 2019, 9:18 AM
zack requested changes to D1991: Reimplement REST API in Python with Py4J + aiohttp.

In addition to the minor comment above, a few bare-bone tests that spawn the aiohttp daemon and try to actually query would be really nice. The toolchain has several moving parts, I can easily see it breaking unexpectedly.

Sep 17 2019, 9:17 AM
zack committed rDLDDIR49a28354e6e6: click "required" param wants bool, not int (authored by zack).
click "required" param wants bool, not int
Sep 17 2019, 8:58 AM
zack closed D1985: click "required" param wants bool, not int.
Sep 17 2019, 8:58 AM
zack committed rDSTOb2e8aa23936b: click "required" param wants bool, not int (authored by zack).
click "required" param wants bool, not int
Sep 17 2019, 8:58 AM
zack closed D1986: click "required" param wants bool, not int.
Sep 17 2019, 8:58 AM
zack committed rDSCH6a054b914068: click "required" param wants bool, not int (authored by zack).
click "required" param wants bool, not int
Sep 17 2019, 8:57 AM
zack closed D1987: click "required" param wants bool, not int.
Sep 17 2019, 8:57 AM
zack closed D1988: click "required" param wants bool, not int.

closed in 11f8bbbadf3c187ac23029028bbabbbd8b040fdf

Sep 17 2019, 8:57 AM
zack committed rDDEP11f8bbbadf3c: click "required" param wants bool, not int (authored by zack).
click "required" param wants bool, not int
Sep 17 2019, 8:57 AM
zack committed rDLDDEB759a8800dc6e: click "required" param wants bool, not int (authored by zack).
click "required" param wants bool, not int
Sep 17 2019, 8:55 AM
zack closed D1989: click "required" param wants bool, not int.
Sep 17 2019, 8:55 AM