yep, done :)
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 2 2020
Rebased branch on origin/master, added name to CONTRIBUTORS
Feb 28 2020
Squashed commits, rebase branch on origin/master
Add test for ping endpoint
Not sure why the Cypress tests are failing...
In T2294#42206, @anlambert wrote:Please follow these instructions to start hacking on swh source code.
Yeah, I've done this 馃憤 . I was talking about documentation specific to developing on the web API. For example, the different decorators (like @api_route, @format_document, etc.) available, guidelines on writing docstrings for this module, etc.
Feb 27 2020
Hi, I'd like to take this up :)
Feb 11 2020
Great! Thanks for the patience and review 馃槂 . Will work on another task after my exams are done 馃槾
Rebase branch on master
Feb 8 2020
Update commit message
Squashed commits
Feb 7 2020
Change type from Any to str
Fix minor issues
Requested changes made
In D2622#62814, @vlorentz wrote:You should use a TypeVar for the type of results, so you don't have to use Any every time.
In D2622#62794, @ardumont wrote:And another one more general, for the docstring, either wrap all parameters with **parameter-name**: description or remove them altogether.
Done. I've left the single ** for the kwargs in the docstring though.
Feb 6 2020
Apply minor, cosmetic changes
Add type annotations for rehash.py, indexer.py, origin_head.py and metadata.py.
In D2622#62664, @vlorentz wrote:They are errors, I don't think we should ignore them, but fix the underlying issue;
Feb 5 2020
In swh-indexer's indexer.py (code), the run() method of BaseIndexer class has been overriden by a few derived classes. However, I think some of these overridings may be flawed, since when I try to type-annotate them, they're giving the mypy errors: argument of method incompatible with supertype / Signature of "run" incompatible with supertype "BaseIndexer". This is probably because of a violation of the Liskov substitution principle.
Feb 4 2020
Okay great! I'll add the type annotations to the other files too. Thanks
Fix docstring positioning
Remove types from docstring, fix pre-commit-config
I've mentioned it in the comments of the first commit (efa9390af0b7)
Change git hash back to version tag
And does Jenkins also run code in non-master branches through the pipeline?
Feb 2 2020
Thanks for the detailed reply 馃檪, and apologies for the delay. Things are clearer now 馃憤
Feb 1 2020
Hi, I'd like to take up this issue as my first issue here :) . But before I take it up, I just had a few queries: