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

Make using dependencies branch toggleable #184

Merged
merged 17 commits into from
Dec 7, 2023

Conversation

CasperWA
Copy link
Collaborator

@CasperWA CasperWA commented Sep 29, 2023

Update name for this input in workflow for updating pyproject.toml to be target_branch, deprecating permanent_dependencies_branch.

Closes #183

This will make it easier for users to choose or indeed not choose to update dependencies in this way.

Update name for this input in workflow for updating pyproject.toml to be
`target_branch`, deprecating `permanent_dependencies_branch`.
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (01f2ddc) 81.11% compared to head (0ee0f48) 81.11%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #184   +/-   ##
=======================================
  Coverage   81.11%   81.11%           
=======================================
  Files          12       12           
  Lines         900      900           
=======================================
  Hits          730      730           
  Misses        170      170           

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

@CasperWA CasperWA marked this pull request as ready for review September 29, 2023 10:28
@CasperWA CasperWA marked this pull request as draft September 29, 2023 10:28
@CasperWA
Copy link
Collaborator Author

The new warning message has been tested (see this run) and looks to work as intended.
Unfortunately, the warning message is not communicated very well to the end user, but it's better than nothing. And at least this annotation will be seen in the overview of the workflow run:
image

@CasperWA CasperWA marked this pull request as ready for review September 29, 2023 10:32
@CasperWA CasperWA requested review from francescalb and sygout and removed request for francescalb September 29, 2023 10:35
@CasperWA CasperWA requested review from ajeklund and removed request for sygout November 6, 2023 13:18
Handle all the different cases between the now deprecated
'permanent_dependencies_branch' input value and the replacement
'target_branch' value with more appropriate warning messages and
results.
@CasperWA CasperWA requested review from daniel-sintef and removed request for ajeklund November 9, 2023 07:14
Copy link
Contributor

@daniel-sintef daniel-sintef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the comments/docs could be synchronized a bit more regarding permanent_dependencies_branch

@CasperWA CasperWA merged commit d611056 into main Dec 7, 2023
24 checks passed
@CasperWA CasperWA deleted the cwa/close-183-toggle-dependencies-branch branch December 7, 2023 12:10
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.

Support not using a permanent dependencies branch
2 participants