Repository navigation
Remove eclipse - #2076
Remove eclipse#2076
Conversation
792b70f to
eef4894
Compare
|
thanks for your contribution!! we will review and check this PR in order to know in which version can be included. 2.5.1 is pretty advanced, but next one can be an optimal posibility. |
|
Please don't wait too long, because after one day I've the first conflict and with each day, it will increase the chance to be a dead PR like a lot of others. Tell me, when you are ready to approve it and I will rebase it once |
|
Hi @hannesa2 , thank you for your PR. We are currently focused on 2.5.1 release. Are you going to include more changes or you have finished here? Review it will take some time since there are a lot of changes. |
|
@davigonz currently not. Because of restructure folders, I want to keep it like it is to not delay a merge |
|
This will add a new project sturcture to our repository. We can't just merge it since that would ultimately brake all our current PR. Since this PR is also to old for what it is trying to do I'm going to close this. |
|
So you will stay with Eclipse for ever, congrats ! |
|
No :D there are plans to get rid of it. |
|
first we should finish owncloud/android-library#180 then I put afford into this topic |
|
will work on this very soon... |
|
To test the current issue:
|
|
@hannesa2 please rebase and solve the conflicts here so we can move it forward as well |
eef4894 to
6599a06
Compare
|
Now only
|
Yes, this is something we have in mind from time ago, we could drop |
@hannesa2 Well, this structural change is something we can not delay more and the 50 open PRs are not going to be merged before for sure, we will define a strategy about what to do with them. I will take care of other pending PRs, helping the contributors to rebase since the contributions incoming never stops and we cannot wait infinitely. |
|
|
||
| dependencies { | ||
| /// dependencies for app building | ||
| implementation project(':owncloud-android-library:owncloud-android-library') |
There was a problem hiding this comment.
Ok, we have already discussed about this topic in the library PR - owncloud/android-library#180 (comment) - and maybe we have not understood properly each other.
Since in the app we are going to have app module, if we are consistent with the naming, we should use lib instead of owncloud-android-library as the library module name.
I thought we were going to miss owncloud-android-library name but it will be used anyway in the apps using the library by including include ':owncloud-android-library:lib
I will update this in the library, no worries. Done, please update the library reference to the latest one in master and replace ':owncloud-android-library:owncloud-android-library' with ':owncloud-android-library:lib' where needed.
| return mClient; | ||
| } | ||
| /** |
There was a problem hiding this comment.
Why is this file and others like AuthenticatorActivity & AccountUtils detected as X additions and X deletions instead of File renamed without changes , as most of the files here? I do not see any change.
There was a problem hiding this comment.
I guess it was a tab/space issue. The only significant change is no new line at end of file.
I simply moved files via drag/drop and don't touch any file here, to keep the focus only on restructure. Android Studio did this automatically.
A main issue is the missing automatic applied code format (next future step)
|
@hannesa2 please have a look at the requested changes and in addition, reinclude |
3930039 to
8a2bff2
Compare
missing packagesSame issue like in lib: During move of all classes, Android Studio removes all technical-not-needed packages. And I didn't saw it the second time. Thanks for finding rebaseGit is so smart, when you rebase an older PR to new structure, git applied all on the right way. I tested it in lib |
|
@davigonz I applied all review notes |
|
@hannesa2 what is |
@hannesa2 I have checked the documentation and it seems to be used when there's some problems when compiling the app but I have not noticed anything, can we remove that line then? |
| setOutputFileName(variant, appName, project) | ||
| } | ||
| } | ||
|
|
||
| // Updates output file names of a given variant to format |
There was a problem hiding this comment.
@hannesa2 The method setOutputFileName is not being used in here, please delete it
| // @param callerProject Caller project. | ||
|
|
||
| def setOutputFileName(variant, appName, callerProject) { | ||
| logger.info("Setting new name for output of variant $variant.name") |
There was a problem hiding this comment.
We have to rethink this method since the apk generated is called app_2.9.3-debug.apk and it should include owncloud or whatever branded name.
There was a problem hiding this comment.
There are more smarter options:
Currently it's 2.9.3
contain SHA1 ?
remove at last last .3 and replace with commit count ?
who needs this 2.9 ? simply auto generated year_month , eg 18_12.3456-a3ff47 ?
My recommendation: do it in an other commit
There was a problem hiding this comment.
looks like System.env.OC_APP_NAME is not available
|
|
|
btw if this |
Yes, let's keep it by now |






I changed my commit mail address, hopefully it works now.
It's related to #2044 Here I will see, if it makes sense to make more afford to improve this app. Much more can be done to remove old Eclipse.
Additionally I updated Gradle build tools and do not support older versions
With this, all older PR will have issues and would need a probably rebase.
Needs owncloud/android-library#180