-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$500] Allow Desktop AhDoc and Dev builds to be installed alongside production #24426
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01af6dab8731944ef3 |
Triggered auto assignment to @lschurr ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Build desktop app separately for different environments What is the root cause of that problem?We are using the same app id as defined here. What changes do you think we should make in order to solve the problem?We need to use different
We can do a similar thing for What alternative solutions did you explore? (Optional)None |
ProposalPlease re-state the problem that we are trying to solve in this issue.We want to allow multiple builds for each environment to be installed concurrently on a system. What is the root cause of that problem?This was never implemented which can bee seen in the config file as we have static values for appID, productName, and dmg etc. What changes do you think we should make in order to solve the problem?We can make the configuration file dynamic and generate separate builds for each environment by making the following changes:
Then we can use: Similarly, we should follow the same pattern and update productName for clarity like:
and use it like Same hash can be used for the dmg section and the following configs can be updated under dmg:
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Build desktop app separately for different environments What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
const env = process.env.ELECTRON_ENV;
// Below can be used to set values for productName, dmg.title
const names = {
production: "New Expensify",
staging: "New Expensify Staging",
dev: "New Expensify Dev",
adhoc: "New Expensify Adhoc",
};
const artifactName = names[env].split(" ").join("") + ".dmg";
const appIds = {
production: "com.expensifyreactnative.chat",
staging: "com.expensifyreactnative.staging.chat",
dev: "com.expensifyreactnative.dev.chat",
adhoc: "com.expensifyreactnative.adhoc.chat",
};
What alternative solutions did you explore? (Optional)
|
Thanks all. Given the relative simplicity of these changes, I think going with the first proposal is fine. |
📣 @allroundexperts Please request via NewDot manual requests for the Contributor role ($1000) |
PR created. |
This issue has not been updated in over 15 days. @Julesssss, @ArekChr, @allroundexperts, @lschurr eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
We had some issues with the test builds, I just rebuilt and it should work this time. |
This isn't a regression, as it was up to me to verify this... but the prod builds are failing due to these changes. We're defaulting to the Dev environment when building the prod app...
|
@allroundexperts I think this happened, like you predicted. |
This issue has not been updated in over 15 days. @Julesssss, @ArekChr, @allroundexperts, @lschurr eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@Julesssss @lschurr What's the update here? The PR got merged long time ago. |
Sorry, just saw this. I think we should just close the issue as it's unlikely we'll find time to work on this @allroundexperts do we need a 50% payment to make this fair? We merged a change but had to revert |
Yea, sounds good! |
Hey @lschurr would you mind paying out $500 to @allroundexperts please when you have a moment. Thanks |
Upwork job price has been updated to $500 |
I get paid through the App @Julesssss. A payment summary comment is all I need 😄 |
Payment summary:
|
I think we can close yeah? |
$500 payment to @allroundexperts based on comment above. |
Problem
We recently enabled the ability to install mobile apps side by side, preventing the need to constantly reinstall and re-authenticate after testing a dev or AdHoc build. However, we didn't do the same thing for Desktop.
Solution
Let's do the same thing for Desktop!
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: