Skip to content

refactor: move etl::handle to synfig-core - #3071

Merged
Svarov-RZM merged 2 commits into
synfig:masterfrom
rodolforg:thank-you-for-your-service--etl
May 8, 2026
Merged

Svarov-RZM merged 2 commits into
synfig:masterfrom
rodolforg:thank-you-for-your-service--etl

Conversation

@rodolforg

Copy link
Copy Markdown
Contributor

Thank you for your service, ETL. At least its folder.

Farewell.

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch 2 times, most recently from cc6e512 to b36e701 Compare May 7, 2023 16:22
@rodolforg

rodolforg commented May 7, 2023 •

Copy link
Copy Markdown
Contributor Author

I can't reproduce the error present in Synfig CI / Ubuntu 20.04 Focal (Autotools) on my Debian OS, so I can't check what failed. :(

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from b36e701 to ffa8954 Compare May 7, 2023 17:36
@rodolforg

Copy link
Copy Markdown
Contributor Author

OK. I download the ISO image of Ubuntu 20.04, installed via Boxes in a virtual machine (minimal installation), installed git, cloned the repo, switched to this PR code, ran ./1-setup-linux-native.sh, ran ./2-build-production.sh all build. And success :/

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch 4 times, most recently from 78932fb to 79344a8 Compare May 11, 2023 10:22
@rodolforg

Copy link
Copy Markdown
Contributor Author

I repushed commits one-by-one and the problem is really the last one.
Next I'll comment-out stuff to check where it fails, as I can't reproduce the issue locally.

@ice0

ice0 commented May 12, 2023

Copy link
Copy Markdown
Collaborator

I repushed commits one-by-one and the problem is really the last one. Next I'll comment-out stuff to check where it fails, as I can't reproduce the issue locally.

I will try to reproduce it.

@rodolforg

Copy link
Copy Markdown
Contributor Author

I will try to reproduce it.

Thank you. The last commits I tried to find out the culprit test, but it seems to be more than one.

The first I got is handle_destructor_deletes_the_object_if_no_more_references.

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from 2ecb7bb to c653d15 Compare May 14, 2023 18:03
@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch 9 times, most recently from df9a8d2 to fe7fd5d Compare July 21, 2023 04:07
@rodolforg

rodolforg commented Jul 21, 2023 •

Copy link
Copy Markdown
Contributor Author

@ice0 my next steps here are add/change docs, move to synfig-core folder, change the template for that used in synfig-core.
Could you take a look/review before I add those commits?

Btw, should I change the namespace to synfig?

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch 3 times, most recently from 1daacf9 to e2510a1 Compare July 21, 2023 04:25
@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch 2 times, most recently from 6109243 to 31da7ee Compare August 13, 2023 00:17
@rodolforg

Copy link
Copy Markdown
Contributor Author

Could you take a look/review before I add those commits?

Btw, should I change the namespace to synfig?

So, now it's almost finished :)

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from 31da7ee to fa6de4f Compare August 13, 2023 01:07
@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from fa6de4f to 4d249ba Compare August 13, 2023 01:41
@rodolforg

Copy link
Copy Markdown
Contributor Author

@ice0 could you please take a look before I move ETL/_handle.h file to synfig-core folder (and then finish this PR)?

@ice0

ice0 commented Aug 30, 2023

Copy link
Copy Markdown
Collaborator

@ice0 could you please take a look before I move ETL/_handle.h file to synfig-core folder (and then finish this PR)?

Hi! Sure.

@rodolforg
rodolforg requested a review from ice0 September 7, 2023 20:26
@rodolforg

Copy link
Copy Markdown
Contributor Author

@ice0 sorry to ping you again XD

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from 4d249ba to 16ac378 Compare September 23, 2023 18:31
Comment thread synfig-core/test/handle.cpp Resolved
@ice0

ice0 commented Sep 27, 2023

Copy link
Copy Markdown
Collaborator

@ice0 sorry to ping you again XD

Hi, Rodolfo!

Sorry for a HUUUUUGE delay.
Looks good to me, so please rebase.

@rodolforg

Copy link
Copy Markdown
Contributor Author

I didn't finish this PR yet. I'll actually move the last ETL file (i.e. handle header) to synfig-core.
Thank you for reviewing it :)

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from 16ac378 to 166e952 Compare October 1, 2023 02:13
@rodolforg

rodolforg commented Oct 1, 2023 •

Copy link
Copy Markdown
Contributor Author

@ice0 here it is. Should I split this PR ('removing' last commit - the that actually moves ETL/_handle.h to synfig-core)?

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from 166e952 to 3df69e8 Compare October 15, 2023 10:28
@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from 3df69e8 to a0ad524 Compare November 4, 2023 21:21
@rodolforg
rodolforg marked this pull request as ready for review November 4, 2023 22:32
@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from a0ad524 to 0a13177 Compare January 7, 2025 11:38
@rodolforg

Copy link
Copy Markdown
Contributor Author

rebased to current master

@Svarov-RZM

Copy link
Copy Markdown
Contributor

104 files changed, wow. I do understand that it's all include rewrites and file removal but still a lot.

@rodolforg Can you please rebase? I will try to build Synfig using both CMake and Autotools to see if there are any errors and then merge if all is good.

@Svarov-RZM Svarov-RZM self-assigned this Feb 1, 2026
@Svarov-RZM

Copy link
Copy Markdown
Contributor

Ping @rodolforg
Hey, are you still interested in this PR? I am trying to see what refactoring PR's I can handle.

@rodolforg
rodolforg force-pushed the thank-you-for-your-service--etl branch from 0a13177 to 026dcb8 Compare May 3, 2026 17:30
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 161 complexity · 6 duplication

Metric Results
Complexity 161
Duplication 6

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Svarov-RZM

Copy link
Copy Markdown
Contributor

Built Synfig with both CMake and Autotools to see if there are any regressions. Didn't find anything, tested with some of my most complex works with converters and everything. I'm merging this monstrosity, thank you @rodolforg!

@Svarov-RZM
Svarov-RZM merged commit fd20829 into synfig:master May 8, 2026
10 of 11 checks passed
@rodolforg
rodolforg deleted the thank-you-for-your-service--etl branch May 9, 2026 17:18
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