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

WIP: Rebase omaha #25

Open
wants to merge 170 commits into
base: master
from
Open

WIP: Rebase omaha #25

wants to merge 170 commits into from

Conversation

@simonhong
Copy link
Collaborator

simonhong commented Jul 18, 2019

Fix brave/brave-browser#5186

I think this branch should become master after renaming current master.
Rebased branch can't be merged onto master.

patmanpm and others added 30 commits Feb 7, 2018
Corrected registry path for UpdateDev for 32-bit process usage
Trivial tyop fix.
Fixed Spelling.
Update DeveloperSetupGuide.md
Fixed markup.
A dependency on 'protobuf/implicit_weak_message.cc' was added on PR 441e209. This file only exists on protobuf version 3.6.0 and higher and user older versions (which used to work before) now causes a build break.
This pull request updates the guide to specify the new requirement.
DeveloperSetupGuide.md protobuf version required.
`NTDDI_VERSION` was defined in CPPDEFINES as `DNTDDI_VERSION`. The D prefix would be valid for CPPFLAGS, but not here.
Set WIN_VER to _WIN32_WINNT_WS03 (0x0502)
Add missing _WIN32_WINNT define.
This targets "Windows XP with Service Pack 2 (SP2)".
Define NTDDI_VERSION correctly
Merge pull request #145 from macqm/master
Use python 27
Update WINVER to Windows 7 value.
Notable changes here include adding support for unpacking CRX files, making "Code Red" more secure by wrapping the payload in a CRX container, and fixing a race condition where the /ua process may hang on shutdown during a program update.
Added libzip 1.3.0 and zlib 1.2.11 to third-party dependencies.
Update DeveloperSetupGuide.md
RyanJarv and others added 20 commits Jul 12, 2018
Set support.brave.com as a help url.
* Remove invalid third_party index and add .gitmodules
* Create omaha target
* Build stub/standalone installer with tagging
It turns out that enterprise module only needs admin priv.
Brave doesn't used it. So it is excluded from build dir list.
Build all(release/debug) can take a long build time.
When silent tag is added in tag list, "/silent /install" is added to
command line by metainstaller.
silent tag should be added at last of tag list.
The download-complete/installer-run stats pings weren't being sent
when the stub installer was run in admin mode. This was due to us
storing the app guid in the registry, as it is written to a different
location when running as an admin vs a regular user. Fixed this by
fetching app guid from tag instead. In addition, we append the
referral code to the tag sent to the installer in order to avoid the
same problem with the registry.
We already use the Digicert timestamp server in brave builds
but need to also update it here as that might not pass down.
* libzip 1.5.2 from https://libzip.org/download/libzip-1.5.2.tar.xz
Unzip the contents of libzip-1.5.2.tar.gz\libzip-1.5.2.tar\libzip-1.5.2\
into the directory third_party\libzip

* zlib 1.2.11 from https://zlib.net/zlib-1.2.11.tar.gz
Unzip the contents of zlib-1.2.11.tar.gz\zlib-1.2.11.tar\zlib-1.2.11\ into
the directory third_party\zlib\v1_2_11
@simonhong simonhong self-assigned this Jul 18, 2019
@simonhong simonhong requested review from bsclifton and emerick Jul 18, 2019
@emerick
Copy link
Collaborator

emerick commented Jul 18, 2019

Looks like there are a lot of conflicts, but I take it those won't be relevant if we're just going to make this the new master?

cc: @mbacchi and @mihaiplesa, just FYI - but assuming you already know this is coming...

@mbacchi
Copy link
Member

mbacchi commented Jul 18, 2019

I was not aware of this effort. I wonder if we need to coordinate this with the omaha-server rebase as we're behind there too, and have an open issue to rebase but no plan to do it in the near term: brave/devops#1092

@simonhong
Copy link
Collaborator Author

simonhong commented Jul 18, 2019

@mbacchi I think this rebase doesn't need omaha-server rebase.
Rebased omaha updater doesn't work with current server. brave/brave-browser#5186 (comment)

@simonhong
Copy link
Collaborator Author

simonhong commented Jul 18, 2019

Looks like there are a lot of conflicts, but I take it those won't be relevant if we're just going to make this the new master?

Yes, it will not have any problem if this becomes master.

@simonhong simonhong mentioned this pull request Jul 22, 2019
@emerick
Copy link
Collaborator

emerick commented Jul 23, 2019

Rebased omaha updater doesn't work with current server. brave/brave-browser#5186 (comment)

How does that impact this PR? It seems like we would want to update either both (client and server) or neither, I think.

@simonhong
Copy link
Collaborator Author

simonhong commented Jul 23, 2019

@emerick yes, both side should be updated. So, this PR should be pended till we can start to debug together on updater client and server.
One more important thing is omaha server that we forked is not maintained by google.
So, latest omaha server impls could not work with latest google's omaha update client.
We have to deal with it also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

You can’t perform that action at this time.