LightDestory / FastHub-RE

Revival Attempt for FastHub the ultimate GitHub client for Android.
GNU General Public License v3.0
248 stars 17 forks source link

Update gradles, lots of improvements #12

Closed TacoTheDank closed 2 years ago

TacoTheDank commented 3 years ago

1st commit

2nd commit

3rd commit

4th commit

5th commit

6th commit

LightDestory commented 3 years ago

Thanks for your contribution, I will test as soon as I can.

Is it ready to be merged?

TacoTheDank commented 3 years ago

Thanks for your contribution, I will test as soon as I can.

Is it ready to be merged?

Should be, yes.

LightDestory commented 3 years ago

I treid your branch and I am unable to build the project. I have first tried my usual "working" setup using Android Studio 4.1.3 but the IDE warns me that the Android Plugin is unable to open such project and suggests me to try AS 2020.3.1 or newer.

I have installed that version but the build fails on kapt due to a ReflectionError.

Am I missing some settings or similar?

TacoTheDank commented 3 years ago

Nothing should be missing, I think. Should I try downgrading to 4.2.2 for now?

LightDestory commented 3 years ago

Nothing should be missing, I think. Should I try downgrading to 4.2.2 for now?

Hmm I tried with both Android Studio 4.1.3 and Android 2020.3.1 I get the same error.

Hmm, maybe there is some idea settings that I am now awere of. I have just downloaded the latest Android Studio and imported your repository:

I just run the build procedure and it will fail on kaptDebugKotlin with error java.lang.reflect.invocationtargetexception complaining about missing symbol such as Commit, User, ect.

My Android Studio is 100% vanilla, as-is post-installation. Do you have any particular settings?

LightDestory commented 3 years ago

I tried every setup I could think of to get this PR to compile but I am still unsuccessful. If you have any tips to figure out the different behaviour between our system it would be great :) Due to upcoming exams I am getting less and less time to experiment with the code, but I am giving max priority to this kind of issue, i am pushing back some fixes because I really want to get rid of the "Android Studio 4.1.2" limit.

TacoTheDank commented 3 years ago

@LightDestory The thing is, I get the same compilation errors. I just ignored all those errors because I thought I was just missing something from MY build.

This app is a damn mess lol. I'll see if I can figure out how to make it work, but I have no guarantees.

zeromake commented 2 years ago

@LightDestory @TacoTheDank my FastHub is Apollo up to 3.1.0,deprecation lombok more: see change

The workload is huge, interested can carry it yourself, I plan to carry some modifications from this side. There are also some bugs, but now, most of them are working properly

947 files changed: compare

LightDestory commented 2 years ago

@LightDestory @TacoTheDank my FastHub is Apollo up to 3.1.0,deprecation lombok more: see change

The workload is huge, interested can carry it yourself, I plan to carry some modifications from this side. There are also some bugs, but now, most of them are working properly

947 files changed: compare

You are doing a GOD tier work to put your hand on such old code base, I tried to make it work but it was a mess everytime.

I am still learning Kotlin but I will check your changes. Can I slowly cherry pick them? Or you can start a PR here to track the work on going changes

zeromake commented 2 years ago

@LightDestory

my fasthub is already, not has obvious, now test it pr reply

click reply right top menu easy trgger scrolling.

LightDestory commented 2 years ago

@LightDestory

my fasthub is already, not has obvious, now test it pr reply

click reply right top menu easy trgger scrolling.

I will try as soon as I can.

What do you except to do from this point?

LightDestory commented 2 years ago

Closing this PR, the time has come to get it working :)

TacoTheDank commented 2 years ago

I appreciate @zeromake's work to pick up where I couldn't :)