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
Python
Python
fix tests for missing example and system tests
8a8f54ffec71e4c992c6f078d0ff24ec5ed5dd45
<ide><path>tests/always/test_project_structure.py <ide> def has_example_dag(operator_set): <ide> def test_missing_example_for_operator(self): <ide> missing_operators = [] <ide> <del> for resource_type in ["operators", "sensors", "tranfers"]: <add> for resource_type in ["operators", "sensors",...
1
Python
Python
remove redundant code in maskedarray.__new__
7078ec63b55088d353b148f9c2d062ea879af2db
<ide><path>numpy/ma/core.py <ide> def __new__(cls, data=None, mask=nomask, dtype=None, copy=False, <ide> # FIXME _sharedmask is never used. <ide> _sharedmask = True <ide> # Process mask. <del> # Number of named fields (or zero if none) <del> names_ = _data.dtype.names or ()...
1
Ruby
Ruby
avoid the need to compact the expanded deps array
71586d09aa42a5a6f67fb7006e1cbe178ec27f52
<ide><path>Library/Homebrew/dependency.rb <ide> def expand(dependent, &block) <ide> deps = dependent.deps.map do |dep| <ide> case action(dependent, dep, &block) <ide> when :prune <del> next <add> next [] <ide> when :skip <ide> expand(dep.to_formula, &block) <ide...
1
PHP
PHP
fix missing base directories in redirect routes
292a924da20ea724331d9b73b36e5b261638b31c
<ide><path>src/Routing/Middleware/RoutingMiddleware.php <ide> class RoutingMiddleware <ide> public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) <ide> { <ide> try { <add> Router::setRequestContext($request); <ide> $params = (array)$request-...
4
Javascript
Javascript
remove unused import
5669af58bf0fd1514bea9bfd58924eac0c9e12aa
<ide><path>packages/ember-htmlbars/tests/helpers/unbound_test.js <ide> import { get } from 'ember-metal/property_get'; <ide> import { set } from 'ember-metal/property_set'; <ide> import run from 'ember-metal/run_loop'; <ide> import compile from "ember-template-compiler/system/compile"; <del>import EmberError from 'embe...
1
Javascript
Javascript
add jack in showcase
82853dcce38b8d395f03d6368dbb281630d984ef
<ide><path>website/src/react-native/showcase.js <ide> var featured = [ <ide> infoLink: 'https://www.techatbloomberg.com/blog/bloomberg-used-react-native-develop-new-consumer-app/', <ide> infoTitle: 'How Bloomberg Used React Native to Develop its new Consumer App', <ide> }, <del> { <del> name: 'Blink', <del> ...
1
Python
Python
fix piecewise to handle 0-d inputs
660dacef79bf3e78502309f791b3195b14fa63df
<ide><path>numpy/lib/function_base.py <ide> def piecewise(x, condlist, funclist, *args, **kw): <ide> n += 1 <ide> if (n != n2): <ide> raise ValueError, "function list and condition list must be the same" <add> zerod = False <add> # This is a hack to work around problems with NumPy's <add> ...
2
Javascript
Javascript
add url to eslint globals.
ff9def41ff3e7760d076bf1b899583d4b36cba0d
<ide><path>packages/eslint-config-react-native-community/index.js <ide> module.exports = { <ide> setImmediate: true, <ide> setInterval: false, <ide> setTimeout: false, <add> URL: false, <ide> WebSocket: true, <ide> window: false, <ide> XMLHttpRequest: false,
1
Ruby
Ruby
remove options audit check
ac9bc89bb38fc07205b34fdbb7f3c34b81e7464e
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_formula_text name, text <ide> --verbose <ide> ].freeze <ide> <del>def audit_formula_options f, text <del> problems = [] <del> <del> # Textually find options checked for in the formula <del> options = [] <del> text.scan(/ARGV\.include\?[ ]*\(?(['"])(.+?)\1/...
1
Javascript
Javascript
insert the core css styles without using innerhtml
25189661534502d578d27ea02bee17c29df1a882
<ide><path>lib/grunt/utils.js <ide> module.exports = { <ide> .replace(/\\/g, '\\\\') <ide> .replace(/'/g, '\\\'') <ide> .replace(/\r?\n/g, '\\n'); <del> js = '!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend(\'<style type="text/css">' + css + '</style>\...
2
Python
Python
fix test_ssh_client on big-endian architectures
df060de6ea325cba2b6411780728705252543bc3
<ide><path>libcloud/test/compute/test_ssh_client.py <ide> def test_consume_stdout_chunk_contains_non_utf8_character(self): <ide> chan.recv.side_effect = ["🤦".encode("utf-32"), "a", "b"] <ide> <ide> stdout = client._consume_stdout(chan).getvalue() <del> self.assertEqual("\x00\x00&\x01\x00ab", st...
1
PHP
PHP
remove blank line
18cbc9d197dbc27ee1e502b93dcf03cf02e347fa
<ide><path>src/Illuminate/Database/Query/Builder.php <ide> public function forPageAfterId($perPage = 15, $lastId = 0, $column = 'id') <ide> } <ide> } <ide> } <del> <ide> return $this->where($column, '>', $lastId) <ide> ->orderBy($column, 'asc') <id...
1
Javascript
Javascript
set the owner during traverseallchildren
cd1ab32d2f0f814c4cdf7293d81566dfab1e740d
<ide><path>src/addons/__tests__/ReactFragment-test.js <ide> describe('ReactFragment', function() { <ide> ); <ide> }); <ide> <add> it('should warn if a plain object even if it is in an owner', function() { <add> spyOn(console, 'error'); <add> class Foo { <add> render() { <add> var children = { ...
2
Javascript
Javascript
remove usage of require('util')
25b78c0940c1033131840e7a812225d7ef31635b
<ide><path>lib/internal/modules/esm/module_map.js <ide> const ModuleJob = require('internal/modules/esm/module_job'); <ide> const { <ide> SafeMap <ide> } = primordials; <del>const debug = require('util').debuglog('esm'); <add>const debug = require('internal/util/debuglog').debuglog('esm'); <ide> const { ERR_INVALID_A...
1
Text
Text
remove superfluous reptition from usingdocker.md
748aaf3530b943449d61952e06eb9aeab4a455ac
<ide><path>docs/sources/userguide/dockerlinks.md <ide> command to list the container's environment variables. <ide> > will scrub them when spawning shells for connection. <ide> <ide> We can see that Docker has created a series of environment variables with <del>useful information about our `db` container. Each variabl...
2
Python
Python
expand cases in test_issctype()
181cc0fb2bd6c4755904e924940c10c387c9f301
<ide><path>numpy/core/tests/test_numerictypes.py <ide> def test_non_type(self): <ide> (list, False), <ide> (1.1, False), <ide> (str, True), <add> (np.dtype(np.float64), True), <add> (np.dtype((np.int16, (3, 4))), True), <add> (np.dtype([('a', np.int8)]), True), <ide> ]) <ide> def test_issctype(...
1
Text
Text
remind backporter about v8_embedder_string
a9cb6723b5f3e626d0bcec3645831a9c2b3e21ba
<ide><path>doc/contributing/maintaining-V8.md <ide> Refs: https://github.com/v8/v8/commit/a51f429772d1e796744244128c9feeab4c26a854 <ide> PR-URL: https://github.com/nodejs/node/pull/7833 <ide> ``` <ide> <add>* Increase the `v8_embedder_string` number in `common.gypi`. <ide> * Open a PR against the `v6.x-staging` branch...
1
PHP
PHP
fix doc string
4e913bc8684872dfe9108f5c64a665584376c085
<ide><path>src/Http/ServerRequest.php <ide> class ServerRequest implements ServerRequestInterface <ide> * requests with put, patch or delete data. <ide> * - `session` An instance of a Session object <ide> * <del> * @param string|array $config An array of request data to create a request with. <del>...
1
Mixed
Javascript
remove max limit of crlfdelay
b8e0a5ea23e536fe24e94f1d460aaeadb8839e76
<ide><path>doc/api/readline.md <ide> changes: <ide> * `crlfDelay` {number} If the delay between `\r` and `\n` exceeds <ide> `crlfDelay` milliseconds, both `\r` and `\n` will be treated as separate <ide> end-of-line input. Default to `100` milliseconds. <del> `crlfDelay` will be coerced to `[100, 2000]` ran...
3
Text
Text
update description of build a city skyline step 71
b068a6eb0ae089df50162a2ae2489b1450bb0a6c
<ide><path>curriculum/challenges/english/14-responsive-web-design-22/learn-css-variables-by-building-a-city-skyline/5d822fd413a79914d39e990f.md <ide> dashedName: step-71 <ide> <ide> # --description-- <ide> <del>The windows are stacked on top of each other at the left of the section, behind the purple building. Add a ...
1
Java
Java
fix refcount issue in leakawaredatabuffer
3ebbfa2191376d9920c57b545fbd3c07167b4c1e
<ide><path>spring-core/src/test/java/org/springframework/core/io/buffer/LeakAwareDataBuffer.java <ide> class LeakAwareDataBuffer implements PooledDataBuffer { <ide> <ide> private final LeakAwareDataBufferFactory dataBufferFactory; <ide> <del> private int refCount = 1; <del> <ide> <ide> LeakAwareDataBuffer(DataBuff...
2
PHP
PHP
add docs for events
01f89f8c3e9c7b567320d8fe61f6a182e7fca467
<ide><path>Cake/ORM/Table.php <ide> * Table objects provide a few callbacks/events you can hook into to augment/replace <ide> * find operations. Each event uses the standard event subsystem in CakePHP <ide> * <del> * - beforeFind($event, $query, $options) - Fired before each find operation. By stopping <add> * - `be...
1
Javascript
Javascript
ignore an empty port component when parsing urls
677c2c112c8f92910b85e14575c9c941799f5916
<ide><path>lib/url.js <ide> exports.format = urlFormat; <ide> // define these here so at least they only have to be <ide> // compiled once on the first module load. <ide> var protocolPattern = /^([a-z0-9.+-]+:)/i, <del> portPattern = /:[0-9]+$/, <add> portPattern = /:[0-9]*$/, <ide> // RFC 2396: characters re...
2
Text
Text
update more information with link to sciencing
6c7ea37f82a9ba808b3dee4f9142ef1d322f2aa2
<ide><path>guide/english/mathematics/congruent/index.md <ide> Interestingly, dilating a shape by a certain scale figure will not produce congr <ide> <!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds --> <ide> <ide> #### More Information: <del>[H...
1
Text
Text
fix broken documentation link
4349ce1a542a1b83f7e19979831bbc427f92ad55
<ide><path>docs/api-guide/testing.md <ide> If you're using `RequestsClient` you'll want to ensure that test setup, and resu <ide> ## Headers & Authentication <ide> <ide> Custom headers and authentication credentials can be provided in the same way <del>as [when using a standard `requests.Session` instance](http://docs...
1
Text
Text
add mdn links for security headers [ci-skip]
7bcee1906038a52601a944398cb9a01578da37f5
<ide><path>guides/source/security.md <ide> application returns these headers for every HTTP response. <ide> <ide> #### `X-Frame-Options` <ide> <del>This header indicates if a browser can render the page in a `<frame>`, <add>The [`X-Frame-Options`][] header indicates if a browser can render the page in a `<frame>`, <i...
1
Ruby
Ruby
add extra hash conditions tests for named_scope
9a25315076bf90c39ab5471fa8d81736a3b2478e
<ide><path>activerecord/test/cases/named_scope_test.rb <ide> def test_scopes_with_string_name_can_be_composed <ide> assert_equal Topic.replied.approved, Topic.replied.approved_as_string <ide> end <ide> <add> def test_scopes_can_be_specified_with_deep_hash_conditions <add> assert_equal Topic.replied.approved,...
2
Javascript
Javascript
add shim files for rn in npm package
c29642d6edbc80188d2f21d3395276e1c1989d0a
<ide><path>packages/react/lib/React.native.js <add>'use strict'; <add> <add>// TODO: Once we remove the DOM bits from React, this shim can go away. <add> <add>module.exports = require('./ReactIsomorphic'); <ide><path>packages/react/lib/ReactDOM.native.js <add>'use strict'; <add> <add>var ReactUpdates = require('./React...
2
Go
Go
remove message during tests
f159f4710b0c5dac8b71246dddbaee667dd6a702
<ide><path>runtime.go <ide> func (runtime *Runtime) Destroy(container *Container) error { <ide> <ide> func (runtime *Runtime) restore() error { <ide> wheel := "-\\|/" <del> if os.Getenv("DEBUG") == "" { <add> if os.Getenv("DEBUG") == "" && os.Getenv("TEST") == "" { <ide> fmt.Printf("Loading containers: ") <ide> }...
1
Text
Text
fix labels on github issue templates.
606307d34adb0a42782605012dd82cdff8371647
<ide><path>.github/ISSUE_TEMPLATE/Bug-Report.md <ide> --- <ide> name: Bug Report <ide> about: Is something wrong with Celery? <del>labels: Issue Type: Bug Report <add>labels: "Issue Type: Bug Report" <ide> --- <ide> <!-- <ide> Please fill this template entirely and do not erase parts of it. <ide><path>.github/ISSUE_TEM...
4
Text
Text
use csshelper for grid-template-columns
a961b2c0323e61119fdb3f748215926a8cf19caa
<ide><path>curriculum/challenges/english/01-responsive-web-design/css-grid/add-columns-with-grid-template-columns.md <ide> Give the grid container three columns that are each `100px` wide. <ide> `container` class should have a `grid-template-columns` property with three units of `100px`. <ide> <ide> ```js <del>assert(...
1
Go
Go
improve partial message support in logger
0b4b0a7b5d5de8cb575b666312fceaa2cd58e658
<ide><path>api/types/backend/backend.go <ide> type ContainerAttachConfig struct { <ide> MuxStreams bool <ide> } <ide> <add>// PartialLogMetaData provides meta data for a partial log message. Messages <add>// exceeding a predefined size are split into chunks with this metadata. The <add>// expectation is for the logge...
8
Text
Text
rewrite contributing guide
30aa5397f364dc817c5bd1a8fb9573f251ad48af
<ide><path>CONTRIBUTING.md <ide> <ide> # Contribute to spaCy <ide> <del>Following the v1.0 release, it's time to welcome more contributors into the spaCy project and code base 🎉 This page will give you a quick overview of how things are organised and most importantly, how to get involved. <add>Thanks for your intere...
1
Go
Go
remove redundant word
c6edecc2d67b8e4659873fe9a960d76f7b2f82f4
<ide><path>vendor/src/github.com/docker/go-connections/sockets/tcp_socket.go <ide> import ( <ide> ) <ide> <ide> // NewTCPSocket creates a TCP socket listener with the specified address and <del>// and the specified tls configuration. If TLSConfig is set, will encapsulate the <add>// the specified tls configuration. If...
1
Javascript
Javascript
add bionic estore application to the showcase
8f889c942a579817b02b6f982aa9ad8d70c32cd1
<ide><path>website/src/react-native/showcase.js <ide> var apps = [ <ide> link: 'https://itunes.apple.com/us/app/beetroot/id1016159001?ls=1&mt=8', <ide> author: 'Alex Duckmanton', <ide> }, <add> { <add> name: 'Bionic eStore', <add> icon: 'http://a5.mzstatic.com/us/r30/Purple7/v4/c1/9a/3f/c19a3f82-ecc3-d...
1
Javascript
Javascript
fix lint error
3fb9d61eb91d6fdb0e541061aede623c9b067f3a
<ide><path>examples/js/renderers/CSS2DRenderer.js <ide> THREE.CSS2DRenderer = function () { <ide> <ide> return result; <ide> <del> } <add> }; <ide> <ide> var zOrder = function ( scene ) { <ide>
1
Ruby
Ruby
fix backtrace cleaner example
8df6b6464f36910680eef7016d31e968c1d9419c
<ide><path>activesupport/lib/active_support/backtrace_cleaner.rb <ide> def clean(backtrace, kind = :silent) <ide> # mapped against this filter. <ide> # <ide> # # Will turn "/my/rails/root/app/models/person.rb" into "/app/models/person.rb" <del> # backtrace_cleaner.add_filter { |line| line.gsub(Rails....
1
Javascript
Javascript
fix typo and rephrase for simplicity
7dd42d31a7b9d6c2b1c8f7ea6636e8b70288a3c2
<ide><path>src/ng/directive/ngModel.js <ide> NgModelController.prototype = { <ide> * <ide> * @description <ide> * Cancel an update and reset the input element's value to prevent an update to the `$modelValue`, <del> * which may be caused by a pending debounced event or because the input is waiting for a some...
1
Ruby
Ruby
simplify filter normalization
5966b801ced62bdfcf1c8189bc068911db90ac13
<ide><path>actionpack/lib/action_dispatch/routing/inspector.rb <ide> def format(formatter, filter = nil) <ide> <ide> def normalize_filter(filter) <ide> if filter.is_a?(Hash) && filter[:controller] <del> {controller: /#{filter[:controller].downcase.sub(/_?controller\z/, '').sub('::', '/')}/} <del...
1
Python
Python
fix info text on pipeline in package cli
7e04b7f89c9245388cbd3bf6c75b957bc0822048
<ide><path>spacy/cli/package.py <ide> def generate_meta(): <ide> def generate_pipeline(): <ide> prints("If set to 'True', the default pipeline is used. If set to 'False', " <ide> "the pipeline will be disabled. Components should be specified as a " <del> "comma-separated list of component names...
1
Javascript
Javascript
remove legacypromise in src/core/chunked_stream.js
89c11ca9a21ccce56410ece90acd9eb9c4cd2725
<ide><path>src/core/chunked_stream.js <ide> * limitations under the License. <ide> */ <ide> /* globals assert, MissingDataException, isInt, NetworkManager, Promise, <del> isEmptyObj, LegacyPromise */ <add> isEmptyObj, createPromiseCapability */ <ide> <ide> 'use strict'; <ide> <ide> var ChunkedSt...
1
Python
Python
set the correct variable
4eeb9a8e8dc401db4c715f772a22fe18e464702a
<ide><path>setup.py <ide> except ImportError: <ide> has_epydoc = False <ide> <del>import libcloud.utils.misc <add>import libcloud.utils <ide> from libcloud.utils.dist import get_packages, get_data_files <ide> <del>libcloud.utils.misc.SHOW_DEPRECATION_WARNING = False <add>libcloud.utils.SHOW_DEPRECATION_WARNING = ...
1
Javascript
Javascript
skip some pummel tests on slower machines
4dc8e769a5e6b4bbfeb684de7f3ce15a6dae76d3
<ide><path>test/pummel/test-crypto-dh-hash-modp18.js <ide> <ide> 'use strict'; <ide> const common = require('../common'); <del>if (!common.hasCrypto) <add> <add>if (!common.hasCrypto) { <ide> common.skip('node compiled without OpenSSL.'); <add>} <add> <add>if ((process.config.variables.arm_version === '6') || <add> ...
6
Text
Text
remove rackt style paragraph from contributing.md
b04e7e4ea719db518faaab09e36d20112241fedd
<ide><path>CONTRIBUTING.md <ide> Not all examples have tests. If you see an example project without tests, you ar <ide> <ide> Please visit the [Examples page](http://redux.js.org/docs/introduction/Examples.html) for information on running individual examples. <ide> <del>### Style <del> <del>The [reactjs](https://gith...
1
Ruby
Ruby
remove useless assertions
d7d379967a7bc6b2e562d271c673c3e142294224
<ide><path>activerecord/test/cases/base_test.rb <ide> def test_primary_key_with_no_id <ide> <ide> unless current_adapter?(:PostgreSQLAdapter,:OracleAdapter,:SQLServerAdapter) <ide> def test_limit_with_comma <del> assert_nothing_raised do <del> Topic.limit("1,2").all <del> end <add> assert T...
1
PHP
PHP
add test for size inline messages
90ef1d31b22a042233adb6bfbc1e7f162bb96b73
<ide><path>tests/Validation/ValidationValidatorTest.php <ide> public function testInlineValidationMessagesAreRespected() <ide> $this->assertFalse($v->passes()); <ide> $v->messages()->setFormat(':message'); <ide> $this->assertEquals('require it please!', $v->messages()->first('name')); <add> <add...
1
Ruby
Ruby
remove missing integration points of av extraction
d6eda3ef3c59e377670442cd7f36460dbdf389f5
<ide><path>actionpack/test/abstract_unit.rb <ide> def assert_header(name, value) <ide> end <ide> end <ide> <del>ActionController::Base.superclass.send(:include, ActionView::Layouts) <del> <ide> module ActionController <ide> class Base <ide> include ActionController::Testing <ide><path>actionpack/test/controlle...
3
Mixed
Go
make discovery ttl and heartbeat configurable
2efdb8cbf519f55836b0703e47c907e24a20eff6
<ide><path>daemon/discovery.go <ide> package daemon <ide> <ide> import ( <add> "fmt" <add> "strconv" <ide> "time" <ide> <ide> log "github.com/Sirupsen/logrus" <ide> import ( <ide> const ( <ide> // defaultDiscoveryHeartbeat is the default value for discovery heartbeat interval. <ide> defaultDiscoveryHeartbeat = 20...
3
Ruby
Ruby
update formula tests for #outdated_kegs
7b85934f502cd6adf4696cf63cd3cd0c4449d40f
<ide><path>Library/Homebrew/test/test_formula.rb <ide> def setup_tab_for_prefix(prefix, options = {}) <ide> tab <ide> end <ide> <del> def reset_outdated_versions <del> f.instance_variable_set(:@outdated_versions, nil) <add> def reset_outdated_kegs <add> f.instance_variable_set(:@outdated_kegs, nil) <ide>...
1
Go
Go
convert err description to lower
47637b49a0fbd62a25702859f0993666c63ff562
<ide><path>daemon/start.go <ide> func (daemon *Daemon) containerStart(container *container.Container, checkpoint <ide> <ide> if err := daemon.containerd.Create(container.ID, checkpoint, checkpointDir, *spec, container.InitializeStdio, createOptions...); err != nil { <ide> errDesc := grpc.ErrorDesc(err) <add> conta...
2
Go
Go
implement lxc driver
203b69c8c907b9cf57c887774b6f492d405a0621
<ide><path>execdriver/driver.go <ide> package execdriver <ide> <ide> import ( <add> "errors" <ide> "io" <ide> "net" <add> "os/exec" <add> "sync" <add> "syscall" <add> "time" <ide> ) <ide> <add>var ( <add> ErrCommandIsNil = errors.New("Process's cmd is nil") <add>) <add> <add>type Driver interface { <add> Start(c *P...
2
Java
Java
fix checkstyle violation
82a211fa966767bc1ac78fbaa79f210a5a99f5b1
<ide><path>spring-context/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java <ide> public void process() { <ide> this.deferredImportSelectors = new ArrayList<>(); <ide> } <ide> } <del> <add> <ide> } <ide> <ide>
1
PHP
PHP
move the timezone setting into the core file
1867f28ad6210b58729b8402393c030731f87501
<ide><path>laravel/laravel.php <ide> */ <ide> require 'core.php'; <ide> <del>/** <del> * Register the default timezone for the application. This will be <del> * the default timezone used by all date / timezone functions in <del> * the entire application. <del> */ <del>date_default_timezone_set(Config::$items['applica...
1
Text
Text
remove stale deprecation note from unmounting docs
6ee9aa773d1fe67cad0fde078314fb1658e684c1
<ide><path>docs/docs/ref-01-top-level-api.md <ide> boolean unmountComponentAtNode(DOMElement container) <ide> <ide> Remove a mounted React component from the DOM and clean up its event handlers and state. If no component was mounted in the container, calling this function does nothing. Returns `true` if a component wa...
1
Ruby
Ruby
silence some ruby 2.1 warnings
109e9dc58bb71d9b17c10c28d434556b56c08b1c
<ide><path>Library/Contributions/cmd/brew-test-bot.rb <ide> def run <ide> @status = success ? :passed : :failed <ide> puts_result <ide> <del> return unless File.exists?(log_file_path) <add> return unless File.exist?(log_file_path) <ide> @output = IO.read(log_file_path) <ide> if has_output? and (n...
2
Ruby
Ruby
remove python 3.9 from unstable allowlist
ea57ef794e90ed2e94cb4aba6d136e155264429c
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def get_repo_data(regex) <ide> <ide> # used for formulae that are unstable but need CI run without being in homebrew/core <ide> UNSTABLE_DEVEL_ALLOWLIST = { <del> "python@3.9" => "3.9.0rc", <ide> }.freeze <ide> <ide> GNOME_DEVEL_ALLOWLIST = {
1
Javascript
Javascript
use https for baseurl
2ffa100f9a36924d721c8b8095b0a1b6c622b79b
<ide><path>Gruntfile.js <ide> module.exports = function(grunt) { <ide> <ide> const buildSettings = { <ide> outDir: 'out', <del> baseUrl: 'http://threejsfundamentals.org', <add> baseUrl: 'https://threejsfundamentals.org', <ide> rootFolder: 'threejs', <ide> lessonGrep: 'threejs*.md', <ide> siteNa...
1
Ruby
Ruby
remove unneeded mercurial check
7f54c83911a494b592e412d2f99119530cebf458
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def audit_deps <ide> case dep.name <ide> when "git" <ide> problem "Don't use git as a dependency" <del> when "mercurial" <del> problem "Use `depends_on :hg` instead of `depends_on 'mercurial'`" <ide> when "gfortran" <id...
1
Ruby
Ruby
fix broken mysql test
66982772b7b019505870a65b38af076d509ffd53
<ide><path>activerecord/test/cases/adapters/mysql/active_schema_test.rb <ide> <ide> class ActiveSchemaTest < ActiveRecord::TestCase <ide> def setup <del> ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter.class_eval do <add> @connection = ActiveRecord::Base.remove_connection <add> ActiveRecord::Base.est...
2
PHP
PHP
add getmessages to messagebag interface.
c20de0861c2bbf8c894d510aca29d62220c18cf6
<ide><path>src/Illuminate/Contracts/Support/MessageBag.php <ide> public function get($key, $format = null); <ide> */ <ide> public function all($format = null); <ide> <add> /** <add> * Get the raw messages in the container. <add> * <add> * @return array <add> */ <add> public function getM...
1
Text
Text
add documentation for plists
402600a94fa9eb3dd9ade82f5edf64a890f159d6
<ide><path>docs/Formula-Cookbook.md <ide> Homebrew provides two formula DSL methods for launchd plist files: <ide> * [`plist_name`](https://rubydoc.brew.sh/Formula#plist_name-instance_method) will return e.g. `homebrew.mxcl.<formula>` <ide> * [`plist_path`](https://rubydoc.brew.sh/Formula#plist_path-instance_method) wi...
1
Java
Java
drop getaotinitializers method
86ad29a7d6bc3e57fe19276ae9f18222cfb4dbd7
<ide><path>spring-context/src/main/java/org/springframework/context/aot/AotApplicationContextInitializer.java <ide> <ide> package org.springframework.context.aot; <ide> <del>import java.util.ArrayList; <del>import java.util.Collection; <del>import java.util.List; <del> <ide> import org.apache.commons.logging.Log; <id...
2
PHP
PHP
delay creation of error logger
aa3066cba9985d54bd085d40d4952ec794fd4ac7
<ide><path>src/Error/ExceptionTrap.php <ide> public function handleFatalError(int $code, string $description, string $file, i <ide> */ <ide> public function logException(Throwable $exception, ?ServerRequestInterface $request = null): void <ide> { <del> $logger = $this->logger(); <ide> $shoul...
1
Javascript
Javascript
indent the comment
f267dd02d19c2ede88e37b8a73cc0b0b63413be2
<ide><path>src/index.js <ide> import compose from './compose' <ide> import warning from './utils/warning' <ide> <ide> /* <del>* This is a dummy function to check if the function name has been altered by minification. <del>* If the function has been minified and NODE_ENV !== 'production', warn the user. <del>*/ <add> *...
1
Text
Text
clarify stream errors while reading and writing
7223ce2a9c0fe250e199327ece14d2fcaea34bb1
<ide><path>doc/api/stream.md <ide> or write buffered data before a stream ends. <ide> <ide> #### Errors While Writing <ide> <del>It is recommended that errors occurring during the processing of the <del>`writable._write()` and `writable._writev()` methods are reported by invoking <del>the callback and passing the err...
1
PHP
PHP
add lazy reading of cookie data
849a04f8970f176e2d3ca12266df19df313e4d46
<ide><path>src/Controller/Component/CookieComponent.php <ide> class CookieComponent extends Component { <ide> */ <ide> protected $_values = []; <ide> <add>/** <add> * A map of keys that have been loaded. <add> * <add> * Since CookieComponent lazily reads cookie data, <add> * we need to track which cookies have been ...
2
Javascript
Javascript
remove unnecessary object call to kformat
d2b16553f9a5415aebdf8f681d0e68c0c794240b
<ide><path>lib/internal/url.js <ide> class URL { <ide> toString() { <ide> if (!isURLThis(this)) <ide> throw new ERR_INVALID_THIS('URL'); <del> return this[kFormat]({}); <add> return this[kFormat](); <ide> } <ide> <ide> get href() { <ide> if (!isURLThis(this)) <ide> throw new ERR_INVALID...
1
Text
Text
fix #187 by updating reference to trello board
b6fd96902e0582f6076a5f250b565cdb889d3999
<ide><path>README.md <ide> Contributing <ide> <ide> We welcome pull requests from Free Code Camp "campers" (our students) and seasoned JavaScript developers alike! <ide> 1) Check our [public Waffle Board](https://waffle.io/freecodecamp/freecodecamp) <del>2) If your issue or feature isn't on the board, either open an i...
1
Python
Python
add documentation for amin/amax
9064d4b2a46fc8b725314e5fae191b8497fef5f6
<ide><path>numpy/core/fromnumeric.py <ide> def amax(a, axis=None, out=None): <ide> >>> np.amax(a, axis=1) <ide> array([1, 3]) <ide> <add> Note <add> ---- <add> NaN values are propagated, that is if at least one item is nan, the <add> corresponding max value will be nan as well. To ignore NaN values...
1
Ruby
Ruby
use respond_to_missing? for chars
9bda37474e2cd3db63102f6b63246ebc54011ad2
<ide><path>activesupport/lib/active_support/multibyte/chars.rb <ide> def method_missing(method, *args, &block) <ide> <ide> # Returns +true+ if _obj_ responds to the given method. Private methods are included in the search <ide> # only if the optional second parameter evaluates to +true+. <del> def res...
2
Mixed
Javascript
support rfc 2818 compatible checkhost
da1b59fc1388f8bffab870d80efa96db49439b6e
<ide><path>doc/api/crypto.md <ide> added: v15.6.0 <ide> <ide> <!-- YAML <ide> added: v15.6.0 <add>changes: <add> - version: REPLACEME <add> pr-url: https://github.com/nodejs/node/pull/41569 <add> description: The subject option can now be set to `'default'`. <ide> --> <ide> <ide> * `email` {string} <ide> * `op...
3
Python
Python
add a comment
7a4164612c8112bdc1d952d5766c817cd6af3b0b
<ide><path>libcloud/compute/ssh.py <ide> def run(self, cmd, timeout=None): <ide> exit_status_ready = chan.exit_status_ready() <ide> <ide> if exit_status_ready: <add> # It's possible that some data is already available when exit <add> # status is ready <ide> stdout.writ...
1
Go
Go
add tests for parsejob()
d985fd49843b31b227b46d5ed71914002e2e0de9
<ide><path>engine/engine_test.go <ide> import ( <ide> "os" <ide> "path" <ide> "path/filepath" <add> "strings" <ide> "testing" <ide> ) <ide> <ide> func TestEngineLogf(t *testing.T) { <ide> t.Fatalf("Test: Logf() should print at least as much as the input\ninput=%d\nprinted=%d", len(input), n) <ide> } <ide> } <ad...
1
PHP
PHP
apply fixes from styleci
c7a46f0c13b7f6b764c55bb741672bc557eada80
<ide><path>tests/Queue/QueueWorkerTest.php <ide> public function test_job_based_max_retries() <ide> $this->assertNull($job->failedWith); <ide> } <ide> <del> <ide> public function test_job_based_failed_delay() <ide> { <ide> $job = new WorkerFakeJob(function ($job) { <ide> public function tes...
1
Ruby
Ruby
use gem versions of sass-rails and coffee-rails
8de96949e9d3d8f0902486df343ad88401c028fd
<ide><path>railties/lib/rails/generators/app_base.rb <ide> def ruby_debugger_gemfile_entry <ide> <ide> def assets_gemfile_entry <ide> return if options[:skip_sprockets] <del> <<-GEMFILE.strip_heredoc.gsub(/^[ \t]*$/, '') <del> # Gems used only for assets and not required <del> # ...
1
Ruby
Ruby
let build_bottle? check bottle_disabled?
975771ab358ca582f6d5119c63bf32792735ac60
<ide><path>Library/Homebrew/formula_installer.rb <ide> def self.mode_attr_accessor(*names) <ide> end <ide> <ide> attr_reader :formula <del> attr_accessor :options <add> attr_accessor :options, :build_bottle <ide> mode_attr_accessor :show_summary_heading, :show_header <del> mode_attr_accessor :build_from_sourc...
1
Go
Go
fix formatting of "nolint" tags for go1.19
4f0834668696c981ef56ee77dc7af05bf3d0dbf9
<ide><path>libcontainerd/remote/client.go <ide> func (c *client) CreateCheckpoint(ctx context.Context, containerID, checkpointDi <ide> for _, m := range index.Manifests { <ide> m := m <ide> if m.MediaType == images.MediaTypeContainerd1Checkpoint { <del> cpDesc = &m // nolint:gosec <add> cpDesc = &m //nolint:go...
15
Python
Python
shorten error message for clarity
2cafba5f50d83a93582bddea6bd1f569f98207f7
<ide><path>spacy/errors.py <ide> class Errors: <ide> <ide> # TODO: fix numbering after merging develop into master <ide> E900 = ("Could not run the full 'nlp' pipeline for evaluation. If you specified " <del> "frozen components, make sure they were already trained and initialized. " <del> ...
1
Ruby
Ruby
avoid dummy_time_value to add "2000-01-01" twice
589cef086fd06df80bcf988a014c7b6628013039
<ide><path>activemodel/lib/active_model/type/time.rb <ide> def cast_value(value) <ide> return value unless value.is_a?(::String) <ide> return if value.empty? <ide> <del> dummy_time_value = "2000-01-01 #{value}" <add> if value =~ /^2000-01-01/ <add> dummy_time_value = value <add> ...
1
Python
Python
add test for ticket #372. whitespace cleanup
a15d0d96c00f8ae86e5302024c4a940c266d5288
<ide><path>numpy/core/tests/test_regression.py <ide> def check_char_dump(self,level=rlevel): <ide> def check_noncontiguous_fill(self,level=rlevel): <ide> """Ticket #58.""" <ide> a = N.zeros((5,3)) <del> b = a[:,:2,] <add> b = a[:,:2,] <ide> def rs(): <ide> b.shape = (10,) ...
1
Javascript
Javascript
remove debug comment
63414e3323ee994ca410bf629d5303f3dd3d2846
<ide><path>examples/js/BlendCharacter.js <ide> THREE.BlendCharacter = function () { <ide> <ide> scope.mixer = new THREE.AnimationMixer( scope ); <ide> <del> // Create the animations <del> console.log( geometry ); <del> <add> // Create the animations <ide> for ( var i = 0; i < geometry.clips.length; +...
1
Javascript
Javascript
fix d3.svg.axis path for explicit ordinal range
1a98398be0954bc4240f848baf7c33f92d4b4702
<ide><path>d3.js <ide> d3.svg.axis = function() { <ide> subtickUpdate.attr("x2", 0).attr("y2", tickMinorSize); <ide> tickUpdate.select("line").attr("x2", 0).attr("y2", tickMajorSize); <ide> tickUpdate.select("text").attr("x", 0).attr("y", Math.max(tickMajorSize, 0) + tickPadding).attr("dy"...
4
Javascript
Javascript
fix minor typo in comment
c38c1c503074af1b0aae7498b9381cb90cd63958
<ide><path>src/ngMock/angular-mocks.js <ide> angular.mock.$LogProvider = function() { <ide> * <ide> * *NOTE*: this is not an injectable instance, just a globally available mock class of `Date`. <ide> * <del> * Mock of the Date type which has its timezone specified via constroctor arg. <add> * Mock of the D...
1
PHP
PHP
fix remaining failing tests in exceptionrenderer
4ed00b511fdefa79c584e76a59c11830b9925d31
<ide><path>lib/Cake/Test/TestApp/View/Helper/BananaHelper.php <ide> * @license MIT License (http://www.opensource.org/licenses/mit-license.php) <ide> */ <ide> namespace TestApp\View\Helper; <add> <ide> use Cake\View\Helper; <ide> <ide> class BananaHelper extends Helper { <ide><path>lib/Cake/Test/TestCase/Error...
2
Mixed
PHP
add some events to eloquent models
ca065823699720db2913254831d4ac3788c3e836
<ide><path>laravel/database/eloquent/model.php <ide> <?php namespace Laravel\Database\Eloquent; <ide> <ide> use Laravel\Str; <add>use Laravel\Event; <ide> use Laravel\Database; <ide> use Laravel\Database\Eloquent\Relationships\Has_Many_And_Belongs_To; <ide> <ide> public function __construct($attributes = array(), $ex...
4
Java
Java
fix typereference#getname for cglib proxies
f2e9d112b1f2ce036f59746515595b47bc5613d0
<ide><path>spring-core/src/main/java/org/springframework/aot/hint/SimpleTypeReference.java <ide> static SimpleTypeReference of(String className) { <ide> if (!className.contains("$")) { <ide> return createTypeReference(className); <ide> } <del> String[] elements = className.split("\\$"); <add> String[] elements...
3
Javascript
Javascript
fix $orderby example and e2e test
c02ef92630308cda6148de74e5561aeecff5f24d
<ide><path>src/apis.js <ide> var angularArray = { <ide> {name:'Adam', phone:'555-5678', age:35}, <ide> {name:'Julie', phone:'555-8765', age:29}]"></div> <ide> <del> <pre>Sorting predicate = {{predicate}} reverse = {{reverse}}</pre> <add> ...
1
Javascript
Javascript
remove an unnecessary assignment
88de88b5a6289ff4f56d13b6b4e11759945f2177
<ide><path>lib/_http_outgoing.js <ide> OutgoingMessage.prototype.end = function(data, encoding, callback) { <ide> var ret; <ide> if (data) { <ide> // Normal body write. <del> ret = this.write(data, encoding); <add> this.write(data, encoding); <ide> } <ide> <ide> if (this._hasBody && this.chunkedEncod...
1
Text
Text
add changelog entry
3699ec9d1bd48332d1aef7def38f913c4773257c
<ide><path>activesupport/CHANGELOG.md <add>* Add "event object" support to the notification system. <add> Before this change, end users were forced to create hand made arsenal <add> event objects on their own, like this: <add> <add> ActiveSupport::Notifications.subscribe('wait') do |*args| <add> ...
1
PHP
PHP
fix typo on docblock
2e10175326bbdaeca2fdc9ad1b49dda62031bb65
<ide><path>src/Illuminate/Cache/Console/CacheTableCommand.php <ide> class CacheTableCommand extends Command <ide> protected $composer; <ide> <ide> /** <del> * Create a new session table command instance. <add> * Create a new cache table command instance. <ide> * <ide> * @param \Illuminate\Fi...
1
PHP
PHP
fix parse error
2f826088f5e78ab4a75614e39bc62085d64f081d
<ide><path>src/Http/ControllerFactory.php <ide> <ide> class_alias( <ide> 'Cake\Controller\ControllerFactory', <del> 'Cake\Http\ControllerFactory', <add> 'Cake\Http\ControllerFactory' <ide> ); <ide> deprecationWarning( <ide> 'Use Cake\Controller\ControllerFactory instead of Cake\Http\ControllerFactory.' <...
2
Javascript
Javascript
add disable_minification environment variable.
847877e737a328ae45e731b03dccf33bc0b58471
<ide><path>ember-cli-build.js <ide> function buildBundles(packagesES, dependenciesES, templateCompilerDependenciesES <ide> return new MergeTrees( <ide> [ <ide> emberProdBundle, <del> emberMinBundle, <add> process.env.DISABLE_MINIFICATION !== '1' && emberMinBundle, <ide> emberProdTestsBundle,...
1
PHP
PHP
update typhints for database/
1f46639b4bdcf5ae0855e8fcefbe78acae10a189
<ide><path>src/Database/Connection.php <ide> public function isQueryLoggingEnabled(): bool <ide> * @param \Cake\Database\Log\QueryLogger|null $logger Logger object <ide> * @return $this <ide> */ <del> public function setLogger($logger) <add> public function setLogger(?QueryLogger $logger) <ide> ...
17
Python
Python
handle nan and inf in assert_almost_equal
f49d6d36b666eaff6a82614badf452df1844e33b
<ide><path>numpy/testing/tests/test_utils.py <ide> def test_recarrays(self): <ide> self._test_not_equal(c, b) <ide> <ide> <del>class TestAlmostEqual(_GenericTest, unittest.TestCase): <add>class TestArrayAlmostEqual(_GenericTest, unittest.TestCase): <ide> def setUp(self): <ide> self._assert_func = ...
2
Javascript
Javascript
simplify timeout handling
cad3a21c1d0d216ba0d0b4b8eaa7a468fab7c2a9
<ide><path>lib/_http_client.js <ide> function responseOnEnd() { <ide> const res = this; <ide> const req = this.req; <ide> <add> if (req.socket && req.timeoutCb) { <add> req.socket.removeListener('timeout', emitRequestTimeout); <add> } <add> <ide> req._ended = true; <ide> if (!req.shouldKeepAlive || req.fi...
1
PHP
PHP
add explode test
2e077822e304a1d6bc4cb7681a960dfdd2b71393
<ide><path>tests/Support/SupportStringableTest.php <ide> public function testPadRight() <ide> $this->assertSame('❤MultiByte☆ ', (string) $this->stringable('❤MultiByte☆')->padRight(16)); <ide> } <ide> <add> public function testExplode() <add> { <add> $this->assertInstanceOf(Collection::clas...
1
Python
Python
add test for too-deep non-object deprecation
4ac514f8e710d75b06ac9916874c5137a27196d1
<ide><path>numpy/core/tests/test_deprecations.py <ide> def test_deprecate_ragged_arrays(): <ide> np.array(arg) <ide> <ide> <add>class TestTooDeepDeprecation(_VisibleDeprecationTestCase): <add> # NumPy 1.20, 2020-05-08 <add> # This is a bit similar to the above ragged array deprecation case. <add> mes...
1
Text
Text
add v3.17.2 to changelog.md
1370ef5ebea1511b3e225b5704c41edde6caa7eb
<ide><path>CHANGELOG.md <ide> - [#18774](https://github.com/emberjs/ember.js/pull/18774) [BUGFIX] Suspend observer deactivation during property changes <ide> - [#18785](https://github.com/emberjs/ember.js/pull/18785) Drop Node 8 support. <ide> <add>### v3.17.2 (March 26, 2020) <add> <add>- [#18837](https://github.com/...
1
Ruby
Ruby
make files in paths consistent
fe6573e7184cb7e55b4045d2b61696315e13a201
<ide><path>railties/lib/rails/engine/configuration.rb <ide> def paths <ide> paths.add "config/routes", :glob => "**/*.rb" <ide> paths.add "db" <ide> paths.add "db/migrate" <del> paths.add "db/seeds", :with => "db/seeds.rb" <add> paths.add "db/seeds.rb" <i...
1
Javascript
Javascript
convert functions filter name to camelcase
22d855a182be5ee9938bba871d43311bac4643b0
<ide><path>glances/outputs/static/js/filters.js <ide> import angular from "angular"; <ide> import _ from "lodash"; <ide> <del>function min_size_filter() { <add>function minSizeFilter() { <ide> return function (input, max) { <ide> var max = max || 8; <ide> if (input.length > max) { <ide> function mi...
1