In T782#20044, @zack wrote:
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Jun 6 2018
Jun 6 2018
s added a comment to T782: Web API: make endpoints that expose extracted metadata return *lists* of factual information.
Apr 20 2018
Apr 20 2018
s added a comment to T782: Web API: make endpoints that expose extracted metadata return *lists* of factual information.
"zack (Stefano Zacchiroli)" <forge@softwareheritage.org> writes:
Apr 16 2018
Apr 16 2018
s added a comment to T782: Web API: make endpoints that expose extracted metadata return *lists* of factual information.
@ardumont, Can I:
Mar 21 2018
Mar 21 2018
Mar 20 2018
Mar 20 2018
- swh: Fix test for db_to_fossology_license.
- swh: Fix tests in CommonTestStorage.
- swh.web.tests.common.test_service: Fix tests in ServiceTestCase
Oh, also, i believe the tests need some love:
make testshould give you some hints ;)
Sounds good.
One minor nitpick in the description
Now, lookup_content_license function returns a dictionary with the following keys
Now reading this comment and the code could be confusing (we say it's a dict but the code extract data from list ;)
So clarifying, D301 introduces a dict generator (well, depending on the deployed configuration).
As you mentioned, each dict holds 1 key sha1 and 1 value which are facts, list of {tool + associated detected license for that tool on the sha1}
Mar 17 2018
Mar 17 2018
Herald added a reviewer for D302: swh.web.common.service: Update lookup_content_license.: Reviewers.
Change structure of yield value for content_fossology_license_get
Mar 16 2018
Mar 16 2018
s added a comment to T782: Web API: make endpoints that expose extracted metadata return *lists* of factual information.
Setup
If the changes look good, I'll update the failing tests and submit a patch for code review.
I'd be more than ok if you could open a diff now with arcanist?
(Even if tests are not completely ok yet ;)
Mar 15 2018
Mar 15 2018
s added a comment to T782: Web API: make endpoints that expose extracted metadata return *lists* of factual information.
@ardumont, Thanks for the data dumps (F3040109 and F3040114). I'm able [[ https://ricketyspace.net/tmp/t782-swh-indexer-changes.webm | to test the /api/1/content/sha1:HASH/license/ endpoint ]].
Mar 14 2018
Mar 14 2018
s added a comment to T782: Web API: make endpoints that expose extracted metadata return *lists* of factual information.
@ardumont Thank you very much for helping out.
Feb 6 2018
Feb 6 2018
s added a comment to T782: Web API: make endpoints that expose extracted metadata return *lists* of factual information.
@zack, I've been getting myself acquainted with the swh codebase for the past few days.
Jan 27 2018
Jan 27 2018
s added a comment to T782: Web API: make endpoints that expose extracted metadata return *lists* of factual information.
@zack, I would like to work on this issue.