Update: Skip redundant post_load check when revisions are identified as identical in prepare
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Nov 18 2021
Fix is now deployed to production, closing this.
Rebase
Nov 17 2021
Update: Wrap temporary folder creation in a private method
Bye bye duplicated code related to browsing contents, thanks a lot for that !
Overall looks good to me ! I added a couple of nitpick comments to handle before landing this.
Nov 16 2021
Forgot to rebase, closed by rDWAPPScd747fd0e79be6e2cfe941c25479f4c2b30bd6bb.
Looks good to me.
Update:
- handle @vlorentz comments
- ensure all get_snapshot_context code is covered by tests
Great, thanks !
@anlambert Can you take this diff from here?
Nov 15 2021
Looks good to me, better indeed.
Duplicate of T3724 I think
Nov 8 2021
Nov 5 2021
Update license header
Update: Ensure to pass a valid url to URL constructor and encode path query parameter value
In D6614#171828, @vlorentz wrote:Then when doing this:
directoryUrl += `?path=${path}`;directoryUrl will end with ?path=/path&/foo and that's not good
In D6614#171796, @vlorentz wrote:What if there is a & character in the path?
Not an issue, URL object will correctly parse it as part of the path.
>>> s = "http://example.org/path&/foo?service=swh&query=bar" "http://example.org/path&/foo?service=swh&query=bar" >>> new URL(s) URL { href: "http://example.org/path&/foo?service=swh&query=bar", origin: "http://example.org", protocol: "http:", username: "", password: "", host: "example.org", hostname: "example.org", port: "", pathname: "/path&/foo", search: "?service=swh&query=bar" }
Cool, nice pytest trick to know !
Nov 4 2021
Looks good to me.
Update: Address @vlorentz comments
Update: Simplify test implementation
Nov 3 2021
Update: Improve commit messages in test
The issue is related to the difference of fetched revision data whether we use the swh.loader.svn.SvnLoader class (fetching revisions
one at a time through a ping pong with the svn server) or the swh.loader.svn.SvnLoaderFromRemoteDump class (fetching all revisions
to a dump file in one operation).
Rebase