assert APIError raises when the payload is too large live_server override, only one per session
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 10 2020
In D2794#66864, @vlorentz wrote:Now that swh-scanner has tests, it would be nice if every new feature and bugfix added (or changed) one or more tests.
Mar 9 2020
make tox pass
if a symbolic link is encountered, the persistent identifier is parsed by pid_of_file (as in swh.model)
Mar 6 2020
comments
In D2785#66652, @vlorentz wrote:In D2785#66602, @DanSeraf wrote:In D2785#66553, @vlorentz wrote:When does this happen? Could you add a test for this behavior?
When, for example, there is a broken symlink. It can't read if it's a file or a directory.
Could you add this as a comment?
In D2791#66642, @vlorentz wrote:I'm restarting the tests
clean flask_api.py
make flake8 pass
In D2785#66553, @vlorentz wrote:When does this happen? Could you add a test for this behavior?
Mar 3 2020
cli: --format option, text and json
model:
- changed function name from getJsonChild to getJsonTree
- show function: output based on format
Mar 2 2020
cli: flake8
Feb 28 2020
- cli: scanner group with scan option, updated description
- color only when stdout is connected to terminal
Feb 27 2020
In D2657#65016, @vlorentz wrote:It's still missing a description of what it does (ie. check that files exist in swh), in the CLI help and/or README.
and I still think you should use a subcommand, in case you want to add new features in the future without breaking scripts that depend on this one.
In D2657#64937, @ardumont wrote:
Feb 26 2020
The cli supports only one operation: swh scanner [options] path, where path is the root path we want to scan. The output now is a tree like structure with a green/blue text if the path is found, red otherwise.
Feb 17 2020
Feb 14 2020
limit is set inside the endpoint
Feb 12 2020
Jan 28 2020
Jan 27 2020
In D2582#61590, @vlorentz wrote:I think you missed this comment: https://forge.softwareheritage.org/D2582?id=9215#inline-17178
utils.py: function to get a parsed persistent identifier
In D2582#61501, @vlorentz wrote:
- returning 400 instead of 500 for invalid pid, type annotation on lookup_missing_hashes
This part is ok now, but cf my earlier comment: "You should add a small wrapper around parse_persistent_identifier to handle the error, that can be shared with resolve_swh_persistent_id."
fix /known/ test expected values
minor changes, rebase
- returning 400 instead of 500 for invalid pid, type annotation on lookup_missing_hashes
- rebase
- /known/ endpoint tests
- test_service: testing missing hashes lookup with present pids
Jan 24 2020
- known moved to identifiers view, parse pids before grouping them
- test present pids
Jan 22 2020
- storage: Add endpoint to get missing content (by sha1_git) and missing snapshot
- in memory changes
- test endpoint: content_missing (sha1_git), snapshot_missing
- assert list doesn't have too many values
- assert list doesn't have too many values
- in memory changes
- test endpoint: content_missing (sha1_git), snapshot_missing
Oct 5 2019
thanks a lot @DanSeraf!, this has now been accepted, landed to master, and you've been added to the CONTRIBUTORS file :-)
Oct 4 2019
Closes: T1986
Oct 3 2019
Oct 2 2019
test_identifiers: checking exception type instead of exception string