René's URL Explorer Experiment


Title: Revamped template loading by coderanger · Pull Request #6 · coderanger/brix · GitHub

Open Graph Title: Revamped template loading by coderanger · Pull Request #6 · coderanger/brix

X Title: Revamped template loading by coderanger · Pull Request #6 · coderanger/brix

Description: Ping @mahmoudimus @bninja @mjallday

Open Graph Description: Ping @mahmoudimus @bninja @mjallday

X Description: Ping @mahmoudimus @bninja @mjallday

Opengraph URL: https://github.com/coderanger/brix/pull/6

X: @github

direct link

Domain: patch-diff.githubusercontent.com

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:2024cd47-92d2-ab43-e52a-727574022757
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8884:2A8767:21F5D6D:2F03EC0:697CAB2D
html-safe-nonce7402df31bccf442efd91e265315a12cb61f780c2d3141afc9a842497e7151353
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODg0OjJBODc2NzoyMUY1RDZEOjJGMDNFQzA6Njk3Q0FCMkQiLCJ2aXNpdG9yX2lkIjoiNDA3MDQxNzk2MjM3NzMyNjU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8f65dcc99a4aaf2c94c4f42e1dda4e2e4dcf2803fcaa1303d51ca195201539b6
hovercard-subject-tagpull_request:13198656
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/coderanger/brix/6/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e1193117d8a97e9e0ebad0efbb74e81e8186b919f631a0c43273b0b3403cfd62/coderanger/brix/pull/6
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e1193117d8a97e9e0ebad0efbb74e81e8186b919f631a0c43273b0b3403cfd62/coderanger/brix/pull/6
og:image:altPing @mahmoudimus @bninja @mjallday
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecoderanger
hostnamegithub.com
expected-hostnamegithub.com
None5bdfd06d077d4bc79a8063f7549f208cda3158f1322903029653dc97f57b937a
turbo-cache-controlno-preview
go-importgithub.com/coderanger/brix git https://github.com/coderanger/brix.git
octolytics-dimension-user_id128243
octolytics-dimension-user_logincoderanger
octolytics-dimension-repository_id16631754
octolytics-dimension-repository_nwocoderanger/brix
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16631754
octolytics-dimension-repository_network_root_nwocoderanger/brix
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
releasef8a309d88087f59ff1a2f2cd9e9e79ed01a7b84e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoderanger%2Fbrix%2Fpull%2F6
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%2Fcoderanger%2Fbrix%2Fpull%2F6
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coderanger%2Fbrix
Reloadhttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6
Reloadhttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6
Reloadhttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6
coderanger https://patch-diff.githubusercontent.com/coderanger
brixhttps://patch-diff.githubusercontent.com/coderanger/brix
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fcoderanger%2Fbrix
Fork 14 https://patch-diff.githubusercontent.com/login?return_to=%2Fcoderanger%2Fbrix
Star 19 https://patch-diff.githubusercontent.com/login?return_to=%2Fcoderanger%2Fbrix
Code https://patch-diff.githubusercontent.com/coderanger/brix
Issues 2 https://patch-diff.githubusercontent.com/coderanger/brix/issues
Pull requests 0 https://patch-diff.githubusercontent.com/coderanger/brix/pulls
Actions https://patch-diff.githubusercontent.com/coderanger/brix/actions
Projects 0 https://patch-diff.githubusercontent.com/coderanger/brix/projects
Wiki https://patch-diff.githubusercontent.com/coderanger/brix/wiki
Security 0 https://patch-diff.githubusercontent.com/coderanger/brix/security
Insights https://patch-diff.githubusercontent.com/coderanger/brix/pulse
Code https://patch-diff.githubusercontent.com/coderanger/brix
Issues https://patch-diff.githubusercontent.com/coderanger/brix/issues
Pull requests https://patch-diff.githubusercontent.com/coderanger/brix/pulls
Actions https://patch-diff.githubusercontent.com/coderanger/brix/actions
Projects https://patch-diff.githubusercontent.com/coderanger/brix/projects
Wiki https://patch-diff.githubusercontent.com/coderanger/brix/wiki
Security https://patch-diff.githubusercontent.com/coderanger/brix/security
Insights https://patch-diff.githubusercontent.com/coderanger/brix/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fcoderanger%2Fbrix%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fcoderanger%2Fbrix%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6#issue-comment-box
coderangerhttps://patch-diff.githubusercontent.com/coderanger
masterhttps://patch-diff.githubusercontent.com/coderanger/brix/tree/master
libraryhttps://patch-diff.githubusercontent.com/coderanger/brix/tree/library
Revamped template loading https://patch-diff.githubusercontent.com/coderanger/brix/pull/6#top
coderangerhttps://patch-diff.githubusercontent.com/coderanger
masterhttps://patch-diff.githubusercontent.com/coderanger/brix/tree/master
libraryhttps://patch-diff.githubusercontent.com/coderanger/brix/tree/library
Conversation 1 https://patch-diff.githubusercontent.com/coderanger/brix/pull/6
Commits 13 https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits
Checks 0 https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/checks
Files changed https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/files
Please reload this pagehttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/coderanger/brix/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/coderanger
coderangerhttps://patch-diff.githubusercontent.com/coderanger
Mar 5, 2014https://patch-diff.githubusercontent.com/coderanger/brix/pull/6#issue-28769113
@mahmoudimushttps://github.com/mahmoudimus
@bninjahttps://github.com/bninja
@mjalldayhttps://github.com/mjallday
Please reload this pagehttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6
coderangerhttps://patch-diff.githubusercontent.com/coderanger
March 4, 2014 16:15https://patch-diff.githubusercontent.com/coderanger/brix/pull/6#commits-pushed-c4928e3
https://patch-diff.githubusercontent.com/coderanger
Starting to clean up the template loader code.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/c4928e35b44b874cb6e82039adfd01d236e10b46
c4928e3https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/c4928e35b44b874cb6e82039adfd01d236e10b46
https://patch-diff.githubusercontent.com/coderanger
Don't use importlib since breaks with multiple templates of the same …https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/07111d1930dcc2552b04aceb1a1dfbfd966b7c9e
07111d1https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/07111d1930dcc2552b04aceb1a1dfbfd966b7c9e
https://patch-diff.githubusercontent.com/coderanger
Be a little more flexible in case the template code screws with sys.p…https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/8a5be5e6542dc944ca724f050dd2584fe6310e30
8a5be5ehttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/8a5be5e6542dc944ca724f050dd2584fe6310e30
https://patch-diff.githubusercontent.com/coderanger
Remove __init__.py since the template library isn't a package anymore.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/cac7f5ed5bdd0d7d84332b1f7196e8cf457c1fab
cac7f5ehttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/cac7f5ed5bdd0d7d84332b1f7196e8cf457c1fab
https://patch-diff.githubusercontent.com/coderanger
Test library 3.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/7fd201e3d550ae0c083f0d4166561ce0158aabd8
7fd201ehttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/7fd201e3d550ae0c083f0d4166561ce0158aabd8
https://patch-diff.githubusercontent.com/coderanger
Clean sys.modules after loading too.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/2273a901bdccdca7f08ed3ed575093eafc25136c
@alexhttps://github.com/alex
doesn't like this.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/2273a901bdccdca7f08ed3ed575093eafc25136c
https://patch-diff.githubusercontent.com/coderanger/brix/commit/2273a901bdccdca7f08ed3ed575093eafc25136c#comments
2273a90https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/2273a901bdccdca7f08ed3ed575093eafc25136c
https://patch-diff.githubusercontent.com/coderanger
More tests.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/b7e13b6b37191342b6fc4ee924514fe808ca0d07
b7e13b6https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/b7e13b6b37191342b6fc4ee924514fe808ca0d07
https://patch-diff.githubusercontent.com/coderanger
Deterministic behavior is cool.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/fde14eb3b2333ce272fbec584d835449c55d45cb
fde14ebhttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/fde14eb3b2333ce272fbec584d835449c55d45cb
https://patch-diff.githubusercontent.com/coderanger
Makehttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/dc1139c7e3423c3a223d94865941d61518de6c99
@alexhttps://github.com/alex
slightly less caremad by closing my file handle.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/dc1139c7e3423c3a223d94865941d61518de6c99
dc1139chttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/dc1139c7e3423c3a223d94865941d61518de6c99
https://patch-diff.githubusercontent.com/coderanger
So back to the importlib approach due to bugs with symbols vanishing …https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/51c8d3cf52246886a25251ecd3fc307cbd2bebe2
51c8d3chttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/51c8d3cf52246886a25251ecd3fc307cbd2bebe2
https://patch-diff.githubusercontent.com/coderanger
Use relative imports again.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/ef63589bb36d7bb31c08e50e7121dc125e288822
ef63589https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/ef63589bb36d7bb31c08e50e7121dc125e288822
https://patch-diff.githubusercontent.com/coderanger
Rename to _base so it doesn't get loaded as a template file.https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/461b22c64700827fa160a052419b7213ebadab72
461b22chttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/461b22c64700827fa160a052419b7213ebadab72
https://patch-diff.githubusercontent.com/coderanger
Switch brix to the new TemplateLibrary code and rework the templates …https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/0a6daf778a7e0a1f14a827e31ccb87eaf8db7c4c
0a6daf7https://patch-diff.githubusercontent.com/coderanger/brix/pull/6/commits/0a6daf778a7e0a1f14a827e31ccb87eaf8db7c4c
https://patch-diff.githubusercontent.com/coderanger
coderangerhttps://patch-diff.githubusercontent.com/coderanger
Mar 6, 2014 https://patch-diff.githubusercontent.com/coderanger/brix/pull/6#ref-issue-28087011
Sync #3 https://patch-diff.githubusercontent.com/coderanger/brix/issues/3
https://patch-diff.githubusercontent.com/coderanger
coderangerhttps://patch-diff.githubusercontent.com/coderanger
Jun 12, 2017https://patch-diff.githubusercontent.com/coderanger/brix/pull/6#issuecomment-307885631
Please reload this pagehttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6
https://patch-diff.githubusercontent.com/coderanger
coderangerhttps://patch-diff.githubusercontent.com/coderanger
Jun 12, 2017https://patch-diff.githubusercontent.com/coderanger/brix/pull/6#event-1120064012
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoderanger%2Fbrix%2Fpull%2F6
Please reload this pagehttps://patch-diff.githubusercontent.com/coderanger/brix/pull/6
https://patch-diff.githubusercontent.com/coderanger
https://patch-diff.githubusercontent.com/alex
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
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.