-
Notifications
You must be signed in to change notification settings - Fork 281
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
Build second xpi for updates from master #151
base: master
Are you sure you want to change the base?
Conversation
Thanks! I will look at this over the next days and might get back to you when I have a question. AllThatIsTheCase "I've issued a pull request that builds two xpis -- one that builds the xpi as it was, and one that can be installed from github and which will auto-update from there. It does required xsltproc to be installed -- it could probably be done with sed sourcery, but I'm no sed master -- do feel free to change that though." |
That's OK. I really should have added documentation. The two things that really changed is: I have added an update.rdf which firefox can poll to see if a new version has been released, and in the install.rdf the updateURI field needs to be present for the github version and absent for the MozRegistry version. |
Okay, I just looked into your changes. Thanks! Right now, your changes (a) update the makefile so that it installs the version from github, and (b) change the place where FF checks for updates Thanks! ps: Can you remove the changes to |
The makefile itself doesn't really install anything, it just builds the two xpis. The -fx version will never check for updates from github, only from MozReg; the -github version will always check for updates from github, never from MozReg. So which line of updates a user gets depends on which xpi he or she installs. I could split this into two makefiles, but they'd have to do mostly the same thing; the install.rdf must be different for each xpi. The gitignore reflects some of these changes; as the -fx.xpi is only useful to install from MozReg, it is excluded from being checked in, but since the -github.xpi is going to update its binary from github, it must be included in commit/push, so not be ignored through ,gitignore. Likewise, since install.rdf is updated during build for each specific xpi, it is no longer a source file but a temporary build artifact, so checking it in would not have much use. |
Okay, I got it. Makes sense (also to have one makefile that produces to xpi files). I will take another look later today and merge. |
Now I understand the changes better. Can you just clarify these questions:
|
|
Conflicts: Makefile
No description provided.