Serve the local sqlite database generated with the "db import" option.
Related to T2760
Differential D4552
'db serve' option to start the API service DanSeraf on Nov 22 2020, 4:19 PM. Authored by
Details
Serve the local sqlite database generated with the "db import" option. Related to T2760
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4552 (id=16157)Rebasing onto 521420e7d5... Current branch diff-target is up to date. Changes applied before testcommit 3f79698ed9ea772e96d59d2d6b9b0f6d0de6e097 Author: Daniele Serafini <me@danieleserafini.eu> Date: Sun Nov 22 16:05:19 2020 +0100 'db serve' option to start the API service Serve the local sqlite database generated with the "db import" option. The API endpoint is compatible with the one used in the Web API [1]. [1] https://archive.softwareheritage.org/api/1/known/doc/ See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/80/ for more details. Comment Actions Thanks, looks generally good to me !
Comment Actions
Comment Actions Build is green Patch application report for D4552 (id=16228)Rebasing onto 502595f6f0... First, rewinding head to replay your work on top of it... Applying: 'db serve' option to start the API service Using index info to reconstruct a base tree... M swh/scanner/cli.py Falling back to patching base and 3-way merge... Auto-merging swh/scanner/cli.py CONFLICT (content): Merge conflict in swh/scanner/cli.py Patch failed at 0001 'db serve' option to start the API service Resolve all conflicts manually, mark them as resolved with "git add/rm <conflicted_files>", then run "git rebase --continue". You can instead skip this commit: run "git rebase --skip". To abort and get back to the state before "git rebase", run "git rebase --abort". Rebase failed (ret=1)! Could not rebase; Attempt merge onto 502595f6f0... Already up to date. Changes applied before testcommit 5b66b3ab99ed7ebe66b0118f586430d9f2f0b2e5 Author: Daniele Serafini <me@danieleserafini.eu> Date: Sun Nov 22 16:05:19 2020 +0100 'db serve' option to start the API service Serve the local sqlite database generated with the "db import" option. The API endpoint is compatible with the one used in the Web API [1]. [1] https://archive.softwareheritage.org/api/1/known/doc/ See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/81/ for more details. Comment Actions Build is green Patch application report for D4552 (id=16232)Rebasing onto 502595f6f0... Current branch diff-target is up to date. Changes applied before testcommit beaef0a19d3f1e3f5b65aa096762f399cdacf2b0 Author: Daniele Serafini <me@danieleserafini.eu> Date: Tue Nov 24 11:46:08 2020 +0100 'db serve' option to start the API service Serve the local sqlite database generated with the "db import" option. The API endpoint is compatible with the one used in the Web API [1]. [1] https://archive.softwareheritage.org/api/1/known/doc/ See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/82/ for more details. Comment Actions I'm accepting this, but I've also noted down a bunch of minor issues in the code. Please fix them before landing this.
Comment Actions Build is green Patch application report for D4552 (id=16254)Rebasing onto 502595f6f0... Current branch diff-target is up to date. Changes applied before testcommit 09c28d60f1adab988e314a4ce873211aaa59f605 Author: Daniele Serafini <me@danieleserafini.eu> Date: Tue Nov 24 11:46:08 2020 +0100 'db serve' option to start the API service Serve the local sqlite database generated with the "db import" option. The API endpoint is compatible with the one used in the Web API [1]. [1] https://archive.softwareheritage.org/api/1/known/doc/ See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/83/ for more details. |