I don't like this "asymmetric" approach much. I'd rather have both caches being equal and taking as class constructor input an optional sqlite connection. If it's None, they'll each create a connection (and not share it). If a connection is passed, they use it and do not close it on exit. Then, the init code in FuseCache takes care of initializing the shared sqlite connection, and passing it to both constructors. This will make the classes more reusable and the init code more clean.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Jan 4 2021
Jan 4 2021
zack requested changes to D4801: FUSE: cache: share sqlite connection between metadata/history cache.
Dec 30 2020
Dec 30 2020
zack committed rDMOD574685052348: SWHID parsing: simplify and deduplicate validation logic (authored by zack).
SWHID parsing: simplify and deduplicate validation logic
address review comments
Dec 29 2020
Dec 29 2020
Dec 28 2020
Dec 28 2020
zack committed rDFUSEae3a0e9760d3: requirements: typeset dependencies with spaces around ">=" (authored by zack).
requirements: typeset dependencies with spaces around ">="
In T2917#55617, @zvr wrote:Please, not only document but add to the code something like
python_requires='>=3.7'
to setup.py so that the Pypi packages are not installable in older versions.
zack renamed T2917: document minimum required Python version from Is Python 3.6 the minimum version supported? to document minimum required Python version.
Yeah, we really depend on recent-ish Python (and not only for f-strings, a lot of typing-related stuff also comes to mind).
3.5 is no longer supported (and I have my doubts about 3.6 too; we generally follow Debian stable, which is on Python 3.7 now).
conditionally accepted with very minor changes to be implemented before landing
Dec 23 2020
Dec 23 2020
zack triaged T2914: mirror documentation: add ballpark storage/infra requirements as Normal priority.
zack committed rDDOCc4c2d2b04acd: mirror doc: full reread with improvements here and there (authored by zack).
mirror doc: full reread with improvements here and there
zack committed rDDOC05a7ad9b1be7: doc index: improve short descriptions of entry points (authored by zack).
doc index: improve short descriptions of entry points
zack committed rDDOCcd397cee65cb: Add a quick presentation/architecture doc on the mirror (authored by douardda).
Add a quick presentation/architecture doc on the mirror
- doc index: improve short descriptions of entry points
- mirror doc: full reread with improvements here and there
- mirror doc: full reread with improvements here and there
- mirror doc: merge all topics in a single list
zack removed reviewers for D4769: Add a quick presentation/architecture doc on the mirror: vlorentz, douardda.
- doc index: improve short descriptions of entry points
- mirror doc: full reread with improvements here and there
Dec 22 2020
Dec 22 2020
zack retitled D4780: Add more comments to elasticsearch.py from Add more comments in elasticsearch.py to Add more comments to elasticsearch.py.
Dec 19 2020
Dec 19 2020
DB import: skip invalid SWHIDs during import
zack closed T2813: swh scanner db import does not validate SWHIDs as Resolved by committing rDTSCN33a9cd4eb965: DB import: skip invalid SWHIDs during import.
zack committed rDTSCNfe84403087cc: DB import: massive speed up, via sqlite tuning and better mem handling (authored by zack).
DB import: massive speed up, via sqlite tuning and better mem handling
CLI: improve exit handling upon failure
Dec 18 2020
Dec 18 2020
LGTM in general, I've just nitpicked about a couple of things.
Dec 17 2020
Dec 17 2020
Dec 16 2020
Dec 16 2020
conditionally accepted, please generalize the check before landing (see comment)
Dec 15 2020
Dec 15 2020
zack renamed T2812: scanner import db is slow, improve its performances from scanner: improve SWHID (txt) -> sqlite import time to scanner import db is slow, improve its performances.
zack renamed T2724: fuse: populate history/ incrementally to avoid temporary hangs on huge repos from history/ dir browsing is too slow on big repos like the Linux kernel to populate history/ incrementally to avoid temporary hangs on huge repos.
LGTM (but please fix the minor docstring point I've mentioned before landing)
Dec 14 2020
Dec 14 2020
zack retitled D4735: Move parse_swh_reference to swh.deposit.utils namespace from Move parse_swh_reference in swh.deposit.utils namespace to Move parse_swh_reference to swh.deposit.utils namespace.
zack retitled D4734: fs: add cache/ directory under mount point from fs: add cache/ directory under mounting point to fs: add cache/ directory under mount point.
zack renamed T2825: add origin (and search) example to the FUSE tutorial from add origin example to the FUSE tutorial to add origin (and search) example to the FUSE tutorial.
zack removed a reviewer for D4696: Add "swh web search" command to perform archive searches via the CLI: anlambert.
Dec 12 2020
Dec 12 2020
Dec 12 2020, 9:15 AM · Unknown Object (Project)
Dec 12 2020, 9:15 AM · Unknown Object (Project)
Dec 12 2020, 9:15 AM · Unknown Object (Project)
Dec 11 2020
Dec 11 2020
zack renamed T2793: add notable past events to the archive changelog from add to the journal of archive changes notable past events to add notable past events to the archive changelog.
archive changelog: remove WIP mark
zack closed T2793: add notable past events to the archive changelog, a subtask of T2460: public journal of notable archiving policy changes, as Resolved.
zack closed T2793: add notable past events to the archive changelog as Resolved by committing rDDOCde792f8fd73a: archive changelog: remove WIP mark.
zack committed rDDOC973992543fad: archive changelog: uniform language for ingestion/import/archival (on the… (authored by zack).
archive changelog: uniform language for ingestion/import/archival (on the…
zack committed rDDOCfee11b54747d: archive changelog: document Guix and NixOS archival (authored by zack).
archive changelog: document Guix and NixOS archival
zack updated subscribers of D4696: Add "swh web search" command to perform archive searches via the CLI.
zack updated the task description for T2880: add the GNU Guix (System) logo to the list of covered distros on archive.s.o.
zack renamed T2880: add the GNU Guix (System) logo to the list of covered distros on archive.s.o from add the GNU Guix logo to the list of covered distros on archive.s.o to add the GNU Guix (System) logo to the list of covered distros on archive.s.o.
zack triaged T2880: add the GNU Guix (System) logo to the list of covered distros on archive.s.o as Normal priority.
zack committed rDDOC5744da9efed3: archive journal: drop /api/v4 path from GitLab instance URLs (authored by zack).
archive journal: drop /api/v4 path from GitLab instance URLs
zack committed rDDOC2a79541384e9: archive journal: fix dangling linkgs to deposit and save code now (authored by zack).
archive journal: fix dangling linkgs to deposit and save code now
zack committed rDDOCd0de2da29407: archive changelog: rename it from "journal" to "changelog" (authored by zack).
archive changelog: rename it from "journal" to "changelog"