René's URL Explorer Experiment


Title: reconcile refactor by ehanson8 · Pull Request #16 · MITLibraries/dspace-api-python-scripts · GitHub

Open Graph Title: reconcile refactor by ehanson8 · Pull Request #16 · MITLibraries/dspace-api-python-scripts

X Title: reconcile refactor by ehanson8 · Pull Request #16 · MITLibraries/dspace-api-python-scripts

Description: What does this PR do? Refactors the reconcile CLI command into separate functions in the new workflows.py file. Adds test_cli.py and test_workflows.py Refactors conftest.py and test_models.py for more efficient use of testing fixtures given the new tests. Also, a unit test was inadvertently deleted from test_models.py in the last PR and has been restored. Includes new or updated dependencies? NO

Open Graph Description: What does this PR do? Refactors the reconcile CLI command into separate functions in the new workflows.py file. Adds test_cli.py and test_workflows.py Refactors conftest.py and test_models.py for ...

X Description: What does this PR do? Refactors the reconcile CLI command into separate functions in the new workflows.py file. Adds test_cli.py and test_workflows.py Refactors conftest.py and test_models.py for ...

Opengraph URL: https://github.com/MITLibraries/dspace-api-python-scripts/pull/16

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:508a10d5-e15a-5996-e84b-acf7ab36187f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8312:1E49FF:3BA08E:5225E3:6A4D5D8F
html-safe-nonce51b9210024092fa6ed91c6edea2f964f291a0db4c8a0c1e05c074cbc55c71110
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzEyOjFFNDlGRjozQkEwOEU6NTIyNUUzOjZBNEQ1RDhGIiwidmlzaXRvcl9pZCI6IjMzNTc5NDQzMjQ0NDg2NzMxNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac018453e695fef03a667a01b9279986e9829b4014822236624fd96477f464945f
hovercard-subject-tagpull_request:594113429
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/MITLibraries/dspace-api-python-scripts/pull/16/files
twitter:imagehttps://avatars.githubusercontent.com/u/18265491?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/18265491?s=400&v=4
og:image:altWhat does this PR do? Refactors the reconcile CLI command into separate functions in the new workflows.py file. Adds test_cli.py and test_workflows.py Refactors conftest.py and test_models.py for ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/MITLibraries/dspace-api-python-scripts git https://github.com/MITLibraries/dspace-api-python-scripts.git
octolytics-dimension-user_id2176469
octolytics-dimension-user_loginMITLibraries
octolytics-dimension-repository_id170196074
octolytics-dimension-repository_nwoMITLibraries/dspace-api-python-scripts
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id170196074
octolytics-dimension-repository_network_root_nwoMITLibraries/dspace-api-python-scripts
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
releasef3bdd3157ea1f0fd738d408eceeead721acf1dc3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMITLibraries%2Fdspace-api-python-scripts%2Fpull%2F16%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%2FMITLibraries%2Fdspace-api-python-scripts%2Fpull%2F16%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=MITLibraries%2Fdspace-api-python-scripts
Reloadhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
Reloadhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
Reloadhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
Please reload this pagehttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
MITLibraries https://github.com/MITLibraries
dspace-api-python-scriptshttps://github.com/MITLibraries/dspace-api-python-scripts
Notifications https://github.com/login?return_to=%2FMITLibraries%2Fdspace-api-python-scripts
Fork 3 https://github.com/login?return_to=%2FMITLibraries%2Fdspace-api-python-scripts
Star 12 https://github.com/login?return_to=%2FMITLibraries%2Fdspace-api-python-scripts
Code https://github.com/MITLibraries/dspace-api-python-scripts
Issues 0 https://github.com/MITLibraries/dspace-api-python-scripts/issues
Pull requests 4 https://github.com/MITLibraries/dspace-api-python-scripts/pulls
Actions https://github.com/MITLibraries/dspace-api-python-scripts/actions
Projects https://github.com/MITLibraries/dspace-api-python-scripts/projects
Security and quality 0 https://github.com/MITLibraries/dspace-api-python-scripts/security
Insights https://github.com/MITLibraries/dspace-api-python-scripts/pulse
Code https://github.com/MITLibraries/dspace-api-python-scripts
Issues https://github.com/MITLibraries/dspace-api-python-scripts/issues
Pull requests https://github.com/MITLibraries/dspace-api-python-scripts/pulls
Actions https://github.com/MITLibraries/dspace-api-python-scripts/actions
Projects https://github.com/MITLibraries/dspace-api-python-scripts/projects
Security and quality https://github.com/MITLibraries/dspace-api-python-scripts/security
Insights https://github.com/MITLibraries/dspace-api-python-scripts/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FMITLibraries%2Fdspace-api-python-scripts%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FMITLibraries%2Fdspace-api-python-scripts%2Fissues%2Fnew%2Fchoose
ehanson8https://github.com/ehanson8
app-refactorhttps://github.com/MITLibraries/dspace-api-python-scripts/tree/app-refactor
reconcile-refactorhttps://github.com/MITLibraries/dspace-api-python-scripts/tree/reconcile-refactor
Conversation 18 https://github.com/MITLibraries/dspace-api-python-scripts/pull/16
Commits 2 https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/commits
Checks 0 https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/checks
Files changed https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
Please reload this pagehttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
reconcile refactor https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#top
Show all changes 2 commits https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
4c1d830 reconcile refactor ehanson8 Mar 16, 2021 https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/commits/4c1d830b41ca94fc3c335fa9c5ad5da046cf6a6d
c8d52b6 PR updates ehanson8 Mar 18, 2021 https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/commits/c8d52b6617d38d7678262a74688b83f61964f301
Clear filters https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
Please reload this pagehttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
Please reload this pagehttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
cli.py https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-094f1e46df4083447d61afea27897770d110d4f29ce294fe54c2eba62abb979b
models.py https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-1e27b9c9ea3bcbcd4e8642391734b90a16cb6235f20757f30ee284b2990d2c24
workflows.py https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-08ffea9a53c586f750d7ffd569f2734040b24ce3d5bd93588e34528abe520737
conftest.py https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
test_cli.py https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-4e8715c7a425ee52e74b7df4d34efd32e8c92f3e60bd51bc2e1ad5943b82032e
test_models.py https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-0adb667cd397bd56edce10eec11e1b10821740a10d72bd148b09645fc9108968
test_workflows.py https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-062d7920c867ef17e231797ab56a990f96a5beafa69c52c03fee3f19f7b19ccc
dsaps/cli.pyhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-094f1e46df4083447d61afea27897770d110d4f29ce294fe54c2eba62abb979b
View file https://github.com/MITLibraries/dspace-api-python-scripts/blob/c8d52b6617d38d7678262a74688b83f61964f301/dsaps/cli.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/{{ revealButtonHref }}
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-094f1e46df4083447d61afea27897770d110d4f29ce294fe54c2eba62abb979b
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-094f1e46df4083447d61afea27897770d110d4f29ce294fe54c2eba62abb979b
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-094f1e46df4083447d61afea27897770d110d4f29ce294fe54c2eba62abb979b
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-094f1e46df4083447d61afea27897770d110d4f29ce294fe54c2eba62abb979b
dsaps/models.pyhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-1e27b9c9ea3bcbcd4e8642391734b90a16cb6235f20757f30ee284b2990d2c24
View file https://github.com/MITLibraries/dspace-api-python-scripts/blob/c8d52b6617d38d7678262a74688b83f61964f301/dsaps/models.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/{{ revealButtonHref }}
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-1e27b9c9ea3bcbcd4e8642391734b90a16cb6235f20757f30ee284b2990d2c24
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-1e27b9c9ea3bcbcd4e8642391734b90a16cb6235f20757f30ee284b2990d2c24
dsaps/workflows.pyhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-08ffea9a53c586f750d7ffd569f2734040b24ce3d5bd93588e34528abe520737
View file https://github.com/MITLibraries/dspace-api-python-scripts/blob/c8d52b6617d38d7678262a74688b83f61964f301/dsaps/workflows.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/{{ revealButtonHref }}
Please reload this pagehttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
tests/conftest.pyhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
View file https://github.com/MITLibraries/dspace-api-python-scripts/blob/c8d52b6617d38d7678262a74688b83f61964f301/tests/conftest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/{{ revealButtonHref }}
Please reload this pagehttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
tests/test_cli.pyhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-4e8715c7a425ee52e74b7df4d34efd32e8c92f3e60bd51bc2e1ad5943b82032e
View file https://github.com/MITLibraries/dspace-api-python-scripts/blob/c8d52b6617d38d7678262a74688b83f61964f301/tests/test_cli.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/{{ revealButtonHref }}
tests/test_models.pyhttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-0adb667cd397bd56edce10eec11e1b10821740a10d72bd148b09645fc9108968
View file https://github.com/MITLibraries/dspace-api-python-scripts/blob/c8d52b6617d38d7678262a74688b83f61964f301/tests/test_models.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/{{ revealButtonHref }}
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-0adb667cd397bd56edce10eec11e1b10821740a10d72bd148b09645fc9108968
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-0adb667cd397bd56edce10eec11e1b10821740a10d72bd148b09645fc9108968
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-0adb667cd397bd56edce10eec11e1b10821740a10d72bd148b09645fc9108968
https://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files#diff-0adb667cd397bd56edce10eec11e1b10821740a10d72bd148b09645fc9108968
Please reload this pagehttps://github.com/MITLibraries/dspace-api-python-scripts/pull/16/files
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.