Skip to content

SYN-5969: scrape and inet:url norm to recognize win UNC network paths and convert to smb:// URLs #3347

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

Merged
merged 7 commits into from
Sep 19, 2023

Conversation

MichaelSquires
Copy link
Contributor

feat: scrape UNC paths
feat: inet:url norming UNC paths to smb:// URLs
test: updated tests

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.12% ⚠️

Comparison is base (e1c0b01) 97.26% compared to head (2cec440) 97.15%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3347      +/-   ##
==========================================
- Coverage   97.26%   97.15%   -0.12%     
==========================================
  Files         228      228              
  Lines       46397    46462      +65     
==========================================
+ Hits        45128    45138      +10     
- Misses       1269     1324      +55     
Flag Coverage Δ
linux 97.15% <100.00%> (-0.02%) ⬇️
linux_replay ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
synapse/lib/chop.py 99.42% <100.00%> (+0.26%) ⬆️
synapse/lib/scrape.py 99.52% <100.00%> (+0.01%) ⬆️
synapse/models/inet.py 99.28% <100.00%> (+<0.01%) ⬆️

... and 10 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MichaelSquires MichaelSquires force-pushed the blackout/SYN-5969/unc-paths branch from f7919ab to 569c82b Compare September 18, 2023 13:02
@MichaelSquires MichaelSquires changed the title WIP SYN-5969: scrape and inet:url norm to recognize win UNC network paths and convert to smb:// URLs SYN-5969: scrape and inet:url norm to recognize win UNC network paths and convert to smb:// URLs Sep 18, 2023
@MichaelSquires MichaelSquires marked this pull request as ready for review September 18, 2023 13:59
@MichaelSquires MichaelSquires merged commit c040d5c into master Sep 19, 2023
@MichaelSquires MichaelSquires deleted the blackout/SYN-5969/unc-paths branch September 19, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants