https://kotlinlang.org logo
#codereview
Title
# codereview
b

Brendan Weinstein

02/24/2020, 10:11 PM
What's a good word for something that is close to being the real thing without being the real thing? The context is naming an android build variant for internal customers that will be signed with the release keystore, have the same package name as the production release, and have a debug tools menu available. This build would exist for testing things like google play billing, single sign-on within a suite of company apps, and 3rd party oauth.
d

Dominaezzz

02/24/2020, 10:18 PM
Mock? (I'm thinking mocktails) Fake? (Debatable)
b

Brendan Weinstein

02/24/2020, 10:21 PM
I love Mocktails -- but it didn't pass the internal smell test
current best candidate is TestRelease
The idea being we want it to be difficult for someone to accidentally deploy this build to alpha/beta/production tracks
g

Giorgos Neokleous

02/24/2020, 10:35 PM
TestRelease sounds fine. You can set the version code to always be
1
so that any deploy fails on uploading to play store.
b

Brendan Weinstein

02/24/2020, 10:40 PM
So we couldn't name it testRelease because of an android gradle plugin rule (flavor name cannot start with
test
). We are going with the name
releaseTest
for the flavor, and then we remove
releaseTestDebug
from variants so there is just
releaseTestRelease
remaining. the
1
version code is a good idea. I think the only problem is I think we need to have a versionCode that is at least as high as the version code of a build in alpha, beta, or prod in order to test google play billing end-to-end
m

Mike

02/25/2020, 12:43 PM
Facsimile? IMO, Mock is a poor choice (unless I misunderstood the intent) as Mock is more of a fake, and you're looking for 'real'.
👏 1
c

codeslubber

02/27/2020, 3:03 PM
StagingRelease
? often staging is used as a name for a mirror of production that is meant to show anything we might encounter (or have) without touching production? a replica.. ?
b

Brendan Weinstein

02/28/2020, 3:23 AM
We thought about using Staging in the name but it might incorrectly imply that the build would be pointed at our staging APIs
j

Joris PZ

02/28/2020, 3:12 PM
Simulacrum
or
Ringer
?
w

willmadison

03/07/2020, 5:12 PM
FacadeRelease
?
b

Brendan Weinstein

03/07/2020, 9:13 PM
I like facade and simulacram, not sure where
ringer
comes from
m

Mike

03/07/2020, 10:08 PM
English slang phrase. He's a dead ringer for you. Meaning looks exactly like you or doppleganger. I think more in the gangster era of US.
👍 2
4 Views