New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace legacy API implementation with files() #221
Commits on May 29, 2021
-
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for bd4d6ff - Browse repository at this point
Copy the full SHA bd4d6ffView commit details -
_adapters: replace DegenerateFiles with CompatibilityFiles
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for 4ff68cf - Browse repository at this point
Copy the full SHA 4ff68cfView commit details -
use files() api in open_* and read_*
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for 53fc1c6 - Browse repository at this point
Copy the full SHA 53fc1c6View commit details -
use files() api in is_resource()
The files() api makes the identification of resources blury. Here we re-implement is_resource() by mirroring the previous logic to the best extent we can. This is not fully correct, as the files() api is not fully compatible with the legacy api, but it is pretty close and as correct as we can get. The semantics for what constitutes resources have always been blurry in the first place. Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for 30cf1a9 - Browse repository at this point
Copy the full SHA 30cf1a9View commit details -
compat: fix selecting the correct reader if the spec is None
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for b1c38ab - Browse repository at this point
Copy the full SHA b1c38abView commit details -
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for 62e905c - Browse repository at this point
Copy the full SHA 62e905cView commit details -
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for c2d85c9 - Browse repository at this point
Copy the full SHA c2d85c9View commit details -
common: ignore PermissionError in _tempfile
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for 5e8c1d2 - Browse repository at this point
Copy the full SHA 5e8c1d2View commit details -
tests: add tests for CompatibiltyFiles
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for 97083d2 - Browse repository at this point
Copy the full SHA 97083d2View commit details -
tests: add test for CompatibilityFiles wrap_spec
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for ef2f7c2 - Browse repository at this point
Copy the full SHA ef2f7c2View commit details
Commits on Jun 26, 2021
-
legacy: move legacy API to separate module
Signed-off-by: Filipe Laíns <lains@riseup.net>
Configuration menu - View commit details
-
Copy full SHA for e016e66 - Browse repository at this point
Copy the full SHA e016e66View commit details