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

Fix message format on the second reminder #53

Merged
merged 1 commit into from
May 18, 2024

Conversation

b10n1k
Copy link
Collaborator

@b10n1k b10n1k commented May 16, 2024

@b10n1k b10n1k requested review from perlpunk and kalikiana May 16, 2024 13:31
Copy link

github-actions bot commented May 16, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-05-18 12:46 UTC

Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

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

test please

@b10n1k
Copy link
Collaborator Author

b10n1k commented May 16, 2024

test please

In [4]: " ".join([t1, t2])
Out[4]: 'aaaa bbbb cccc dddd'

@okurz
Copy link
Member

okurz commented May 16, 2024

test please

In [4]: " ".join([t1, t2]) Out[4]: 'aaaa bbbb cccc dddd'

automated unit test in https://github.com/openSUSE/backlogger/tree/main/tests please

@@ -111,8 +111,8 @@ def _update_issue_priority(poo_id, priority_current, poo_reminder_state, msg):
slo_priorities[priority_current]["next_priority"]["name"],
poo_id))
url = "{}/{}.json".format(data["web"], poo_id)
msg = " ".join(update_slo_text.format(
priority=slo_priorities[priority_current]["next_priority"]["name"]))
msg = " ".join([reminder_text, update_slo_text.format(
Copy link
Member

Choose a reason for hiding this comment

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

Please ensure that unit tests cover this.

@okurz
Copy link
Member

okurz commented May 17, 2024

https://progress.opensuse.org/issues/159906#note-3 is an example of the problem you want to fix

@perlpunk
Copy link
Contributor

perlpunk commented May 17, 2024

Please check #54

The string isn't correct yet, as the reminder_text also needs replacement of the priority.
I added a commit on top of this in #54, and a test

@b10n1k
Copy link
Collaborator Author

b10n1k commented May 17, 2024

I am gonna wait for #54

@perlpunk perlpunk merged commit fe5969f into openSUSE:main May 18, 2024
2 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.

None yet

5 participants