René's URL Explorer Experiment


Title: Use flock() for file locking by expobrain · Pull Request #513 · gitpython-developers/GitPython · GitHub

Open Graph Title: Use flock() for file locking by expobrain · Pull Request #513 · gitpython-developers/GitPython

X Title: Use flock() for file locking by expobrain · Pull Request #513 · gitpython-developers/GitPython

Description: GitPython is a python library used to interact with Git repositories. - Use flock() for file locking by expobrain · Pull Request #513 · gitpython-developers/GitPython

Open Graph Description: The problem with the original code is that the lock was based on the presence of the lockfile, that is if the lockfile exists the _obtain_lock() fails otherwise it succeed on acquiring the lock. Ho...

X Description: The problem with the original code is that the lock was based on the presence of the lockfile, that is if the lockfile exists the _obtain_lock() fails otherwise it succeed on acquiring the lock. Ho...

Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/513

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:a6a5352b-4eec-2c1d-daf9-91133b78c774
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBBBA:36A82:F3E1F0:14ECFA9:69693F40
html-safe-nonce5fa5fea3916fb955fd4f844013293ad81cfe1e2e964ee33430c9d22444974454
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkJBOjM2QTgyOkYzRTFGMDoxNEVDRkE5OjY5NjkzRjQwIiwidmlzaXRvcl9pZCI6IjI3ODQzODgyNzU2OTI0NTM2OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac72510b6b6ce1cee063875f216aa559002566bdc630a1b7bfc9797cce531a74df
hovercard-subject-tagpull_request:85194555
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/513/commits
twitter:imagehttps://opengraph.githubassets.com/8e8b14f12075c8b4d6cbfefb210becef4fd064dd661b7cc995b11a340075364c/gitpython-developers/GitPython/pull/513
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8e8b14f12075c8b4d6cbfefb210becef4fd064dd661b7cc995b11a340075364c/gitpython-developers/GitPython/pull/513
og:image:altThe problem with the original code is that the lock was based on the presence of the lockfile, that is if the lockfile exists the _obtain_lock() fails otherwise it succeed on acquiring the lock. Ho...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameexpobrain
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-cache
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/513/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F513%2Fcommits
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F513%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/pull/513/commits
Reloadhttps://github.com/gitpython-developers/GitPython/pull/513/commits
Reloadhttps://github.com/gitpython-developers/GitPython/pull/513/commits
gitpython-developers https://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/513/commits
Notifications https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 964 https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5k https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://github.com/gitpython-developers/GitPython
Issues 169 https://github.com/gitpython-developers/GitPython/issues
Pull requests 8 https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/gitpython-developers/GitPython/security
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/513/commits
Insights https://github.com/gitpython-developers/GitPython/pulse
Code https://github.com/gitpython-developers/GitPython
Issues https://github.com/gitpython-developers/GitPython/issues
Pull requests https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
Byronhttps://github.com/Byron
gitpython-developers:masterhttps://github.com/gitpython-developers/GitPython/tree/master
expobrain:masterhttps://github.com/expobrain/GitPython/tree/master
Conversationhttps://github.com/gitpython-developers/GitPython/pull/513
Commits11 (11)https://github.com/gitpython-developers/GitPython/pull/513/commits
Checkshttps://github.com/gitpython-developers/GitPython/pull/513/checks
Files changedhttps://github.com/gitpython-developers/GitPython/pull/513/files
Use flock() for file lockinghttps://github.com/gitpython-developers/GitPython/pull/513/commits#top
Byronhttps://github.com/Byron
gitpython-developers:masterhttps://github.com/gitpython-developers/GitPython/tree/master
expobrain:masterhttps://github.com/expobrain/GitPython/tree/master
Replaced lock file code with flock()https://github.com/gitpython-developers/GitPython/pull/513/commits/547e6f0e2e9ace80e6d6b08db3c15fe91efe880f
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
547e6f0https://github.com/gitpython-developers/GitPython/pull/513/commits/547e6f0e2e9ace80e6d6b08db3c15fe91efe880f
https://github.com/gitpython-developers/GitPython/tree/547e6f0e2e9ace80e6d6b08db3c15fe91efe880f
No need to create the lock file beforehandhttps://github.com/gitpython-developers/GitPython/pull/513/commits/6dfc870cffcfa7ca29e30301fff256e4e5b181f3
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
6dfc870https://github.com/gitpython-developers/GitPython/pull/513/commits/6dfc870cffcfa7ca29e30301fff256e4e5b181f3
https://github.com/gitpython-developers/GitPython/tree/6dfc870cffcfa7ca29e30301fff256e4e5b181f3
Ignore cache dir of Py.testhttps://github.com/gitpython-developers/GitPython/pull/513/commits/1e4eff1d7ff660077eb0e05f39f9466c7e00d34e
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
1e4eff1https://github.com/gitpython-developers/GitPython/pull/513/commits/1e4eff1d7ff660077eb0e05f39f9466c7e00d34e
https://github.com/gitpython-developers/GitPython/tree/1e4eff1d7ff660077eb0e05f39f9466c7e00d34e
Updated AUTHORShttps://github.com/gitpython-developers/GitPython/pull/513/commits/ae19557f8b6e5387b7275d46621535b24ace00d8
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
ae19557https://github.com/gitpython-developers/GitPython/pull/513/commits/ae19557f8b6e5387b7275d46621535b24ace00d8
https://github.com/gitpython-developers/GitPython/tree/ae19557f8b6e5387b7275d46621535b24ace00d8
Force GC collectionhttps://github.com/gitpython-developers/GitPython/pull/513/commits/f0fcc072b37d6e773e18ea561ebce8ccba2ba19c
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
f0fcc07https://github.com/gitpython-developers/GitPython/pull/513/commits/f0fcc072b37d6e773e18ea561ebce8ccba2ba19c
https://github.com/gitpython-developers/GitPython/tree/f0fcc072b37d6e773e18ea561ebce8ccba2ba19c
Merge remote-tracking branch 'upstream/master'https://github.com/gitpython-developers/GitPython/pull/513/commits/26f9b9f40144b73d75e739ef5e6552007b6376f8
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
26f9b9fhttps://github.com/gitpython-developers/GitPython/pull/513/commits/26f9b9f40144b73d75e739ef5e6552007b6376f8
https://github.com/gitpython-developers/GitPython/tree/26f9b9f40144b73d75e739ef5e6552007b6376f8
Fixed typo after mergehttps://github.com/gitpython-developers/GitPython/pull/513/commits/d437f8893f60bfdc703b0d16335f28ad2e799974
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
d437f88https://github.com/gitpython-developers/GitPython/pull/513/commits/d437f8893f60bfdc703b0d16335f28ad2e799974
https://github.com/gitpython-developers/GitPython/tree/d437f8893f60bfdc703b0d16335f28ad2e799974
Updated file locking for Windows platformhttps://github.com/gitpython-developers/GitPython/pull/513/commits/ab7a87290149114e080037f8da0871939b1ed7fc
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
ab7a872https://github.com/gitpython-developers/GitPython/pull/513/commits/ab7a87290149114e080037f8da0871939b1ed7fc
https://github.com/gitpython-developers/GitPython/tree/ab7a87290149114e080037f8da0871939b1ed7fc
Updated setup to include Windows requirementshttps://github.com/gitpython-developers/GitPython/pull/513/commits/c0b45fa508a8826a70a0593f3808c8c053b91787
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
c0b45fahttps://github.com/gitpython-developers/GitPython/pull/513/commits/c0b45fa508a8826a70a0593f3808c8c053b91787
https://github.com/gitpython-developers/GitPython/tree/c0b45fa508a8826a70a0593f3808c8c053b91787
Forgot to uncomment conditional importhttps://github.com/gitpython-developers/GitPython/pull/513/commits/4c9dd7fac214bb0f85077cab40d4455cf3113b17
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
4c9dd7fhttps://github.com/gitpython-developers/GitPython/pull/513/commits/4c9dd7fac214bb0f85077cab40d4455cf3113b17
https://github.com/gitpython-developers/GitPython/tree/4c9dd7fac214bb0f85077cab40d4455cf3113b17
Fix syntax for Python 3.xhttps://github.com/gitpython-developers/GitPython/pull/513/commits/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79
https://github.com/expobrain
expobrainhttps://github.com/gitpython-developers/GitPython/commits?author=expobrain
20b4f49https://github.com/gitpython-developers/GitPython/pull/513/commits/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79
https://github.com/gitpython-developers/GitPython/tree/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79
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.