Skip to content

Add title for some dialogs and avoid hardcoding the text of the discard changes dialog #3846

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

Merged
merged 6 commits into from
Mar 10, 2025

Conversation

BrayanDSO
Copy link
Contributor

Similar to #3838.

The commits should be self-explanatory

@BrayanDSO
Copy link
Contributor Author

BrayanDSO commented Mar 7, 2025

https://buildkite.com/ankitects/anki-ci/builds/9828#019570d0-4c81-4d5c-84cb-c0fd6bd0bb19/52-265

the CONTRIBUTORS script is really broken. Do I need to change it in EVERY PR I do?

@BrayanDSO BrayanDSO closed this Mar 7, 2025
@BrayanDSO BrayanDSO reopened this Mar 7, 2025
adding my name to contributors for the third time
@BrayanDSO
Copy link
Contributor Author

BrayanDSO commented Mar 7, 2025

apparently the only way to retrigger CI here is doing a push force, and the odd error still persists. Not sure if I can do anything now

@dae dae merged commit 94e90db into ankitects:main Mar 10, 2025
1 check passed
@dae
Copy link
Member

dae commented Mar 10, 2025

Each of the changes you've made to that file have been listed as your capitalized noreply username:

dae@mb:Work/desktop/anki% git log --pretty=format:%ae -- CONTRIBUTORS | grep -i brayan
69634269+BrayanDSO[rest redacted]
69634269+BrayanDSO
69634269+BrayanDSO

The last check failed because your username for the latest commit was 69634269+brayandso@. How did you author and push the commits? What do you have your git author email configured as?

@BrayanDSO
Copy link
Contributor Author

BrayanDSO commented Mar 10, 2025

Under my branch:

git show HEAD

commit 7eb2d3c (HEAD -> more-dialogs, dso/more-dialogs)
Author: Brayan Oliveira 69634269+brayandso@users.noreply.github.com
Date: Fri Mar 7 10:32:15 2025 -0300

add name to about screen

git config user.name
Brayan Oliveira
git config user.email
69634269+brayandso@users.noreply.github.com

Looks alright to me

@dae
Copy link
Member

dae commented Mar 15, 2025

That's lowercase, whereas your GitHub username is mixed case. Email addresses are theoretically case-sensitive: https://stackoverflow.com/questions/9807909/are-email-addresses-case-sensitive. I don't recall any other users hitting this so far, but happy to accept a PR that makes the check in minilints case-insensitive.

@BrayanDSO
Copy link
Contributor Author

BrayanDSO commented Mar 16, 2025

For checking the GitHub account, only the ID should matter. The username shouldn't.

@BrayanDSO BrayanDSO deleted the more-dialogs branch March 16, 2025 09:32
@dae
Copy link
Member

dae commented Mar 19, 2025

This is a check of the git commit history, and commits can be made outside of GitHub / with non-GitHub accounts in some cases (when PRs are not squashed, commits are cherry-picked outside GitHub, etc). It's not a GitHub-specific check.

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