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

Rename BL_Python to Ligare #115

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Rename BL_Python to Ligare #115

merged 2 commits into from
Sep 24, 2024

Conversation

aholmes
Copy link
Member

@aholmes aholmes commented Sep 24, 2024

Per https://github.com/uclahs-cds/group-CDS-owners/issues/111, BL_Python will be renamed to Ligare. This PR contains replacement values for strings matching (case-insensitive) BL_Python, BL-Python, BL_Alembic, BL-Alembic, BLAlembic. These replacements include file names, directory names, variables, imports, strings, modules, configurations, etc. There should be no remaining references to BL.* in this PR (this regex isn't accurate, but close enough).

Also accounts for case differences and separators, and other "BL
<something>" names.
@aholmes aholmes added documentation Improvements or additions to documentation task A single unit of a user story labels Sep 24, 2024
@aholmes aholmes requested a review from a team as a code owner September 24, 2024 17:58
Copy link
Member

@nwiltsie nwiltsie left a comment

Choose a reason for hiding this comment

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

Whew!

Big shout-out to diffr, it highlights word-level differences and made this so much easier to skim through with gh pr diff 115 | diffr.

Screenshot 2024-09-24 at 12 53 34 PM

Comment on lines -5 to +7
from BL_Python.programming.patterns.dependency_injection import (
BatchModule,
LoggerModule,
)
from BL_Python.programming.str import get_random_str
from injector import Injector
from Ligare.programming.patterns.dependency_injection import BatchModule, LoggerModule
from Ligare.programming.str import get_random_str
Copy link
Member

Choose a reason for hiding this comment

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

Really, ruff? The line becomes 3 characters shorter and it therefore has to be reflowed?

Copy link
Member

Choose a reason for hiding this comment

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

Snark aside, it was hugely helpful to do the reformatting in a different commit - awesome job.

Copy link
Member Author

Choose a reason for hiding this comment

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

That's how it do be when only the tools have opinions.

argv: list[str] | None = None,
log_level: int | str | None = None,
allow_overwrite: bool | None = None,
) -> None:
"""
A method to support the `bl-alembic` command, which replaces `alembic.
A method to support the `ligare-alembic` command, which replaces `alembic`.
Copy link
Member

Choose a reason for hiding this comment

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

This entire PR was worth it to catch this typo.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll open a second PR for just the typo. ;)

@aholmes aholmes merged commit 30025e8 into main Sep 24, 2024
12 checks passed
@aholmes aholmes deleted the aholmes-rename-project branch September 24, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation task A single unit of a user story
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants