Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pushitem content to upload #324

Merged

Conversation

rajulkumar
Copy link
Collaborator

@rajulkumar rajulkumar commented Dec 4, 2024

pushitem content method added in latest pushsource update returns a file-like object with the item bits that may be used for upload. This decouples the source of the items and expectation to exist as a file on local fs.

Note: This PR will be applicable after the changes to pushsource are merged
release-engineering/pushsource#643

Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (202cb34) to head (20b0e62).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #324   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           54        54           
  Lines         3017      3017           
=========================================
  Hits          3017      3017           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rohanpm
Copy link
Member

rohanpm commented Feb 3, 2025

Not a big deal, but technically requirements.in should be updated to depend on the minimum version of pushsource providing this new API.

pushitem content method returns a file-like object
with the item bits that may be used for upload. This
decouples the source of the items and expectation to
exist as a file on local fs
@rajulkumar rajulkumar force-pushed the use_pushitem_content branch from b69f197 to 20b0e62 Compare February 4, 2025 03:46
@rajulkumar rajulkumar merged commit d4c8e0f into release-engineering:master Feb 5, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants