- Feb 18, 2022
-
-
Antoine Lambert authored
-
- Feb 17, 2022
-
-
Antoine Lambert authored
When attempting to re-encode non UTF-8 textual content, use chardet to find the encoding first and use it if the detection confidence is really high. Previously some encoding like SHIFT_JIS (for japanese language) were not correctly detected and thus content were badly rendered in the browse Web UI.
-
- Feb 15, 2022
-
-
vlorentz authored
-
- Feb 14, 2022
-
-
Antoine Lambert authored
Add support for Bazaar repository loading in Save Code Now.
-
- Feb 11, 2022
-
-
Antoine Lambert authored
Simplify test to ensure it does not fail when building debian packages.
-
Antoine Lambert authored
Tarballs are no longer loaded as branches but as releases in the nixguix origin snapshots.
-
Antoine Lambert authored
-
Antoine R. Dumont authored
Currently, in case of a high number of visits for an origin, this makes the page querying the result crash (with an empty cache). Note that even with a populated cache, the current version could take some time to process. The following diff opens a function which uses simpler storage api calls to retrieve the most recent visit from a given point in time (with its most recent associated visit status) instead of filtering all visits of an origin to retrieve the information. Hence no longer relying on the cache of all visits for that origin either. Related to T3905
-
- Feb 10, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
To install the new hook: $ pre-commit install -t commit-msg
-
Antoine Lambert authored
Numerous tests are broken since rDSCHc46ffadf7adf24c7eb3ffce062e8ade3818c79cc has landed in swh-scheduler. Ensure to restore the old loading task names for tests to succeed.
-
vlorentz authored
So we can show this to beta-testers who aren't staff.
-
- Feb 07, 2022
-
-
vlorentz authored
-
vlorentz authored
This will log all incoming HTTP requests on update events (assuming the user is authorized), for audit purposes.
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
Instead of a generic 500.
-
vlorentz authored
This will be useful for debugging and checking records are indeed configured.
-
Antoine Lambert authored
Hypothesis can generate multiple times the same origin URL which makes test fail due to the use of django cache in get_origin_visits. So force the generation of a single hypothesis example for that test.
-
Antoine Lambert authored
-
Antoine Lambert authored
There is a lot of origins without any full visit in the archive so in that case the origin visits page looks empty when reaching it as the default is to display full visits with different snapshots. So prefer to display all visits by default and disable the full visits switch radio buttons when there is no such visits.
-
- Feb 05, 2022
-
-
vlorentz authored
-
-
- Feb 04, 2022
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
The command refreshes all the active mailmaps, and disables every mailmap that has recently been updated and marked as disabled, once. To do these actions as atomically as possible, we make sure to select all rows for update, and to defer all _date fields in the default queryset manager for UserMailmap objects to avoid resetting them to earlier values by mistake.
-
pytest v7.0.0 removed _pytest.tmpdir.TempdirFactory, which is used by some of the pytest plugins we use.
-
Nicolas Dandrimont authored
The command refreshes all the active mailmaps, and disables every mailmap that has recently been updated and marked as disabled, once. To do these actions as atomically as possible, we make sure to select all rows for update, and to defer all _date fields in the default queryset manager for UserMailmap objects to avoid resetting them to earlier values by mistake.
-
Antoine Lambert authored
Related to T3908
-
Antoine Lambert authored
pytest v7.0.0 removed _pytest.tmpdir.TempdirFactory, which is used by some of the pytest plugins we use.
-
Antoine R. Dumont authored
This clarifies the current code and optimizes the re-fetching of all origin visits / origin visit statuses when new visits happen. It's an optimization providing previous visits are in the cache already. The second part serves also as a workaround of some problematic origins (the ones with a high number of visits). It's only a workaround though because when voiding the cache (e.g. restart the cache service), the initial error (e.g. crash 500 or 502, ...) will still happen. Another change is on its way to try and fix that specific problem. Related to T3905
-
- Feb 03, 2022
-
-
Antoine Lambert authored
-
Antoine R. Dumont authored
-
Antoine Lambert authored
Add a new database table to store mailmap settings that will be used to add display names for an authors that can be found in the archive. Add endpoints to add or update these mailmap settings restricted to staff users or users with special permission. They will be used in the upcoming Web UI to manage mailmaps.
-
Antoine Lambert authored
Signature of storage.revision_log has changed in 4544d7ca8e9e and the limit parameter is not at the same position as before, so better passing it as keyword parameter to avoid future errors of this type.
-
- Feb 02, 2022
-
-
Antoine Lambert authored
- Jan 31, 2022
-
-
Antoine Lambert authored
The campaign is now over.
-
Antoine Lambert authored
This reverts commit 615ef02e.
-
- Jan 26, 2022
-
-
Antoine Lambert authored
In the Save Code Now Web UI, add the link to browse a saved origin only if the visit status is valid. This prevents to browse the saved origin when loading data are not yet available in storage database (replication lag for instance). Related to T3848
-