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 |
|---|---|---|---|---|---|
Ruby | Ruby | remove intermediate variable | a7ca4bc3002d9977e988d5407f702b773e52a135 | <ide><path>Library/Contributions/cmd/brew-test-bot.rb
<ide> def run
<ide> end
<ide> Process.wait(pid)
<ide>
<del> end_time = Time.now
<del> @time = end_time - start_time
<add> @time = Time.now - start_time
<ide>
<ide> success = $?.success?
<ide> @status = success ? :passed : :failed | 1 |
Text | Text | add book recommendation | 70ae03aa3a89f5a267d7b7d9b8c482d5af4d6768 | <ide><path>guide/english/book-recommendations/javascript/index.md
<ide> ---
<ide> title: Books on JavaScript
<ide> ---
<del> ### List of Books
<add>## List of Books
<ide>
<del>#### Eloquent JavaScript
<add>### Eloquent JavaScript
<ide>
<ide> One of the best books on JavaScript. A must for both, beginners and intermed... | 1 |
Mixed | Java | add setnativevalue command to reactswitchmanager | 3560093115d1825e5e01ad0d8e65d5a90a35fe2c | <ide><path>Libraries/Components/Switch/AndroidSwitchNativeComponent.js
<ide>
<ide> 'use strict';
<ide>
<add>import * as React from 'react';
<add>
<ide> import type {
<ide> WithDefault,
<ide> BubblingEventHandler,
<ide> } from 'react-native/Libraries/Types/CodegenTypes';
<ide>
<add>import codegenNativeCommands fr... | 4 |
Javascript | Javascript | pass env variables to child process on z/os | 02aa8c22c26220e16616a88370d111c0229efe5e | <ide><path>lib/child_process.js
<ide> const {
<ide>
<ide> const MAX_BUFFER = 1024 * 1024;
<ide>
<add>const isZOS = process.platform === 'os390';
<add>
<ide> /**
<ide> * Spawns a new Node.js process + fork.
<ide> * @param {string|URL} modulePath
<ide> ObjectDefineProperty(execFile, promisify.custom, {
<ide> value:... | 1 |
Python | Python | fix outdated docs link | fb47ba6a394b9b7afa2be4c9b10aedef5bad0cc8 | <ide><path>setup.py
<ide> def parse_setuppy_commands():
<ide> return True
<ide>
<ide>
<add>def get_docs_url():
<add> if not ISRELEASED:
<add> return "https://numpy.org/devdocs"
<add> else:
<add> # For releaeses, this URL ends up on pypi.
<add> # By pinning the version, users looking at ... | 1 |
Python | Python | update dd node driver comments | 3b947b311940bdd0fa75a03029095db34eb7a605 | <ide><path>libcloud/compute/drivers/dimensiondata.py
<ide> class DimensionDataNodeDriver(NodeDriver):
<ide> """
<ide> DimensionData node driver.
<add> Default api_version is used unless specified.
<ide> """
<ide>
<ide> selected_region = None | 1 |
Go | Go | increase verbosity for mem & cpu test | 05a76477e6a70975b1c60637c3f8e2d7a507c490 | <ide><path>integration-cli/docker_cli_run_test.go
<ide> func TestDockerRunEchoStdoutWithCPUAndMemoryLimit(t *testing.T) {
<ide> errorOut(err, t, out)
<ide>
<ide> if out != "test\n" {
<del> t.Errorf("container should've printed 'test'")
<add> t.Errorf("container should've printed 'test', got %q instead", out)
<ide>... | 1 |
Text | Text | move sample commands into code blocks | 292361eaf04be33a2b6641dde9fb01701637870f | <ide><path>docs/How-To-Open-a-Homebrew-Pull-Request.md
<ide>
<ide> The following commands are used by Homebrew contributors to set up a fork of Homebrew's Git repository on GitHub, create a new branch and create a GitHub pull request ("PR") of the changes in that branch.
<ide>
<del>Depending on the change you want to... | 1 |
Python | Python | add predict_special_tokens option to gpt also | ce863365459d5c7b96fd1b5917bc9fb00f509d18 | <ide><path>pytorch_pretrained_bert/modeling_openai.py
<ide> def __init__(
<ide> attn_pdrop=0.1,
<ide> layer_norm_epsilon=1e-5,
<ide> initializer_range=0.02,
<add> predict_special_tokens=True
<ide> ):
<ide> """Constructs OpenAIGPTConfig.
<ide>
<ide> def __init__(
<ide> ... | 1 |
Python | Python | create virtualenv via python call | 504294e4c231c4fe5b81c37d0a04c0832ce95503 | <ide><path>airflow/utils/python_virtualenv.py
<ide> #
<ide> """Utilities for creating a virtual environment"""
<ide> import os
<add>import sys
<ide> from collections import deque
<ide> from typing import List, Optional
<ide>
<ide>
<ide>
<ide> def _generate_virtualenv_cmd(tmp_dir: str, python_bin: str, system_site_pa... | 2 |
PHP | PHP | add returntypewillchange attributes to iterators | 9c62b50353040234cf3dfdaf4aaedba228d46713 | <ide><path>src/Database/Query.php
<ide> use Closure;
<ide> use InvalidArgumentException;
<ide> use IteratorAggregate;
<add>use ReturnTypeWillChange;
<ide> use RuntimeException;
<ide>
<ide> /**
<ide> public function func(): FunctionsBuilder
<ide> * @return \Cake\Database\StatementInterface
<ide> * @psalm-supp... | 5 |
Python | Python | defer ctypes imports in _dtypes_ctypes module | 66cb824d8a266077841e27df955235886f118139 | <ide><path>numpy/core/_dtype_ctypes.py
<ide> class DummyStruct(ctypes.Structure):
<ide> * PEP3118 cannot represent unions, but both numpy and ctypes can
<ide> * ctypes cannot handle big-endian structs with PEP3118 (bpo-32780)
<ide> """
<del>import _ctypes
<del>import ctypes
<ide>
<ide> import numpy as np
<ide>
<ide> ... | 1 |
Go | Go | fix path problems in testbuildrenameddockerfile | 967d85a28fa1e9a8ac4d668960bca8760af2b722 | <ide><path>integration-cli/docker_cli_build_test.go
<ide> func TestBuildRenamedDockerfile(t *testing.T) {
<ide> t.Fatalf("test1 should have used Dockerfile, output:%s", out)
<ide> }
<ide>
<del> out, _, err = dockerCmdInDir(t, ctx.Dir, "build", "-f", "files/Dockerfile", "-t", "test2", ".")
<add> out, _, err = docker... | 1 |
Text | Text | add note regarding unfinished tla | f65bbce90b1574588275dc16d620d9a3ba2680ad | <ide><path>doc/api/esm.md
<ide> would provide the exports interface for the instantiation of `module.wasm`.
<ide>
<ide> ## Top-level `await`
<ide>
<add><!--
<add>added: v14.8.0
<add>-->
<add>
<ide> > Stability: 1 - Experimental
<ide>
<del>The `await` keyword may be used in the top level (outside of async functions)
... | 1 |
Go | Go | remove swarm inspect and use info instead | e6923f6d75c2bd1b22cc1229214ffceca3251cc6 | <ide><path>api/client/swarm/cmd.go
<ide> func NewSwarmCommand(dockerCli *client.DockerCli) *cobra.Command {
<ide> newJoinTokenCommand(dockerCli),
<ide> newUpdateCommand(dockerCli),
<ide> newLeaveCommand(dockerCli),
<del> newInspectCommand(dockerCli),
<ide> )
<ide> return cmd
<ide> }
<ide><path>api/client/swarm... | 7 |
Text | Text | pass 2 over testing guide | 6026b37ffc1a9b5d3ea1c1c7812a3950495d7877 | <ide><path>guides/source/testing.md
<ide> A dedicated test database allows you to set up and interact with test data in is
<ide>
<ide> In order to run your tests, your test database will need to have the current
<ide> structure. The test helper checks whether your test database has any pending
<del>migrations. If so, ... | 1 |
PHP | PHP | remove broken test | c9246fb5db7bccae0039a64040587cd70030a5d3 | <ide><path>src/Illuminate/Database/Eloquent/Relations/Pivot.php
<ide> public static function fromRawAttributes(Model $parent, $attributes, $table, $ex
<ide>
<ide> $instance->setRawAttributes($attributes, true);
<ide>
<add> $instance->timestamps = $instance->hasTimestampAttributes();
<add>
<ide> ... | 4 |
Java | Java | cache the instance of `choreographercompat` | 7f6254be43ead1a69e3b7d3cdb30a4be04933be6 | <ide><path>ReactAndroid/src/androidTest/java/com/facebook/react/testing/idledetection/ReactIdleDetectionUtil.java
<ide>
<ide> package com.facebook.react.testing.idledetection;
<ide>
<add>import android.view.Choreographer;
<ide> import java.util.concurrent.CountDownLatch;
<ide> import java.util.concurrent.TimeUnit;
<i... | 1 |
PHP | PHP | add resource defaults to router | 1a774e9446ecc0dd85fe337f7eda2c49f18345ab | <ide><path>src/Illuminate/Routing/Router.php
<ide> class Router implements HttpKernelInterface, RouteFiltererInterface {
<ide> */
<ide> public static $verbs = array('GET', 'HEAD', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS');
<ide>
<add> /**
<add> * The default actions for a resourceful controller.
<add> *
<add> ... | 1 |
Text | Text | improve server.listen() random port | 66af6a902887b7340d573436b4c1bbe2486f5ace | <ide><path>doc/api/http.md
<ide> Start a UNIX socket server listening for connections on the given `path`.
<ide> This function is asynchronous. `callback` will be added as a listener for the
<ide> [`'listening'`][] event. See also [`net.Server.listen(path)`][].
<ide>
<del>### server.listen(port[, hostname][, backlog]... | 2 |
Javascript | Javascript | add internal genericnodeerror() function | bd86e5186a33803aa9283b9a4c6946da33b67511 | <ide><path>lib/buffer.js
<ide> const {
<ide> Array,
<ide> ArrayIsArray,
<ide> ArrayPrototypeForEach,
<del> Error,
<ide> MathFloor,
<ide> MathMin,
<ide> MathTrunc,
<ide> const {
<ide> ERR_MISSING_ARGS,
<ide> ERR_UNKNOWN_ENCODING
<ide> },
<del> hideStackFrames
<add> genericNodeError,
<add> hideS... | 7 |
Python | Python | add custom error when evaluation throws a keyerror | 18dfb279850adb00c3b3efa18bbb6d58c17bc453 | <ide><path>spacy/errors.py
<ide> class Errors:
<ide> "issue tracker: http://github.com/explosion/spaCy/issues")
<ide>
<ide> # TODO: fix numbering after merging develop into master
<add> E900 = ("Could not run the full 'nlp' pipeline for evaluation. If you specified "
<add> "frozen compone... | 2 |
Python | Python | add support for float hex format to loadtxt | 4aef6a89fda5015129e124099f3809fa4da894a7 | <ide><path>numpy/lib/npyio.py
<ide> def _savez(file, args, kwds, compress):
<ide>
<ide> def _getconv(dtype):
<ide> """ Find the correct dtype converter. Adapted from matplotlib """
<add>
<add> def floatconv(x):
<add> x.lower()
<add> if b'0x' in x:
<add> return float.fromhex(asstr(x))
<a... | 1 |
Java | Java | fix failing test | 214064824680bb60eca256c99f09f48996a7c235 | <ide><path>spring-webmvc/src/test/java/org/springframework/web/servlet/view/groovy/GroovyMarkupConfigurerTests.java
<ide> import groovy.text.TemplateEngine;
<ide> import groovy.text.markup.MarkupTemplateEngine;
<ide> import groovy.text.markup.TemplateConfiguration;
<del>import groovy.text.markup.TemplateResolver;
<ide>... | 1 |
Javascript | Javascript | fix linting issues | b1490e951cf642294319db17620638772aa0002f | <ide><path>src/config.js
<ide> const {
<ide> const Color = require('./color')
<ide> const ScopedPropertyStore = require('scoped-property-store')
<ide> const ScopeDescriptor = require('./scope-descriptor')
<del>const crypto = require('crypto')
<ide>
<ide> // Essential: Used to access all of Atom's configuration details... | 2 |
Text | Text | update changelog for 1.7 and 1.8.0-beta.1 | b3887a0d0ed5aeb31fdb0f7ce1c5c7e8cea99b16 | <ide><path>CHANGELOG.md
<ide> # Ember Changelog
<ide>
<add>### Ember 1.8.0-beta.1 (August 20, 2014)
<add>
<add>* Remove `metamorph` in favor of `morph` package (removes the need for `<script>` tags in the DOM).
<add>* [FEATURE] ember-routing-linkto-target-attribute
<add>* [FEATURE] ember-routing-multi-current-when
<ad... | 1 |
Text | Text | fix internal link | c405a2349140626d924818ff764f232ef94eaadb | <ide><path>share/doc/homebrew/Installation.md
<ide> The suggested and easiest way to install Homebrew is on the
<ide> [homepage](http://brew.sh).
<ide>
<ide> The standard script installs Homebrew to `/usr/local` so that
<del>[you don’t need sudo](FAQ.md#wiki-sudo) when you `brew install`. It is a
<add>[you don’t need ... | 1 |
Python | Python | add deprecated helper | 39e0586192bc2c514f9a29363d7085848e0f794d | <ide><path>spacy/util.py
<ide> import textwrap
<ide> import random
<ide> from collections import OrderedDict
<add>import inspect
<add>import warnings
<ide> from thinc.neural._classes.model import Model
<ide> import functools
<ide>
<ide> def from_disk(path, readers, exclude):
<ide> return path
<ide>
<ide>
<add>de... | 1 |
Go | Go | use lowercase for error | afd9a6c2b2aa905ea9b93a9413f757a887646ab9 | <ide><path>builder/dockerfile/internals_test.go
<ide> func TestDockerfileOutsideTheBuildContext(t *testing.T) {
<ide> contextDir, cleanup := createTestTempDir(t, "", "builder-dockerfile-test")
<ide> defer cleanup()
<ide>
<del> expectedError := "Forbidden path outside the build context: ../../Dockerfile ()"
<add> exp... | 2 |
Python | Python | add date and numpy version to testnpy_char | 7dbdbfaaa19c84ffcfa2987a05ca603483dfa54f | <ide><path>numpy/core/tests/test_deprecations.py
<ide> def test_int_dtypes(self):
<ide>
<ide>
<ide> class TestNPY_CHAR(_DeprecationTestCase):
<add> # 2017-05-03, 1.13.0
<ide> def test_npy_char_deprecation(self):
<ide> from numpy.core.multiarray_tests import npy_char_deprecation
<ide> self.asser... | 1 |
Ruby | Ruby | convert cat test to spec | 2ade29a5cf5df84ed9fb7dcf429c59c3e084a6a1 | <add><path>Library/Homebrew/cask/spec/cask/cli/cat_spec.rb
<del><path>Library/Homebrew/cask/test/cask/cli/cat_test.rb
<del>require "test_helper"
<add>require "spec_helper"
<ide>
<ide> describe Hbc::CLI::Cat do
<ide> describe "given a basic Cask" do
<del> before do
<del> @expected_output = <<-EOS.undent
<add>... | 1 |
Python | Python | correct an issue with except | 197c98077f892f79458a9f41bab81c8dd8e29f2e | <ide><path>glances/outdated.py
<ide> try:
<ide> from packaging.version import Version
<ide> PACKAGING_IMPORT = True
<del>except ModuleNotFoundError as e:
<add>except Exception as e:
<ide> logger.error("Unable to import 'packaging' module ({}). Glances cannot check for updates.".format(e))
<ide> PACKAGIN... | 1 |
Javascript | Javascript | fix mmdanimationhelper lint errors | 6f86fda4d312996e3f4281ceccc02f0419e55c0d | <ide><path>examples/js/animation/MMDAnimationHelper.js
<ide> THREE.MMDAnimationHelper = ( function () {
<ide> mesh.updateMatrixWorld( true );
<ide>
<ide> // PMX animation system special path
<del> if ( this.configuration.pmxAnimation &&
<add> if ( this.configuration.pmxAnimation &&
<ide> mesh.geometry.u... | 2 |
Python | Python | implement extra controls for slas | f2790f6c801ba8d40450463ab0a7030fe4d6f7e3 | <ide><path>airflow/www/views.py
<ide> class SlaMissModelView(AirflowModelView):
<ide> "map_index": wwwutils.format_map_index,
<ide> }
<ide>
<add> @action('muldelete', 'Delete', "Are you sure you want to delete selected records?", single=False)
<add> def action_muldelete(self, items):
<add> """... | 1 |
Java | Java | catch iae when parsing content type | c611083415845bcb9758c0f92c4749a712b049f0 | <ide><path>spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/RequestMappingInfoHandlerMapping.java
<ide> else if (patternAndMethodMatches.isEmpty() && !allowedMethods.isEmpty()) {
<ide> if (!consumableMediaTypes.isEmpty()) {
<ide> MediaType contentType = null;
<ide> if (StringUtils.hasLengt... | 2 |
Python | Python | fix typo in hubconf | 19ef2b0a660e97b109e82c51ace5c0cef749c401 | <ide><path>hubconf.py
<ide> bertForTokenClassification
<ide> )
<ide> from hubconfs.gpt_hubconf import (
<del> OpenAIGPTTokenizer,
<del> OpenAIGPTModel,
<del> OpenAIGPTLMHeadModel,
<del> OpenAIGPTDoubleHeadsModel
<add> openAIGPTTokenizer,
<add> openAIGPTModel,
<add> openAIGPTLMHeadModel,
<add> ... | 1 |
Python | Python | skip `test_lookfor` in 3.10rc1 | 67b0df4b38700acceb0197d704e0eb37b3fbd837 | <ide><path>numpy/lib/tests/test_utils.py
<ide>
<ide>
<ide> @pytest.mark.skipif(sys.flags.optimize == 2, reason="Python running -OO")
<add>@pytest.mark.skipif(
<add> sys.version_info == (3, 10, 0, "candidate", 1),
<add> reason="Broken as of bpo-44524",
<add>)
<ide> def test_lookfor():
<ide> out = StringIO()
... | 1 |
Javascript | Javascript | add missing newwindow parameter | 372652915eed851af5bc27bf030fad1029e5dca7 | <ide><path>src/main-process/atom-application.js
<ide> class AtomApplication extends EventEmitter {
<ide> openPath ({
<ide> pathToOpen,
<ide> pidToKillWhenClosed,
<add> newWindow,
<ide> devMode,
<ide> safeMode,
<ide> profileStartup, | 1 |
Text | Text | add clarity to -p option | 37c6c53b56c7a26bcce81bc12b83fadd4da8709a | <ide><path>man/docker-run.1.md
<ide> ports and the exposed ports, use `docker port`.
<ide>
<ide> **-p**, **--publish**=[]
<ide> Publish a container's port, or range of ports, to the host.
<del> format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPo... | 1 |
Text | Text | create renderer readme | 3956ee163b83e49c2e010b7fec5e188cca209c1a | <ide><path>Libraries/Renderer/README.md
<add># WARNING
<add>
<add>### The code in the `oss` folder is sync'ed from the React repo. Please submit a pull request on https://github.com/facebook/react/tree/master/packages/react-native-renderer if you want to make changes. | 1 |
Go | Go | add test for copying entire container rootfs | 6db9f1c3d6e9ad634554cacaf197a435efcf8833 | <ide><path>integration/container/copy_test.go
<ide> package container // import "github.com/docker/docker/integration/container"
<ide>
<ide> import (
<add> "archive/tar"
<ide> "context"
<add> "encoding/json"
<ide> "fmt"
<add> "io"
<add> "io/ioutil"
<add> "os"
<ide> "testing"
<ide>
<ide> "github.com/docker/docker/... | 1 |
Java | Java | fix typo in comment | 3b6707a41c88993ef3913987501dc79319fb171a | <ide><path>src/main/java/rx/internal/operators/OperatorMulticast.java
<ide>
<ide> /** Guarded by guard. */
<ide> private Subscriber<T> subscription;
<del> // wraps subscription above with for unsubscription using guard
<add> // wraps subscription above for unsubscription using guard
<ide> private Sub... | 1 |
PHP | PHP | remove test that isnt written properly | 04091833c1d22406828862ef9d58519882342b61 | <ide><path>src/Illuminate/Queue/Queue.php
<ide> abstract class Queue
<ide> */
<ide> protected $container;
<ide>
<del> /**
<del> * The encrypter implementation.
<del> *
<del> * @var \Illuminate\Contracts\Encryption\Encrypter
<del> */
<del> protected $encrypter;
<del>
<ide> /**
<ide> ... | 2 |
Javascript | Javascript | add regression test for immediate socket errors | 2cf4882136b2c17c37aeb7b793a3040e64936b9f | <ide><path>test/parallel/test-http-client-immediate-error.js
<add>'use strict';
<add>
<add>// Make sure http.request() can catch immediate errors in
<add>// net.createConnection().
<add>
<add>const common = require('../common');
<add>const assert = require('assert');
<add>const http = require('http');
<add>const req = ... | 1 |
Java | Java | fix javadoc errors in annotatedelementutils | 11221f5ccb7c87316fec1d2960f9468446976f7c | <ide><path>spring-core/src/main/java/org/springframework/core/annotation/AnnotatedElementUtils.java
<ide> /*
<del> * Copyright 2002-2015 the original author or authors.
<add> * Copyright 2002-2016 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * ... | 1 |
Go | Go | fix golint errors | e04375fb8c2f08da158cce21c1591d39d2e68242 | <ide><path>distribution/errors_test.go
<ide> import (
<ide> "github.com/docker/distribution/registry/client"
<ide> )
<ide>
<del>var always_continue = []error{
<add>var alwaysContinue = []error{
<ide> &client.UnexpectedHTTPResponseError{},
<ide>
<ide> // Some errcode.Errors that don't disprove the existence of a V1... | 1 |
Javascript | Javascript | move hikes store to main store | 9ba5d2c44826df6ac6b3933b4ae299c765bf7609 | <ide><path>common/app/flux/Store.js
<ide> const initValue = {
<ide> title: 'Learn To Code | Free Code Camp',
<ide> username: null,
<ide> picture: null,
<del> points: 0
<add> points: 0,
<add> hikesApp: {
<add> hikes: [],
<add> currentHikes: {}
<add> }
<ide> };
<ide>
<ide> export default Store({
<ide> ex... | 3 |
Java | Java | avoid npe in autowiredannotationbeanpostprocessor | 2624b909060e0967e16771de7a35261decd5a4a9 | <ide><path>spring-beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java
<ide> /*
<del> * Copyright 2002-2011 the original author or authors.
<add> * Copyright 2002-2012 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (... | 1 |
Ruby | Ruby | use real assigns instead of a method call [dhh] | 35b74de7703515cf93da2d3e850702f58a2a6f48 | <ide><path>actionpack/lib/action_view/helpers/prototype_helper.rb
<ide> def initialize(generator, root)
<ide> @generator = generator
<ide> @generator << root
<ide> end
<del>
<del> def assign(variable, value)
<del> append_to_function_chain! "#{variable} = #{@generator.send(:javasc... | 2 |
Text | Text | drop support for vs2015 | c5a49e148d3293eb9e8c17a15cb8c876977f76af | <ide><path>BUILDING.md
<ide> in production.
<ide> |--------------|--------------|----------------------------------|----------------------|------------------|
<ide> | GNU/Linux | Tier 1 | kernel >= 2.6.32, glibc >= 2.12 | x86, x64, arm, arm64 | |
<ide> | macOS | Tier 1 | >= 10.10... | 1 |
Text | Text | update changelog [ci skip] | b04e000d4be12f5ae36f36e9938e611fbe8b3992 | <ide><path>CHANGELOG.md
<ide> - [#17872](https://github.com/emberjs/ember.js/pull/17872) [BUGFIX] Fix issue where `{{link-to}}` is causing unexpected local variable shadowing assertions.
<ide> - [#17874](https://github.com/emberjs/ember.js/pull/17874) [BUGFIX] Fix issue with `event.stopPropagation()` in component event... | 1 |
Text | Text | add addon api (nan) to working group list | 5178f93bc0f5b4e16cb68001e6f4684b4fd4ed7c | <ide><path>WORKING_GROUPS.md
<ide> back in to the TC.
<ide> * [Evangelism](#evangelism)
<ide> * [Roadmap](#roadmap)
<ide> * [Docker](#docker)
<add>* [Addon API](#addon-api)
<ide> * [Starting a Working Group](#starting-a-wg)
<ide> * [Bootstrap Governance](#bootstrap-governance)
<ide>
<ide> Their responsibilities are:
<... | 1 |
Ruby | Ruby | raise an error if `direct` is inside a scope block | 80dcfd014b27e560f5c4b07ee5ffa98894d8ff63 | <ide><path>actionpack/lib/action_dispatch/routing/mapper.rb
<ide> module DirectUrls
<ide> # array passed to `polymorphic_url` is a hash then it's treated as options
<ide> # to the url helper that gets called.
<ide> #
<del> # NOTE: The `direct` method doesn't observe the current scope in r... | 2 |
Ruby | Ruby | pass default value as argument to fetch | 13688cf8a94c5248d7848f86c16abeac82d88e6e | <ide><path>actionpack/lib/action_view/helpers/tags/base.rb
<ide> def select_content_tag(option_tags, options, html_options)
<ide> add_default_name_and_id(html_options)
<ide> select = content_tag("select", add_options(option_tags, options, value(object)), html_options)
<ide>
<del> if html_o... | 1 |
Javascript | Javascript | remove shims for now | 316667fb9b77f02a712d58361c6d02b91af09a5d | <ide><path>index.js
<ide> function add(paths, name, path) {
<ide>
<ide> add(paths, 'prod', 'vendor/ember/ember.prod.js');
<ide> add(paths, 'debug', 'vendor/ember/ember.debug.js');
<del>add(paths, 'shims', 'vendor/ember/shims.js');
<ide> add(paths, 'jquery', 'vendor/ember/jquery/jquery.js');
<ide>
<ide> add(absoluteP... | 1 |
Text | Text | add note about overlay not being production ready | 67cb748e26c3b6979983493f307a38b59e291642 | <ide><path>docs/sources/reference/commandline/cli.md
<ide> The `overlay` is a very fast union filesystem. It is now merged in the main
<ide> Linux kernel as of [3.18.0](https://lkml.org/lkml/2014/10/26/137). Call
<ide> `docker -d -s overlay` to use it.
<ide>
<add>> **Note:**
<add>> As promising as `overlay` is, the fe... | 1 |
Javascript | Javascript | add pan gesture recognizer | 12213887e27c14c48926f85df51565609fa90b4d | <ide><path>packages/sproutcore-touch/lib/gesture_recognizers.js
<ide> require('sproutcore-touch/gesture_recognizers/pinch')
<add>require('sproutcore-touch/gesture_recognizers/pan')
<ide> require('sproutcore-touch/gesture_recognizers/tap')
<ide><path>packages/sproutcore-touch/lib/gesture_recognizers/pan.js
<add>// =====... | 2 |
Javascript | Javascript | remove friendlyerrorswebpackplugin option | e1a231cd6807f06989f4440e84c373be2f169d6d | <ide><path>server/build/webpack.js
<ide> import { createHash } from 'crypto'
<ide> import webpack from 'webpack'
<ide> import glob from 'glob-promise'
<ide> import WriteFilePlugin from 'write-file-webpack-plugin'
<add>import FriendlyErrorsWebpackPlugin from 'friendly-errors-webpack-plugin'
<ide> import UnlinkFilePlugin... | 1 |
Ruby | Ruby | add a test case for exists? with multiple values | 78befcfc287eae6dbfbd6287329b1cbcd9d77e3c | <ide><path>activerecord/test/cases/finder_test.rb
<ide> def test_exists
<ide> assert_equal true, Topic.exists?(heading: "The First Topic")
<ide> assert_equal true, Topic.exists?(:author_name => "Mary", :approved => true)
<ide> assert_equal true, Topic.exists?(["parent_id = ?", 1])
<add> assert_equal true... | 1 |
Python | Python | add freebsd support | 0f077a78ad3cc43e847bbd7d797b923d8bf8ea5c | <ide><path>tools/gyp/pylib/gyp/generator/make.py
<ide> def GetFlavor(params):
<ide> flavors = {
<ide> 'darwin': 'mac',
<ide> 'sunos5': 'solaris',
<add> 'freebsd7': 'freebsd',
<add> 'freebsd8': 'freebsd',
<ide> }
<ide> flavor = flavors.get(sys.platform, 'linux')
<ide> return params.get('flavor', fl... | 1 |
Java | Java | add requestbuilder for async dispatches | c348be25116dfdf560763f4efbf3b07077e9de4f | <ide><path>spring-test-mvc/src/main/java/org/springframework/test/web/servlet/request/MockMvcRequestBuilders.java
<ide> */
<ide> package org.springframework.test.web.servlet.request;
<ide>
<add>import java.lang.reflect.Method;
<add>
<add>import javax.servlet.ServletContext;
<add>
<ide> import org.springframework.http... | 2 |
Go | Go | fix logrus formatting | a72b45dbec3caeb3237d1af5aedd04adeb083571 | <ide><path>api/client/hijack.go
<ide> func (cli *DockerCli) HoldHijackedConnection(ctx context.Context, tty bool, inpu
<ide> _, err = stdcopy.StdCopy(outputStream, errorStream, resp.Reader)
<ide> }
<ide>
<del> logrus.Debugf("[hijack] End of stdout")
<add> logrus.Debug("[hijack] End of stdout")
<ide> rece... | 19 |
Python | Python | use current_app.dag_bag instead of global variable | 50318f8519d7dd2f8215d7e977347739ecd3e408 | <ide><path>airflow/www/app.py
<ide> # specific language governing permissions and limitations
<ide> # under the License.
<ide> #
<add>
<ide> from datetime import timedelta
<ide> from typing import Optional
<ide>
<ide> from airflow.utils.json import AirflowJsonEncoder
<ide> from airflow.www.extensions.init_appbuilder i... | 4 |
Javascript | Javascript | convert errormonitor to a normal property | ed8007af0bc8fd4fa575217b50e8ca611a7e8679 | <ide><path>lib/events.js
<ide> ObjectDefineProperty(EventEmitter, 'captureRejections', {
<ide> enumerable: true
<ide> });
<ide>
<del>ObjectDefineProperty(EventEmitter, 'errorMonitor', {
<del> value: kErrorMonitor,
<del> writable: false,
<del> configurable: true,
<del> enumerable: true
<del>});
<add>EventEmitter.... | 1 |
Text | Text | fix mistakes in the deployment doc | 3707701cc9e9d03016dfc830d2d80a4de8517718 | <ide><path>docs/deployment.md
<ide> description: Compile and deploy your Next.js app to production with ZEIT Now and
<ide>
<ide> # Deployment
<ide>
<del>To go to production Next.js has a `next build` command. When ran it will compile your project and automatically apply numerous optimizations.
<add>To go to productio... | 1 |
Javascript | Javascript | add "finish" test | 921cfea20a44805b3aecfc1c88c6bfa7bafa0e24 | <ide><path>src/renderers/webgl/WebGLRenderLists.js
<ide> function WebGLRenderList() {
<ide> }
<ide>
<ide> return {
<add> renderItems: renderItems,
<ide> opaque: opaque,
<ide> transparent: transparent,
<ide>
<ide><path>test/unit/src/renderers/webgl/WebGLRenderLists.tests.js
<ide> export default QUnit.module( 'R... | 2 |
Javascript | Javascript | allow showing fabric indicator for appregistry | 66492e7f9b2459e0aa384bd897ed7436a0b7b046 | <ide><path>Libraries/ReactNative/AppRegistry.js
<ide> let componentProviderInstrumentationHook: ComponentProviderInstrumentationHook =
<ide> ) => component();
<ide>
<ide> let wrapperComponentProvider: ?WrapperComponentProvider;
<add>let showFabricIndicator = false;
<ide>
<ide> /**
<ide> * `AppRegistry` is the JavaSc... | 1 |
PHP | PHP | add type hinting to dispatch filters | 5741ac1828830557d50a127b1d8ef65b74aacd28 | <ide><path>lib/Cake/Routing/DispatcherFilter.php
<ide> public function implementedEvents() {
<ide> * keys in the data property.
<ide> * @return CakeResponse|boolean
<ide> **/
<del> public function beforeDispatch($event) {
<add> public function beforeDispatch(CakeEvent $event) {
<ide> }
<ide>
<ide> /**
<ide> public... | 3 |
Ruby | Ruby | return nil for out-of-bound parameters | 09b46c7dbea6ac2ac09ba4a41fae0bf628a775f3 | <ide><path>activesupport/lib/active_support/multibyte/chars.rb
<ide> def split(*args)
<ide> # string.mb_chars.slice!(0..3) # => #<ActiveSupport::Multibyte::Chars:0x00000002eb80a0 @wrapped_string="Welo">
<ide> # string # => 'me'
<ide> def slice!(*args)
<del> chars(@wrapped_string.slice!(*arg... | 2 |
PHP | PHP | change method order | e86f58a62ef54d5e28f7f53abe928bc94116d17c | <ide><path>src/Illuminate/Routing/CreatesRegularExpressionRouteConstraints.php
<ide> trait CreatesRegularExpressionRouteConstraints
<ide> {
<ide> /**
<del> * Specify that the given route parameters must be numeric.
<add> * Specify that the given route parameters must be alphabetic.
<ide> *
<ide> *... | 1 |
Python | Python | improve clip docstring | 663bc5680b1d1d4954f71e7f02f40d0daf6b4209 | <ide><path>numpy/core/fromnumeric.py
<ide> def clip(a, a_min, a_max, out=None):
<ide> a_min : scalar or array_like
<ide> Minimum value.
<ide> a_max : scalar or array_like
<del> Maximum value. If `a_min` or `a_max` are array_like, then they will
<del> be broadcasted to the shape of `a`.
<a... | 1 |
Go | Go | use prefix naming for build tests | 66cd3640f16f5b91893dacd6de3f8c5ae55e2f2c | <ide><path>integration-cli/docker_cli_build_test.go
<ide> func TestBuildSixtySteps(t *testing.T) {
<ide> logDone("build - build an image with sixty build steps")
<ide> }
<ide>
<del>func TestAddSingleFileToRoot(t *testing.T) {
<add>func TestBuildAddSingleFileToRoot(t *testing.T) {
<ide> testDirName := "SingleFileToRo... | 1 |
Javascript | Javascript | fix conflict with type in externalmodule | 77bd911b2d2de57201af3bfe509dd67273bb046f | <ide><path>lib/ExternalModule.js
<ide> class ExternalModule extends Module {
<ide>
<ide> // Info from Factory
<ide> this.request = request;
<del> this.type = type;
<add> this.externalType = type;
<ide> this.userRequest = userRequest;
<ide> this.external = true;
<ide> }
<ide> class ExternalModule extends Mod... | 2 |
Java | Java | use latches instead of sleep for unit test | 9791c2d1e3ad84808d470f584eb4a45abf4c5cb9 | <ide><path>rxjava-core/src/test/java/rx/observers/SerializedObserverTest.java
<ide>
<ide> import static org.junit.Assert.assertEquals;
<ide> import static org.junit.Assert.assertFalse;
<add>import static org.junit.Assert.assertSame;
<ide> import static org.junit.Assert.assertTrue;
<ide> import static org.junit.Assert.... | 1 |
Text | Text | enable chinese link | 3dd33d87edd7ef4dfd762db16ac418a6bded25d8 | <ide><path>docs/_translations.md
<ide>
<ide> <div class='i18n-lang-list'>
<ide>
<add>- [Chinese](/i18n/chinese/index.md)
<ide> - [English](/index.md)
<ide> - [Español](/i18n/espanol/index.md)
<ide> | 1 |
Javascript | Javascript | fix incorrect `typeof` import | a2d9a41354d40c2737a64c94308bd488562fd713 | <ide><path>packages/ember-views/lib/views/core_view.js
<ide> import ActionHandler from "ember-runtime/mixins/action_handler";
<ide>
<ide> import { get } from "ember-metal/property_get";
<ide>
<del>import { typeOf } from "ember-metal/utils";
<add>import { typeOf } from "ember-runtime/utils";
<ide> import { internal } ... | 1 |
Ruby | Ruby | add build error checks | 262eaca56e9efbb21a20be2fe83af563c9b9289e | <ide><path>Library/Homebrew/diagnostic.rb
<ide> def fatal_development_tools_checks
<ide> %w[
<ide> ].freeze
<ide> end
<add>
<add> def build_error_checks
<add> (development_tools_checks + %w[
<add> ]).freeze
<ide> end
<ide>
<ide> def check_for_installed_developer_too... | 2 |
Python | Python | add additional assert | f93432e6e227f721d07f5ec5343a5e5915d7bce3 | <ide><path>libcloud/test/dns/test_route53.py
<ide> def test_list_records(self):
<ide> self.assertEqual(record.type, RecordType.A)
<ide> self.assertEqual(record.data, '208.111.35.173')
<ide>
<del> mx_record = records[3]
<del> self.assertEqual(mx_record.type, RecordType.MX)
<del> sel... | 1 |
Javascript | Javascript | add assertion on 'class' for attributebindings | e5d76eec9e857f3eabe47ccbeac7768ba61f6916 | <ide><path>packages/ember-views/lib/system/build-component-template.js
<ide> function normalizeComponentAttributes(component, attrs) {
<ide> var attr = attributeBindings[i];
<ide> var colonIndex = attr.indexOf(':');
<ide>
<add> var attrName, expression;
<ide> if (colonIndex !== -1) {
<ide> ... | 2 |
Mixed | Go | forbid client piping to tty enabled container | 67e3ddb75ff27b8de0022e330413b4308ec5b010 | <ide><path>api/client/cli.go
<ide> package client
<ide> import (
<ide> "crypto/tls"
<ide> "encoding/json"
<add> "errors"
<ide> "fmt"
<ide> "io"
<ide> "net"
<ide> func (cli *DockerCli) LoadConfigFile() (err error) {
<ide> return err
<ide> }
<ide>
<add>func (cli *DockerCli) CheckTtyInput(attachStdin, ttyMode bool)... | 10 |
Mixed | Python | fix silent evaluation | b9f59118bf8782e97ce71c472152f46d52b1f501 | <ide><path>spacy/cli/_util.py
<ide> import sys
<ide> import shutil
<ide> from pathlib import Path
<del>from wasabi import msg
<add>from wasabi import msg, Printer
<ide> import srsly
<ide> import hashlib
<ide> import typer
<ide> def string_to_list(value: str, intify: bool = False) -> Union[List[str], List[in
<ide> r... | 3 |
Javascript | Javascript | show function names | 8e246acd0e80d35356be6c592289487549a49300 | <ide><path>lib/sys.js
<ide> exports.inspect = function (obj, showHidden, depth, colors) {
<ide> if (isRegExp(value)) {
<ide> return stylize('' + value, 'regexp');
<ide> } else {
<del> return stylize('[Function]', 'special');
<add> return stylize('[Function'+ (value.name ? ': '+ value.n... | 1 |
Ruby | Ruby | suggest full path to xcode 4.3 /developer | 5b0d97efc741019378ee5b40c09796a3c31d2fcb | <ide><path>Library/Homebrew/cmd/doctor.rb
<ide> def check_xcode_select_path
<ide> path = `xcode-select -print-path 2>/dev/null`.chomp
<ide> unless File.directory? path and File.file? "#{path}/usr/bin/xcodebuild"
<ide> # won't guess at the path they should use because it's too hard to get right
<add> # We spe... | 1 |
Python | Python | handle non-string input for ip fields | aa349fe76729dbea1b8becf1846ce58c70871f35 | <ide><path>rest_framework/fields.py
<ide> def __init__(self, protocol='both', **kwargs):
<ide> self.validators.extend(validators)
<ide>
<ide> def to_internal_value(self, data):
<del> if data and ':' in data:
<add> if not isinstance(data, six.string_types):
<add> self.fail('invalid'... | 2 |
PHP | PHP | increase time comparison range | 280ff385caae57b71c798e18cf249f1cb94b81f6 | <ide><path>tests/TestCase/Database/QueryTest.php
<ide> function ($q) {
<ide> $this->assertWithinRange(
<ide> date('U'),
<ide> (new DateTime($result->fetchAll('assoc')[0]['d']))->format('U'),
<del> 5
<add> 10
<ide> );
<ide>
<ide> $query = new Query($... | 1 |
Text | Text | fix docs for | 631f3a4f593c2d6b3286b528732982391a51830a | <ide><path>docs/docs/ref-04-tags-and-attributes.md
<ide> There is also the React-specific attribute `dangerouslySetInnerHTML` ([more here
<ide> ### SVG Attributes
<ide>
<ide> ```
<del>clip-path cx cy d dx dy fill fillOpacity fontFamily fontSize fx fy gradientTransform
<del>gradientUnits markerEnd markerMid markerStart... | 1 |
Python | Python | add more models to common tests | 4e10acb3e59f5ef52f383e5a82987e672f17b1fd | <ide><path>src/transformers/modeling_distilbert.py
<ide> def forward(
<ide> sequence_output = self.dropout(sequence_output)
<ide> logits = self.classifier(sequence_output)
<ide>
<del> outputs = (logits,) + outputs[2:] # add hidden states and attention if they are here
<add> outputs = (lo... | 9 |
Javascript | Javascript | update hu.js locale | b0b015b4a16d61efc48fbe9435f1379f09662fde | <ide><path>src/locale/hu.js
<ide> export default moment.defineLocale('hu', {
<ide> ordinal : '%d.',
<ide> week : {
<ide> dow : 1, // Monday is the first day of the week.
<del> doy : 7 // The week that contains Jan 1st is the first week of the year.
<add> doy : 4 // The week that contains... | 2 |
Java | Java | improve error message | 30c06163846f8bc5801d3f754def135ed79eb38b | <ide><path>spring-webflux/src/main/java/org/springframework/web/reactive/socket/adapter/ReactorNettyWebSocketSession.java
<ide> public Mono<Void> send(Publisher<WebSocketMessage> messages) {
<ide> @Override
<ide> public Mono<Void> close(CloseStatus status) {
<ide> return Mono.error(new UnsupportedOperationException... | 1 |
Text | Text | add toc and proper noun section to challenge guide | 1ef2f224b33ece60a474a9d35fa8e251b466e79b | <ide><path>seed/challenge-style-guide.md
<ide> # A guide to designing freeCodeCamp coding challenges
<ide>
<del>> “Talk is cheap. Show me the code.” — Linus Torvalds
<add>> "Talk is cheap. Show me the code." — Linus Torvalds
<ide>
<ide> freeCodeCamp offers 1,200 hours of interactive coding challenges. These are 100% ... | 1 |
Javascript | Javascript | add test for csv | aa6401693df7fff0ef637b3927545a62cf4e147c | <ide><path>test/csv/csv-test.js
<add>require("../env");
<add>require("../../d3");
<add>require("../../d3.csv");
<add>
<add>var vows = require("vows"),
<add> assert = require("assert");
<add>
<add>var suite = vows.describe("d3.csv");
<add>
<add>suite.addBatch({
<add> "csv": {
<add> topic: function() {
<add> ... | 1 |
PHP | PHP | fix incorrect variable name | 41ed5871ddae4031c20cc8dac7bdcf8f65234a9a | <ide><path>tests/TestCase/View/ViewVarsTraitTest.php
<ide> public function testUndefinedValidViewOptions() {
<ide> $result = $this->subject->viewOptions();
<ide>
<ide> $this->assertTrue(is_array($result));
<del> $this->assertTrue(empty($resulit));
<add> $this->assertTrue(empty($result));
<ide> }
<ide>
<ide> } | 1 |
Mixed | Javascript | improve error message for policy failures | 5b95f0128467d096e6e7ac9948939ae3f061604d | <ide><path>test/common/README.md
<ide> const { spawn } = require('child_process');
<ide> spawn(...common.pwdCommand, { stdio: ['pipe'] });
<ide> ```
<ide>
<add>### `requireNoPackageJSONAbove()`
<add>
<add>Throws an `AssertionError` if a `package.json` file is in any ancestor
<add>directory. Such files may interfere wi... | 10 |
Ruby | Ruby | remove all references to `where_values` in tests | 17b1b5d77342db8fe3aa064d848d46052cb4695c | <ide><path>activerecord/test/cases/associations/association_scope_test.rb
<ide> class AssociationScopeTest < ActiveRecord::TestCase
<ide> test 'does not duplicate conditions' do
<ide> scope = AssociationScope.scope(Author.new.association(:welcome_posts),
<ide> Autho... | 10 |
Ruby | Ruby | use brewed curl for homepage check when needed | bbfa52fcaa582a182a967651c934e6e5e97f6a22 | <ide><path>Library/Homebrew/formula_auditor.rb
<ide> def audit_homepage
<ide>
<ide> return unless DevelopmentTools.curl_handles_most_https_certificates?
<ide>
<add> use_homebrew_curl = false
<add> %w[Stable HEAD].each do |name|
<add> spec_name = name.downcase.to_sym
<add> next unless (sp... | 1 |
Javascript | Javascript | add app to showcase with source link | 464273374306bcbe81400e782d1fe1c5c7129a07 | <ide><path>website/src/react-native/showcase.js
<ide> var apps = [
<ide> icon: 'https://lh3.googleusercontent.com/5N0WYat5WuFbhi5yR2ccdbqmiZ0wbTtKRG9GhT3YK7Z-qRvmykZyAgk0HNElOxD2JOPr=w300-rw',
<ide> link: 'https://play.google.com/store/apps/details?id=com.rhyble.nalathekerala',
<ide> author: 'Rhyble',
<add>... | 1 |
Ruby | Ruby | reduce hash allocations | 5c07e1a3f465fb157ee5bf72eaeb8ad44b52c856 | <ide><path>actionpack/lib/action_dispatch/journey/router.rb
<ide> def serve(req)
<ide> req.path_info = "/" + req.path_info unless req.path_info.start_with? "/"
<ide> end
<ide>
<del> parameters = route.defaults.merge parameters.each_value { |val|
<del> val.force_encoding(::Enco... | 1 |
Text | Text | fix font-optimization.md syntax errors | 6edeb9d43ee93c6b37265c025be39dcf0643c2cf | <ide><path>docs/basic-features/font-optimization.md
<ide> Import the font you would like to use from `@next/font/google` as a function. We
<ide>
<ide> To use the font in all your pages, add it to [`_app.js` file](https://nextjs.org/docs/advanced-features/custom-app) under `/pages` as shown below:
<ide>
<del>```js:pag... | 1 |
Text | Text | add user definition | 3a6a90713fad9000712304be4810b4b031036fbd | <ide><path>guide/english/linux/common-terms-every-linux-user-should-know/index.md
<ide> title: common terms every Linux user should know.
<ide>
<ide> * <strong>Tux:</strong> it is the official mascot of Linux. That is the penguin that is usually associated with Linux – if you’ve seen the yellow and black penguin onli... | 1 |
PHP | PHP | add missing import | 616caeace33a082becfc318b0d8d37f8e6d0cbdf | <ide><path>tests/TestCase/Console/ConsoleInputTest.php
<ide> namespace Cake\Test\TestCase\Console;
<ide>
<ide> use Cake\Console\ConsoleInput;
<add>use Cake\Console\Exception\ConsoleException;
<ide> use Cake\TestSuite\TestCase;
<ide>
<ide> /** | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.