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

Extract Config #3091

Closed
wants to merge 2 commits into from
Closed

Extract Config #3091

wants to merge 2 commits into from

Conversation

sv99
Copy link
Contributor

@sv99 sv99 commented Jun 9, 2023

The class Config is made on the basis of BuildOptions.

@iBotPeaches
Copy link
Owner

Nice refactor. I'll spend some time this weekend with the PRs up and take a look.

@iBotPeaches
Copy link
Owner

@sv99 - may you handle conflicts?

Copy link
Owner

@iBotPeaches iBotPeaches left a comment

Choose a reason for hiding this comment

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

I need to think about this a bit. It seems we have some breaking changes on the public API front. Trying to brainstorm if this is alright knowing the upgrade path is easy or if we just adapt the existing methods to call out to init itself and new entry points exist that just take a Config.

@sv99
Copy link
Contributor Author

sv99 commented Jun 10, 2023

PR rebased

@sv99
Copy link
Contributor Author

sv99 commented Jun 10, 2023

Most changes trivial. Some fields moved from Androlib to the Config because its configuration properties.

I have next PR in which I move build function from Androlib to the new class ApkBuilder and decode function in the existing class ApkDecoder with some API unifications.

ApkDecoder - for decoding, ApkBuilder - for building. Androlib class removed.

@sv99
Copy link
Contributor Author

sv99 commented Jun 11, 2023

You can see result in my fork https://github.com/sv99/Apktool

@sv99
Copy link
Contributor Author

sv99 commented Jun 12, 2023

Rebased and corrected most of the comments.

@iBotPeaches
Copy link
Owner

Still looking at this. Haven't forgotten about it.

@iBotPeaches
Copy link
Owner

thanks. merged - 10495cb

iBotPeaches added a commit that referenced this pull request Jun 25, 2023
@iBotPeaches iBotPeaches added this to the v2.8.0 milestone Jul 16, 2023
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