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

Update on the RENAME PDF extension #2485

Merged

Conversation

Malouche-git
Copy link
Contributor

@Malouche-git Malouche-git commented Dec 20, 2024

Hello everyone !
it's my first pull request Pyrevit 🎉
It resolves issue #2273

Thank's @sanzoghenzo for the help and the warm welcome !

I modified the regex to manage different cases of spaces between hyphen and to normalize all hyphen in the new pdf name.
I also add a subfolder handler and some verification on the new name (empty or already existing)

I hope it's ok
Thanks, everyone, for the effort you put in !

Copy link
Contributor

@sanzoghenzo sanzoghenzo left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!
Please check my review and adjust the code accordingly

@jmcouffin jmcouffin changed the title Update on the RENAME PDF extention Update on the RENAME PDF extension Dec 29, 2024
@Malouche-git
Copy link
Contributor Author

I think I have made all the requested modifications!
Thank you for the comments and the code review !
Happy New Year to everyone ! 🎉

sanzoghenzo
sanzoghenzo previously approved these changes Dec 31, 2024
Copy link
Contributor

@sanzoghenzo sanzoghenzo left a comment

Choose a reason for hiding this comment

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

@Malouche-git thanks for the the edits, it looks good now.

I didn't test it, @jmcouffin do you have the chance to check if it works?
If you can and it's ok let me know, I'll take care of the merge (I would like to try something to avoid too much pollution in the git history)

Malouche-git and others added 6 commits January 8, 2025 19:26
@sanzoghenzo sanzoghenzo force-pushed the RENAME-PDF-Malouche-git-v1 branch from 9817827 to 9f497f1 Compare January 8, 2025 18:26
@sanzoghenzo sanzoghenzo merged commit f928ecc into pyrevitlabs:develop Jan 8, 2025
@sanzoghenzo
Copy link
Contributor

Interesting, the CI failed with the same errors as my environment...

@jmcouffin I saw that you updated the submodules, what where the changes on them? could it be that you reverted to an old commit?

@jmcouffin
Copy link
Contributor

could it be that you reverted to an old commit?

I don't think I have.
I checked the resulting commit ids last time I did update the submodules.
Care to check?

@jmcouffin
Copy link
Contributor

could it be that you reverted to an old commit?

Oups, i think this is the one.

e38e1c8
e38e1c8

I am not in front of my computer now, can revert tomorrow if needed @sanzoghenzo

@sanzoghenzo
Copy link
Contributor

could it be that you reverted to an old commit?

Oups, i think this is the one.

e38e1c8 e38e1c8

I am not in front of my computer now, can revert tomorrow if needed @sanzoghenzo

Took me some time but I managed to revert them!

Copy link
Contributor

github-actions bot commented Jan 9, 2025

📦 New work-in-progress (wip) builds are available for 5.0.0.25009+2113-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25010+1021-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25010+1128-wip

@Malouche-git Malouche-git deleted the RENAME-PDF-Malouche-git-v1 branch January 10, 2025 11:44
Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25013+1201-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25013+1638-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25013+1855-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25013+1857-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25015+1341-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25015+1357-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25024+1520-wip

Copy link
Contributor

📦 New work-in-progress (wip) builds are available for 5.0.0.25024+1957-wip

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.

3 participants