forked from mozilla/pdf.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Updating pdf.js on Mozilla Central
brendandahl edited this page Aug 17, 2012
·
2 revisions
- Get Commit Access Level 1 (http://www.mozilla.org/hacking/committer/) (https://bugzilla.mozilla.org/show_bug.cgi?id=714712)
- Check out Mozilla Central (https://developer.mozilla.org/En/Simple_Firefox_build)
- Setup HG
[ui]
username = YOUR NAME <YOUR_HANDLE@mozilla.com>
[defaults]
qnew = -Ue
[extensions]
hgext.mq =
[diff]
git = 1
showfunc = 1
unified = 8
[paths]
try = ssh://hg.mozilla.org/try
- Edit ~.ssh/config
Host hg.mozilla.org
User YOUR_HANDLE@mozilla.com
IdentityFile ~/.ssh/id_rsa.pub
- make sure all patches are popped off your queue
hg qpop -a
- update moz central
hg pull -u
- update pdf.js and build extension
node make extension
-
Open new bugzilla bug
- Copy release notes there
- Set depends bug ????
-
Create Patch (replace bug number)
hg qnew bug-743264-fix -m "Bug 743264 - Update pdf.js to Version 0.2.537."
- Update Files
copy updated files into mozilla-central/browser/app/profile/extensions/uriloader\@pdf.js
hg qrefresh
- Add Try Stuff
hg qnew try --message "try: -b do -p macosx,macosx64,win32,linux,linux32 -u all -t none"
- Double Check What Your Sending
hg outgoing
- Push to Try Server
hg push -f try
- Pop off the try patch (if you can't pop the patch see https://wiki.mozilla.org/ReleaseEngineering/TryServer#Disable_hg_phases_with_a_post-push_hook )
hg qpop
- Generate Patch (after successful try run, replace bug number)
hg export qtip > ~/projects/mine/pdf.js/patches~/bug-743264-fix.patch