Skip to content

Conversation

@directhex
Copy link
Contributor

Android apk names must be valid Java class names, and It is forbidden in Java for a class name component to have a leading numeric digit. So whilst "net.dot.foo3_1" is legal, "net.dot.foo3.1" is illegal. Use a Regex to detect and rewrite all cases of this in AndroidAppBuilder

Android apk names must be valid Java class names, and It is forbidden in
Java for a class name component to have a leading numeric digit. So
whilst "net.dot.foo3_1" is legal, "net.dot.foo3.1" is illegal. Use a
Regex to detect and rewrite all cases of this in AndroidAppBuilder
@ghost
Copy link

ghost commented Sep 17, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@directhex directhex requested review from mdh1418 and steveisok and removed request for mdh1418 September 17, 2021 15:26
@ghost
Copy link

ghost commented Sep 17, 2021

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

Android apk names must be valid Java class names, and It is forbidden in Java for a class name component to have a leading numeric digit. So whilst "net.dot.foo3_1" is legal, "net.dot.foo3.1" is illegal. Use a Regex to detect and rewrite all cases of this in AndroidAppBuilder

Author: directhex
Assignees: -
Labels:

os-android

Milestone: -

@directhex directhex merged commit 10b2f7c into dotnet:main Sep 17, 2021
@directhex
Copy link
Contributor Author

/backport to release/6.0-rc2

@github-actions
Copy link
Contributor

Started backporting to release/6.0-rc2: https://github.com/dotnet/runtime/actions/runs/1246965180

@github-actions
Copy link
Contributor

@directhex backporting to release/6.0-rc2 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Work around for forbidden "Roslyn4.0" in test name on Android
Applying: Fix typos
Applying: Disable failing Catalyst test
Using index info to reconstruct a base tree...
M	src/libraries/tests.proj
Falling back to patching base and 3-way merge...
Auto-merging src/libraries/tests.proj
CONFLICT (content): Merge conflict in src/libraries/tests.proj
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0003 Disable failing Catalyst test
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

directhex added a commit to directhex/runtime that referenced this pull request Sep 17, 2021
…#59263)

Android apk names must be valid Java class names, and It is forbidden in Java for a class name component to have a leading numeric digit. So whilst "net.dot.foo3_1" is legal, "net.dot.foo3.1" is illegal. Use a Regex to detect and rewrite all cases of this in AndroidAppBuilder
Anipik pushed a commit that referenced this pull request Sep 21, 2021
#59281)

Android apk names must be valid Java class names, and It is forbidden in Java for a class name component to have a leading numeric digit. So whilst "net.dot.foo3_1" is legal, "net.dot.foo3.1" is illegal. Use a Regex to detect and rewrite all cases of this in AndroidAppBuilder
@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
@directhex
Copy link
Contributor Author

/backport to foo

@dotnet dotnet unlocked this conversation Nov 5, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2021

Started backporting to foo: https://github.com/dotnet/runtime/actions/runs/1425719388

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2021

@directhex an error occurred while backporting to foo, please check the run log for details!

Error: @directhex is not a repo collaborator, backporting is not allowed.

@directhex
Copy link
Contributor Author

/backport to foo

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2021

Started backporting to foo: https://github.com/dotnet/runtime/actions/runs/1425730295

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2021

@directhex an error occurred while backporting to foo, please check the run log for details!

Error: The specified backport target branch foo wasn't found in the repo.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants