Use an exception to validate a repo page can be accessed
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Jan 27 2021
Less code to modify and easier to read and understand the intended behavior from my point of view.
In D4954#124697, @ardumont wrote:You should rather catch the requests.exceptions.HTTPError originally raised by _get_and_parse method.
picture me curious, why?
(it's missing the eventual logging.warning instruction but its use is debatable as well ;)
You should rather catch the requests.exceptions.HTTPError originally raised by _get_and_parse method.
Build is green
You should rather catch the requests.exceptions.HTTPError originally raised by _get_and_parse method.
Build is green
rebase
Restore missing log when the date can't be parsed
Build is green
Build is green
rebase
Remove useless variable
Build is green
Add mapping of definitions and harvests
Looks good to me !
Build is green
- Reorder methods
- Adapt date parsing according the review
status:
- backfill almost done on getty [1] [2]
Thanks for tackling this !
lgtm
Build is green
set the DeprecationWarning category in journal_data
Build is green
remove stuff added mistakenly, and properly deprecate journal_data instead of breaking swh-storage
Looks good to me.
To decrease the time to recover the lag, several journal client were launched in // with :
/usr/bin/swh search --config-file /etc/softwareheritage/search/journal_client_objects.yml journal-client objects
Jan 26 2021
Everything looks fine and visit-stats is growing gently:
Build is green
Build is green
Inline unecessary indirection
Build is green
Add missing test coverage
Rename "singleton" to "record"
for the sake of my questions
(i don't know why or if it's sensible that the decorator got dropped though ;)
Build is green
Build is green
Rebase
Build is green
Rebase and remove conftest.py file
sgtm
Build is green
Reword commit
Build is green
Rebase
Looks good but the commit message could be more detailed and rephrased to something like:
Back on this, the plan is now to make swh-journal not depend on the actual model definition, which is currently mostly due to the presence of the journal_data.py in swh-journal. So the plan is to move this file in swh-model so it's kept up to date with swh-model, even if it's mostly used for testing other packages (like swh-journal).
Build is green