René's URL Explorer Experiment


Title: Let remote.push return a PushInfoList by Sjord · Pull Request #1360 · gitpython-developers/GitPython · GitHub

Open Graph Title: Let remote.push return a PushInfoList by Sjord · Pull Request #1360 · gitpython-developers/GitPython

X Title: Let remote.push return a PushInfoList by Sjord · Pull Request #1360 · gitpython-developers/GitPython

Description: List-like, so that it's backward compatible. But it has a new method raise_on_error, that throws an exception if anything failed to push. Related to #621 This is more of a proposal for this design. Is this actually backward-compatible? Should we check the flags of all PushInfos in raise_on_error? Is this better than a new method push_really_or_else_raise() or push(raise=True)? What if a PushInfo is missing from the result because it totally failed?

Open Graph Description: List-like, so that it's backward compatible. But it has a new method raise_on_error, that throws an exception if anything failed to push. Related to #621 This is more of a proposal for this des...

X Description: List-like, so that it's backward compatible. But it has a new method raise_on_error, that throws an exception if anything failed to push. Related to #621 This is more of a proposal for this...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e70bd41e-a2f4-5c6f-01e9-6968f17b5141
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA838:1BDCFF:13BE5E4:1CD8BC4:6A4E4781
html-safe-nonce92e2bc7c36c8c4cf6db18e04620f20c1e82804821e74712e2c0fb72cf19db302
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODM4OjFCRENGRjoxM0JFNUU0OjFDRDhCQzQ6NkE0RTQ3ODEiLCJ2aXNpdG9yX2lkIjoiMzkzODI1MjQ0NDAzMTQwMzkwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5d525f4b22eb85458784d6eb1b922b5768bee449b10197f410de7fb3eece2e28
hovercard-subject-tagpull_request:756110948
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/1360/files
twitter:imagehttps://avatars.githubusercontent.com/u/113030?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/113030?s=400&v=4
og:image:altList-like, so that it's backward compatible. But it has a new method raise_on_error, that throws an exception if anything failed to push. Related to #621 This is more of a proposal for this des...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee8506f6d0538364886e3f0153c154c410965e70d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/1360/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1360%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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F1360%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=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/pull/1360/files
Reloadhttps://github.com/gitpython-developers/GitPython/pull/1360/files
Reloadhttps://github.com/gitpython-developers/GitPython/pull/1360/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1360/files
gitpython-developers https://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1360/files
Notifications https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 981 https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5.1k https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://github.com/gitpython-developers/GitPython
Issues 166 https://github.com/gitpython-developers/GitPython/issues
Pull requests 12 https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security and quality 8 https://github.com/gitpython-developers/GitPython/security
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 and quality https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
Byronhttps://github.com/Byron
gitpython-developers:mainhttps://github.com/gitpython-developers/GitPython/tree/main
Sjord:PushInfoList.raise_on_errorhttps://github.com/Sjord/GitPython/tree/PushInfoList.raise_on_error
Conversation 15 https://github.com/gitpython-developers/GitPython/pull/1360
Commits 8 https://github.com/gitpython-developers/GitPython/pull/1360/commits
Checks 0 https://github.com/gitpython-developers/GitPython/pull/1360/checks
Files changed https://github.com/gitpython-developers/GitPython/pull/1360/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1360/files
Let remote.push return a PushInfoList https://github.com/gitpython-developers/GitPython/pull/1360/files#top
Show all changes 8 commits https://github.com/gitpython-developers/GitPython/pull/1360/files
70e4bb8 Let remote.push return a PushInfoList Sjord Oct 12, 2021 https://github.com/gitpython-developers/GitPython/pull/1360/commits/70e4bb82500fba31013e274578ee3627de02afdf
6fc830a Test that return value of push is a list-like object Sjord Oct 13, 2021 https://github.com/gitpython-developers/GitPython/pull/1360/commits/6fc830ac4ac6150a218ce6c420ad7e325843c9a4
5c15975 Rename exception to error, raise_on_error to raise_if_error Sjord Nov 8, 2021 https://github.com/gitpython-developers/GitPython/pull/1360/commits/5c15975a9537ad3598521ba0adc95b8e3502a9e6
808179e Test raise_if_error Sjord Nov 8, 2021 https://github.com/gitpython-developers/GitPython/pull/1360/commits/808179ecadaef22fe1b8781e11fc0becddc89c11
e5fd7b7 Add raise_if_error() to tutorial Sjord Nov 9, 2021 https://github.com/gitpython-developers/GitPython/pull/1360/commits/e5fd7b71545b42ae9da9943d922341196c405824
56a395f Fix type handing on PushInfoList Sjord Nov 9, 2021 https://github.com/gitpython-developers/GitPython/pull/1360/commits/56a395fb76eac3e5fc629e02a101ed51cc0c8a91
bc76d4a Specify type for PushInfoList.error Sjord Nov 9, 2021 https://github.com/gitpython-developers/GitPython/pull/1360/commits/bc76d4a371432022bbc1ec5c8893c1a56671ad98
a270deb Extend IterableList[PushInfo] instead of IterableList Sjord Nov 10, 2021 https://github.com/gitpython-developers/GitPython/pull/1360/commits/a270deb86c98123497bb1930cded712fe0c8895e
Clear filters https://github.com/gitpython-developers/GitPython/pull/1360/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1360/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1360/files
remote.py https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639
test_docs.py https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
test_remote.py https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-8f71eea0871a97cc5c7757598e3ffaeacb8cd38f6f5f1742e21fd07364d3a698
git/remote.pyhttps://github.com/gitpython-developers/GitPython/pull/1360/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639
View file https://github.com/Sjord/GitPython/blob/a270deb86c98123497bb1930cded712fe0c8895e/git/remote.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/1360/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639
test/test_docs.pyhttps://github.com/gitpython-developers/GitPython/pull/1360/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
View file https://github.com/Sjord/GitPython/blob/a270deb86c98123497bb1930cded712fe0c8895e/test/test_docs.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/1360/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
test/test_remote.pyhttps://github.com/gitpython-developers/GitPython/pull/1360/files#diff-8f71eea0871a97cc5c7757598e3ffaeacb8cd38f6f5f1742e21fd07364d3a698
View file https://github.com/Sjord/GitPython/blob/a270deb86c98123497bb1930cded712fe0c8895e/test/test_remote.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/1360/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-8f71eea0871a97cc5c7757598e3ffaeacb8cd38f6f5f1742e21fd07364d3a698
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-8f71eea0871a97cc5c7757598e3ffaeacb8cd38f6f5f1742e21fd07364d3a698
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-8f71eea0871a97cc5c7757598e3ffaeacb8cd38f6f5f1742e21fd07364d3a698
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-8f71eea0871a97cc5c7757598e3ffaeacb8cd38f6f5f1742e21fd07364d3a698
https://github.com/gitpython-developers/GitPython/pull/1360/files#diff-8f71eea0871a97cc5c7757598e3ffaeacb8cd38f6f5f1742e21fd07364d3a698
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.