Skip to content

Instantly share code, notes, and snippets.

View bhearsum's full-sized avatar

Ben Hearsum (he/him) bhearsum

View GitHub Profile
➜ shipit git:(main) git log -n1 | cat
commit 906563cf58ffcc57643c0bd936c80ef1c6dc70bb (HEAD -> main, upstream/main)
Author: Aki Sasaki <[email protected]>
Date: Fri Feb 12 10:31:12 2021 -0800
move bforehand to normandy team (#632)
➜ shipit git:(main) # i don't have the latest changes, so i'll pull them
➜ shipit git:(main) git pull upstream main # pull the latest changes from upstream (mozilla-releng)'s main branch to my local one
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
01-05 11:19:26.761 E/getaddrinfo( 694): android_getaddrinfofornetcontext: explore_numeric: ai_family=2 ai_socktype=1 ai_protocol=6
01-05 11:19:26.761 E/getaddrinfo( 694): explore_numeric_scope
01-05 11:19:26.761 E/getaddrinfo( 694): explore_numeric_scopehostname: d
01-05 11:19:26.761 E/getaddrinfo( 694): explore_numeric_scopescoped does not exist
01-05 11:19:26.761 E/getaddrinfo( 694): android_getaddrinfofornetcontext: explore_fqdn(): ai_family=2 ai_socktype=1 ai_protocol=6
01-05 11:19:26.761 D/res_init( 694): res_vinit: dnsrch list:
01-05 11:19:26.761 D/res_init( 694):
01-05 11:19:26.761 D/res_init( 694): res_vinit: dnsrch list:
01-05 11:19:26.761 D/res_init( 694):
01-05 11:19:26.761 E/getaddrinfo( 694): res_queryN: (1, 28)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
Entitlements to apply to the .app bundle and main browser process
executable during codesigning of production channel builds.
-->
<plist version="1.0">
<dict>
<key>com.apple.application-identifier</key>
<string>43AQ936H96.org.mozilla.macos.FirefoxVPN</string>
diff --git a/api/src/backend_common/auth.py b/api/src/backend_common/auth.py
index 7e22ed7..c6282d8 100644
--- a/api/src/backend_common/auth.py
+++ b/api/src/backend_common/auth.py
@@ -140,16 +140,17 @@ class TaskclusterUser(BaseUser):
def get_permissions(self):
return self.credentials["scopes"]
def has_permissions(self, permissions):
"""
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>packet-tunnel-provider-systemextension</string>
<string>app-proxy-provider-systemextension</string>
<string>content-filter-provider-systemextension</string>
<string>dns-proxy-systemextension</string>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>packet-tunnel-provider-systemextension</string>
<string>app-proxy-provider-systemextension</string>
<string>content-filter-provider-systemextension</string>
<string>dns-proxy-systemextension</string>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
Entitlements to apply to the .app bundle and main browser process
executable during codesigning of production channel builds.
-->
<plist version="1.0">
<dict>
<key>com.apple.application-identifier</key>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
Entitlements to apply to the .app bundle and main browser process
executable during codesigning of production channel builds.
-->
<plist version="1.0">
<dict>
<key>com.apple.application-identifier</key>
TypeError: 'NoneType' object is not subscriptable
File "flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "flask_cors/extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "flask/_compat.py", line 39, in reraise
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
Entitlements to apply to the .app bundle and main browser process
executable during codesigning of production channel builds.
-->
<plist version="1.0">
<dict>
<key>com.apple.developer.system-extension.install</key>