René's URL Explorer Experiment


Title: General versus Per-Model flags · Issue #271 · networktocode/diffsync · GitHub

Open Graph Title: General versus Per-Model flags · Issue #271 · networktocode/diffsync

X Title: General versus Per-Model flags · Issue #271 · networktocode/diffsync

Description: Environment DiffSync version: 2.0.0 Proposed Functionality The way flags are managed in diffsync/diffsync/helpers.py Lines 185 to 208 in 315b5e9 if self.flags & DiffSyncFlags.SKIP_UNMATCHED_SRC and not dst_obj: log.debug("Skipping due to...

Open Graph Description: Environment DiffSync version: 2.0.0 Proposed Functionality The way flags are managed in diffsync/diffsync/helpers.py Lines 185 to 208 in 315b5e9 if self.flags & DiffSyncFlags.SKIP_UNMATCHED_SRC and...

X Description: Environment DiffSync version: 2.0.0 Proposed Functionality The way flags are managed in diffsync/diffsync/helpers.py Lines 185 to 208 in 315b5e9 if self.flags & DiffSyncFlags.SKIP_UNMATCHED_SRC...

Opengraph URL: https://github.com/networktocode/diffsync/issues/271

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"General versus Per-Model flags","articleBody":"### Environment\r\n* DiffSync version: 2.0.0\r\n\r\n\u003c!--\r\n    Describe in detail the new functionality you are proposing.\r\n--\u003e\r\n### Proposed Functionality\r\n\r\nThe way flags are managed in https://github.com/networktocode/diffsync/blob/315b5e9396148209a71a9526c090b2899deab77a/diffsync/helpers.py#L185-L208, means that the GLOBAL flags always take precedence over the MODEL ones.\r\n\r\nI would propose changing the order (more specific first) and adding some flags that could negate the global behavior. For example:\r\n- global: `SKIP_UNMATCHED_DST`\r\n- model:  `NO_SKIP_UNMATCHED_DST` (new one)\r\n\r\nThis should allow not skipping for only a specific model.\r\n\r\n\u003c!--\r\n    Convey an example use case for your proposed feature. Write from the\r\n    perspective of a user who would benefit from the proposed\r\n    functionality and describe how.\r\n--\u003e\r\n### Use Case\r\n\r\n","author":{"url":"https://github.com/chadell","@type":"Person","name":"chadell"},"datePublished":"2024-03-12T13:08:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/271/diffsync/issues/271"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d25c9d0b-680a-f4b3-1d5e-4ea4ea6d44e5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDD74:3B5BF:3A44C5B:4B08613:69910330
html-safe-noncee98fd308bdf5572db0e13eb50dfd0b028f41b51ddef76468580c10476508e804
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDc0OjNCNUJGOjNBNDRDNUI6NEIwODYxMzo2OTkxMDMzMCIsInZpc2l0b3JfaWQiOiI1MjY5ODU5NTgxODcwMjc3NDI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5bc3d45dbb740a6b7813a3a35c8df37709b74965228d76946d76597f13feb1c4
hovercard-subject-tagissue:2181581657
github-keyboard-shortcutsrepository,issues,network-graph,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/networktocode/diffsync/271/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e003151e7b2998abb021a01bec879d4d40a1016e7bce50dc836f6b663dcb918b/networktocode/diffsync/issues/271
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e003151e7b2998abb021a01bec879d4d40a1016e7bce50dc836f6b663dcb918b/networktocode/diffsync/issues/271
og:image:altEnvironment DiffSync version: 2.0.0 Proposed Functionality The way flags are managed in diffsync/diffsync/helpers.py Lines 185 to 208 in 315b5e9 if self.flags & DiffSyncFlags.SKIP_UNMATCHED_SRC and...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechadell
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/networktocode/diffsync git https://github.com/networktocode/diffsync.git
octolytics-dimension-user_id13106404
octolytics-dimension-user_loginnetworktocode
octolytics-dimension-repository_id292296974
octolytics-dimension-repository_nwonetworktocode/diffsync
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id292296974
octolytics-dimension-repository_network_root_nwonetworktocode/diffsync
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/networktocode/diffsync/issues/271#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnetworktocode%2Fdiffsync%2Fissues%2F271
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnetworktocode%2Fdiffsync%2Fissues%2F271
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=networktocode%2Fdiffsync
Reloadhttps://patch-diff.githubusercontent.com/networktocode/diffsync/issues/271
Reloadhttps://patch-diff.githubusercontent.com/networktocode/diffsync/issues/271
Reloadhttps://patch-diff.githubusercontent.com/networktocode/diffsync/issues/271
networktocode https://patch-diff.githubusercontent.com/networktocode
diffsynchttps://patch-diff.githubusercontent.com/networktocode/diffsync
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fnetworktocode%2Fdiffsync
Fork 30 https://patch-diff.githubusercontent.com/login?return_to=%2Fnetworktocode%2Fdiffsync
Star 178 https://patch-diff.githubusercontent.com/login?return_to=%2Fnetworktocode%2Fdiffsync
Code https://patch-diff.githubusercontent.com/networktocode/diffsync
Issues 39 https://patch-diff.githubusercontent.com/networktocode/diffsync/issues
Pull requests 8 https://patch-diff.githubusercontent.com/networktocode/diffsync/pulls
Discussions https://patch-diff.githubusercontent.com/networktocode/diffsync/discussions
Actions https://patch-diff.githubusercontent.com/networktocode/diffsync/actions
Projects 0 https://patch-diff.githubusercontent.com/networktocode/diffsync/projects
Security 0 https://patch-diff.githubusercontent.com/networktocode/diffsync/security
Insights https://patch-diff.githubusercontent.com/networktocode/diffsync/pulse
Code https://patch-diff.githubusercontent.com/networktocode/diffsync
Issues https://patch-diff.githubusercontent.com/networktocode/diffsync/issues
Pull requests https://patch-diff.githubusercontent.com/networktocode/diffsync/pulls
Discussions https://patch-diff.githubusercontent.com/networktocode/diffsync/discussions
Actions https://patch-diff.githubusercontent.com/networktocode/diffsync/actions
Projects https://patch-diff.githubusercontent.com/networktocode/diffsync/projects
Security https://patch-diff.githubusercontent.com/networktocode/diffsync/security
Insights https://patch-diff.githubusercontent.com/networktocode/diffsync/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/networktocode/diffsync/issues/271
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/networktocode/diffsync/issues/271
General versus Per-Model flagshttps://patch-diff.githubusercontent.com/networktocode/diffsync/issues/271#top
status: gathering feedbackFurther discussion is needed to determine this issue's scope and/or implementationhttps://github.com/networktocode/diffsync/issues?q=state%3Aopen%20label%3A%22status%3A%20gathering%20feedback%22
https://github.com/chadell
https://github.com/chadell
chadellhttps://github.com/chadell
on Mar 12, 2024https://github.com/networktocode/diffsync/issues/271#issue-2181581657
diffsync/diffsync/helpers.pyhttps://github.com/networktocode/diffsync/blob/315b5e9396148209a71a9526c090b2899deab77a/diffsync/helpers.py#L185-L208
315b5e9https://patch-diff.githubusercontent.com/networktocode/diffsync/commit/315b5e9396148209a71a9526c090b2899deab77a
status: gathering feedbackFurther discussion is needed to determine this issue's scope and/or implementationhttps://github.com/networktocode/diffsync/issues?q=state%3Aopen%20label%3A%22status%3A%20gathering%20feedback%22
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.