Skip to content
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

Refactor EXP-3953 [v121] Move nimbus-fml.sh to application-services #16969

Merged
merged 4 commits into from
Oct 24, 2023

Conversation

jhugman
Copy link
Contributor

@jhugman jhugman commented Oct 23, 2023

📜 Tickets

Jira ticket

💡 Description

This moves the nimbus-fml.sh out of Firefox for iOS and into Application Services. The app services PR adds a bootstrap script which can be curled and executed as part of this project's bootstrap. This is now documented in experimenter.info docs.

This has been a long held, low priority goal. The pricipitating events:

  • the Nimbus team is asking engineers to add more metadata to their Nimbus powered features.
    • we have added a validate command to the nimbus-fml command line
    • the validate command checks for the relevant metadata. These warnings are emitted in the Build console logs.
    • this PR adds metadata for the messaging feature.
  • the generate-experimenter command is now being run by experimenter, so is no longer needed to be commited into the repository.
    • this PR removes the .experimenter.yaml file

Once merged, engineers will need to re-run the bootstrap.sh script on their machines to re-download the nimbus-fml.sh script (it is removed, and added to .gitignore in this PR).

This should otherwise provide no extra functionality or tests.

Commits:

  • Remove nimbus-fml.sh in favour of bootstrapped from AS copy
  • Remove .experimenter.yaml
  • Add feature metadata for messaging feature
  • Trigger FML generate on every build

📝 Checklist

You have to check all boxes before merging

  • Filled in the above information (tickets numbers and description of your work)
  • Updated the PR name to follow our PR naming guidelines
  • Wrote unit tests and/or ensured the tests suite is passing
  • When working on UI, I checked and implemented accessibility (minimum Dynamic Text and VoiceOver)
  • If needed I updated documentation / comments for complex code and public methods

@jhugman jhugman requested a review from a team as a code owner October 23, 2023 19:11
@@ -37,5 +37,9 @@ if [ "$1" == "--importLocales" ]; then
exit 0
fi

# Download the nimbus-fml.sh script from application-services.
NIMBUS_FML_FILE=./nimbus.fml.yaml
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should you ever move the nimbus.fml.yaml file, you should change this.

@mobiletest-ci-bot
Copy link

mobiletest-ci-bot commented Oct 23, 2023

Messages
📖 Edited 5 files
📖 Created 0 files

Generated by 🚫 Danger Swift against 4ca9cba

@jhugman jhugman force-pushed the jhugman/move-fml-script-to-as branch from 672788f to 563e527 Compare October 23, 2023 21:08
@isabelrios
Copy link
Contributor

isabelrios commented Oct 24, 2023

@jhugman let me re-run this PR so that it is unblocked to be merged when approved. Context: Bitrise is red because the UI Smoketest run isolated, not as part of the pipeline and failed because it misses the dependencies.

@jhugman
Copy link
Contributor Author

jhugman commented Oct 24, 2023

Thank you @isabelrios !

@mergify
Copy link
Contributor

mergify bot commented Oct 24, 2023

This pull request has conflicts when rebasing. Could you fix it @jhugman? 🙏

@jhugman jhugman force-pushed the jhugman/move-fml-script-to-as branch from 563e527 to 4ca9cba Compare October 24, 2023 14:42
@jhugman jhugman changed the title Refactor EXP-3953 [v120] Move nimbus-fml.sh to application-services Refactor EXP-3953 [v121] Move nimbus-fml.sh to application-services Oct 24, 2023
@jhugman jhugman merged commit a18d040 into main Oct 24, 2023
9 of 11 checks passed
@jhugman jhugman deleted the jhugman/move-fml-script-to-as branch October 24, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants