René's URL Explorer Experiment


Title: added warning if mutable rev is used by paulhfischer · Pull Request #1715 · pre-commit/pre-commit · GitHub

Open Graph Title: added warning if mutable rev is used by paulhfischer · Pull Request #1715 · pre-commit/pre-commit

X Title: added warning if mutable rev is used by paulhfischer · Pull Request #1715 · pre-commit/pre-commit

Description: resolves #974 only added a warning instead of raising an error because this might break multiple projects otherwise not sure if other mutable revs should also cause a warning, couldn't think of a way to detect them in general … the check could also be included in the MigrateShaToRev-class, but i think it's better to keep them separated test only checks for HEAD, this is sufficient imo, but i can also change it so it tests for all mutable revs defined in {'HEAD', 'stable', 'master'}

Open Graph Description: resolves #974 only added a warning instead of raising an error because this might break multiple projects otherwise not sure if other mutable revs should also cause a warning, couldn't think o...

X Description: resolves #974 only added a warning instead of raising an error because this might break multiple projects otherwise not sure if other mutable revs should also cause a warning, couldn't thi...

Opengraph URL: https://github.com/pre-commit/pre-commit/pull/1715

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:96bef51b-7e0e-afab-afc1-2423d0be0b4a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBEF0:31B5FB:5F8F73:8BE4BF:6A5611B9
html-safe-noncea61fa16169229ea6fce5f975958bef7e40603d82cf08cf93b1375c2198526a13
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUYwOjMxQjVGQjo1RjhGNzM6OEJFNEJGOjZBNTYxMUI5IiwidmlzaXRvcl9pZCI6IjMxODQwNDQ3MTA3MDE2OTk1MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8082a6d2b7039fe3a105c1caf962bb0b98dcb670473433808ab6703b93d6f73c
hovercard-subject-tagpull_request:527710613
github-keyboard-shortcutsrepository,commits,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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/pre-commit/pre-commit/pull/1715/files
twitter:imagehttps://avatars.githubusercontent.com/u/70564747?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/70564747?s=400&v=4
og:image:altresolves #974 only added a warning instead of raising an error because this might break multiple projects otherwise not sure if other mutable revs should also cause a warning, couldn't think o...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id17689377
octolytics-dimension-repository_nwopre-commit/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17689377
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release85a7179838b41e8b23f939d3b67b53f752ecfc54
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/pull/1715/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F1715%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fpre-commit%2Fpre-commit%2Fpull%2F1715%2Ffiles
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%2Ffiles&source=header-repo&source_repo=pre-commit%2Fpre-commit
Reloadhttps://github.com/pre-commit/pre-commit/pull/1715/files
Reloadhttps://github.com/pre-commit/pre-commit/pull/1715/files
Reloadhttps://github.com/pre-commit/pre-commit/pull/1715/files
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1715/files
pre-commit https://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1715/files
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Fork 985 https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Star 15.4k https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Code https://github.com/pre-commit/pre-commit
Issues 22 https://github.com/pre-commit/pre-commit/issues
Pull requests 13 https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality 0 https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Code https://github.com/pre-commit/pre-commit
Issues https://github.com/pre-commit/pre-commit/issues
Pull requests https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpre-commit%2Fpre-commit%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpre-commit%2Fpre-commit%2Fissues%2Fnew%2Fchoose
asottilehttps://github.com/asottile
pre-commit:masterhttps://github.com/pre-commit/pre-commit/tree/master
Conversation 27 https://github.com/pre-commit/pre-commit/pull/1715
Commits 1 https://github.com/pre-commit/pre-commit/pull/1715/commits
Checks 0 https://github.com/pre-commit/pre-commit/pull/1715/checks
Files changed https://github.com/pre-commit/pre-commit/pull/1715/files
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1715/files
added warning if mutable rev is used https://github.com/pre-commit/pre-commit/pull/1715/files#top
Show all changes 1 commit https://github.com/pre-commit/pre-commit/pull/1715/files
1e4de98 added warning if mutable rev is used paulhfischer Dec 7, 2020 https://github.com/pre-commit/pre-commit/pull/1715/commits/1e4de986a8804aa620a001f4e04c9d4755e9d6b2
Clear filters https://github.com/pre-commit/pre-commit/pull/1715/files
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1715/files
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/1715/files
clientlib.py https://github.com/pre-commit/pre-commit/pull/1715/files#diff-50ac7b5e8a13e84f014753a1cbfd94b71c8de2d909ce488278c9f40a77aba1dc
clientlib_test.py https://github.com/pre-commit/pre-commit/pull/1715/files#diff-5d43109acb5e84917d6635622ccac7bc0989afc63d51fe7bc2a7f018151c5bd3
pre_commit/clientlib.pyhttps://github.com/pre-commit/pre-commit/pull/1715/files#diff-50ac7b5e8a13e84f014753a1cbfd94b71c8de2d909ce488278c9f40a77aba1dc
View file https://github.com/pre-commit/pre-commit/blob/1e4de986a8804aa620a001f4e04c9d4755e9d6b2/pre_commit/clientlib.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pre-commit/pre-commit/pull/1715/{{ revealButtonHref }}
https://github.com/pre-commit/pre-commit/pull/1715/files#diff-50ac7b5e8a13e84f014753a1cbfd94b71c8de2d909ce488278c9f40a77aba1dc
https://github.com/pre-commit/pre-commit/pull/1715/files#diff-50ac7b5e8a13e84f014753a1cbfd94b71c8de2d909ce488278c9f40a77aba1dc
https://github.com/pre-commit/pre-commit/pull/1715/files#diff-50ac7b5e8a13e84f014753a1cbfd94b71c8de2d909ce488278c9f40a77aba1dc
https://github.com/pre-commit/pre-commit/pull/1715/files#diff-50ac7b5e8a13e84f014753a1cbfd94b71c8de2d909ce488278c9f40a77aba1dc
https://github.com/pre-commit/pre-commit/pull/1715/files#diff-50ac7b5e8a13e84f014753a1cbfd94b71c8de2d909ce488278c9f40a77aba1dc
tests/clientlib_test.pyhttps://github.com/pre-commit/pre-commit/pull/1715/files#diff-5d43109acb5e84917d6635622ccac7bc0989afc63d51fe7bc2a7f018151c5bd3
View file https://github.com/pre-commit/pre-commit/blob/1e4de986a8804aa620a001f4e04c9d4755e9d6b2/tests/clientlib_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pre-commit/pre-commit/pull/1715/{{ revealButtonHref }}
https://github.com/pre-commit/pre-commit/pull/1715/files#diff-5d43109acb5e84917d6635622ccac7bc0989afc63d51fe7bc2a7f018151c5bd3
https://github.com/pre-commit/pre-commit/pull/1715/files#diff-5d43109acb5e84917d6635622ccac7bc0989afc63d51fe7bc2a7f018151c5bd3
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.