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
Go
Go
use a nonexistant hostname
431e7b65733f2eb627bf69502355a66a35121e04
<ide><path>integration-cli/docker_cli_push_test.go <ide> func (s *DockerTrustSuite) TestTrustedPushWithFailingServer(c *check.C) { <ide> dockerCmd(c, "tag", "busybox", repoName) <ide> <ide> pushCmd := exec.Command(dockerBinary, "push", repoName) <del> s.trustedCmdWithServer(pushCmd, "https://example.com:81/") <add> ...
1
Python
Python
fix oldnumeric compatibility with ma
fd6d555f8e4cf04871c1c1ed71ad53e2b6009164
<ide><path>numpy/oldnumeric/ma.py <ide> # Incompatibility in that getmask and a.mask returns nomask <ide> # instead of None <ide> <del>from numpy.core.ma import * <del>import numpy.core.ma as nca <add>from numpy.ma import * <add>import numpy.ma as nca <ide> <ide> def repeat(a, repeats, axis=0): <ide> return nca....
1
Javascript
Javascript
use defaulthistorypath instead of path.join
ab3c84fc25320893e65fb0f5070b5ea4896350c7
<ide><path>test/parallel/test-repl-persistent-history.js <ide> ActionStream.prototype.readable = true; <ide> const UP = { name: 'up' }; <ide> const ENTER = { name: 'enter' }; <ide> const CLEAR = { ctrl: true, name: 'u' }; <add> <add>// File paths <add>const fixtures = common.fixturesDir; <add>const historyFixturePath =...
1
Ruby
Ruby
fix open redirects in active storage
77f2af34f91b04fa8e97b49d6f3a197c2a09c754
<ide><path>activestorage/app/controllers/active_storage/blobs/redirect_controller.rb <ide> class ActiveStorage::Blobs::RedirectController < ActiveStorage::BaseController <ide> <ide> def show <ide> expires_in ActiveStorage.service_urls_expire_in <del> redirect_to @blob.url(disposition: params[:disposition]) <a...
5
Text
Text
update changelog to include hostname commit
5d25f3232c38d6a7ed31860948058b8ec1d95656
<ide><path>CHANGELOG.md <ide> - Runtime: Spawn shell within upstart script <ide> - Builder: Make sure ENV instruction within build perform a commit each time <ide> - Runtime: Handle ip route showing mask-less IP addresses <add>- Runtime: Add hostname to environment <ide> <ide> ## 0.5.2 (2013-08-08) <ide> * Builder: F...
1
Javascript
Javascript
add strict equalities in src/core/worker.js
fb9fea2f36a341301c8f16ade9be173bd70e7c69
<ide><path>src/core/worker.js <ide> var WorkerMessageHandler = PDFJS.WorkerMessageHandler = { <ide> }, <ide> <ide> onError: function onError(status) { <del> if (status == 404) { <add> if (status === 404) { <ide> var exception = new MissingPDFException('Missing PDF "' + <id...
1
PHP
PHP
use array as is
86d36fa12f19720c9e018db647812eb3d02ebaab
<ide><path>src/Illuminate/Support/Collection.php <ide> public function flatten($depth = INF) <ide> return $this->reduce(function ($return, $item) use ($depth) { <ide> if ($item instanceof self || is_array($item)) { <ide> if ($depth === 1) { <del> return $return->me...
1
Python
Python
allow overrides for pod_template_file
a888198c27bcdbc4538c02360c308ffcaca182fa
<ide><path>airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py <ide> from airflow.utils.helpers import validate_key <ide> from airflow.utils.state import State <ide> from airflow.version import version as airflow_version <add>from airflow.kubernetes.pod_generator import PodGenerator <ide> <ide> <ide> class ...
2
Java
Java
restore compatibility with jackson 2.1
89cc8e04014f9edd314de3eb4ec0d455f771d35e
<ide><path>spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java <ide> public Object read(Type type, Class<?> contextClass, HttpInputMessage inputMessa <ide> return readJavaType(javaType, inputMessage); <ide> } <ide> <add> @SuppressWarnings("deprecation") <ide> ...
1
PHP
PHP
fix wrong docblocks parameter name
3213f88d9738e952d519b927f3389c72a1b2bb53
<ide><path>src/Illuminate/Foundation/Auth/AuthenticatesUsers.php <ide> protected function handleUserWasAuthenticated(Request $request, $throttles) <ide> /** <ide> * Get the failed login response instance. <ide> * <del> * @param \Illuminate\Http\Request $response <add> * @param \Illuminate\Http\Re...
1
Javascript
Javascript
add http2 test for method connect
88441f6baf616e38d8e2c795f6cffa24d4d1714c
<ide><path>test/parallel/test-http2-compat-method-connect.js <add>// Flags: --expose-http2 <add>'use strict'; <add> <add>const common = require('../common'); <add>if (!common.hasCrypto) <add> common.skip('missing crypto'); <add>const assert = require('assert'); <add>const http2 = require('http2'); <add> <add>const ser...
1
PHP
PHP
add support for releasing ironmq messages
1f58d8a3a6972eecb5bd88a4d713ee53c425cee9
<ide><path>src/Illuminate/Queue/Jobs/IronJob.php <ide> public function delete() <ide> */ <ide> public function release($delay = 0) <ide> { <del> // <add> $this->iron->releaseMessage($this->queue, $this->job->id); <ide> } <ide> <ide> /**
1
Javascript
Javascript
allow calls to the api without auth
ef39ab0e206398594581391f738618ae00d1bb09
<ide><path>api-server/server/boot/donate.js <ide> const log = debug('fcc:boot:donate'); <ide> <ide> export default function donateBoot(app, done) { <ide> let stripe = false; <add> const { User } = app.models; <ide> const api = app.loopback.Router(); <ide> const hooks = app.loopback.Router(); <ide> const donat...
3
Javascript
Javascript
remove unused msg parameter in debug_agent
5bd1642dd1797b6f1c016dfbaf6cf3c96075ac79
<ide><path>lib/_debug_agent.js <ide> function Client(agent, socket) { <ide> } <ide> util.inherits(Client, Transform); <ide> <del>Client.prototype.destroy = function destroy(msg) { <add>Client.prototype.destroy = function destroy() { <ide> this.socket.destroy(); <ide> <ide> this.emit('close');
1
PHP
PHP
add missing type to param in docblock
e689ae9869bf264b9fcc8aac4b006a256798f693
<ide><path>src/Illuminate/Http/Resources/MergeValue.php <ide> class MergeValue <ide> /** <ide> * Create new merge value instance. <ide> * <del> * @param \Illuminate\Support\Collection|array $data <add> * @param \Illuminate\Support\Collection|JsonSerializable|array $data <ide> * @return vo...
1
Java
Java
restore response after beforecommit action errors
08e9372ded3c36255389727465158007daae34f4
<ide><path>spring-web/src/main/java/org/springframework/http/server/reactive/AbstractServerHttpResponse.java <ide> public boolean isCommitted() { <ide> @Override <ide> @SuppressWarnings("unchecked") <ide> public final Mono<Void> writeWith(Publisher<? extends DataBuffer> body) { <del> // Write as Mono if possible as...
2
Java
Java
add support for rcttext under flatuiimplementation
5c2f536e9a914f9d60915d3dae69fefd001027b7
<ide><path>ReactAndroid/src/main/java/com/facebook/react/flat/AbstractDrawCommand.java <add>/** <add> * Copyright (c) 2015-present, Facebook, Inc. <add> * All rights reserved. <add> * <add> * This source code is licensed under the BSD-style license found in the <add> * LICENSE file in the root directory of this source ...
21
PHP
PHP
fix a couple of failing tests
64f34b75a23bea07c896a0c1d11d5864f30ffa0c
<ide><path>lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php <ide> public function testStringConditionsParsing() { <ide> $expected = " WHERE SUM(`Post`.`comments_count`) > 500"; <ide> $this->assertEquals($expected, $result); <ide> <del> $result = $this->Dbo->conditions("(Post.created < '" . date('Y-m-d H...
1
Text
Text
add chinese version of chapter rendertargets
34771f527b6ac72d6948623a23e2662a6bdb55b9
<ide><path>threejs/lessons/zh_cn/threejs-rendertargets.md <add>Title: Three.js 渲染目标 <add>Description: 如何渲染到纹理 <add>TOC: 渲染目标 <add> <add>在three.js中,渲染目标大体上指的是可以被渲染的纹理。当它被渲染之后,你可以像使用其他纹理一样使用它。 <add> <add>让我们举个简单的例子。我们将从[the article on responsiveness](threejs-responsive.html)开始。 <add> <add>渲染到渲染目标基本上跟通常的渲染一样。首先我们创建一个 `Web...
1
Text
Text
add breaking change from 5f3f25a1
c5b32f14d577384c3a4c01d1af16628cdfacc808
<ide><path>CHANGELOG.md <ide> Closes #8803 <ide> Closes #6910 <ide> Closes #5402 <ide> <add>- **$compile:** due to [5f3f25a1](https://github.com/angular/angular.js/commit/5f3f25a1a6f9d4f2a66e2700df3b9c5606f1c255), <ide> <add>The returned value from directive controller constructors are now ignored, and only the const...
1
Text
Text
fix a typo
842e19bbeb9a595995770f4dba952483c8e4789a
<ide><path>README.md <ide> Code is under the [BSD 2 Clause (NetBSD) license](https://github.com/Homebrew/ho <ide> Documentation is under the [Creative Commons Attribution license](https://creativecommons.org/licenses/by/4.0/). <ide> <ide> ## Donations <del>Homebrew is a non-profit project run entirely by unpaid volunt...
1
Javascript
Javascript
remove react.error and react.warn
8d413bf2c3679befe8c6b56733b7c6f6e467ec07
<ide><path>packages/react/src/React.js <ide> import { <ide> jsxWithValidationDynamic, <ide> } from './ReactElementValidator'; <ide> import ReactSharedInternals from './ReactSharedInternals'; <del>import {error, warn} from './withComponentStack'; <ide> import createEvent from 'shared/createEventComponent'; <ide> impor...
3
Python
Python
enable openmp compiler option for msvc
91b3f1c12ffed962aff185441e61a2c2638a5127
<ide><path>setup.py <ide> # which is really known only after finalize_options <ide> # http://stackoverflow.com/questions/724664/python-distutils-how-to-get-a-compiler-that-is-going-to-be-used <ide> compile_options = { <del> 'msvc': ['/Ox', '/EHsc'], <add> 'msvc': ['/Ox', '/EHsc', '/openmp'], <ide> 'mingw32' ...
1
Text
Text
add the advisory=rc metadata
daedbc60d61387cb284b871145b672006da1b6de
<ide><path>docs/reference/commandline/node_inspect.md <ide> title = "node inspect" <ide> description = "The node inspect command description and usage" <ide> keywords = ["node, inspect"] <add>advisory = "rc" <ide> [menu.main] <ide> parent = "smn_cli" <ide> +++ <ide><path>docs/reference/commandline/node_ls.md <ide> titl...
16
Javascript
Javascript
add dependencies when using loadmodule
b362c227b7a534ed74ee0e2a7432286a5a01d160
<ide><path>lib/dependencies/LoaderPlugin.js <ide> LoaderPlugin.prototype.apply = function(compiler) { <ide> var dep = new LoaderDependency(request); <ide> compilation.addModuleDependencies(module, [[dep]], true, "lm", false, function(err, module) { <ide> if(err) return callback(err); <del> <add> <ide>...
1
Python
Python
add broadcasting test
d5622a4176b8780bfaff9d434248bfee57b2c950
<ide><path>numpy/core/tests/test_einsum.py <ide> def check_einsum_sums(self, dtype, do_opt=False): <ide> # singleton dimensions broadcast (gh-10343) <ide> p = np.ones((10,2)) <ide> q = np.ones((1,2)) <del> assert_array_equal(np.einsum('ti,ti->i', p, q, optimize=True), <del> ...
1
Text
Text
clarify purpose of state property in es6 classes
60760eb915d699eab0e688effbb4134698f81624
<ide><path>docs/docs/05-reusable-components.md <ide> class HelloMessage extends React.Component { <ide> ReactDOM.render(<HelloMessage name="Sebastian" />, mountNode); <ide> ``` <ide> <del>The API is similar to `React.createClass` with the exception of `getInitialState`. Instead of providing a separate `getInitialState...
1
Go
Go
fix flaky testupdaterestartpolicy on windows
f43683d60dc6d33c7e5569b24b46d2608a11d865
<ide><path>integration-cli/docker_cli_update_test.go <ide> func (s *DockerSuite) TestUpdateRestartPolicy(c *check.C) { <ide> out, _ := dockerCmd(c, "run", "-d", "--restart=on-failure:3", "busybox", "sh", "-c", "sleep 1 && false") <ide> timeout := 60 * time.Second <ide> if daemonPlatform == "windows" { <del> timeout...
1
Javascript
Javascript
dump string values in jsc heap capture
348a8078bc698f5c22006b94ee283dc5c84e76b0
<ide><path>local-cli/server/middleware/heapCaptureMiddleware.js <ide> function getSourceMapForUrl(url, onFailure, onSuccess) { <ide> return; <ide> } <ide> <add> if (url === 'assets://default_bundle') { <add> onFailure('Don\'t know how to symbolicate in-app bundle, please load from server'); <add> return; ...
1
PHP
PHP
fix error in previous commit
388b20dd9d4555c60aaddafb18f87e50c3d17563
<ide><path>lib/Cake/Model/Model.php <ide> public function saveAssociated($data = null, $options = array()) { <ide> $return = array(); <ide> $validates = true; <ide> foreach ($data as $association => $values) { <del> if (isset($associations[$association]) && $associations[$association] === 'belongsTo') { <add> ...
2
Javascript
Javascript
transform response data on error
98d489558e6ac0829d9eb8e6ca3a4d6800fd7a7a
<ide><path>lib/core/dispatchRequest.js <ide> module.exports = function dispatchRequest(config) { <ide> ); <ide> <ide> return response; <add> }, function onRejected(error) { <add> // Transform response data <add> if (error && error.response) { <add> error.response.data = transformData( <...
2
Python
Python
resolve duplicate error for ipaddressfield. closes
b6c4d8c25a3df5f470943d28d401e24eddcc1df9
<ide><path>rest_framework/utils/field_mapping.py <ide> def get_field_kwargs(field_name, model_field): <ide> if validator is not validators.validate_slug <ide> ] <ide> <add> # IPAddressField do not need to include the 'validate_ipv46_address' argument, <add> if isinstance(model_field, models.G...
1
Javascript
Javascript
update imports in ember-routing package tests
18ad953303c6a73caad687de375499a4f22d8ed2
<ide><path>packages/ember-routing/tests/location/auto_location_test.js <del>import { get } from 'ember-metal/property_get'; <del>import run from 'ember-metal/run_loop'; <del>import assign from 'ember-metal/assign'; <del>import AutoLocation from 'ember-routing/location/auto_location'; <add>import { get, run, assign } fr...
10
Text
Text
add global fashion group as an airflow user
c70d8f59c38541f4b02cacca0d57d5368a72ef5c
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> 1. [GameWisp](https://gamewisp.com) [[@tjbiii](https://github.com/TJBIII) & [@theryanwalls](https://github.com/theryanwalls)] <ide> 1. [Gentner Lab](http://github.com/gentnerlab) [[@neuromusic](https://github.com/neuromusic)] <ide> 1. [Glassdoor](...
1
Mixed
Python
add negation ~ operator to permissions composition
2daf6f13414f1a5d363b5bc4a2ce3ba294a7766c
<ide><path>docs/api-guide/permissions.md <ide> Provided they inherit from `rest_framework.permissions.BasePermission`, permissi <ide> } <ide> return Response(content) <ide> <del>__Note:__ it only supports & -and- and | -or-. <add>__Note:__ it supports & (and), | (or) and ~ (not). <ide> <ide> -...
3
Text
Text
add opensignal to inthewild.md
04b8adf69deac5e91a4ffa1fa2be9c0c1431f386
<ide><path>INTHEWILD.md <ide> Currently, **officially** using Airflow: <ide> 1. [OneFineStay](https://www.onefinestay.com) [[@slangwald](https://github.com/slangwald)] <ide> 1. [Open Knowledge International](https://okfn.org) [@vitorbaptista](https://github.com/vitorbaptista) <ide> 1. [OpenSlate](https://openslate.com)...
1
Javascript
Javascript
avoid double calls to $templatecache.put
8c3a42cd684245b08054d9c987db80a399837954
<ide><path>src/ng/templateRequest.js <ide> function $TemplateRequestProvider() { <ide> <ide> return $http.get(tpl, httpOptions) <ide> .then(function(response) { <del> var html = response.data; <ide> self.totalPendingRequests--; <del> $templateCache.put(tpl, html); <del> ...
2
Java
Java
improve determinism of groupby.testunsubscribe
1cc2f6aebaa6138cca414c5b10a41f8dc974b010
<ide><path>rxjava-core/src/main/java/rx/operators/OperationGroupBy.java <ide> public void onNext(String outputMessage) { <ide> // sentEvents will go until 'eventCounter' hits 20 and then unsubscribes <ide> // which means it will also send (but ignore) the 19/20 events for the other group <ide> ...
1
Java
Java
use the reactor netty websocketserverspec
0520ee0fb62464687b74e7ad3bc234c30baa3732
<ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/socket/server/upgrade/ReactorNettyRequestUpgradeStrategy.java <ide> <ide> import reactor.core.publisher.Mono; <ide> import reactor.netty.http.server.HttpServerResponse; <add>import reactor.netty.http.server.WebsocketServerSpec; <ide> <ide> impor...
1
Python
Python
improve type hinting for celery provider
5bb228d841585cd1780c15f6175c6d64cd98aeab
<ide><path>airflow/providers/celery/sensors/celery_queue.py <ide> # specific language governing permissions and limitations <ide> # under the License. <ide> <add>from typing import Any, Dict, Optional <add> <ide> from celery.app import control <ide> <ide> from airflow.sensors.base_sensor_operator import BaseSensorOpe...
1
Javascript
Javascript
add _allkeys descriptor for object.keys behavior
78d3d30d5684b26773bb2c46b8a972908e110cf3
<ide><path>src/core/core.config.js <ide> export default class Config { <ide> * @param {object[]} scopes <ide> * @param {object} [context] <ide> * @param {string[]} [prefixes] <del> * @param {{scriptable: boolean, indexable: boolean}} [descriptorDefaults] <add> * @param {{scriptable: boolean, indexable: boo...
4
Python
Python
make zeropadding2d optionally asymmetric
169c0896d6b7a9109b4fc462d24674e9b350a5e5
<ide><path>keras/backend/tensorflow_backend.py <ide> def temporal_padding(x, padding=1): <ide> return tf.pad(x, pattern) <ide> <ide> <add>def asymmetric_temporal_padding(x, left_pad=1, right_pad=1): <add> '''Pad the middle dimension of a 3D tensor <add> with "left_pad" zeros left and "right_pad" right. <add...
4
Ruby
Ruby
remove homebrew_prefix/bin from path
bcf0d6f2450cdea84a32f9a844307804f542fc21
<ide><path>Library/Homebrew/build.rb <ide> def install f <ide> <ide> if superenv? <ide> ENV.deps = keg_only_deps.map(&:to_s) <add> ENV.all_deps = f.recursive_deps.map(&:to_s) <ide> ENV.x11 = f.recursive_requirements.detect{|rq| rq.class == X11Dependency } <ide> ENV.setup_build_environment <ide> f....
3
Ruby
Ruby
handle leading spaces in protocol while sanitizing
e7e4deec117154d34db1b18341c00c497e65e089
<ide><path>actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb <ide> def process_attributes_for(node, options) <ide> <ide> def contains_bad_protocols?(attr_name, value) <ide> uri_attributes.include?(attr_name) && <del> (value =~ /(^[^\/:]*):|(&#0*58)|(&#x70)|(%|&#37;)3A/ && !allowed_p...
2
Ruby
Ruby
add nodoc to some private constants [ci skip]
4128e70791ca09c405deda15764e5c09e6c0a12a
<ide><path>actionpack/lib/action_dispatch/middleware/cookies.rb <ide> def signed_or_encrypted <ide> # to the Message{Encryptor,Verifier} allows us to handle the <ide> # (de)serialization step within the cookie jar, which gives us the <ide> # opportunity to detect and migrate legacy cookies. <del> module ...
1
Text
Text
move api docs to apiv1.13
cf513185b0803ac02bbd8cef05e3372e7fc3b269
<ide><path>docs/sources/reference/api/docker_remote_api.md <ide> page_keywords: API, Docker, rcli, REST, documentation <ide> encoded (JSON) string with credentials: <ide> `{'username': string, 'password': string, 'email': string, 'serveraddress' : string}` <ide> <del>The current version of the API is v1.12 <add>...
4
Ruby
Ruby
use more generic cflags when building bottles
c71f883fa8a6a5bd2f9a42207e1fd1476c2a44b8
<ide><path>Library/Homebrew/extend/ENV.rb <ide> def gcc_4_0_1 <ide> self['CC'] = '/usr/bin/gcc-4.0' <ide> self['CXX'] = '/usr/bin/g++-4.0' <ide> replace_in_cflags '-O4', '-O3' <del> set_cpu_cflags 'nocona -mssse3', :core => 'prescott' <add> set_cpu_cflags 'nocona -mssse3', :core => 'prescott', :bottle...
1
PHP
PHP
remove the upgrade tool
7b6c4ad750a9c851938eb3bd0a3104c9ef9f2c25
<ide><path>src/Command/UpgradeCommand.php <del><?php <del>declare(strict_types=1); <del> <del>/** <del> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <del> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <del> * <del> * Licensed under The MIT License <del> * For full copy...
2
Ruby
Ruby
truncate output to 1mb
7312b4a1a43c77c819b5d02db574572d6d6e4656
<ide><path>Library/Homebrew/cmd/test-bot.rb <ide> <ide> module Homebrew <ide> EMAIL_SUBJECT_FILE = "brew-test-bot.#{MacOS.cat}.email.txt" <add> BYTES_IN_1_MEGABYTE = 1024*1024 <ide> <ide> def homebrew_git_repo tap=nil <ide> if tap <ide> def test_bot <ide> if output.respond_to?(:force_encoding) &&...
1
Java
Java
remove double lookup of uimanager
8c013173f80d60eb6bced8930280caab8bc08ee2
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerHelper.java <ide> private static UIManager getUIManager( <ide> @UIManagerType int uiManagerType, <ide> boolean returnNullIfCatalystIsInactive) { <ide> if (context.isBridgeless()) { <del> @Nullable <del> UIManager uiMan...
1
Go
Go
allow initial response
f033ce3ee9ee055612acacde537687e41865e14f
<ide><path>utils/resumablerequestreader.go <ide> func ResumableRequestReader(c *http.Client, r *http.Request, maxfail uint32, tot <ide> return &resumableRequestReader{client: c, request: r, maxFailures: maxfail, totalSize: totalsize} <ide> } <ide> <add>func ResumableRequestReaderWithInitialResponse(c *http.Client, r ...
1
Python
Python
remove redundant parentheses
78119182faaa5489aa3ec152808f132686b87df9
<ide><path>airflow/www/views.py <ide> def _mark_dagrun_state_as_failed(self, dag_id, execution_date, confirmed, origin <ide> <ide> response = self.render_template( <ide> 'airflow/confirm.html', <del> message=("Here's the list of task instances you are about to mark as failed"...
1
Javascript
Javascript
pass secureprotocol through on tls.server creation
d0e84b0088a865ed59afd4854b40a3eaf864928b
<ide><path>lib/tls.js <ide> function Server(/* [options], listener */) { <ide> key: self.key, <ide> cert: self.cert, <ide> ca: self.ca, <add> secureProtocol: self.secureProtocol, <ide> crl: self.crl <ide> }); <ide> //creds.context.setCiphers('RC4-SHA:AES128-SHA:AES256-SHA'); <ide> S...
1
Python
Python
update docstrings and types
c675746ca2ffbe13c06751cd30168c55b7d372fc
<ide><path>spacy/gold/batchers.py <ide> def configure_minibatch_by_words( <ide> <ide> <ide> @registry.batchers("batch_by_sequence.v1") <del>def configure_minibatch(size: Sizing, get_length=None) -> BatcherT: <add>def configure_minibatch( <add> size: Sizing, get_length: Optional[Callable[[ItemT], int]] = None <add>...
2
Go
Go
use real root with 0701 perms
7f5e39bd4f92ce6fcf9946aa8ccea91815c321c2
<ide><path>daemon/container_operations_unix.go <ide> func (daemon *Daemon) setupContainerMountsRoot(c *container.Container) error { <ide> if err != nil { <ide> return err <ide> } <del> return idtools.MkdirAllAndChown(p, 0700, daemon.idMapping.RootPair()) <add> return idtools.MkdirAllAndChown(p, 0701, idtools.Curren...
12
Mixed
Javascript
fix spawning from preload scripts
360e8c842a25df0ccf8d64dbba94cc83ae66a4a1
<ide><path>doc/api/worker_threads.md <ide> Calling `unref()` on a worker allows the thread to exit if this is the only <ide> active handle in the event system. If the worker is already `unref()`ed calling <ide> `unref()` again has no effect. <ide> <add>## Notes <add> <add>### Launching worker threads from preload scri...
4
Javascript
Javascript
remove null sibling
80d39d8b5733d4ab22033aaf8b805de723e28fd1
<ide><path>packages/react-reconciler/src/ReactFiberCommitWork.new.js <ide> function detachFiber(fiber: Fiber) { <ide> // get GC:ed but we don't know which for sure which parent is the current <ide> // one so we'll settle for GC:ing the subtree of this child. This child <ide> // itself will be GC:ed when the paren...
2
Javascript
Javascript
verify order of error in h2 server stream
e03bcb126152fdef68c8509e7e95a2b4b4e93fd9
<ide><path>test/parallel/test-http2-error-order.js <add>'use strict'; <add> <add>const common = require('../common'); <add>if (!common.hasCrypto) <add> common.skip('missing crypto'); <add> <add>const assert = require('assert'); <add>const { createServer, connect } = require('http2'); <add> <add>const messages = []; <a...
1
Javascript
Javascript
add openssl 3.0 checks to tls-passphrase
f00c2435922a33f9d866846d0b5d12691b148348
<ide><path>test/parallel/test-tls-passphrase.js <ide> server.listen(0, common.mustCall(function() { <ide> })).unref(); <ide> <ide> const errMessagePassword = common.hasOpenSSL3 ? <del> /processing error/ : /bad decrypt/; <add> /Error: PEM_read_bio_PrivateKey/ : /bad decrypt/; <ide> <ide> // Missing passphrase <ide>...
1
Text
Text
add me-br to who uses airflow list
c328871a0415431f6753a3b9718238b847925f54
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> 1. [Mercadoni](https://www.mercadoni.com.co) [[@demorenoc](https://github.com/demorenoc)] <ide> 1. [Mercari](http://www.mercari.com/) [[@yu-iskw](https://github.com/yu-iskw)] <ide> 1. [MFG Labs](https://github.com/MfgLabs) <add>1. [Ministry of Eco...
1
PHP
PHP
environment()
9149adac43f02be1fe12513e3613853bcd72d860
<ide><path>tests/Foundation/FoundationApplicationTest.php <ide> public function testSingleProviderCanProvideMultipleDeferredServices() <ide> $this->assertEquals('foobar', $app->make('bar')); <ide> } <ide> <add> <add> public function testEnvironment() <add> { <add> $app = new Application; <add> $app['env'] = 'foo'...
1
Text
Text
remove duplicates repo from acceptable formula doc
251270e9a3311fccc1b6c56a74cb2cecdfffb4a2
<ide><path>docs/Acceptable-Formulae.md <ide> There are exceptions: <ide> | openssl | macOS's openssl is deprecated & outdated | <ide> | libxml2 | Historically, macOS's libxml2 has been buggy ...
1
Ruby
Ruby
remove unused variables to avoid warnings
b1f8ba138360cd67994d4134f57abca74f8528bc
<ide><path>actionpack/test/template/date_helper_test.rb <ide> def test_date_select_with_nil_and_blank_and_discard_month <ide> def test_date_select_with_nil_and_blank_and_discard_year <ide> @post = Post.new <ide> <del> start_year = Time.now.year-5 <del> end_year = Time.now.year+5 <del> <ide> expected ...
1
Python
Python
remove double bias
94ff2d6ee8280c5595b92c1128c0f18e44925e56
<ide><path>src/transformers/modeling_albert.py <ide> def forward(self, hidden_states): <ide> hidden_states = self.LayerNorm(hidden_states) <ide> hidden_states = self.decoder(hidden_states) <ide> <del> prediction_scores = hidden_states + self.bias <add> prediction_scores = hidden_states <i...
3
PHP
PHP
add core namespace
af1ed62ba8b9c3b432829739f76934fd0119a11d
<ide><path>src/Command/HelpCommand.php <ide> protected function asText($io, $commands) <ide> foreach ($invert as $class => $names) { <ide> $prefixedName = $this->findPrefixedName($names); <ide> if (!$prefixedName) { <del> $prefixed['[app]'][] = $this->getShortestName($name...
1
Java
Java
simplify oss enums
c5186aeb461a6eafa582b0acba1b3cebfb83550b
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/AccessibilityDelegateUtil.java <ide> public class AccessibilityDelegateUtil { <ide> */ <ide> <ide> public enum AccessibilityRole { <del> NONE(null), <del> BUTTON("android.widget.Button"), <del> LINK("android.widget.ViewGroup"), <del> S...
14
Javascript
Javascript
fix comment typo, thanks @aurelioderosa
bb3fff9ac2c7c8b07809219305d7f86d282fd84f
<ide><path>src/offset.js <ide> jQuery.fn.extend({ <ide> elem = this[ 0 ], <ide> parentOffset = { top: 0, left: 0 }; <ide> <del> // Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent <add> // Fixed elements are offset from window (parentOffset = {top:0,...
1
Text
Text
update version references in the readme
fcd4be393365a480654aace0e4c0996bfe612ba6
<ide><path>README.md <ide> The fastest way to get started is to serve JavaScript from the CDN (also availab <ide> <ide> ```html <ide> <!-- The core React library --> <del><script src="http://fb.me/react-0.11.2.js"></script> <add><script src="http://fb.me/react-0.12.0.js"></script> <ide> <!-- In-browser JSX transformer...
1
Ruby
Ruby
add predicate methods to tab to match buildoptions
f1cf62a4b5997fd86153d1c66963418bae46368c
<ide><path>Library/Homebrew/tab.rb <ide> def self.dummy_tab f=nil <ide> <ide> def with? name <ide> if options.include? "with-#{name}" <del> used_options.include? "with-#{name}" <add> include? "with-#{name}" <ide> elsif options.include? "without-#{name}" <del> not used_options.include? "without...
1
Go
Go
remove solaris files
1589cc0a85396e2768bfe9e558c7c2100dc3bc87
<ide><path>cmd/dockerd/config_solaris.go <del>package main <del> <del>import ( <del> "github.com/docker/docker/daemon/config" <del> "github.com/spf13/pflag" <del>) <del> <del>// installConfigFlags adds flags to the pflag.FlagSet to configure the daemon <del>func installConfigFlags(conf *config.Config, flags *pflag.Flag...
17
Javascript
Javascript
return the property we're actually setting
1def646e099fc0e4d209fef06a75e5003ad479f2
<ide><path>src/text-editor.js <ide> class TextEditor { <ide> this.update({enableKeyboardInput: enabled}) <ide> } <ide> <del> isKeyboardInputEnabled () { return this.keyboardInputEnabled } <add> isKeyboardInputEnabled () { return this.enableKeyboardInput } <ide> <ide> onDidChangeMini (callback) { <ide> r...
1
PHP
PHP
add missing widgets to registry
3e20412d588ab0ee38190733042b13d7080a8aa4
<ide><path>src/View/Input/InputRegistry.php <ide> class InputRegistry { <ide> * @var array <ide> */ <ide> protected $_widgets = [ <add> 'button' => ['Cake\View\Input\Button'], <ide> 'checkbox' => ['Cake\View\Input\Checkbox'], <add> 'file' => ['Cake\View\Input\File'], <ide> 'label' => ['Cake\View\Input\Label'],...
1
Python
Python
add test for 'python -mnumpy.f2py'
c3b7ed0f1cee6c1a9a24a48fdafba20117dfac2a
<ide><path>numpy/tests/test_scripts.py <ide> def try_f2py_commands(cmds): <ide> success = try_f2py_commands(f2py_cmds) <ide> msg = "Warning: not all of %s, %s, and %s are found in path" % f2py_cmds <ide> assert_(success == 3, msg) <add> <add>def test_pep338(): <add> f2py_cmd = [sys.executable...
1
Go
Go
remove newline string
2b51d1a167055834df331fb23c6cd373ebc06211
<ide><path>daemon/graphdriver/devmapper/deviceset.go <ide> func (devices *DeviceSet) UnmountDevice(hash string) error { <ide> defer devices.Unlock() <ide> <ide> if info.mountCount == 0 { <del> return fmt.Errorf("UnmountDevice: device not-mounted id %s\n", hash) <add> return fmt.Errorf("UnmountDevice: device not-mo...
1
Python
Python
fix gptneo onnx export
e86c02ea90bcab48555e4f16b180d7f7a5f93cf5
<ide><path>src/transformers/models/gpt_neo/configuration_gpt_neo.py <ide> <ide> from ... import PreTrainedTokenizer, TensorType, is_torch_available <ide> from ...configuration_utils import PretrainedConfig <del>from ...onnx import OnnxConfigWithPast, PatchingSpec <add>from ...onnx import OnnxConfigWithPast <ide> from ...
1
Javascript
Javascript
fix timing issues in atom-application-test
c861abc2a9472582c9d2f2e9727d662451d4f58d
<ide><path>spec/main-process/atom-application.test.js <ide> describe('AtomApplication', function () { <ide> await windowFocusedPromise(window) <ide> <ide> const cursorRow = await evalInWebContents(window.browserWindow.webContents, function (sendBackToMainProcess) { <del> atom.workspace.onDidChangeAc...
1
Ruby
Ruby
add failing test for link_tags when streaming
f303eb289569bbb0a689ea51d4161f73fb6fdf3d
<ide><path>actionview/test/template/asset_tag_helper_test.rb <ide> require "action_dispatch" <ide> ActionView::Template::Types.delegate_to Mime <ide> <add>module AssetTagHelperTestHelpers <add> def with_preload_links_header(new_preload_links_header = true) <add> original_preload_links_header = ActionView::Helpers:...
1
PHP
PHP
use signature to define name
41472b79dbe1d7eda67357632944984555cf858c
<ide><path>app/Console/Commands/Inspire.php <ide> class Inspire extends Command <ide> { <ide> /** <del> * The console command name. <add> * The name and signature of the console command. <ide> * <ide> * @var string <ide> */ <del> protected $name = 'inspire'; <add> protected $signature =...
1
Ruby
Ruby
push precision to type objects
22c27ae31f1b7c3a4e3b5cbcb4571c6be5e527e8
<ide><path>activerecord/lib/active_record/connection_adapters/abstract_adapter.rb <ide> def initialize_type_map(m) # :nodoc: <ide> m.register_type %r(int)i, Type::Integer.new <ide> m.register_type(%r(decimal)i) do |sql_type| <ide> scale = extract_scale(sql_type) <add> precision...
6
Go
Go
add newline to promote/demote message
3386e3570a1251bbea5302d8b8e639aaf68436c3
<ide><path>api/client/node/demote.go <ide> func runDemote(dockerCli *client.DockerCli, flags *pflag.FlagSet, args []string) <ide> }); err != nil { <ide> return err <ide> } <del> fmt.Fprintf(dockerCli.Out(), "Manager %s demoted in the swarm.", id) <add> fmt.Fprintf(dockerCli.Out(), "Manager %s demoted in the sw...
2
Go
Go
add a check for invalid/junk messages
2fb14185cb34c65020af18b8d7439a8c9ecf747b
<ide><path>libnetwork/resolver.go <ide> func (r *resolver) ServeDNS(w dns.ResponseWriter, query *dns.Msg) { <ide> err error <ide> ) <ide> <add> if query == nil || len(query.Question) == 0 { <add> return <add> } <ide> name := query.Question[0].Name <ide> if query.Question[0].Qtype == dns.TypeA { <ide> resp, er...
1
Ruby
Ruby
fix version error for prerelease macos
7a40f1bf0abe181499b4addcfd4d6a6041726a32
<ide><path>Library/Homebrew/os/mac.rb <ide> module Mac <ide> # This can be compared to numerics, strings, or symbols <ide> # using the standard Ruby Comparable methods. <ide> def version <del> @version ||= Version.from_symbol(full_version.to_sym) <add> @version ||= full_version.strip_patch <ide> ...
1
PHP
PHP
use mock to avoid throwing error to stderr
4bc401eee6ea5683006421060470677c1b69afd8
<ide><path>tests/TestCase/Shell/SchemaCacheShellTest.php <ide> public function testBuildInvalidConnection() <ide> { <ide> $this->expectException(StopException::class); <ide> <del> $shell = new SchemaCacheShell(new ConsoleIo()); <add> $io = $this->getMockBuilder(ConsoleIo::class)->getMock(); <...
1
Javascript
Javascript
add another edge case
5ebcd2187c9ce059dd20224e6f6f3c697527954b
<ide><path>packages/ember-metal/tests/observer_test.js <ide> testBoth("observers added/removed during changeProperties should do the right th <ide> var addedAfterFirstChangeObserver = new Observer(); <ide> var addedAfterLastChangeObserver = new Observer(); <ide> var removedBeforeFirstChangeObserver = new Observer...
1
Javascript
Javascript
remove unused variable
23bb5986d4c97dde538622283864b3eed23493d8
<ide><path>src/node.js <ide> // If we were spawned with env NODE_CHANNEL_FD then load that up and <ide> // start parsing data from that stream. <ide> if (process.env.NODE_CHANNEL_FD) { <del> var fd = parseInt(process.env.NODE_CHANNEL_FD); <del> assert(fd >= 0); <add> assert(parseInt(process.e...
1
Javascript
Javascript
expand test case for unknown file open flags
a5aa7c17138ba811324526c1178f6a5b4a094acb
<ide><path>test/parallel/test-fs-open-flags.js <ide> assert.equal(fs._stringToFlags('xa+'), O_APPEND | O_CREAT | O_RDWR | O_EXCL); <ide> .forEach(function(flags) { <ide> assert.throws(function() { fs._stringToFlags(flags); }); <ide> }); <add> <add>assert.throws( <add> () => fs._stringToFlags({}), <add> /Unkno...
1
Javascript
Javascript
add test for non-integer delay timers
8e60b4523cc9097aad81e0dbbc6d24617c279e66
<ide><path>test/simple/test-timers-non-integer-delay.js <add>// Copyright Joyent, Inc. and other Node contributors. <add>// <add>// Permission is hereby granted, free of charge, to any person obtaining a <add>// copy of this software and associated documentation files (the <add>// "Software"), to deal in the Software w...
1
Mixed
Ruby
put coffee-rails in top-level of generated gemfile
940da7d9cbb39bc9589031df62e26edfc0c1f8bc
<ide><path>railties/CHANGELOG.md <ide> ## Rails 4.0.0 (unreleased) ## <ide> <add>* Allow vanilla apps to render CoffeeScript templates in production <add> <add> Vanilla apps already render CoffeeScript templates in development and test <add> environments. With this change, the production behavior matches that...
3
Ruby
Ruby
convert \r\n to \n
a1afc7726b3f9a59eb2dbc21fbd7aa59927cc889
<ide><path>activemodel/lib/active_model/validations/comparability.rb <del># frozen_string_literal: true <del> <del>module ActiveModel <del> module Validations <del> module Comparability #:nodoc: <del> COMPARE_CHECKS = { greater_than: :>, greater_than_or_equal_to: :>=, <del> equal_to: :==, less_than: :<,...
1
Javascript
Javascript
remove message from strictequal assertions
f565bbb193c90a974ad1500b86047b834d58606d
<ide><path>test/parallel/test-http-response-readable.js <ide> const testServer = new http.Server(function(req, res) { <ide> <ide> testServer.listen(0, function() { <ide> http.get({ port: this.address().port }, function(res) { <del> assert.strictEqual(res.readable, true, 'res.readable initially true'); <add> as...
1
Text
Text
add solution to hint stub (mongodb model.findbyid)
e2a00798f8379d2f381a4fecf66e161be50ea22f
<ide><path>guide/english/certifications/apis-and-microservices/mongodb-and-mongoose/use-model.findbyid-to-search-your-database-by-id/index.md <ide> --- <ide> title: Use model.findById() to Search Your Database By _id <ide> --- <del>## Use model.findById() to Search Your Database By _id <add># Use model.findById() to Se...
1
PHP
PHP
use header() function
153094586e49be5d7176eba991f6cb20aa31bfd6
<ide><path>src/Illuminate/Http/Response.php <ide> public function setContent($content) <ide> // from routes that will be automatically transformed to their JSON form. <ide> if ($this->shouldBeJson($content)) <ide> { <del> $this->headers->set('Content-Type', 'application/json'); <add> $this->header('Content-Ty...
1
PHP
PHP
remove non-portable data type from mysql
b6b8d8398011537f6459412ace37dcdff0ad0423
<ide><path>lib/Cake/Model/Datasource/Database/Mysql.php <ide> class Mysql extends DboSource { <ide> 'biginteger' => array('name' => 'bigint', 'limit' => '20'), <ide> 'integer' => array('name' => 'int', 'limit' => '11', 'formatter' => 'intval'), <ide> 'float' => array('name' => 'float', 'formatter' => 'floatval'),...
1
Ruby
Ruby
improve documentation coverage and markup
64092de25727c1943807bf5345107d90428135a0
<ide><path>actionmailer/lib/action_mailer/base.rb <ide> module ActionMailer #:nodoc: <ide> # <ide> # These options are specified on the class level, like <tt>ActionMailer::Base.template_root = "/my/templates"</tt> <ide> # <del> # * <tt>template_root</tt> - template root determines the base from which template re...
75
Javascript
Javascript
fix basisfile.transcodeimage parameters
4ef5ee3f8830286caf753aada75f5f43f7275e4f
<ide><path>examples/js/loaders/BasisTextureLoader.js <ide> THREE.BasisTextureLoader.BasisWorker = function () { <ide> 0, <ide> mip, <ide> config.format, <del> hasAlpha, <del> 0 <add> 0, <add> hasAlpha <ide> ); <ide> <ide> if ( ! status ) { <ide><path>examples/jsm/loaders/BasisTextureLoade...
2
Javascript
Javascript
remove `catch` from scheduler build
18d7574ae297a24d53fe418e9008e969c29ffba2
<ide><path>packages/scheduler/src/forks/SchedulerDOM.js <ide> const performWorkUntilDeadline = () => { <ide> // the message event. <ide> deadline = currentTime + yieldInterval; <ide> const hasTimeRemaining = true; <add> <add> // If a scheduler task throws, exit the current browser task so the <add> //...
2
PHP
PHP
remove unused code
e63c63f6e3aa26ba0a977191749ca7c76d56b5eb
<ide><path>src/Illuminate/Database/Schema/Grammars/SqlServerGrammar.php <ide> public function compileDropColumn(Blueprint $blueprint, Fluent $command) <ide> */ <ide> public function compileDropPrimary(Blueprint $blueprint, Fluent $command) <ide> { <del> $table = $blueprint->getTable(); <del> <ide> $table = $this...
1
Javascript
Javascript
use polling to reliably watch challenges
cba35969f0c2052e6005bb82cc65bfae805e160b
<ide><path>client/plugins/fcc-source-challenges/gatsby-node.js <ide> exports.sourceNodes = function sourceChallengesSourceNodes( <ide> const { createNode } = actions; <ide> const watcher = chokidar.watch(curriculumPath, { <ide> ignored: /(^|[\/\\])\../, <del> persistent: true <add> persistent: true, <add>...
1
Text
Text
clarify partial local variable naming
4d433f8d21972d738f625bb4e41065e179ea01a8
<ide><path>guides/source/layouts_and_rendering.md <ide> To pass a local variable to a partial in only specific cases use the `local_assi <ide> <ide> This way it is possible to use the partial without the need to declare all local variables. <ide> <del>Every partial also has a local variable with the same name as the ...
1
Python
Python
set default steps to 300k.
01c3a4f3f34c2636d4108be35df31ac5f240a23b
<ide><path>official/transformer/v2/misc.py <ide> def define_transformer_flags(): <ide> flags_core.define_device(tpu=True) <ide> <ide> flags.DEFINE_integer( <del> name='train_steps', short_name='ts', default=None, <add> name='train_steps', short_name='ts', default=300000, <ide> help=flags_core.help_...
1