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
Text
Text
add note on changes to configuration options
faa4a527440fb1a8f47bf066bb89bbff380b914d
<ide><path>UPDATING.md <ide> https://developers.google.com/style/inclusive-documentation <ide> <ide> --> <ide> <add>### Change the configuration options for field masking <add> <add>We've improved masking for sensitive data in Web UI and logs. As part of it, the following configurations have been changed: <add> <add>...
1
Text
Text
fix typo in source maps documentation.
fa02b197f5254cfe9f0feabaa64e598d60d4745d
<ide><path>docs/advanced-features/source-maps.md <ide> description: Enables browser source map generation during the production build. <ide> <ide> # Source Maps <ide> <del>Source Maps are enabled by default during development. During production builds they are disabled as generation source maps can significantly incr...
1
Ruby
Ruby
prevent void context warnings
811fd0a6b47c83cd4f668127bb822dc5cdcfc0f5
<ide><path>activesupport/test/autoloading_fixtures/raises_arbitrary_exception.rb <ide> RaisesArbitraryException = 1 <del>A::B # Autoloading recursion, also expected to be watched and discarded. <add>_ = A::B # Autoloading recursion, also expected to be watched and discarded. <ide> <ide> raise Exception, 'arbitray exce...
2
Javascript
Javascript
define extra scope for switch-case
42cb86bfdcc5c782cd393deede1fbdd104feb186
<ide><path>lib/javascript/JavascriptParser.js <ide> class JavascriptParser extends Parser { <ide> if (switchCase.test) { <ide> this.walkExpression(switchCase.test); <ide> } <del> this.walkStatements(switchCase.consequent); <add> if (switchCase.consequent.length === 0) return; <add> if ( <add> switchC...
3
Javascript
Javascript
simplify array initialization
44c6b6b22a6ea92b3307bfcfab933b75b9b70639
<ide><path>test/parallel/test-buffer-alloc.js <ide> assert.throws(() => Buffer.from('', 'buffer'), TypeError); <ide> // Regression test for #6111. Constructing a buffer from another buffer <ide> // should a) work, and b) not corrupt the source buffer. <ide> { <del> let a = [0]; <del> for (let i = 0; i < 7; ++i) a = a...
1
Javascript
Javascript
explain blur events
095627ad17c7f85f723a74c38ce96674140592ea
<ide><path>src/ng/directive/ngEventDirs.js <ide> forEach( <ide> * @description <ide> * Specify custom behavior on blur event. <ide> * <add> * A [blur event](https://developer.mozilla.org/en-US/docs/Web/Events/blur) fires when <add> * an element has lost focus. <add> * <ide> * Note: As the `blur` event is executed s...
1
Javascript
Javascript
add assertion for the jquery#val method
659ac9c155a9ecee03e635dde1661be7081322f3
<ide><path>test/unit/attributes.js <ide> if ( "value" in document.createElement("meter") && <ide> } <ide> <ide> var testVal = function( valueObj ) { <del> expect( 8 ); <add> expect( 9 ); <ide> <ide> jQuery("#text1").val( valueObj("test") ); <ide> equal( document.getElementById("text1").value, "test", "Check for mod...
1
Python
Python
remove ftphook from hooks
05be03c9127644edf065b87ce6fbd9b8c30345de
<ide><path>airflow/hooks/__init__.py <ide> from airflow.hooks.base_hook import BaseHook as _BaseHook <ide> <ide> _hooks = { <del> 'ftp_hook': ['FTPHook'], <ide> 'hive_hooks': [ <ide> 'HiveCliHook', <ide> 'HiveMetastoreHook', <ide><path>airflow/hooks/ftp_hook.py <del>import datetime <del>import f...
2
Text
Text
add missing docs about binary remote contexts
a5ba032c7421ef7a429e780d12d0f604a045258a
<ide><path>docs/reference/api/docker_remote_api_v1.19.md <ide> or being killed. <ide> ignored if `remote` is specified and points to an individual filename. <ide> - **t** – A name and optional tag to apply to the image in the `name:tag` format. <ide> If you omit the `tag` the default `latest` value is...
8
Python
Python
add a test for simple rnn
bab230c0d6debd6b1ab2c521f21d133841c1a7f5
<ide><path>tests/keras/layers/test_simplernn.py <add>import theano <add>import unittest <add>from numpy.testing import assert_allclose <add>import numpy as np <add>from keras.layers.recurrent import SimpleRNN <add>from mock import Mock <add> <add>floatX = theano.config.floatX <add> <add>__author__ = "Jeff Ye" <add> <ad...
1
Text
Text
fix broken link
6d54a250472a5bb303f69adc4db8970bb8b9e3e0
<ide><path>share/doc/homebrew/Brew-Test-Bot-For-Core-Contributors.md <ide> This job automatically builds any pull requests submitted to Homebrew/homebrew-c <ide> ## [Homebrew Testing](https://bot.brew.sh/job/Homebrew%20Testing/) <ide> This job is manually triggered to run [`brew test-bot`](https://github.com/Homebrew/b...
1
Javascript
Javascript
add myntra to showcase
39bea429323248850dde609d821446b87ff3254d
<ide><path>website/src/react-native/showcase.js <ide> var apps = [ <ide> link: 'https://itunes.apple.com/us/app/mr.-dapper-men-fashion-app/id989735184?ls=1&mt=8', <ide> author: 'wei ping woon', <ide> }, <add> { <add> name: 'Myntra', <add> icon: 'http://a5.mzstatic.com/us/r30/Purple6/v4/9c/78/df/9c78dfa...
1
PHP
PHP
fix (aggregates with having)
5a92f04b0287c609d025cd8ea87829b9c7b3e290
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> public function average($column) <ide> */ <ide> public function aggregate($function, $columns = ['*']) <ide> { <del> $results = $this->cloneWithout($this->unions ? [] : ['columns']) <del> ->cloneWithoutBindings($this->...
3
Javascript
Javascript
unify inputdiscretelane with synclane
acde654698659326af0ac4eded4a3ae7cb780a55
<ide><path>packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.js <ide> describe('ReactDOMFiberAsync', () => { <ide> }); <ide> <ide> // @gate experimental <del> it('ignores discrete events on a pending removed element', () => { <add> it('ignores discrete events on a pending removed element', async (...
9
Text
Text
update image references
1d6e3c73cfd9c2bce6682274f08a09fa2ff98b0b
<ide><path>docs/your-first-package.md <ide> ol.entries .hide-me { <ide> Refresh Atom, and run the `changer` command. You'll see all the non-changed <ide> files disappear from the tree. Success! <ide> <del>![Changer File View](images/changer_file_view.png) <add>![Changer File View][changer-file-view] <ide> <ide> There...
1
Python
Python
move django.contrib.auth import out of compat
d4d9cc1d53fa38fdf6b38e2a64b4aa3a71a9760c
<ide><path>rest_framework/compat.py <ide> import django <ide> from django.apps import apps <ide> from django.conf import settings <del>from django.contrib.auth import views <ide> from django.core.exceptions import ImproperlyConfigured, ValidationError <ide> from django.core.validators import \ <ide> MaxLengthValida...
2
Javascript
Javascript
fix legacy suspense false positive
269dd6ec5da85fc5ca819cfa010ce60dd1c83ec6
<ide><path>packages/react-reconciler/src/ReactFiberHooks.new.js <ide> export function renderWithHooks<Props, SecondArg>( <ide> if ( <ide> current !== null && <ide> (current.flags & StaticMaskEffect) !== <del> (workInProgress.flags & StaticMaskEffect) <add> (workInProgress.flags & StaticMas...
3
Java
Java
add getprincipal to serverwebexchange
ec1eb14280e2a5b4584504938d657c63c938a0d0
<ide><path>spring-web/src/main/java/org/springframework/web/server/ServerWebExchange.java <ide> <ide> package org.springframework.web.server; <ide> <add>import java.security.Principal; <ide> import java.time.Instant; <ide> import java.util.Map; <ide> import java.util.Optional; <ide> public interface ServerWebExchange...
3
Python
Python
fix model call
22a00338e8b51a714955ea6ba4a03c6d3cf86b66
<ide><path>official/resnet/cifar10_main.py <ide> def __init__(self, resnet_size, data_format=None, num_classes=_NUM_CLASSES, <ide> conv_stride=1, <ide> first_pool_size=None, <ide> first_pool_stride=None, <del> second_pool_size=8, <del> second_pool_stride=1, <ide> block_size...
2
Java
Java
add refcount with count & disconnect timeout
cedfc538d05f8bdc5bfc6c644e258bdad946333f
<ide><path>src/main/java/io/reactivex/flowables/ConnectableFlowable.java <ide> <ide> package io.reactivex.flowables; <ide> <del>import io.reactivex.annotations.NonNull; <add>import java.util.concurrent.TimeUnit; <add> <ide> import org.reactivestreams.Subscriber; <ide> <del>import io.reactivex.Flowable; <add>import i...
4
Javascript
Javascript
upgrade harmonymodulesplugin to es6
4e2c8a1d6e5ac3e3957aaca04c69e10f9f40f9b5
<ide><path>lib/dependencies/HarmonyModulesPlugin.js <ide> MIT License http://www.opensource.org/licenses/mit-license.php <ide> Author Tobias Koppers @sokra <ide> */ <del>var HarmonyImportDependency = require("./HarmonyImportDependency"); <del>var HarmonyImportSpecifierDependency = require("./HarmonyImportSpecifierDep...
1
PHP
PHP
use input() to get page number
abc7b9889be3154d400443b8a9ba0a9435157dd6
<ide><path>src/Illuminate/Pagination/Environment.php <ide> public function getPaginationView(Paginator $paginator, $view = null) <ide> */ <ide> public function getCurrentPage() <ide> { <del> $page = (int) $this->currentPage ?: $this->request->query->get($this->pageName, 1); <add> $page = (int) $this->currentPage ...
1
PHP
PHP
add binary type
929202873c95e3f43068c56822da144fd72b65a6
<ide><path>lib/Cake/Model/Datasource/Database/Type/BinaryType.php <add><?php <add>/** <add> * PHP Version 5.4 <add> * <add> * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) <add> * <add> * Licensed under The MIT License <ad...
2
Go
Go
add token cache
dd914f91d779f64e20ce86767ab4f84f40b9ef6a
<ide><path>registry/auth.go <ide> import ( <ide> "os" <ide> "path" <ide> "strings" <add> "sync" <add> "time" <ide> <ide> log "github.com/Sirupsen/logrus" <ide> "github.com/docker/docker/utils" <ide> type RequestAuthorization struct { <ide> resource string <ide> scope string <ide> actions ...
1
Text
Text
fix typo `titlelize` -> `titleize` [ci skip]
b9fa0fd2f1060a1c2d3481a66a04d8bd71c04196
<ide><path>activesupport/CHANGELOG.md <del>* Update `titlelize` regex to allow apostrophes <add>* Update `titleize` regex to allow apostrophes <ide> <del> In 4b685aa the regex in `titlelize` was updated to not match apostrophes to <add> In 4b685aa the regex in `titleize` was updated to not match apostrophes ...
1
Javascript
Javascript
update config pickup from env
786626f21e99334d9d4ac4a3f934c891b78a5818
<ide><path>client/src/components/Donation/PaypalButton.js <ide> import PropTypes from 'prop-types'; <ide> import { connect } from 'react-redux'; <ide> import { createSelector } from 'reselect'; <ide> import { PayPalButton } from 'react-paypal-button-v2'; <del>import { paypalClientId } from '../../../config/env.json'; <...
3
Python
Python
add tests for empty quotes and escaped quotechars
1489805af8ec0f2b27e4f7439bdc4e48acfdaa6a
<ide><path>numpy/lib/tests/test_io.py <ide> def test_loadtxt_structured_dtype_with_quotes(): <ide> ) <ide> res = np.loadtxt(data, dtype=dtype, delimiter=";", quotechar="'") <ide> assert_array_equal(res, expected) <add> <add> <add>def test_loadtxt_quoted_field_is_not_empty(): <add> txt = StringIO('1\n\n"4...
1
Text
Text
fix entry for slack channel in onboarding.md
3d3aa5d8376e350343550f5c1819098b9115844c
<ide><path>onboarding.md <ide> onboarding session. <ide> * Watching the main repository will flood your inbox (several hundred <ide> notifications on typical weekdays), so be prepared <ide> <del>The project has two venues for real-time discussion: <add>The project has a venue for real-time discussion: <ide> <id...
1
Text
Text
add molow to triagers
eabd1c2dbc2c141ffa6688613bbc981f3f8223d3
<ide><path>README.md <ide> maintaining the Node.js project. <ide> **Xuguang Mei** <<meixuguang@gmail.com>> (he/him) <ide> * [Mesteery](https://github.com/Mesteery) - <ide> **Mestery** <<mestery@protonmail.com>> (he/him) <add>* [MoLow](https://github.com/MoLow) - <add> **Moshe Atlow** <<moshe@atlow.co.il>> (he/him)...
1
Python
Python
fix symlink function to check for windows
fefe6684cd9e0d9d24a895e48a19f5ab633fe7af
<ide><path>spacy/compat.py <ide> <ide> <ide> def symlink_to(orig, dest): <del> if is_python3: <del> orig.symlink_to(dest) <del> <del> elif is_python2: <add> if is_python2 and is_windows: <ide> import subprocess <ide> subprocess.call(['mklink', '/d', unicode(orig), unicode(dest)], shell...
1
Ruby
Ruby
fix regexp intervals
8a04bd0c832a5fe3f248225a732db54392e38fe4
<ide><path>railties/lib/rails/generators/generated_attribute.rb <ide> def parse(column_definition) <ide> # when declaring options curly brackets should be used <ide> def parse_type_and_options(type) <ide> case type <del> when /(string|text|binary|integer){(\d+)}/ <add> when /...
1
Python
Python
remove unused code
9f2c6d59bb43435b46c1192582e40e5f092c32b7
<ide><path>numpy/core/setup.py <ide> def testcode_mathlib(): <ide> """ <ide> <ide> import sys <del>def generate_testcode(target): <del> if sys.platform == 'win32': <del> target = target.replace('\\','\\\\') <del> testcode = [r''' <del>#include <Python.h> <del>#include <limits.h> <del>#include <stdio.h> <d...
1
Javascript
Javascript
remove hydrate() warning about empty container
35e31336109a5277623652634703b358eceb193f
<ide><path>src/renderers/dom/fiber/ReactDOMFiberEntry.js <ide> ReactGenericBatching.injection.injectFiberBatchedUpdates( <ide> ); <ide> <ide> var warnedAboutHydrateAPI = false; <del>var warnedAboutEmptyContainer = false; <ide> <ide> function renderSubtreeIntoContainer( <ide> parentComponent: ?ReactComponent<any, an...
3
Javascript
Javascript
add monitization meta
ebcb34f3d952a7adf47cacdf1a61642c17aef82a
<ide><path>client/src/head/meta.js <ide> const meta = [ <ide> 'companies including Google, Apple, Amazon, and Microsoft.' <ide> } <ide> name='twitter:description' <del> /> <add> />, <add> <meta content='$ilp.uphold.com/LJmbPn7WD4JB' name='monetization' /> <ide> ]; <ide> <ide> export default meta;
1
Javascript
Javascript
increase coverage for dns.promises.lookup()
7167eb2f12a5070c79d4373a0ac0010e6154c22e
<ide><path>test/parallel/test-dns-lookup.js <ide> const common = require('../common'); <ide> const assert = require('assert'); <ide> const { internalBinding } = require('internal/test/binding'); <ide> const cares = internalBinding('cares_wrap'); <add> <add>// Stub `getaddrinfo` to *always* error. This has to be done be...
1
PHP
PHP
add default link
b10ee6cc91a8e9f5edab9661fa48fb084f0e1ce6
<ide><path>src/Illuminate/Foundation/Console/StorageLinkCommand.php <ide> class StorageLinkCommand extends Command <ide> */ <ide> public function handle() <ide> { <del> foreach ($this->laravel['config']['filesystems.links'] ?? [] as $link => $target) { <add> foreach ($this->laravel['config'][...
1
PHP
PHP
allow string values for templates option
ffc092bc39b566028d29d6da2e7d57b3cd190922
<ide><path>src/View/Helper/FormHelper.php <ide> public function input($fieldName, array $options = []) { <ide> <ide> if ($newTemplates) { <ide> $templater->push(); <del> $templater->add($options['templates']); <add> $templateMethod = is_string($options['templates']) ? 'load' : 'add'; <add> $templater->{$tem...
3
Javascript
Javascript
fix typo in tests
a900cfcd95509487ba0f4fd98582d3c22592dc3a
<ide><path>packages/ember-views/tests/views/view/transition_to_deprecation_test.js <ide> test('deprecates when calling transitionTo', function() { <ide> }, ''); <ide> }); <ide> <del>test("doesn't deprecafte when calling _transitionTo", function() { <add>test("doesn't deprecate when calling _transitionTo", function()...
1
Javascript
Javascript
remove subscribable.mixin from react native core
afa6d9ba7bc9359070bbf76078d372b89e0a6427
<ide><path>Libraries/Components/Subscribable.js <del>/** <del> * Copyright (c) Facebook, Inc. and its affiliates. <del> * <del> * This source code is licensed under the MIT license found in the <del> * LICENSE file in the root directory of this source tree. <del> * <del> * @format <del> * @flow <del> */ <del> <del>'use...
1
Ruby
Ruby
show doctor error if xcode-select path is invalid
abe0be8a2e7ae2a84f5bae859bce0f0faf7008b1
<ide><path>Library/Homebrew/cmd/doctor.rb <ide> def check_xcode_prefix <ide> end <ide> end <ide> <add>def check_xcode_select_path <add> path = `xcode-select -print-path 2>/dev/null`.chomp <add> unless File.directory? path and File.file? "#{path}/usr/bin/xcodebuild" <add> # won't guess at the path they should us...
1
Text
Text
add initial list of technical priorities
8d6a02583f51368a76f4244584351b2e5d061e2a
<ide><path>doc/guides/technical-priorities.md <add># Technical Priorities <add> <add>This list represents the current view of key technical priorities recognized <add>by the project as important to ensure the ongoing success of Node.js. <add>It is based on an understanding of the Node.js <add>[constituencies](https://g...
1
Python
Python
fix race condition with dagrun callbacks
fb3031acf51f95384154143553aac1a40e568ebf
<ide><path>airflow/jobs/scheduler_job.py <ide> def _do_scheduling(self, session) -> int: <ide> # Bulk fetch the currently active dag runs for the dags we are <ide> # examining, rather than making one query per DagRun <ide> <add> callback_tuples = [] <ide> for dag_run in d...
3
Ruby
Ruby
remove a comment related to 920753f
73b13f7dc908e419a404add8a331436fe5d67708
<ide><path>activesupport/lib/active_support/core_ext/class/attribute.rb <ide> class Class <ide> # To opt out of both instance methods, pass <tt>instance_accessor: false</tt>. <ide> def class_attribute(*attrs) <ide> options = attrs.extract_options! <del> # double assignment is used to avoid "assigned but unus...
1
Ruby
Ruby
integrate brew home and cask home
ceb56df834d558d94251414672b97d1c7833ab95
<ide><path>Library/Homebrew/cmd/home.rb <ide> def home <ide> if args.no_named? <ide> exec_browser HOMEBREW_WWW <ide> else <del> exec_browser(*args.formulae.map(&:homepage)) <add> exec_browser(*args.formulae_and_casks.map(&:homepage)) <ide> end <ide> end <ide> end
1
PHP
PHP
remove unnecessary property
474e2732e55ef896b3a22333e1fd1f43c2ddab55
<ide><path>src/Http/Middleware/CsrfProtectionMiddleware.php <ide> class CsrfProtectionMiddleware implements MiddlewareInterface <ide> { <ide> /** <del> * Default config for the CSRF handling. <add> * Config for the CSRF handling. <ide> * <ide> * - `cookieName` The name of the cookie to send. <ide...
1
Python
Python
include trident.js in the extras_files build array
39e993d50d77a54b692b9b72a8bdebbe42b61522
<ide><path>utils/build.py <ide> 'extras/io/BinaryLoader.js', <ide> 'extras/io/SceneLoader.js', <ide> 'extras/objects/MarchingCubes.js', <add>'extras/objects/Trident.js', <ide> 'extras/physics/Collisions.js', <ide> 'extras/physics/CollisionUtils.js' <ide> ]
1
Text
Text
fix typo cppu
1c47a28c6b365c448b8bbe00b453e32e4844c1d9
<ide><path>guide/chinese/computer-hardware/cpu/index.md <ide> CPU速度以千兆赫兹(GHz)为单位。对于每千兆赫的速度,CPU <ide> <ide> 千兆赫不是处理器实际速度的唯一决定因素,因为具有相同千兆赫速度(也称为时钟速度)的不同处理器可能会以不同的速度执行实际任务,因为使用不同的指令集来执行这些任务。这些指令集称为CPU架构。 <ide> <del>大多数现代CPU使用64位架构,这意味着它们使用64位长的内存地址。较旧的CPU使用32位,16位甚至8位架构。 64位CPU可以存储的最大数量是18,446,744,073,709,552,000。 CPPU需...
1
Javascript
Javascript
move initial observer setup to finishpartial
6c428ec4a890d8e2e58e545d503995b46c327f5f
<ide><path>packages/ember-metal/lib/mixin.js <ide> function connectBindings(obj, m) { <ide> } <ide> } <ide> <add>function applyObservers(obj) { <add> var meta = Ember.meta(obj), <add> observers = meta.observers, <add> beforeObservers = meta.beforeObservers, <add> methodName, method, observerPaths, i,...
2
Ruby
Ruby
inline error message
d4c8f83381b909c7448c435244745d9ad08cc54b
<ide><path>Library/Homebrew/global.rb <ide> module Homebrew <ide> require 'compat' unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT'] <ide> <ide> ORIGINAL_PATHS = ENV['PATH'].split(File::PATH_SEPARATOR).map{ |p| Pathname.new(p).expand_path rescue nil }.compact.freeze <del> <del>SUDO_BAD_ERRMSG = <<-EOS.un...
2
Go
Go
allow libcontainer to eval symlink destination
f25bbedc85e8a99c1389dbe8f48436907ce24526
<ide><path>daemon/execdriver/native/create.go <ide> import ( <ide> "errors" <ide> "fmt" <ide> "net" <del> "path/filepath" <ide> "strings" <ide> "syscall" <ide> <ide> "github.com/docker/docker/daemon/execdriver" <del> "github.com/docker/docker/pkg/symlink" <ide> "github.com/docker/libcontainer/apparmor" <ide> "...
2
PHP
PHP
fix lint and failing tests
f5c242f4f77ab982e053981618ddda8ec4cec480
<ide><path>src/Error/Debugger.php <ide> public static function checkSecurityKeys(): void <ide> $salt = Security::getSalt(); <ide> if ($salt === '__SALT__' || strlen($salt) < 32) { <ide> trigger_error( <del> "Please change the value of `Security.salt` in `ROOT/config/app.php` t...
3
Python
Python
fix flaky test
d870e45eb0e4b3d6a8c8441d797becde2d17ab4d
<ide><path>tests/keras/layers/test_embeddings.py <ide> def test_unitnorm_constraint(): <ide> class_mode='binary') <ide> lookup.train_on_batch(X1, np.array([[1], [0]], dtype='int32')) <ide> norm = np.linalg.norm(K.get_value(lookup.params[0]), axis=1) <del> assert_allclose(norm, np.ones_like...
1
Python
Python
set version to v3.0.0a14
12e1279f6b4c8db6f7f9f399de6901a429d3aaca
<ide><path>spacy/about.py <ide> # fmt: off <ide> __title__ = "spacy-nightly" <del>__version__ = "3.0.0a13" <add>__version__ = "3.0.0a14" <ide> __release__ = True <ide> __download_url__ = "https://github.com/explosion/spacy-models/releases/download" <ide> __compatibility__ = "https://raw.githubusercontent.com/explosion/...
1
Go
Go
add todo for return error on registered()
69b0913e1f47c1f1bdf8d191f6061202455f875b
<ide><path>distribution/xfer/download.go <ide> type DownloadDescriptor interface { <ide> // DownloadDescriptorWithRegistered is successful. <ide> type DownloadDescriptorWithRegistered interface { <ide> DownloadDescriptor <add> <add> // TODO existing implementations in distribution and builder-next swallow errors <add>...
1
Python
Python
use list to modify in-place
89111adf059483780955f4176f536607d3e559a6
<ide><path>airflow/jobs.py <ide> def _execute(self): <ide> <ide> # Triggering what is ready to get triggered <ide> while tasks_to_run: <del> for key, ti in tasks_to_run.items(): <add> for key, ti in list(tasks_to_run.items()): <ide> ti.refresh_from_db() <ide> ...
1
Javascript
Javascript
fix ext commands to be double quoted
82f067e60bb3eb87cc1119655ae0a5968e988326
<ide><path>test/parallel/test-eval.js <ide> var exec = require('child_process').exec; <ide> var success_count = 0; <ide> var error_count = 0; <ide> <del>var cmd = [process.execPath, '-e', '"console.error(process.argv)"', <add>var cmd = ['"' + process.execPath + '"', '-e', '"console.error(process.argv)"', <ide> ...
10
Javascript
Javascript
update prefetch check to prevent re-prefetching
e360c105ab685caa62ef99c8227540a4c010df21
<ide><path>packages/next/client/page-loader.js <ide> export default class PageLoader { <ide> <ide> async prefetch (route) { <ide> route = this.normalizeRoute(route) <del> const scriptRoute = route === '/' ? '/index.js' : `${route}.js` <del> if (this.prefetchCache.has(scriptRoute)) { <add> const scriptRo...
2
Javascript
Javascript
move temporary state to node._tree
6e901439fd9080c0bf29ee3552d2b1ca592e073e
<ide><path>d3.layout.js <ide> d3.layout.tree = function() { <ide> y1 = 0; // max depth <ide> <ide> function firstWalk(node, previousSibling) { <del> var children = node.children; <del> if (!children) { <del> if (previousSibling) { <del> node.prelim = previousSibling.prelim + separ...
3
Python
Python
fix mypy in amazon provider for sagemaker operator
dd12cfcfe9034b8c11fe9e2c3e504bae2036bade
<ide><path>airflow/providers/amazon/aws/operators/sagemaker.py <ide> <ide> import json <ide> import sys <del>from typing import TYPE_CHECKING, List, Optional, Sequence <add>from typing import TYPE_CHECKING, Any, List, Optional, Sequence <ide> <ide> from botocore.exceptions import ClientError <ide> <ide> class SageMa...
1
Mixed
Go
remove redundant parameter and fix typos
713cae7ca2b8a5fa36e25f3fb30531f6400fafc3
<ide><path>cli/command/container/exec.go <ide> func NewExecCommand(dockerCli *command.DockerCli) *cobra.Command { <ide> } <ide> <ide> func runExec(dockerCli *command.DockerCli, opts *execOptions, container string, execCmd []string) error { <del> execConfig, err := parseExec(opts, container, execCmd) <add> execConfig, ...
4
Ruby
Ruby
remove surprise if from show_exception middleware
0f0630aaaeef2a7f9b57e09906a420b99a4f862f
<ide><path>actionpack/lib/action_dispatch/middleware/show_exceptions.rb <ide> def initialize(app, exceptions_app) <ide> def call(env) <ide> @app.call(env) <ide> rescue Exception => exception <del> raise exception if env['action_dispatch.show_exceptions'] == false <del> render_exception(env, exce...
1
Mixed
Javascript
allow `options` object as constructor arg
ce58df58d0360779d16d60ce3bb0e9979ec5fdf4
<ide><path>doc/api/console.md <ide> const { Console } = console; <ide> ``` <ide> <ide> ### new Console(stdout[, stderr][, ignoreErrors]) <add>### new Console(options) <ide> <!-- YAML <ide> changes: <ide> - version: v8.0.0 <ide> pr-url: https://github.com/nodejs/node/pull/9744 <ide> description: The `ignoreEr...
2
Ruby
Ruby
remove unused require
cf6b13b2be78c5728b23f8a69aad0bf6eaee5fcb
<ide><path>actionpack/lib/action_controller/metal/mime_responds.rb <del>require 'active_support/core_ext/array/extract_options' <ide> require 'abstract_controller/collector' <ide> <ide> module ActionController #:nodoc:
1
Text
Text
explain advanced contribution workflow more
b4d7b0f8657cd29147dd3215876b9f739ead7097
<ide><path>docs/sources/project/advanced-contributing.md <ide> The following provides greater detail on the process: <ide> <ide> 14. Acceptance and merge! <ide> <add>## About the Advanced process <add> <add>Docker is a large project. Our core team gets a great many design proposals. <add>Design proposal discussions c...
1
Mixed
Python
remove sql like function in base_hook
cb0bf4a142656ee40b43a01660b6f6b08a9840fa
<ide><path>UPDATING.md <ide> https://developers.google.com/style/inclusive-documentation <ide> <ide> --> <ide> <add>### Remove SQL support in base_hook <add> <add>Remove ``get_records`` and ``get_pandas_df`` and ``run`` from base_hook, which only apply for sql like hook, <add>If want to use them, or your custom hook ...
4
Ruby
Ruby
remove useless import
7eef8d35d7bda87d642eac47472aee5352ec0dea
<ide><path>activejob/test/jobs/application_job.rb <del>require_relative "../support/job_buffer" <del> <ide> class ApplicationJob < ActiveJob::Base <ide> end
1
Ruby
Ruby
update repology for changes to github module
ed23eb1fab44268a2ace3d5bafd2c45b38a6ce60
<ide><path>Library/Homebrew/test/dev-cmd/bump_spec.rb <ide> <ide> require "cmd/shared_examples/args_parse" <ide> <del>describe "Homebrew.bump_args" do <del> it_behaves_like "parseable arguments" <add>describe "brew bump" do <add> describe "Homebrew.bump_args" do <add> it_behaves_like "parseable arguments" <add> ...
3
Mixed
Javascript
use requirenativecomponent in view.js
7cd7591f0466bc8aca617f75f5fd2dee53712846
<ide><path>Libraries/Components/View/View.js <ide> var ReactNativeViewAttributes = require('ReactNativeViewAttributes'); <ide> var StyleSheetPropType = require('StyleSheetPropType'); <ide> var ViewStylePropTypes = require('ViewStylePropTypes'); <ide> <del>var createReactNativeComponentClass = require('createReactNativ...
3
Java
Java
return 500 (not 406) if content-type was preset
37f9ce5cc90644c8b157508c3370d1673c92af51
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/AbstractMessageWriterResultHandler.java <ide> protected Mono<Void> writeBody(@Nullable Object body, MethodParameter bodyParame <ide> } <ide> } <ide> <add> MediaType contentType = exchange.getResponse().getHeaders()....
4
Ruby
Ruby
remove needless print
933bbb9c372d3365be57aa11fdf5922b139c93dc
<ide><path>railties/test/application/test_runner_test.rb <ide> def test_run_in_parallel_with_threads <ide> app_path("/test/test_helper.rb") do |file_name| <ide> file = File.read(file_name) <ide> file.sub!(/parallelize\(([^\)]*)\)/, "parallelize(\\1, with: :threads)") <del> puts file <ide> ...
1
Ruby
Ruby
add dependencies to load_path
c3ea073a07cdf14b40102c72bf65419af83bb6ef
<ide><path>Library/Homebrew/utils/gems.rb <ide> def install_gem!(name, version: nil, setup_gem_environment: true) <ide> specs = Gem.install name, version, document: [] <ide> end <ide> <del> # Add the new specs to the $LOAD_PATH. <add> specs += specs.flat_map(&:runtime_dependencies) <add> ...
1
Text
Text
update informations about proptypes lib
7476fa1ca4dbd36605f7a05cb08d313ee7d6dfcb
<ide><path>guide/portuguese/react/what-are-react-props/index.md <ide> --- <del>title: React TypeChecking with PropTypes <del>localeTitle: Verificação de Tipo em React com PropTypes <add>title: Typechecking With PropTypes <add>localeTitle: Checagem de tipo com PropTypes <ide> --- <add> <ide> ## React PropTypes <ide> <d...
1
PHP
PHP
fix phpcs and linting errors
fc35c1564a44eec357844af7c923d05ba693d8cd
<ide><path>src/TestSuite/Stub/TestExceptionRenderer.php <ide> public function __construct(Throwable $exception) <ide> } <ide> <ide> /** <del> * {@inheritDoc} <add> * @inheritDoc <ide> */ <ide> public function render(): ResponseInterface <ide> { <ide> throw new LogicException('You c...
2
Javascript
Javascript
add support for assets
4ab4df07afb9766fda373138897bbbecb1d2d90d
<ide><path>packager/src/ModuleGraph/types.flow.js <ide> export type File = {| <ide> type: FileTypes, <ide> |}; <ide> <del>type FileTypes = 'module' | 'script'; <add>type FileTypes = 'module' | 'script' | 'asset'; <ide> <ide> export type GraphFn = ( <ide> entryPoints: Iterable<string>, <ide><path>packager/src/Modu...
2
PHP
PHP
fix cs errors and use correct exceptions
e45abe3449c24043b9ab888d2a4b0a29aef94996
<ide><path>src/Auth/ControllerAuthorize.php <ide> public function __construct(ComponentRegistry $registry, array $config = array() <ide> * <ide> * @param Controller $controller null to get, a controller to set. <ide> * @return \Cake\Controller\Controller <del> * @throws \Cake\Error\Exception If controller does not h...
14
Javascript
Javascript
remove disablehiddenpropdeprioritization flag
64f50c667a778c85dc8f1d56e26d881fada4c85a
<ide><path>packages/react-dom/src/client/ReactDOMHostConfig.js <ide> import { <ide> enableModernEventSystem, <ide> enableCreateEventHandleAPI, <ide> enableScopeAPI, <del> disableHiddenPropDeprioritization, <ide> } from 'shared/ReactFeatureFlags'; <ide> import {HostComponent, HostText} from 'react-reconciler/src/...
10
Javascript
Javascript
remove dup property
155687cb7ee23d7777d1072c4c2956564bff8ac4
<ide><path>lib/_stream_writable.js <ide> function WritableState(options, stream) { <ide> // if _final has been called <ide> this.finalCalled = false; <ide> <del> // if _final has been called <del> this.finalCalled = false; <del> <ide> // drain event flag. <ide> this.needDrain = false; <ide> // at the start...
1
Python
Python
fix flaky test
5bb5eb1657ea7517179b35f03949f4673b5c32d5
<ide><path>tests/keras/test_optimizers.py <ide> def get_model(input_dim, nb_hidden, output_dim): <ide> return model <ide> <ide> <del>def _test_optimizer(optimizer, target=0.9): <add>def _test_optimizer(optimizer, target=0.89): <ide> model = get_model(X_train.shape[1], 10, y_train.shape[1]) <ide> model.com...
1
Ruby
Ruby
check compilerselectionerror twice
5883f1675d71c09a722343ef3f71280c246bc1bb
<ide><path>Library/Contributions/cmd/brew-test-bot.rb <ide> def single_commit? start_revision, end_revision <ide> end <ide> end <ide> <add> def skip formula <add> puts "#{Tty.blue}==>#{Tty.white} SKIPPING: #{formula}#{Tty.reset}" <add> end <add> <ide> def setup <ide> @category = __method__ <ide> r...
1
PHP
PHP
fix insertion errors from the previous change
cafb4adfef041007a8c24c26d0411b18b074aa69
<ide><path>src/Database/Expression/ValuesExpression.php <ide> public function sql(ValueBinder $generator) <ide> } <ide> <ide> $i = 0; <del> $defaults = array_fill_keys($this->_columns, null); <add> $columns = []; <add> <add> // Remove identifier quoting so column names match keys. ...
2
Text
Text
add rowspan and colspan with example
63c30eb4627f2d78745b845dc0ad6c899fbe31c1
<ide><path>guide/english/html/tables/index.md <ide> Result: <ide> </tr> <ide> </tfoot> <ide> </table> <add> <add> <add>### Using Row Span and Col Span Attribute <add>With **Row Span** allows a single table cell to span the height of more than one cell or row. <add> <add>Example: <add> <add>```...
1
Javascript
Javascript
denormalize directive templates
dfe99836cd98c2a1b0f9bde6216bd44088de275a
<ide><path>src/ng/compile.js <ide> function $CompileProvider($provide) { <ide> } <ide> }; <ide> <add> var startSymbol = $interpolate.startSymbol(), <add> endSymbol = $interpolate.endSymbol(), <add> denormalizeTemplate = (startSymbol == '{{' || endSymbol == '}}') <add> ? identity ...
2
Python
Python
add one nested compound dtype
4f35a210e275600bd3f9c0a6df7be4fcb15c5101
<ide><path>numpy/core/tests/test_dtype.py <ide> def test_nonequivalent_record(self): <ide> <ide> class TestMonsterType(TestCase): <ide> """Test deeply nested subtypes.""" <del> pass <add> def test1(self): <add> simple1 = np.dtype({'names': ['r','b'], 'formats': ['u1', 'u1'], <add> 'titles':...
1
PHP
PHP
fix failing test on sqlserver
b8c00d4f5250692a2d96f0d75156921b23baf559
<ide><path>src/Database/Expression/CaseExpression.php <ide> class CaseExpression implements ExpressionInterface { <ide> * @param string|array|ExpressionInterface $trueValues Value of each condition if that condition is true <ide> * @param string|array|ExpressionInterface $defaultValue Default value if none of the con...
3
Python
Python
fix test_build_dependencies by ignoring new libs
617977427897bd2c2bb1fce9ff190a3045169cf9
<ide><path>spacy/language.py <ide> def _fix_pretrained_vectors_name(nlp): <ide> else: <ide> raise ValueError(Errors.E092) <ide> if nlp.vocab.vectors.size != 0: <del> link_vectors_to_models(nlp.vocab, skip_rank=True) <add> link_vectors_to_models(nlp.vocab) <ide> for name, proc in nlp.pi...
2
Ruby
Ruby
remove consts on cache clear
da9e42f3125d191ef73eabc0db03868229904231
<ide><path>Library/Homebrew/formulary.rb <ide> def self.formula_class_get(path) <ide> cache.fetch(path) <ide> end <ide> <add> def self.clear_cache <add> cache.each do |key, klass| <add> next if key == :formulary_factory <add> <add> namespace = klass.name.deconstantize <add> next if namespace.d...
1
Javascript
Javascript
add unit test for getdata
e00b986bd35856a86b07739284ae6431c46e5693
<ide><path>test/unit/api_spec.js <ide> describe('api', function() { <ide> expect(metadata.metadata.get('dc:title')).toEqual('Basic API Test'); <ide> }); <ide> }); <add> it('gets data', function() { <add> var promise = doc.getData(); <add> waitsForPromise(promise, function (data) { <add> ...
1
Javascript
Javascript
add errno property to exceptions
ca6ededbd1af5cc759ec98952b84c0b34edb2d40
<ide><path>lib/child_process.js <ide> function setupChannel(target, channel) { <ide> var writeReq = channel.write(buffer, 0, buffer.length, sendHandle); <ide> <ide> if (!writeReq) { <del> throw new Error(errno + 'cannot write to IPC channel.'); <add> throw errnoException(errno, 'write', 'cannot write...
1
Text
Text
fix version numbers in developers section of docs
8e640f4c710fde95d4542abc75cb779d6bd1c737
<ide><path>docs/docs/developers/index.md <ide> Thanks to [BrowserStack](https://browserstack.com) for allowing our team to test <ide> <ide> ## Previous versions <ide> <del>To migrate from version 3 to version 2, please see [the v3 migration guide](../getting-started/v3-migration). <add>To migrate from version 2 to ve...
1
Ruby
Ruby
add support for more http cache controls
c94a00757dac150b17d9272b72288217c66f0a2d
<ide><path>actionpack/lib/action_controller/metal/conditional_get.rb <ide> def expires_in(seconds, options = {}) <ide> response.cache_control.merge!( <ide> max_age: seconds, <ide> public: options.delete(:public), <del> must_revalidate: options.delete(:must_revalidate) <add> must_reva...
3
PHP
PHP
prevent negative offsets
54073e4bbc9f606f28b499b1e10d34db0b1ef53f
<ide><path>src/ORM/Behavior/TreeBehavior.php <ide> protected function _moveUp($node, $number) <ide> if (!$number) { <ide> return false; <ide> } <add> if ($number < 0) { <add> return $node; <add> } <ide> <ide> $config = $this->config(); <ide> list($pa...
1
Javascript
Javascript
use defaultagent.protocol in protocol check
9f23fe11418b66ab5812bed61e207af4e8f18efb
<ide><path>lib/_http_client.js <ide> function ClientRequest(options, cb) { <ide> } <ide> self.agent = agent; <ide> <add> var protocol = options.protocol || defaultAgent.protocol; <add> var expectedProtocol = defaultAgent.protocol; <add> if (self.agent && self.agent.protocol) <add> expectedProtocol = self.age...
2
Javascript
Javascript
expose plugins required by worker-loader
ba7cedf79f4323b9c70fa38dca78d27a944ff616
<ide><path>lib/webpack.js <ide> exportPlugins(exports, { <ide> "NamedModulesPlugin": () => require("./NamedModulesPlugin"), <ide> "NamedChunksPlugin": () => require("./NamedChunksPlugin"), <ide> "HashedModuleIdsPlugin": () => require("./HashedModuleIdsPlugin"), <add> "SingleEntryPlugin": () => require("./SingleEntry...
1
Java
Java
update javadoc in simpmessagesendingoperations
96563c7eea7f33e5a1fc37b6491ca333b2cca2c9
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/SimpMessageSendingOperations.java <ide> * the Spring Framework support for Simple Messaging Protocols (like STOMP). <ide> * <ide> * <p>For more on user destinations see <del> * {@link org.springframework.messaging.simp.user.UserDestinationR...
1
Javascript
Javascript
remove usage of require('util')
1500e5de64e4f7cfb482ad353293645a5599d93f
<ide><path>lib/internal/child_process.js <ide> const { validateString } = require('internal/validators'); <ide> const EventEmitter = require('events'); <ide> const net = require('net'); <ide> const dgram = require('dgram'); <del>const util = require('util'); <add>const inspect = require('internal/util/inspect').inspect...
1
Javascript
Javascript
add inspect function to tupleorigin
883173289d23fb9ad86a39dc074e77ee9e6969ee
<ide><path>lib/internal/url.js <ide> class TupleOrigin { <ide> result += `:${this.port}`; <ide> return result; <ide> } <add> <add> inspect() { <add> return `TupleOrigin { <add> scheme: ${this.scheme}, <add> host: ${this.host}, <add> port: ${this.port}, <add> domain: ${this.domain} <a...
2
Text
Text
remove link to google cert
307eda4e1cc8ac0847ac42385271fdf2a2c0d242
<ide><path>guide/english/certifications/index.md <ide> Upon completion of all six certificates, the freeCodeCamp [Full Stack Developmen <ide> For more information about freeCodeCamp, visit [about.freecodecamp.org](https://about.freecodecamp.org/). <ide> <ide> For more information about the new certification program, s...
1
Go
Go
fix a minor typo
ffcc4a1e52def3b1552ae3c7ba4ee1fb47f92cea
<ide><path>daemon/execdriver/native/driver.go <ide> func (d *driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, startCallba <ide> oom := notifyOnOOM(cont) <ide> waitF := p.Wait <ide> if nss := cont.Config().Namespaces; !nss.Contains(configs.NEWPID) { <del> // we need such hack for tracking processes with i...
1
Ruby
Ruby
preserve chained method punctuation
d399ee93329a72584009239f0fc010701361ba24
<ide><path>activerecord/lib/active_record/callbacks.rb <ide> def before_validation_on_update() end <ide> # existing objects that have a record. <ide> def after_validation_on_update() end <ide> <del> def valid_with_callbacks #:nodoc: <add> def valid_with_callbacks? #:nodoc: <ide> return false if ca...
1
Ruby
Ruby
fix cache invalidation
05568420c0f6290cf09c5448c2891e5134360629
<ide><path>Library/Homebrew/formula_installer.rb <ide> def finish <ide> # Updates the cache for a particular formula after doing an install <ide> CacheStoreDatabase.use(:linkage) do |db| <ide> break unless db.created? <del> LinkageChecker.new(keg, formula, cache_db: db) <add> LinkageChecker.new(...
4