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 to uv #1302

Merged
merged 12 commits into from
Feb 15, 2024
Merged

Rename to uv #1302

merged 12 commits into from
Feb 15, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Feb 14, 2024

First, replace all usages in files in-place. I used my editor for this. If someone wants to add a one-liner that'd be fun.

Then, update directory and file names:

# Run twice for nested directories
find . -type d -print0 | xargs -0 rename s/puffin/uv/g
find . -type d -print0 | xargs -0 rename s/puffin/uv/g

# Update files
find . -type f -print0 | xargs -0 rename s/puffin/uv/g

Then add all the files again

# Add all the files again
git add crates
git add python/uv

# This one needs a force-add
git add -f crates/uv-trampoline

```
find . -type d -print0 | xargs -0 rename s/puffin/uv/g
find . -type d -print0 | xargs -0 rename s/puffin/uv/g

ga crates
ga python/uv

ga -f crates/uv-trampoline
```
```
find . -type f -print0 | xargs -0 rename s/puffin/uv/g
ga -f crates/uv-trampoline
```
These are easily missed due to the ignore
@zanieb
Copy link
Member Author

zanieb commented Feb 15, 2024

To make my life easier, merged with:

git merge main -X theirs

Then replaced all the "new" "Puffin" usages with "uv".

Then repaired some duplicated imports.

@zanieb zanieb marked this pull request as ready for review February 15, 2024 17:11
@zanieb zanieb merged commit 2586f65 into main Feb 15, 2024
24 checks passed
@zanieb zanieb deleted the zb/uv branch February 15, 2024 17:19
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

2 participants