content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
PHP
PHP
resolve validation factory contract in formrequest
ab902adb2e9b28012f9c4f1a95005891f8bc040b
<ide><path>src/Illuminate/Foundation/Http/FormRequest.php <ide> use Illuminate\Http\Exception\HttpResponseException; <ide> use Illuminate\Validation\ValidatesWhenResolvedTrait; <ide> use Illuminate\Contracts\Validation\ValidatesWhenResolved; <add>use Illuminate\Contracts\Validation\Factory as ValidationFactory; <ide> ...
1
Python
Python
drop unused import
79b825ef320b9abe3b6d582442a2cb555db7e9b4
<ide><path>rest_framework/templatetags/rest_framework.py <ide> from __future__ import absolute_import, unicode_literals <ide> <del>import decimal <ide> import re <ide> <ide> from django import template <ide> def format_value(value): <ide> return mark_safe('<a href="{value}">{value}</a>'.format(value=escap...
1
Text
Text
add changelog entry for [ci skip]
555ec36522011862c03b483c53be32410594a51e
<ide><path>railties/CHANGELOG.md <add>* Do not set the Rails environment to test by default when using test_unit Railtie. <add> <add> *Konstantin Shabanov* <add> <ide> * Remove sqlite3 lines from `.gitignore` if the application is not using sqlite3. <ide> <ide> *Dmitrii Golub*
1
Javascript
Javascript
improve error message for invalid flag
8bb60e3c8dde6f0c0295309291b4022937072c04
<ide><path>lib/fs.js <ide> fs.readFileSync = function(path, options) { <ide> <ide> // Used by binding.open and friends <ide> function stringToFlags(flag) { <del> // Only mess with strings <del> if (typeof flag !== 'string') { <add> // Return early if it's a number <add> if (typeof flag === 'number') { <ide> re...
1
Ruby
Ruby
fix documentation to the custom deprecator
3f04785f77899b286d02a0a95dd7fbfc341dc999
<ide><path>activesupport/lib/active_support/core_ext/module/deprecation.rb <ide> class Module <ide> # <ide> # class MyLib::Deprecator <ide> # def deprecation_warning(deprecated_method_name, message, caller_backtrace) <del> # message = "#{method_name} is deprecated and will be removed from MyLibrary ...
1
Javascript
Javascript
replace concatenation with literals
f05a2d88d64ca4ed2ebf5482d16d7fdd69cfa23e
<ide><path>test/parallel/test-whatwg-url-searchparams-sort.js <ide> const { test, assert_equals, assert_array_equals } = require('../common/wpt'); <ide> assert_array_equals(param, val.output[i]) <ide> i++ <ide> } <del> }, "Parse and sort: " + val.input) <add> }, `Parse and sort: ${val.input}`) <ide> ...
1
PHP
PHP
use self instead of $this for ide compatibility
2f0133bbbe87929aa021830baf9ea2d8d9e29d46
<ide><path>src/Console/ConsoleOptionParser.php <ide> public function __construct($command = null, $defaultOptions = true) <ide> * <ide> * @param string|null $command The command name this parser is for. The command name is used for generating help. <ide> * @param bool $defaultOptions Whether you want the...
57
PHP
PHP
add type hint
e47356e11df19f07902b634bc081186ac9bd6f60
<ide><path>src/I18n/FrozenTime.php <ide> public function timeAgoInWords(array $options = []): string <ide> * @return array List of timezone identifiers <ide> * @since 2.2 <ide> */ <del> public static function listTimezones($filter = null, $country = null, $options = []): array <add> public static f...
2
PHP
PHP
fix double return
ed2df89c3ed865654ed248f3c837e43427bbb3c2
<ide><path>laravel/error.php <ide> public static function native($code, $error, $file, $line) <ide> if (in_array($code, Config::get('error.ignore'))) <ide> { <ide> return static::log($exception); <del> <del> return true; <ide> } <ide> <ide> static::exception($exception);
1
PHP
PHP
remove unused rule
5f9769bc17d7d6ade1583ad7f348b1c4ebe3eb8b
<ide><path>tests/Validation/ValidationRequiredIfTest.php <ide> <ide> namespace Illuminate\Tests\Validation; <ide> <del>use Illuminate\Validation\Rule; <ide> use PHPUnit\Framework\TestCase; <ide> use Illuminate\Validation\Rules\RequiredIf; <ide>
1
PHP
PHP
fix cs, remove extra space
e3e54d40faf4273c1063a93ee509daa09d5fb426
<ide><path>lib/Cake/Model/Datasource/Database/Sqlite.php <ide> public function resultSet($results) { <ide> foreach (String::tokenize($selectpart, ',', '(', ')') as $part) { <ide> $fromPos = stripos($part, ' FROM '); <ide> if ($fromPos !== false) { <del> $selects[] = trim(substr($part, 0, $fromPos)); <ad...
1
Python
Python
add wheel to setup_requires
9ebe607f82d198e1548a68ac633607b845f438c4
<ide><path>setup.py <ide> def setup_package(): <ide> license=about['__license__'], <ide> ext_modules=ext_modules, <ide> scripts=['bin/spacy'], <add> setup_requires=['wheel>=0.32.0,<0.33.0'], <ide> install_requires=[ <ide> 'numpy>=1.15.0', <ide> ...
1
Python
Python
fix complex reference
a41f1aefef662be0645c61da5bf7849d0c68194c
<ide><path>numpy/core/tests/test_print.py <ide> def check_complex_type(tp): <ide> else: <ide> if sys.platform == 'win32' and sys.version_info[0] <= 2 and \ <ide> sys.version_info[1] <= 5: <del> ref = '1e+010' <add> ref = '(1e+010+0j)' <ide> else: <del> ref...
1
Python
Python
add similarity_search.py in machine_learning
ae4d7d4d0433b865c1a3e35dbbb7d43f2dc8ab2c
<ide><path>machine_learning/similarity_search.py <add>""" <add>Similarity Search : https://en.wikipedia.org/wiki/Similarity_search <add>Similarity search is a search algorithm for finding the nearest vector from <add>vectors, used in natural language processing. <add>In this algorithm, it calculates distance with eucli...
1
Go
Go
use nsinit for setting up namespace
11429457691be3b009c6d9f4cc9fce9150d4e810
<ide><path>pkg/libcontainer/cli/main.go <ide> func init() { <ide> func nsinitFunc(container *libcontainer.Container) error { <ide> container.Master = uintptr(masterFd) <ide> container.Console = console <add> container.LogFile = "/root/logs" <ide> <ide> return nsinit.InitNamespace(container) <ide> } <ide><path>pkg/l...
4
Javascript
Javascript
fix spelling error
c5aa7611fa025bbf7cf6c579198faabc24df831f
<ide><path>packages/ember-runtime/tests/computed/reduce_computed_test.js <ide> QUnit.module('arrayComputed', { <ide> otherNumbers: Ember.A([ 7, 8, 9 ]), <ide> <ide> // Users would obviously just use `Ember.computed.map` <del> // This implemantion is fine for these tests, but doesn't properly work as <...
1
Python
Python
fix ma.minimum.reduce with axis keyword
b8c6d09208ecb7f0d83a8b06ab9e15e720f03730
<ide><path>numpy/ma/core.py <ide> def reduce(self, target, axis=np._NoValue, **kwargs): <ide> <ide> if m is nomask: <ide> t = self.f.reduce(target.view(np.ndarray), **kwargs) <add> if isinstance(t, ndarray): <add> t = MaskedArray(t, mask=nomask) <ide> else: <ide> ...
1
Javascript
Javascript
fix wrong mapping for issue #434
5970020f3b2ab989ef245a616bf7f9b4142ae9af
<ide><path>fonts.js <ide> var Type2CFF = (function() { <ide> for (var i = 1; i < charsets.length; i++) { <ide> var code = -1; <ide> var glyph = charsets[i]; <del> for (var j = index; j < differences.length; j++) { <del> if (differences[j]) { <add> for (var j = 0; j < differe...
1
Text
Text
add v1.2.6 changes
fe7decd1b0339c35360cdd8c21a58278c8df2508
<ide><path>CHANGELOG.md <add><a name="1.2.6"></a> <add># 1.2.6 taco-salsafication (2013-12-19) <add> <add> <add>## Bug Fixes <add> <add>- **$animate:** use a scheduled timeout in favor of a fallback property to close transitions <add> ([54637a33](https://github.com/angular/angular.js/commit/54637a335f885110efaa702a3ba...
1
Python
Python
fix ner pipeline
f79a7dc661b9d7caee867af18a2be009478ab739
<ide><path>transformers/pipelines.py <ide> def __call__(self, *texts, **kwargs): <ide> # Forward <ide> if self.framework == 'tf': <ide> entities = self.model(tokens)[0][0].numpy() <add> input_ids = tokens['input_ids'].numpy()[0] <ide> ...
1
Javascript
Javascript
make the arraystream in repl tests write a '\n'
8652c11031cf89d042aa9f0b9c0f33e60ab18c97
<ide><path>test/simple/test-repl-.save.load.js <ide> function ArrayStream() { <ide> this.run = function(data) { <ide> var self = this; <ide> data.forEach(function(line) { <del> self.emit('data', line); <add> self.emit('data', line + '\n'); <ide> }); <ide> } <ide> } <ide><path>test/simple/test-...
3
Java
Java
add support for custom expression parsing
40d84c297bd88a2c4b7979b14eb7925e5fce0170
<ide><path>spring-context/src/main/java/org/springframework/context/expression/CachedExpressionEvaluator.java <ide> protected Expression getExpression(Map<ExpressionKey, Expression> cache, <ide> ExpressionKey expressionKey = createKey(elementKey, expression); <ide> Expression expr = cache.get(expressionKey); <ide> ...
1
Python
Python
remove unnecessary func
22a669d6c8ebe29114c72e4cebe900d599a15201
<ide><path>research/a3c_blogpost/a3c_cartpole.py <ide> <ide> tf.enable_eager_execution() <ide> <del>def str2bool(v): <del> if v.lower() in ('yes', 'true', 't', 'y', '1'): <del> return True <del> elif v.lower() in ('no', 'false', 'f', 'n', '0'): <del> return False <del> else: <del> raise argparse.ArgumentT...
1
Python
Python
replace list creation with list literal
ca5f59d03aeac2cf78adf9a6fde0f8e425033133
<ide><path>glances/plugins/glances_help.py <ide> def get_view_data(self, args=None): <ide> <ide> def msg_curse(self, args=None): <ide> """Return the list to display in the curse interface.""" <del> # Init the return message <del> ret = [] <del> <del> # Build the string message <del> ...
1
Javascript
Javascript
add mustcall to test-dgram-implicit-bind.js
c3d49332101abc68e64f13c96f4c165d4716d416
<ide><path>test/parallel/test-dgram-implicit-bind.js <ide> target.on('message', common.mustCall(function(buf) { <ide> } <ide> }, 2)); <ide> <del>target.on('listening', function() { <add>target.on('listening', common.mustCall(function() { <ide> // Second .send() call should not throw a bind error. <ide> const por...
1
Javascript
Javascript
add common.mustcall() to napi exception test
9516aa19c16cbfda6917c4fb8d6aecf2da8a16aa
<ide><path>test/addons-napi/test_exception/test.js <ide> function throwTheError() { <ide> } <ide> let caughtError; <ide> <del>const throwNoError = common.noop; <del> <ide> // Test that the native side successfully captures the exception <ide> let returnedError = test_exception.returnException(throwTheError); <ide> ass...
1
Text
Text
add option for developer tools inside browsers
ec6359408c52602846f38d21e8aa7985be10573e
<ide><path>guide/chinese/developer-tools/index.md <ide> localeTitle: 开发者工具 <ide> * 版本控制系统 <ide> * DevOps工具 <ide> * 构建工具 <del>* 包管理员 <ide>\ No newline at end of file <add>* 包管理员 <add>* 浏览器中的开发人员工具
1
Python
Python
add entity rules
bc40dad7d9fcf4feeca9af6187788f20303c1e74
<ide><path>spacy/language_data/__init__.py <ide> from .emoticons import * <ide> from .punctuation import * <add>from .entity_rules import * <ide> from .util import * <ide><path>spacy/language_data/entity_rules.py <add># encoding: utf8 <add>from __future__ import unicode_literals <add> <add>from ..symbols import * <add>...
2
Ruby
Ruby
remove formulapin dependency on fileutils
4e817eaa6c46694ba4868a559f92aa064ef177af
<ide><path>Library/Homebrew/formula_pin.rb <del>require 'fileutils' <del> <ide> class FormulaPin <ide> PINDIR = Pathname.new("#{HOMEBREW_LIBRARY}/PinnedKegs") <ide> <ide> def path <ide> end <ide> <ide> def pin_at(version) <del> PINDIR.mkpath unless PINDIR.exist? <add> PINDIR.mkpath <ide> version_path ...
1
Java
Java
fix grammatical errors in javadoc
caf6760ddd5f616a8d71cd7445d5709f61296690
<ide><path>spring-aop/src/main/java/org/aopalliance/intercept/Joinpoint.java <ide> * terminology). <ide> * <ide> * <p>A runtime joinpoint is an <i>event</i> that occurs on a static <del> * joinpoint (i.e. a location in a the program). For instance, an <add> * joinpoint (i.e. a location in a program). For instance, a...
5
Ruby
Ruby
require plist_options when using plist
a9c0361a1d83374059fca73485643e89c2772331
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_text <ide> problem "\"Formula.factory(name)\" is deprecated in favor of \"Formula[name]\"" <ide> end <ide> <add> if text =~ /def plist/ && text !~ /plist_options/ <add> problem "Please set plist_options when using a formula-defined plist." <add...
1
Javascript
Javascript
remove util.inherits usage
55e6c68170880c8bd49272819c2497539cdf5de5
<ide><path>lib/tty.js <ide> <ide> 'use strict'; <ide> <del>const { inherits } = require('util'); <ide> const net = require('net'); <ide> const { TTY, isTTY } = internalBinding('tty_wrap'); <ide> const errors = require('internal/errors'); <ide> function ReadStream(fd, options) { <ide> this.isRaw = false; <ide> thi...
1
Javascript
Javascript
change the wrapping strategy
58c2d138d0896ec39e4dcdfef90d00230c150409
<ide><path>examples/with-material-ui-next/components/App.js <del>import React, { Component } from 'react' <del>import PropTypes from 'prop-types' <del>import { JssProvider } from 'react-jss' <del>import { withStyles, createStyleSheet, MuiThemeProvider } from 'material-ui/styles' <del>import { getContext } from '../styl...
3
Java
Java
remove jaf references
0aaa6528dcb07ef76049cf74a4d6aecb4ee6c610
<ide><path>spring-web/src/main/java/org/springframework/http/converter/ResourceHttpMessageConverter.java <ide> import org.springframework.http.HttpOutputMessage; <ide> import org.springframework.http.MediaType; <ide> import org.springframework.http.MediaTypeFactory; <del>import org.springframework.util.ClassUtils; <ide...
9
Javascript
Javascript
assure settimeout callback only runs once
caf0b36de33ad4991e3f21ed088a84c68cb0662d
<ide><path>lib/timers.js <ide> function listOnTimeout() { <ide> if (domain) <ide> domain.enter(); <ide> threw = true; <add> first._called = true; <ide> first._onTimeout(); <ide> if (domain) <ide> domain.exit(); <ide> exports.clearInterval = function(timer) { <i...
2
Javascript
Javascript
add msaa to example files.js
134f99d3cafec9d8798070339ab9e63d1c6307d0
<ide><path>examples/files.js <ide> var files = { <ide> "webgl_postprocessing_glitch", <ide> "webgl_postprocessing_godrays", <ide> "webgl_postprocessing_masking", <add> "webgl_postprocessing_msaa", <ide> "webgl_postprocessing_nodes", <ide> "webgl_postprocessing_smaa", <ide> "webgl_postprocessing_ssao",
1
Python
Python
make minor changes
fb41b0489b966dc10ed3116c74b5f543492cc6fa
<ide><path>research/object_detection/meta_architectures/context_rcnn_lib_tf2.py <ide> def set_output_dimension(self, output_dim): <ide> def build(self, input_shapes): <ide> pass <ide> <del> def call(self, input_features, context_features, valid_context_size): <add> def call(self, box_features, context_features...
1
Javascript
Javascript
introduce internal `server` command
9a22b1e78b4c9d8041d15c71c9a2297cada1cfdd
<ide><path>packager/webSocketProxy.js <ide> function attachToServer(server, path) { <ide> }); <ide> }); <ide> }); <add> <add> return wss; <ide> } <ide> <ide> module.exports = {
1
PHP
PHP
reword exception explanation
cd98e3c9745999506c2d88ff4b77805632aeb4bc
<ide><path>src/Cache/SimpleCacheEngine.php <ide> protected function ensureValidKey($key) <ide> * @param string $key The unique key of this item in the cache. <ide> * @param mixed $default Default value to return if the key does not exist. <ide> * @return mixed The value of the item from the cache, or $de...
1
PHP
PHP
replace spaces with tabs
b08866c08e69e0812cb4d863f08e6b17a1fa5edf
<ide><path>src/Illuminate/Console/Command.php <ide> public function option($key = null) <ide> */ <ide> public function confirm($question, $default = true) <ide> { <del> $helper = $this->getHelperSet()->get('question'); <del> $question = new ConfirmationQuestion($question, $default); <add> $helper = $...
1
PHP
PHP
remove deprecate and unused methods
466422a192fbffff9a9127df3f610d397d0a3777
<ide><path>src/ORM/ResultSet.php <ide> protected function _calculateColumnMap($query) <ide> $this->_map = $map; <ide> } <ide> <del> /** <del> * Creates a map of Type converter classes for each of the columns that should <del> * be fetched by this object. <del> * <del> * @deprecated 3.2.0...
1
PHP
PHP
add urlparser to support
39c115ddca97217da748b90a1146d484d3c91f61
<ide><path>src/Illuminate/Database/DatabaseManager.php <ide> <ide> use PDO; <ide> use Illuminate\Support\Arr; <add>use Illuminate\Support\ConfigurationUrlParser; <ide> use Illuminate\Support\Str; <ide> use InvalidArgumentException; <ide> use Illuminate\Database\Connectors\ConnectionFactory; <ide><path>src/Illuminate/S...
3
Javascript
Javascript
fix comma splice
2013db23d3d75dc9a50caebe5a07d793d4fd8258
<ide><path>src/vendor/core/invariant.js <ide> function invariant(condition) { <ide> if (!condition) { <ide> var error = new Error( <del> 'Minified exception occured, use the non-minified dev environment for ' + <add> 'Minified exception occured; use the non-minified dev environment for ' + <ide> '...
1
Javascript
Javascript
float patch on npm to fix citgm
a85b48cbd37e4c0b1cf2f99f2e9f7d30d7fa34cf
<ide><path>deps/npm/lib/view.js <ide> function printData (data, name, cb) { <ide> log.disableProgress() <ide> <ide> // print directly to stdout to not unnecessarily add blank lines <del> process.stdout.write(msg) <del> <del> cb(null, data) <add> process.stdout.write(msg, () => cb(null, data)) <ide> } <ide> func...
1
Javascript
Javascript
remove unused variables
ef6b83956d5869b1a6b076b60f13940138ac8358
<ide><path>packages/ember-testing/lib/helpers.js <ide> function find(app, selector, context) { <ide> } <ide> <ide> function wait(app, value) { <del> var promise, obj = {}, helperName; <add> var promise; <ide> <ide> promise = Ember.Test.promise(function(resolve) { <ide> if (++countAsync === 1) { <ide><path>pac...
2
PHP
PHP
apply fixes from styleci
4c9557734ae70a20b3af0fdd69a9dc392b61fab4
<ide><path>src/Illuminate/View/Component.php <ide> public function __toString() <ide> { <ide> return (string) $this->__invoke(); <ide> } <add> <ide> }; <ide> } <ide>
1
Javascript
Javascript
fix style of filter links
211f324058ab6f9a66c8ea5fc0ecc39fd7b96e91
<ide><path>examples/todomvc/components/Footer.js <ide> class Footer extends Component { <ide> <ide> return ( <ide> <a className={classnames({ selected: filter === selectedFilter })} <del> style={{ cursor: 'hand' }} <add> style={{ cursor: 'pointer' }} <ide> onClick={() => onShow(filte...
1
Python
Python
prepare 1.0.8 release
d0659327bd2d70e47d8608ea9a48a9b9f4cd4a3d
<ide><path>keras/__init__.py <ide> from . import optimizers <ide> from . import regularizers <ide> <del>__version__ = '1.0.7' <add>__version__ = '1.0.8' <ide><path>setup.py <ide> <ide> <ide> setup(name='Keras', <del> version='1.0.7', <add> version='1.0.8', <ide> description='Deep Learning for Python'...
2
PHP
PHP
add description for `@method` annotations
c6e2f8182fdda1537f030e7553179a93cbf3c3f2
<ide><path>src/Console/Shell.php <ide> * Is the equivalent of Cake\Controller\Controller on the command line. <ide> * <ide> * @deprecated 3.6.0 ShellDispatcher and Shell will be removed in 5.0 <del> * @method int|bool|null|void main(...$args) <add> * @method int|bool|null|void main(...$args) Main entry method for th...
7
Go
Go
add more locking to storage drivers
fc1cf1911bb92def95f407364372992d57b11ca2
<ide><path>daemon/graphdriver/aufs/aufs.go <ide> import ( <ide> "github.com/docker/docker/pkg/chrootarchive" <ide> "github.com/docker/docker/pkg/directory" <ide> "github.com/docker/docker/pkg/idtools" <add> "github.com/docker/docker/pkg/locker" <ide> mountpk "github.com/docker/docker/pkg/mount" <ide> <ide> "githu...
4
Go
Go
skip testbuildemptycmd on rs1
45da1274421ba7484dcf2bf1a398f9e3683600d1
<ide><path>integration-cli/docker_cli_build_test.go <ide> func (s *DockerSuite) TestBuildClearCmd(c *check.C) { <ide> } <ide> <ide> func (s *DockerSuite) TestBuildEmptyCmd(c *check.C) { <add> // Windows Server 2016 RS1 builds load the windowsservercore image from a tar rather than <add> // a .WIM file, and the tar lay...
1
Text
Text
remove old whitespace doc warning
6f305505a79732a212e425078efcd28f908985d3
<ide><path>docs/docs/02.2-jsx-gotchas.md <ide> JSX looks like HTML but there are some important differences you may run into. <ide> > <ide> > For DOM differences, such as the inline `style` attribute, check [here](/react/docs/dom-differences.html). <ide> <del>## Whitespace Removal <del> <del>JSX doesn't follow the sam...
1
Go
Go
fix selinux errors caused by multi-threading
12934ef3a40d814cb307dfea0cc86124ec997593
<ide><path>pkg/selinux/selinux.go <ide> func Setfilecon(path string, scon string) error { <ide> } <ide> <ide> func Setfscreatecon(scon string) error { <del> return writeCon("/proc/self/attr/fscreate", scon) <add> return writeCon(fmt.Sprintf("/proc/self/task/%d/attr/fscreate", system.Gettid()), scon) <ide> } <ide> <id...
1
Ruby
Ruby
push the node->ar cache up one level
e6dfff2af515a7610e54fcfdb374d6eafc026c0a
<ide><path>activerecord/lib/active_record/associations/join_dependency.rb <ide> def columns <ide> end <ide> <ide> def instantiate(result_set) <del> parents = {} <del> <ide> primary_key = join_root.aliased_primary_key <ide> type_caster = result_set.column_type primary_key <ide> <ide>...
2
PHP
PHP
add test for new relative-path option
cef07d3c3c6be6cd6357e58f3f8926463645304c
<ide><path>tests/TestCase/Shell/Task/ExtractTaskTest.php <ide> public function testExtractWithExclude() <ide> $pattern = '/\#: .*default\.ctp:\d+\n/'; <ide> $this->assertNotRegExp($pattern, $result); <ide> } <add> <ide> /** <ide> * testExtractWithoutLocations method <ide> * <ide> publi...
1
Ruby
Ruby
treat single c operations in memorystore as atomic
fbc6129acd9ecb6b7435931b472d3226985ba4c4
<ide><path>activesupport/lib/active_support/cache/memory_store.rb <ide> def fetch(key, options = {}) <ide> end <ide> <ide> def read(name, options = nil) <del> @mutex.synchronize do <del> super <del> @data[name] <del> end <add> super <add> @data[name] <ide> ...
1
Text
Text
add redbubble link to airflow merch
558be73ae808b551a8ccf59a5c1896b5718f2f44
<ide><path>README.md <ide> Use Airflow to author workflows as directed acyclic graphs (DAGs) of tasks. The <ide> - [Who uses Apache Airflow?](#who-uses-apache-airflow) <ide> - [Who Maintains Apache Airflow?](#who-maintains-apache-airflow) <ide> - [Can I use the Apache Airflow logo in my presentation?](#can-i-use-the-ap...
1
Ruby
Ruby
remove `name` from `establish_connection`
779ccf8a0e6a8bf7bb362c30dac4a340599ab113
<ide><path>activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb <ide> def connection_pool_list <ide> end <ide> alias :connection_pools :connection_pool_list <ide> <del> def establish_connection(spec_or_config, name: "primary") <del> if spec_or_config.is_a?(ConnectionSp...
7
Ruby
Ruby
save another array allocation
a929b4d4c59551189b8162f30b061c6ed5755bd5
<ide><path>activerecord/lib/active_record/relation/query_methods.rb <ide> def order!(*args) # :nodoc: <ide> arg <ide> } <ide> <del> self.order_values = args + self.order_values <add> self.order_values = args.concat self.order_values <ide> self <ide> end <ide>
1
Text
Text
remove extra space between two sentences
43a42542e6316ceb3124abd225ec7f61a635103b
<ide><path>guides/source/configuring.md <ide> The schema dumper adds one additional configuration option: <ide> <ide> * `config.action_controller.per_form_csrf_tokens` configures whether CSRF tokens are only valid for the method/action they were generated for. <ide> <del>* `config.action_controller.default_protect_fr...
1
Java
Java
set mocksessioncookieconfig#maxage default to -1
83beb9d57d558d1386c194b7792c88134105dfa4
<ide><path>spring-test/src/main/java/org/springframework/mock/web/MockSessionCookieConfig.java <ide> /* <del> * Copyright 2002-2013 the original author or authors. <add> * Copyright 2002-2017 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you m...
2
Javascript
Javascript
fix prettier lint
22553427d4bdba0f511d887bb05f00811ecc05bc
<ide><path>test/Compiler.test.js <ide> describe("Compiler", () => { <ide> }); <ide> }); <ide> }); <del> it('should flag watchMode as true in watch', function(done) { <add> it("should flag watchMode as true in watch", function(done) { <ide> const compiler = webpack({ <ide> context: __dirname, <ide> mode: ...
1
Go
Go
hide dots on daemon startup when loglevel != info
88dc6cc2dfcc538f433c98c18652a5c84b0769d9
<ide><path>daemon/daemon.go <ide> func (daemon *Daemon) restore() error { <ide> for _, v := range dir { <ide> id := v.Name() <ide> container, err := daemon.load(id) <del> if !debug { <add> if !debug && log.GetLevel() == log.InfoLevel { <ide> fmt.Print(".") <ide> } <ide> if err != nil { <ide> func (daemon ...
2
PHP
PHP
apply fixes from styleci
7b39e0825ce3c837e1cae6be6e821ce22cad3efd
<ide><path>src/Illuminate/Support/Str.php <ide> protected static function charsArray() <ide> '7' => ['⁷', '₇', '۷', '7'], <ide> '8' => ['⁸', '₈', '۸', '8'], <ide> '9' => ['⁹', '₉', '۹', '9'], <del> 'a' => ['à', 'á', 'ả', 'ã', 'ạ', 'ă', 'ắ', 'ằ', 'ẳ', 'ẵ', 'ặ', ...
1
Javascript
Javascript
fix increasing delay with multistep hmr
991ec20881bfe22cf1a32fa790cce9aaeb5c733c
<ide><path>lib/HotModuleReplacementPlugin.js <ide> module.exports = class HotModuleReplacementPlugin { <ide> const requestTimeout = this.requestTimeout; <ide> const hotUpdateChunkFilename = compiler.options.output.hotUpdateChunkFilename; <ide> const hotUpdateMainFilename = compiler.options.output.hotUpdateMainFil...
1
Ruby
Ruby
add tests for uninstall_* and zap stanzas
917c138eeb4af0cee212f94edc425512dfbade99
<ide><path>Library/Homebrew/test/cask/audit_spec.rb <ide> def include_msg?(messages, msg) <ide> end <ide> end <ide> <add> describe "preflight stanza checks" do <add> let(:error_msg) { "only a single preflight stanza is allowed" } <add> <add> context "when the cask has no preflight stanza" do <ad...
11
Javascript
Javascript
call callbacks from setstate in component context
f1231e60b0fda262cb617cd73a56d1e5bdbf0778
<ide><path>src/core/ReactUpdates.js <ide> function batchedUpdates(callback) { <ide> component.performUpdateIfNecessary(); <ide> if (callbacks) { <ide> for (var j = 0; j < callbacks.length; j++) { <del> callbacks[j](); <add> callbacks[j].call(component); <ide> } ...
2
Text
Text
add the rctnetwork to the podfile
56ac2a45d71443764f0aff8fcd9c77b88dcd44ac
<ide><path>docs/IntegrationWithExistingApps.md <ide> target 'NumberTileGame' do <ide> pod 'React', :path => '../node_modules/react-native', :subspecs => [ <ide> 'Core', <ide> 'RCTText', <add> 'RCTNetwork', <ide> 'RCTWebSocket', # needed for debugging <ide> # Add any other subspecs you want to use i...
1
Javascript
Javascript
simplify getpath code to use split(".")
0b8cd8dbe42da615d965ae29ac29011600ead61a
<ide><path>packages/ember-metal/lib/accessors.js <ide> Ember.set = set; <ide> // PATHS <ide> // <ide> <del>// assumes normalized input; no *, normalized path, always a target... <ide> /** @private */ <ide> function getPath(target, path) { <del> var len = path.length, idx, next, key; <del> <del> idx = 0; <del> while...
1
Go
Go
add logs around service records modifications
eb8c603046730529f3b4be9c1ddedc8ae38fba2f
<ide><path>libnetwork/network.go <ide> func (n *network) addSvcRecords(name string, epIP net.IP, epIPv6 net.IP, ipMapUp <ide> return <ide> } <ide> <add> logrus.Debugf("(%s).addSvcRecords(%s, %s, %s, %t)", n.ID()[0:7], name, epIP, epIPv6, ipMapUpdate) <add> <ide> c := n.getController() <ide> c.Lock() <ide> defer ...
1
Text
Text
add v3.22.0-beta.5 to changelog
7fd407c2f80feb14d24a22ec762521bad563a746
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### v3.22.0-beta.5 (September 30, 2020) <add> <add>- [#19172](https://github.com/emberjs/ember.js/pull/19172) [BUGFIX] Ensures that tracked properties initialize property <add> <ide> ### v3.22.0-beta.4 (September 30, 2020) <ide> <ide> - [#19138](https://githu...
1
Javascript
Javascript
add id to inline segment script
3ca8ce07a6c4f456cc70fe5c23b6f9f253c4d027
<ide><path>examples/with-segment-analytics/pages/_app.js <ide> function MyApp({ Component, pageProps }) { <ide> return ( <ide> <Page> <ide> {/* Inject the Segment snippet into the <head> of the document */} <del> <Script dangerouslySetInnerHTML={{ __html: renderSnippet() }} /> <add> <Script <add>...
1
Ruby
Ruby
fix indentation here
a11ddf3ee2d2db0378c241a1fd0648b74ff48e20
<ide><path>activerecord/lib/active_record/attribute_methods/before_type_cast.rb <ide> def attributes_before_type_cast <ide> end <ide> <ide> private <del> # Handle *_before_type_cast for method_missing. <del> def attribute_before_type_cast(attribute_name) <del> if attribute_name == 'i...
1
Go
Go
fix incorrect spelling in error message
f962bd06ed8824d1f75d8546b428965cd61bdf7f
<ide><path>daemon/logger/jsonfilelog/jsonfilelog.go <ide> func New(info logger.Info) (logger.Logger, error) { <ide> return nil, err <ide> } <ide> if capval <= 0 { <del> return nil, fmt.Errorf("max-size should be a positive numbler") <add> return nil, fmt.Errorf("max-size must be a positive number") <ide> }...
1
Go
Go
fix resolvconf logic
35a88f2c291c882e49f7c448c1581dfdd3e35a9c
<ide><path>runtime/container.go <ide> func (container *Container) DisableLink(name string) { <ide> } <ide> <ide> func (container *Container) setupContainerDns() error { <del> if container.ResolvConfPath == "" { <add> if container.ResolvConfPath != "" { <ide> return nil <ide> } <ide> var (
1
PHP
PHP
allow multi-line echos
60f26afc13d943b5a2ae546307224c8178c41005
<ide><path>src/Illuminate/View/Compilers/BladeCompiler.php <ide> protected function compileComments($value) <ide> */ <ide> protected function compileEchos($value) <ide> { <del> return preg_replace('/\{\{\s*(.+?)\s*\}\}/', '<?php echo $1; ?>', $value); <add> return preg_replace('/\{\{\s*(.+?)\s*\}\}/s', '<?php ech...
1
Javascript
Javascript
fix indentation issues
0dc6596dc2e6a0de229bff43adc28d6c514334ba
<ide><path>src/renderers/dom/client/wrappers/ReactDOMInput.js <ide> function forceUpdateIfMounted() { <ide> function warnIfValueIsNull(props) { <ide> if (props != null && props.value === null && !didWarnValueNull) { <ide> warning( <del> false, <del> '`value` prop on `input` should not be null. ' + <...
6
Javascript
Javascript
fix permanent deoptimizations
8491c705b17b62ca7a11df0da530b6051523380f
<ide><path>lib/internal/url.js <ide> class URL { <ide> if (typeof depth === 'number' && depth < 0) <ide> return opts.stylize('[Object]', 'special'); <ide> <del> const ctor = getConstructorOf(this); <add> var ctor = getConstructorOf(this); <ide> <del> const obj = Object.create({ <add> var obj = O...
1
Text
Text
update repository list in onboarding doc
b5927439aaa7afec95612a96664efbcc5dc1d188
<ide><path>onboarding.md <ide> needs to be pointed out separately during the onboarding. <ide> * <https://github.com/nodejs/TSC> <ide> * <https://github.com/nodejs/build> <ide> * <https://github.com/nodejs/nodejs.org> <del> * <https://github.com/nodejs/readable-stream> <del> * <https://github.com/nodejs/LTS> <a...
1
PHP
PHP
remove some useless import.
dec6b72b690d8bc673413856bbb9b72f4f05078d
<ide><path>src/Illuminate/Mail/Mailable.php <ide> use Symfony\Component\Mailer\Header\MetadataHeader; <ide> use Symfony\Component\Mailer\Header\TagHeader; <ide> use Symfony\Component\Mime\Address; <del>use Symfony\Component\Mime\Email; <ide> <ide> class Mailable implements MailableContract, Renderable <ide> {
1
Java
Java
use regex comparison in websocket stats test
ea7ae8949e1b0411beddd74347e5c33123d8a91d
<ide><path>spring-websocket/src/test/java/org/springframework/web/socket/config/MessageBrokerBeanDefinitionParserTests.java <ide> public void stompBrokerRelay() { <ide> <ide> String name = "webSocketMessageBrokerStats"; <ide> WebSocketMessageBrokerStats stats = this.appContext.getBean(name, WebSocketMessageBrokerS...
2
Python
Python
add spaces after commas
5d380b98f9bd029bbc5ac55f8a23bc16cebe076d
<ide><path>doc/source/reference/random/performance.py <ide> col[key] = 1000 * min(t) <ide> table['RandomState'] = pd.Series(col) <ide> <del>columns = ['MT19937','PCG64','PCG64DXSM','Philox','SFC64', 'RandomState'] <add>columns = ['MT19937', 'PCG64', 'PCG64DXSM', 'Philox', 'SFC64', 'RandomState'] <ide> table = pd.D...
1
Javascript
Javascript
add support for classnamebindings in sc.view
ceb66b5505674f29534552adf72d69d819c322a0
<ide><path>lib/sproutcore-views/lib/views/view.js <ide> SC.TEMPLATES = SC.Object.create(); <ide> SC.View = SC.Object.extend( <ide> /** @scope SC.View.prototype */ { <ide> <del> concatenatedProperties: ['classNames'], <add> concatenatedProperties: ['classNames', 'classNameBindings'], <ide> <ide> /** walk like a du...
2
Text
Text
remove busywork of upgrade docs, move to symbols
bafc6ddbd1bef5895a19c3adf02142027325398e
<ide><path>docs/Upgrading.md <ide> Note the latest version of the `react-native` npm package from here (or use `npm <ide> <ide> * https://www.npmjs.com/package/react-native <ide> <del>Now install that version of `react-native` in your project with `npm install --save`. For example, to upgrade to the version `0.34`, i...
1
Ruby
Ruby
add initial tests
2c81083f3c9679b9c70c2d0a3e1d8f496707588a
<ide><path>Library/Homebrew/test/test_gpg.rb <add>require "testing_env" <add>require "gpg" <add> <add>class GpgTest < Homebrew::TestCase <add> def setup <add> skip "GPG Unavailable" unless Gpg.available? <add> @dir = Pathname.new(mktmpdir) <add> end <add> <add> def teardown <add> @dir.rmtree <add> end <add...
1
Go
Go
fix "retreive" typo in plugin store
03bf37884d089b69fd7e05491eff658420f40c5d
<ide><path>plugin/store.go <ide> func (name ErrAmbiguous) Error() string { <ide> return fmt.Sprintf("multiple plugins found for %q", string(name)) <ide> } <ide> <del>// GetV2Plugin retreives a plugin by name, id or partial ID. <add>// GetV2Plugin retrieves a plugin by name, id or partial ID. <ide> func (ps *Store) Ge...
1
Python
Python
add a small test that checks issue 9267
8be65329ec49049bffa8fb990b949fdc5b845c2b
<ide><path>tests/keras/engine/test_topology.py <ide> def test_recursion_with_bn_and_loss(): <ide> model2.fit(x, y, verbose=0, epochs=1) <ide> <ide> <add>@keras_test <add>def test_activity_regularization_with_model_composition(): <add> # Ensures that the shape of the input to the activity <add> # regularizer...
1
Text
Text
add static tweet link
f98e38c9b634b85e6679e7b5f953a9d98074cfc3
<ide><path>docs/basic-features/data-fetching.md <ide> export default Post <ide> <ide> #### `fallback: true` <ide> <add><details> <add> <summary><b>Examples</b></summary> <add> <ul> <add> <li><a href="https://static-tweet.now.sh">Static generation of a large number of pages</a></li> <add> </ul> <add></details> <...
1
Python
Python
add weight to (squared) hinge
c0b7044ce68e288e1cd34cadd60cbf4960bc3645
<ide><path>keras/objectives.py <ide> def mean_absolute_error(y_true, y_pred, weight=None): <ide> return T.abs_(y_pred - y_true).mean() <ide> <ide> def squared_hinge(y_true, y_pred, weight=None): <del> return T.sqr(T.maximum(1. - y_true * y_pred, 0.)).mean() <add> if weight is not None: <add> return T....
1
Javascript
Javascript
remove redundant oneoftype declaration
eb80a2b7f3ff8e84d13ec8ce01f72e01f2bad5d0
<ide><path>src/Container.js <ide> export default class ReduxContainer extends Component { <ide> static propTypes = { <ide> children: PropTypes.func.isRequired, <ide> actions: PropTypes.object.isRequired, <del> stores: PropTypes.oneOfType([ <del> PropTypes.arrayOf(PropTypes.func.isRequired).isRequired ...
1
Python
Python
improve authorization in gcp system tests
beef6c230e4ff266af7c16b639bfda659b2bf6c0
<ide><path>airflow/providers/google/cloud/utils/credentials_provider.py <ide> import json <ide> import logging <ide> import tempfile <del>from contextlib import contextmanager <add>from contextlib import ExitStack, contextmanager <ide> from typing import Dict, Optional, Sequence, Tuple <ide> from urllib.parse import ur...
5
Javascript
Javascript
handle undefined default_configuration
70281ce1f0598822d536a8c80c1a2b8fdfcd2a63
<ide><path>test/common/index.js <ide> const enoughTestCpu = Array.isArray(cpus) && <ide> <ide> const rootDir = isWindows ? 'c:\\' : '/'; <ide> <del>const buildType = process.config.target_defaults.default_configuration; <del> <add>const buildType = process.config.target_defaults ? <add> process.config.target_default...
1
Javascript
Javascript
reset lasteffect when resuming suspenselist
689d27586e30f94be1b7a7bb634b82633c2baf42
<ide><path>packages/react-reconciler/src/ReactFiberBeginWork.js <ide> function beginWork( <ide> // update in the past but didn't complete it. <ide> renderState.rendering = null; <ide> renderState.tail = null; <add> renderState.lastEffect = null; <ide> } <ide> ...
2
Text
Text
add note about resource type in async_hooks
064783cf5a8ffff697dbba092ed92eab535822b9
<ide><path>doc/api/async_hooks.md <ide> The `type` is a string identifying the type of resource that caused <ide> `init` to be called. Generally, it will correspond to the name of the <ide> resource's constructor. <ide> <add>Valid values are: <add> <ide> ```text <ide> FSEVENTWRAP, FSREQCALLBACK, GETADDRINFOREQWRAP, GE...
1
PHP
PHP
use numberformatter at the top of file
782322b808b6300d414c41887d5dc0a01efe41fe
<ide><path>src/Validation/Validation.php <ide> <ide> use Cake\Utility\Text; <ide> use LogicException; <add>use NumberFormatter; <ide> use RuntimeException; <ide> <ide> /** <ide> public static function decimal($check, $places = null, $regex = null) <ide> <ide> // account for localized floats. <ide> $l...
1
Ruby
Ruby
improve the error message
1d9309a5b2391b9f839dd23a213031267d03a281
<ide><path>activerecord/lib/active_record/migration.rb <ide> def run <ide> record_version_state_after_migrating(migration.version) <ide> end <ide> rescue => e <del> canceled_msg = use_transaction?(migration) ? ", the migration canceled" : "" <add> canceled_msg = use_trans...
2
Javascript
Javascript
fix tests for value change
cf1a96611f2c47b277bd8243159a2aa7a4f52180
<ide><path>src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js <ide> <ide> describe('ReactDOMComponent', function() { <ide> var React; <del> <ide> var ReactDOM; <add> var ReactDOMFeatureFlags; <ide> var ReactDOMServer; <ide> <ide> beforeEach(function() { <ide> jest.resetModuleRegistry(); <ide> ...
1
Javascript
Javascript
allow loading pdf fonts into another document
9b16b8ef7138ff4a165c2d5e0d075aafb11f449e
<ide><path>src/display/api.js <ide> function setPDFNetworkStreamFactory(pdfNetworkStreamFactory) { <ide> * parsed font data from the worker-thread. This may be useful for debugging <ide> * purposes (and backwards compatibility), but note that it will lead to <ide> * increased memory usage. The default value is...
5
Text
Text
use openpgp.org for keyserver examples
d274d63de211140b598e3117c82a23d6713c98c8
<ide><path>README.md <ide> For Current and LTS, the GPG detached signature of `SHASUMS256.txt` is in <ide> import the keys: <ide> <ide> ```console <del>$ gpg --keyserver pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D <add>$ gpg --keyserver hkps://keys.openpgp.org --recv-keys DD8F2338BAE75...
1
Ruby
Ruby
add new command
11d47e8325f50ab7993f3fca0432876da0ea1c11
<ide><path>Library/Homebrew/dev-cmd/boneyard-formula-pr.rb <add># Creates a pull request to boneyard a formula. <add># <add># Usage: brew boneyard-formula-pr [options...] <formula-name> <add># <add># Options: <add># --dry-run: Print what would be done rather than doing it. <add> <add>require "formula" <add>require "...
1