René's URL Explorer Experiment


Title: Add --source-dir option to skip network downloads for locally available attachments by Copilot · Pull Request #107 · wp-cli/import-command · GitHub

Open Graph Title: Add --source-dir option to skip network downloads for locally available attachments by Copilot · Pull Request #107 · wp-cli/import-command

X Title: Add --source-dir option to skip network downloads for locally available attachments by Copilot · Pull Request #107 · wp-cli/import-command

Description: Imports content from a given WXR file. Contribute to wp-cli/import-command development by creating an account on GitHub.

Open Graph Description: Importing large media libraries is slow when attachment files already exist locally — the importer fetches every file over the network regardless. This adds a --source-dir=<dir> option to use...

X Description: Importing large media libraries is slow when attachment files already exist locally — the importer fetches every file over the network regardless. This adds a --source-dir=&lt;dir&gt; optio...

Opengraph URL: https://github.com/wp-cli/import-command/pull/107

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:bf5a427a-9a16-30d2-7626-8738617ece5a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF9E:1A53D9:1DA1220:2954560:6AFA6F50
html-safe-nonce41cf646cd1a53d99b1540965016c8495a12c720b9e103574a82a17850e856285
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjlFOjFBNTNEOToxREExMjIwOjI5NTQ1NjA6NkFGQTZGNTAiLCJ2aXNpdG9yX2lkIjoiODA1OTkwNTgyNjY5MDMzMDQ0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac72ca800b521c78ee3b53b47d3a2e4cfdd7a6de232aa430b9a2ee8e748a5ebd2a
hovercard-subject-tagpull_request:3529244054
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/import-command/107/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/201fc535b2793c568b803f9d4af701d283005cbe25e075dbbe142756c70e6d35/wp-cli/import-command/pull/107
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/201fc535b2793c568b803f9d4af701d283005cbe25e075dbbe142756c70e6d35/wp-cli/import-command/pull/107
og:image:altImporting large media libraries is slow when attachment files already exist locally — the importer fetches every file over the network regardless. This adds a --source-dir=<dir> option to use...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/import-command git https://github.com/wp-cli/import-command.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id83433562
octolytics-dimension-repository_nwowp-cli/import-command
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id83433562
octolytics-dimension-repository_network_root_nwowp-cli/import-command
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/import-command/pull/107#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fimport-command%2Fpull%2F107
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fimport-command%2Fpull%2F107
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Fimport-command
Reloadhttps://github.com/wp-cli/import-command/pull/107
Reloadhttps://github.com/wp-cli/import-command/pull/107
Reloadhttps://github.com/wp-cli/import-command/pull/107
wp-clihttps://github.com/wp-cli
import-commandhttps://github.com/wp-cli/import-command
Codehttps://github.com/wp-cli/import-command
Issues2 (2)https://github.com/wp-cli/import-command/issues
Pull requests1 (1)https://github.com/wp-cli/import-command/pulls
Actionshttps://github.com/wp-cli/import-command/actions
Security and qualityhttps://github.com/wp-cli/import-command/security
Insightshttps://github.com/wp-cli/import-command/pulse
https://github.com/wp-cli/import-command
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/import-command/tree/main
copilot/improve-import-speedhttps://github.com/wp-cli/import-command/tree/copilot/improve-import-speed
Conversationhttps://github.com/wp-cli/import-command/pull/107
Commits4 (4)https://github.com/wp-cli/import-command/pull/107/commits
Checkshttps://github.com/wp-cli/import-command/pull/107/checks
Files changedhttps://github.com/wp-cli/import-command/pull/107/files
Add --source-dir option to skip network downloads for locally available attachmentshttps://github.com/wp-cli/import-command/pull/107#top
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/import-command/tree/main
copilot/improve-import-speedhttps://github.com/wp-cli/import-command/tree/copilot/improve-import-speed
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#issue-4263158182
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/wp-cli/import-command/pull/107/commits/b0f26fe254d5666495745331a0dd9254abac0d82
b0f26fehttps://github.com/wp-cli/import-command/pull/107/commits/b0f26fe254d5666495745331a0dd9254abac0d82
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#event-24494090424
started workhttps://github.com/wp-cli/import-command/sessions/5bb7cdfe-d3b5-47c3-8ea2-20a20f7849d6
swissspidyhttps://github.com/swissspidy
April 14, 2026 15:36https://github.com/wp-cli/import-command/pull/107#event-24494092933
View session https://github.com/wp-cli/import-command/sessions/5bb7cdfe-d3b5-47c3-8ea2-20a20f7849d6
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#event-24494093121
Improve speed of import when uploads are available locally #83 https://github.com/wp-cli/import-command/issues/83
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
command:import https://github.com/wp-cli/import-command/issues?q=state%3Aopen%20label%3Acommand%3Aimport
scope:distribution https://github.com/wp-cli/import-command/issues?q=state%3Aopen%20label%3Ascope%3Adistribution
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#event-24494112967
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#issuecomment-4245208088
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
Codecovhttps://app.codecov.io/gh/wp-cli/import-command/pull/107?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Files with missing lineshttps://app.codecov.io/gh/wp-cli/import-command/pull/107?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
src/Import_Command.phphttps://app.codecov.io/gh/wp-cli/import-command/pull/107?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli#diff-c3JjL0ltcG9ydF9Db21tYW5kLnBocA==
7 Missing ⚠️ https://app.codecov.io/gh/wp-cli/import-command/pull/107?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Let us know!https://github.com/codecov/feedback/issues/255
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
Copilothttps://github.com/apps/copilot-swe-agent
April 14, 2026 15:48https://github.com/wp-cli/import-command/pull/107#commits-pushed-6e3f0c3
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
Add --source-dir option to wp import for local attachment fileshttps://github.com/wp-cli/import-command/pull/107/commits/6e3f0c3d2521841613937f06b874630c6c363614
6e3f0c3https://github.com/wp-cli/import-command/pull/107/commits/6e3f0c3d2521841613937f06b874630c6c363614
https://github.com/wp-cli/import-command/sessions/5bb7cdfe-d3b5-47c3-8ea2-20a20f7849d6https://github.com/wp-cli/import-command/sessions/5bb7cdfe-d3b5-47c3-8ea2-20a20f7849d6
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
Address code review: use isset() for clarity in source dir filterhttps://github.com/wp-cli/import-command/pull/107/commits/7bc843459f31abdd8e4b1b048838680ca1364ba6
7bc8434https://github.com/wp-cli/import-command/pull/107/commits/7bc843459f31abdd8e4b1b048838680ca1364ba6
https://github.com/wp-cli/import-command/sessions/5bb7cdfe-d3b5-47c3-8ea2-20a20f7849d6https://github.com/wp-cli/import-command/sessions/5bb7cdfe-d3b5-47c3-8ea2-20a20f7849d6
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#event-24494645773
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
swissspidyhttps://github.com/swissspidy
April 14, 2026 15:51https://github.com/wp-cli/import-command/pull/107#event-24494651491
finished workhttps://github.com/wp-cli/import-command/sessions/5bb7cdfe-d3b5-47c3-8ea2-20a20f7849d6
swissspidyhttps://github.com/swissspidy
April 14, 2026 15:51https://github.com/wp-cli/import-command/pull/107#event-24494651768
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
April 14, 2026 17:01https://github.com/wp-cli/import-command/pull/107#event-24496951376
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
code ownerhttps://github.com/wp-cli/import-command/blob/0fc80d3cde7a48cf56fb6d2fb229b3dca4c91c99/.github/CODEOWNERS#L1
April 14, 2026 17:01https://github.com/wp-cli/import-command/pull/107#event-24496951717
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
April 14, 2026 17:01https://github.com/wp-cli/import-command/pull/107#event-24496951726
started reviewinghttps://github.com/wp-cli/import-command/sessions/b8176452-e13d-4c1e-a186-6ee795c45269
swissspidyhttps://github.com/swissspidy
April 14, 2026 17:02https://github.com/wp-cli/import-command/pull/107#event-24496971771
View session https://github.com/wp-cli/import-command/sessions/b8176452-e13d-4c1e-a186-6ee795c45269
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 14, 2026 https://github.com/wp-cli/import-command/pull/107#pullrequestreview-4107799573
View reviewed changes https://github.com/wp-cli/import-command/pull/107/files/7bc843459f31abdd8e4b1b048838680ca1364ba6
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/wp-cli/import-command/pull/107#pullrequestreview-4107799573
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/wp-cli/import-command/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
src/Import_Command.phphttps://github.com/wp-cli/import-command/pull/107/files/7bc843459f31abdd8e4b1b048838680ca1364ba6#diff-4bd82752fd1dbdac9d786c507ae2cddc6b9b3dfd3c629e7a8c496dc02a927eb5
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
src/Import_Command.phphttps://github.com/wp-cli/import-command/pull/107/files/7bc843459f31abdd8e4b1b048838680ca1364ba6#diff-4bd82752fd1dbdac9d786c507ae2cddc6b9b3dfd3c629e7a8c496dc02a927eb5
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
Update src/Import_Command.phphttps://github.com/wp-cli/import-command/pull/107/commits/87db3d3f640edead95727495610bf1b7b1b064ca
87db3d3https://github.com/wp-cli/import-command/pull/107/commits/87db3d3f640edead95727495610bf1b7b1b064ca
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#issuecomment-4246213686
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
2.0.18https://github.com/wp-cli/import-command/milestone/26
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#event-24499554217
https://github.com/apps/gemini-code-assist
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Apr 14, 2026 https://github.com/wp-cli/import-command/pull/107#pullrequestreview-4108255791
View reviewed changes https://github.com/wp-cli/import-command/pull/107/files/87db3d3f640edead95727495610bf1b7b1b064ca
gemini-code-assisthttps://github.com/apps/gemini-code-assist
https://github.com/wp-cli/import-command/pull/107#pullrequestreview-4108255791
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
src/Import_Command.phphttps://github.com/wp-cli/import-command/pull/107/files/87db3d3f640edead95727495610bf1b7b1b064ca#diff-4bd82752fd1dbdac9d786c507ae2cddc6b9b3dfd3c629e7a8c496dc02a927eb5
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#discussion_r3081592578
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
src/Import_Command.phphttps://github.com/wp-cli/import-command/pull/107/files/87db3d3f640edead95727495610bf1b7b1b064ca#diff-4bd82752fd1dbdac9d786c507ae2cddc6b9b3dfd3c629e7a8c496dc02a927eb5
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#discussion_r3081592582
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/508ba0af8fcc5b69c2f7fd05896fc39957428ba34e1b99c6508db43cf217da8d/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
4644121https://github.com/wp-cli/import-command/commit/464412191129cbb1417f7fd94b8c7ef00e358c58
Apr 14, 2026https://github.com/wp-cli/import-command/pull/107#event-24499723786
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
April 14, 2026 18:32https://github.com/wp-cli/import-command/pull/107#event-24499724927
https://github.co/hiddenchars
https://github.com/wp-cli/import-command/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fimport-command%2Fpull%2F107
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/wp-cli/import-command/pull/107/files/7bc843459f31abdd8e4b1b048838680ca1364ba6
https://github.com/swissspidy
swissspidy https://github.com/swissspidy
https://github.com/apps/gemini-code-assist
gemini-code-assist[bot] https://github.com/apps/gemini-code-assist
https://github.com/wp-cli/import-command/pull/107/files/87db3d3f640edead95727495610bf1b7b1b064ca
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
https://github.com/swissspidy
swissspidy https://github.com/swissspidy
Copilot code review https://github.com/apps/copilot-swe-agent
Copilot https://github.com/apps/copilot-swe-agent
command:import https://github.com/wp-cli/import-command/issues?q=state%3Aopen%20label%3Acommand%3Aimport
scope:distribution https://github.com/wp-cli/import-command/issues?q=state%3Aopen%20label%3Ascope%3Adistribution
2.0.18 https://github.com/wp-cli/import-command/milestone/26
Improve speed of import when uploads are available locally https://github.com/wp-cli/import-command/issues/83
Please reload this pagehttps://github.com/wp-cli/import-command/pull/107
https://github.com/apps/copilot-swe-agent
https://github.com/swissspidy
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.