Hi everyone,

To develop the search activity [1], we've been using a github repo that
allows you to build and package a stand-alone version of the activity. I
wanted to post an update about our workflow to let you all know what we've
been doing, as well as make it clear for how you can also write patches!

Until now, the upstream repo has lived in eedens's github account, but we
just moved it over to the Mozilla organization:

https://github.com/mozilla/fennec-search

To contribute to this search project, you still need to generate a patch
for mozilla-central as you would for any other part of Fennec, but you can
use this fennec-search repo as a tool to help you quickly develop and test
your patch.

The workflow basically looks like this:

1) Open fennec-search project in Android Studio
2) Develop your patch
3) In your fennec-search directory, run `grunt export --tree <path to your
m-c>` to export changes to your m-c tree
4) Generate a patch as you normally would, upload patch to bugzilla,
request review, etc.
5) Land patch on m-c and generate pull request back to fennec-search

The first time you import the project into Android Studio, you will need to
run `npm install` and `grunt --tree <path to your m-c>` to create some
generated files, but you should only need to do that once.

Feel free to ping me or eedens in #mobile if you have any trouble getting
this set up.

Also, we have plenty of bugs that need attention! If you would like to get
involved hacking on these bugs, please refer to this list:

https://wiki.mozilla.org/Mobile/Projects/Search_activity_v1#P1_Bugs

Thanks!
Margaret

[1] https://wiki.mozilla.org/Mobile/Projects/Search_activity_v1
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to