libreliodev / android

Android Customizable Reader - Librelio Digital Publishing Suite
www.librelio.com
226 stars 129 forks source link

Use forks for TestMatos and other upcoming projects with specific code? #272

Closed libreliodev closed 10 years ago

libreliodev commented 10 years ago

Subissue of #266.

@intrications We have been discussing for some time now about how to add specific code to certain apps. After reviewing all options in details, it seems to me that the best option (at least for iOS) would be to create forks in Github. We can keep the fork synced with the main project (see https://help.github.com/articles/fork-a-repo), which will allow us to keep the code of the apps with "specific code" up to date. This will also allow us to keep certain projects private (using private repositories).

What do you think?

intrications commented 10 years ago

This sounds fine for Android as well. I think it probably is the only way to keep some projects private.

Branches would normally make sense but that wouldn't allow us to keep some projects private.

Would this replace your bash script completely allowing an upgrade to using Gradle?

libreliodev commented 10 years ago

Would this replace your bash script completely allowing an upgrade to using Gradle?

I think we will still need our bash script to manage different "customizations" of the main app in an efficient way. We would use forks only when extra/specific code is needed. We might also use the bash script to produce different customizations of the same "fork". For example, Test Matos would be a fork, and there would 2 customizations: test skis, and test snow.

Now, if it's easier for you to switch to Android Studio and Gradle, we can do it when you want. We will need to adapt our bash scripts, but this should not be too difficult

intrications commented 10 years ago

Firstly, I am eager to use Gradle to make keeping the libraries that we use up-to-date.

But, also, I expect Gradle should be able to do everything that the bash script does in customizing the project. I will try to create an example to show you.

libreliodev commented 10 years ago

@intrications OK, great.