Skip to content

Android Studio 3.2.1 - #2324

Merged
davigonz merged 1 commit into
owncloud:masterfrom
hannesa2:AndroidStudio-3.2.1
Nov 30, 2018
Merged

davigonz merged 1 commit into
owncloud:masterfrom
hannesa2:AndroidStudio-3.2.1

Conversation

@hannesa2

@hannesa2 hannesa2 commented Oct 24, 2018 •

Copy link
Copy Markdown
Contributor

@hannesa2

hannesa2 commented Oct 24, 2018 •

Copy link
Copy Markdown
Contributor Author

maybe depends on owncloud/android-library#198 to make Travis work

Comment thread AndroidManifest.xml Resolved
Comment thread build.gradle Resolved
Comment thread oc_jb_workaround/build.gradle Resolved
@davigonz

davigonz commented Nov 9, 2018

Copy link
Copy Markdown
Contributor

@hannesa2 please review the requested changes

@hannesa2
hannesa2 force-pushed the AndroidStudio-3.2.1 branch 2 times, most recently from eba8baa to a007184 Compare November 9, 2018 14:37
@davigonz

Copy link
Copy Markdown
Contributor

Hi @hannesa2 , as you said in #2324 (comment), this PR depends on owncloud/android-library#198 to properly work so we should point from here to owncloud/android-library#198 last commit.

For these cases, library changes must be reflected in the app by an app commit that points to those library changes.

To do that:

  1. From AndroidStudio-3.2.1 branch in the app, go to owncloud-android-library and checkout AndroidStudio-3.2.1.
  2. Go back to app project and git add owncloud-android-library.
  3. Commit, push...

@hannesa2
hannesa2 force-pushed the AndroidStudio-3.2.1 branch 3 times, most recently from 7f6916f to 21d1987 Compare November 27, 2018 10:47
@hannesa2

Copy link
Copy Markdown
Contributor Author

so we should point from here to owncloud/android-library#198 last commit.

There is no need doing so. It builds

@davigonz

Copy link
Copy Markdown
Contributor

There is no need doing so. It builds

@hannesa2 building or not is not the point, if we develop something in the library we need to update the reference to the library in the app and it makes sense to use this PR for that purpose because here we are updating to Android Studio 3.2.1 the app module as well.

@hannesa2

Copy link
Copy Markdown
Contributor Author

@davigonz I do not agree, the lib can be more advanced than the app, that's the advantage of submodules.
Anyway I'm tired to rebase and rebase, and no merge is done, since weeks I wait for a merge owncloud/android-library#198 and currently it seems to be blocked.
So, I wait till a progress is done there.

Normally a PR needs weeks, when a complex issue with a lot of influence is in the room, but I don't see any of this preconditions.

Or with other words, please trigger me, when a merge can be done within the next hours, then I do further steps

@davigonz

davigonz commented Nov 28, 2018 •

Copy link
Copy Markdown
Contributor

I do not agree, the lib can be more advanced than the app, that's the advantage of submodules.

You are right @hannesa2 although we are not used to that kind of scenarios. All the features or fixes we've been including in the library from time ago, we wanted/needed to use them in the ownCloud app.

In this case, I clearly see the connection between the changes included in owncloud/android-library#198 and this PR, so for me makes sense to merge first the library PR and after that, the app one pointing to the latest in the library. Be aware we will have to update that reference at some point anyway.

@davigonz

Copy link
Copy Markdown
Contributor

Or with other words, please trigger me, when a merge can be done within the next hours, then I do further steps

No worries, I will ping you by then, likely at the end of this week, thanks for your patience

@jesmrec

jesmrec commented Nov 29, 2018 •

Copy link
Copy Markdown
Member

In this case, I clearly see the connection between the changes included in owncloud/android-library#198 and this PR, so for me makes sense to merge first the library PR and after that, the app one pointing to the latest in the library. Be aware we will have to update that reference at some point anyway.

👍 👍 👍 absolutely agreed. Latest commit in te app must take the latest commit in the library, so new branches will get the reference and the latest changes in the library

Comment thread build.gradle

defaultConfig {
minSdkVersion 14
manifestPlaceholders.versionCode = "20900300"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You have removed targetSdkVersion from AndroidManifest.xml but not included it in here.

Comment thread res/values/strings.xml Outdated
<string name="common_remove_upload">Remove upload</string>
<string name="common_retry_upload">Retry upload</string>
<string name="common_cancel_sync">Cancel sync</string>
<string name="common_cancel">Cancel</string>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@davigonz

Copy link
Copy Markdown
Contributor

@hannesa2 just merged owncloud/android-library#198, please apply the pending requested changes , update the library reference to the latest in master of the library and I will merge this, thanks!

@hannesa2
hannesa2 force-pushed the AndroidStudio-3.2.1 branch from 21d1987 to ccc6704 Compare November 30, 2018 06:30
@jesmrec

jesmrec commented Nov 30, 2018 •

Copy link
Copy Markdown
Member

App builds correctly with the tools update.

Approved

@davigonz
davigonz merged commit 816794e into owncloud:master Nov 30, 2018
@davigonz

Copy link
Copy Markdown
Contributor

Merged, thanks for the contribution @hannesa2

@hannesa2
hannesa2 deleted the AndroidStudio-3.2.1 branch March 10, 2019 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants