-
Notifications
You must be signed in to change notification settings - Fork 921
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
s/antimuon/brave #67
s/antimuon/brave #67
Conversation
@@ -4,7 +4,7 @@ | |||
import re | |||
import sys | |||
|
|||
from lib.config import SOURCE_ROOT, get_antimuon_version, get_chrome_version | |||
from lib.config import SOURCE_ROOT, get_brave_version, get_chrome_version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_brave_core_version?
DEPS
Outdated
"vendor/ad-block": "https://github.com/brave/ad-block.git@84cbd78e346f8276ec06ca8d1193a01aaf0fc67f", | ||
"vendor/tracking-protection": "https://github.com/brave/tracking-protection.git@051177425a14121a22087d754ad8eb1c0ce8fb24", | ||
"vendor/hashset-cpp": "https://github.com/bbondy/hashset-cpp.git@67ffffa69b56e330bab9d08f050727f891c916a1", | ||
"vendor/bloom-filter-cpp": "https://github.com/bbondy/bloom-filter-cpp.git@d511cf872ea1d650ab8dc4662f6036dac012d197", | ||
"vendor/brave-extension": "https://github.com/brave/brave-extension.git@38af139dd65ba6a2a6f84cfc40f214080499dbae", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might also want to replace antimuon in https://github.com/brave/brave-extension/blob/master/py-scripts/build-brave-extension.py#L15-L17 and update DEPS here.
@@ -16,7 +16,7 @@ def main(): | |||
option = sys.argv[1] | |||
increments = ['major', 'minor', 'patch'] | |||
if option in increments: | |||
version = get_antimuon_version() | |||
version = get_brave_version() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DITTO
script/lib/config.py
Outdated
return version.split('+')[1] | ||
|
||
def get_antimuon_version(): | ||
version = os.environ.get('npm_config_antimuon_version') or brave_package()['version'] | ||
def get_brave_core_version(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files are using get_brave_version() which seems undefined in this file, and some are using get_brave_core_version(). You may want to change the function name to get_brave_version and use it everywhere in this PR or s/get_brave_version/get_brave_core_version.
Nice catch, updated. |
fixed next interval calculation when downloading publishers list
Add incognito to the extension manifest and set to split mode
updateBranding for create_distr
updateBranding for create_distr
updateBranding for create_distr
Fix brave/brave-browser#120
See also:
brave/brave-browser#121
brave/brave-extension#14