hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
a6a1e0578f6a90ded216287f6b89a8feddde4d88 | diff --git a/CHANGES.md b/CHANGES.md
index <HASH>..<HASH> 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -5,6 +5,9 @@ Change Log
### 2.0.2
* Fixed a bug that caused the content on the feature info panel to be rendered as pure HTML instead of as mixed HTML / Markdown.
+* Changed the default for `tableStyle.replaceWithZ... | Change null-value-related tableStyle defaults | TerriaJS_terriajs | train |
995095000701d84ba529df655b04a745ed500dd5 | diff --git a/src/elements/Input/Input.js b/src/elements/Input/Input.js
index <HASH>..<HASH> 100644
--- a/src/elements/Input/Input.js
+++ b/src/elements/Input/Input.js
@@ -17,29 +17,37 @@ import Icon from '../../elements/Icon'
import Label from '../../elements/Label'
export const htmlInputPropNames = [
- // React
-... | fix(Input): pass all handlers to the html input (#<I>) | Semantic-Org_Semantic-UI-React | train |
13102f0d8441f1800aad4c7994652996cad9d050 | diff --git a/pupa/tests/importers/test_vote_importer.py b/pupa/tests/importers/test_vote_importer.py
index <HASH>..<HASH> 100644
--- a/pupa/tests/importers/test_vote_importer.py
+++ b/pupa/tests/importers/test_vote_importer.py
@@ -77,3 +77,53 @@ def test_vote_identifier_dedupe():
_, what = VoteImporter('jid', dmi,... | add a failing test for bill_id deduping on Vote | opencivicdata_pupa | train |
62f436848e2af4a2ef371ec654da828b5a04ff19 | diff --git a/lib/stax/aws/sg.rb b/lib/stax/aws/sg.rb
index <HASH>..<HASH> 100644
--- a/lib/stax/aws/sg.rb
+++ b/lib/stax/aws/sg.rb
@@ -24,6 +24,22 @@ module Stax
warn(e.message)
end
+ def authorize_sg(id, sg, port)
+ client.authorize_security_group_ingress(
+ group_id: i... | add methods to auth and revoke SGs from other SGs | rlister_stax | train |
b123acdab4fb4fba1e6eac294594216afbd17161 | diff --git a/lfs/util.go b/lfs/util.go
index <HASH>..<HASH> 100644
--- a/lfs/util.go
+++ b/lfs/util.go
@@ -110,13 +110,18 @@ func FilenamePassesIncludeExcludeFilter(filename string, includePaths, excludePa
return true
}
+ matchLocalDir := map[string]struct{}{
+ ".": {},
+ "./": {},
+ ".\\": {},
+ }
// Fo... | Use a set to detect `.` `./` `.\` instead of 3 conditions | git-lfs_git-lfs | train |
dcf3518c6968b2d6d5c4e365240259b18f255279 | diff --git a/src/__init__.py b/src/__init__.py
index <HASH>..<HASH> 100644
--- a/src/__init__.py
+++ b/src/__init__.py
@@ -14,7 +14,7 @@ author: Christopher O'Brien <siege@preoccupied.net>
"""
-DEBUG = 1
+DEBUG = 0
def debug(*args):
if DEBUG:
@@ -46,21 +46,32 @@ class JavaConstantPool(object):
de... | comments, and switch debug back off | obriencj_python-javatools | train |
ac150bb2e48cc3174ee9f3205590d975a840800c | diff --git a/examples/providers/singleton_thread_locals.py b/examples/providers/singleton_thread_locals.py
index <HASH>..<HASH> 100644
--- a/examples/providers/singleton_thread_locals.py
+++ b/examples/providers/singleton_thread_locals.py
@@ -25,25 +25,26 @@ example = providers.DelegatedCallable(example,
thread_factor... | Update thread-local singleton example | ets-labs_python-dependency-injector | train |
70985f5f08de8e4d482077122cf37ee695b5e172 | diff --git a/src/components/Button/index.js b/src/components/Button/index.js
index <HASH>..<HASH> 100644
--- a/src/components/Button/index.js
+++ b/src/components/Button/index.js
@@ -12,7 +12,6 @@ export default class Button extends Component {
onBlur,
onClick,
style,
- ... | fix a warning from variant (#4) | 90milesbridge_react-rainbow | train |
1a81fab73abba32bb766b8c4ef2b2cb3552db4f7 | diff --git a/test/augmenters/test_geometric.py b/test/augmenters/test_geometric.py
index <HASH>..<HASH> 100644
--- a/test/augmenters/test_geometric.py
+++ b/test/augmenters/test_geometric.py
@@ -1,6 +1,19 @@
from __future__ import print_function, division, absolute_import
import time
+import itertools
+import sys
+... | Add test for unusual channel numbers in Affine | aleju_imgaug | train |
0c92c85dfa15a6a4cb0a4839518139909f18ec03 | diff --git a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/urls.py b/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/urls.py
index <HASH>..<HASH> 100644
--- a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/... | add noredirect view for use in sitemap | praekeltfoundation_molo | train |
515b50da2ba575b2c35a1322a21ff33af0c42cfd | diff --git a/composer.json b/composer.json
index <HASH>..<HASH> 100644
--- a/composer.json
+++ b/composer.json
@@ -9,7 +9,7 @@
"name": "Daniel Kinzler"
},
{
- "name": "Thiemo Mättig"
+ "name": "Thiemo Kreuz"
}
],
"autoload": {
diff --git a/src/Assert.php b/src/Assert.php
index <HASH>..<HASH> 100644... | Family name of Thiemo changed
Change-Id: Icf<I>bab<I>fe1bf<I>b6f<I>a4b<I>acffbc6 | wikimedia_Assert | train |
3dcd37f591474993f1ee91807efe6ef154d1d846 | diff --git a/src/Contracts/Store.php b/src/Contracts/Store.php
index <HASH>..<HASH> 100644
--- a/src/Contracts/Store.php
+++ b/src/Contracts/Store.php
@@ -2,6 +2,8 @@
namespace Michaeljennings\Feed\Contracts;
+use Michaeljennings\Feed\Store\Eloquent\Notification;
+
interface Store
{
/**
@@ -57,4 +59,12 @@ i... | Add paginateResults method to the eloquent store | michaeljennings_feed | train |
ca44b9497cd6629d0712291a9ade69a8f8f343e3 | diff --git a/code/libraries/koowa/components/com_koowa/template/helper/grid.php b/code/libraries/koowa/components/com_koowa/template/helper/grid.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/components/com_koowa/template/helper/grid.php
+++ b/code/libraries/koowa/components/com_koowa/template/helper/grid.p... | Wrap the search helper code in a closure to avoid leaking global variables | timble_kodekit | train |
b1e4c543e99911419f63f1b7fdadc20f3d3433e0 | diff --git a/django_rq/management/commands/rqworker.py b/django_rq/management/commands/rqworker.py
index <HASH>..<HASH> 100644
--- a/django_rq/management/commands/rqworker.py
+++ b/django_rq/management/commands/rqworker.py
@@ -2,6 +2,7 @@ import logging
from optparse import make_option
from django.core.management.b... | rqworker management command now uses django.utils.log.dictConfig so it's
usable on Python <I>. Thanks @jbl<I>" | rq_django-rq | train |
03cfd3625fea5d33319ec696416b99eb4c7f0b22 | diff --git a/src/main/org/openscience/cdk/fingerprint/Fingerprinter.java b/src/main/org/openscience/cdk/fingerprint/Fingerprinter.java
index <HASH>..<HASH> 100644
--- a/src/main/org/openscience/cdk/fingerprint/Fingerprinter.java
+++ b/src/main/org/openscience/cdk/fingerprint/Fingerprinter.java
@@ -59,7 +59,8 @@ import ... | Fixed JavaDoc in accordance to current API | cdk_cdk | train |
7b28de0e584cb483ecc1f2f566647503e0f51068 | diff --git a/src/renderer/layer/CanvasRenderer.js b/src/renderer/layer/CanvasRenderer.js
index <HASH>..<HASH> 100644
--- a/src/renderer/layer/CanvasRenderer.js
+++ b/src/renderer/layer/CanvasRenderer.js
@@ -496,7 +496,7 @@ class CanvasRenderer extends Class {
clipCanvas(context) {
const mask = this.laye... | fix CanvasRenderer.clipCanvas and an ie9 compatibility issue | maptalks_maptalks.js | train |
9c581e8b617518d12ca7e27bc3e1e89cc30d15fa | diff --git a/lib/ridgepole/version.rb b/lib/ridgepole/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ridgepole/version.rb
+++ b/lib/ridgepole/version.rb
@@ -1,3 +1,3 @@
module Ridgepole
- VERSION = '0.7.0.beta7'
+ VERSION = '0.7.0.beta8'
end | Bump up version [ci skip] | winebarrel_ridgepole | train |
ae422890316d4fce6524aba2264156f5ac0c2bc3 | diff --git a/task/abstract.php b/task/abstract.php
index <HASH>..<HASH> 100644
--- a/task/abstract.php
+++ b/task/abstract.php
@@ -16,11 +16,11 @@
abstract class ComSchedulerTaskAbstract extends KObject implements ComSchedulerTaskInterface
{
/**
- * Task priority
+ * Prioritized flag
*
- * @var... | Add isPrioritized and setPrioritized to the task interface | joomlatools_joomlatools-framework | train |
c9c831a332d149e64fc2c15f2e900ad2de0a96d8 | diff --git a/xapian_backend.py b/xapian_backend.py
index <HASH>..<HASH> 100644
--- a/xapian_backend.py
+++ b/xapian_backend.py
@@ -275,6 +275,7 @@ class SearchBackend(BaseSearchBackend):
if query_string == '*':
query = xapian.Query('') # Make '*' match everything
else:
+ flags ... | Refactored search code to have a seperate private method for _get_flags and _get_sorter. Makes the search method a little easier to follow. | notanumber_xapian-haystack | train |
0169dce5858d2c3c81e16cd06fe1cfb51194c4f9 | diff --git a/server/container_status.go b/server/container_status.go
index <HASH>..<HASH> 100644
--- a/server/container_status.go
+++ b/server/container_status.go
@@ -16,18 +16,27 @@ func (s *Server) ContainerStatus(ctx context.Context, req *pb.ContainerStatusReq
return nil, err
}
- if err := s.runtime.UpdateSta... | container: Add image ID and name to the container status
Kubelet <I> seems to request that those fields must be present. | cri-o_cri-o | train |
c44cfd2918886eaa68d71c308c4f07d7d5010de0 | diff --git a/middleware/auth.js b/middleware/auth.js
index <HASH>..<HASH> 100644
--- a/middleware/auth.js
+++ b/middleware/auth.js
@@ -1,6 +1,7 @@
const express = require('express');
const cb = require('cb');
const createError = require('http-errors');
+const bodyParser = require('body-parser');
const { get: getCon... | Add body parser to login route
Handles body parsing on the login route | auth0_express-openid-connect | train |
ed82c60ac4488879ef5e21f7b9e7ab4162532764 | diff --git a/lib/nexpose/site.rb b/lib/nexpose/site.rb
index <HASH>..<HASH> 100644
--- a/lib/nexpose/site.rb
+++ b/lib/nexpose/site.rb
@@ -484,6 +484,7 @@ module Nexpose
id: @id,
name: @name,
description: @description,
+ auto_engine_selection_enabled: @auto_engine_selection_ena... | Fixed 'auto engine selection was not saved' issue | rapid7_nexpose-client | train |
072f6da460db9b740cb39e33e310c583669124cd | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,3 +2,20 @@ require 'bundler/setup'
require 'minitest/autorun'
require 'kamerling'
+
+class Double < OpenStruct
+ def initialize opts
+ callables, values = opts.partition {... | spec_helper: minimal double support | chastell_kamerling | train |
1d530a5737bf10f3e0622a046fd275b4bada621c | diff --git a/WrightTools/artists.py b/WrightTools/artists.py
index <HASH>..<HASH> 100644
--- a/WrightTools/artists.py
+++ b/WrightTools/artists.py
@@ -904,7 +904,7 @@ def make_colormap(seq, name='CustomMap', plot=False):
cdict['blue'].append([item, b1, b2])
cmap = mplcolors.LinearSegmentedColormap(nam... | call plot_colorbar in mpl_2D (resolves #<I>) (#<I>)
* call plot_colorbar in mpl_2D (resolves #<I>)
* guess decimals
* Fudge the magnitude to get better precision | wright-group_WrightTools | train |
75a943a6ca8d03b6dfa51255bba82da4b5e37e3e | diff --git a/api/repository/gitosis/key_test.go b/api/repository/gitosis/key_test.go
index <HASH>..<HASH> 100644
--- a/api/repository/gitosis/key_test.go
+++ b/api/repository/gitosis/key_test.go
@@ -5,6 +5,7 @@ import (
"io/ioutil"
. "launchpad.net/gocheck"
"os"
+ "os/exec"
"path"
"syscall"
)
@@ -83,3 +84,18... | gitosis: test for AddKey commit | tsuru_tsuru | train |
8cf8597d5196f51f687c4b04841bcb7ad16791aa | diff --git a/test/plugin/test_in_monitor_agent.rb b/test/plugin/test_in_monitor_agent.rb
index <HASH>..<HASH> 100644
--- a/test/plugin/test_in_monitor_agent.rb
+++ b/test/plugin/test_in_monitor_agent.rb
@@ -302,7 +302,8 @@ plugin_id:test_filter\tplugin_category:filter\ttype:test_filter\toutput_plugin:f
"plugin... | Whoops, forgot to fix the tests | fluent_fluentd | train |
4afbe0fdcc25b135ea63a6866eb648dff6b9a222 | diff --git a/EventListener/ConfigSubscriber.php b/EventListener/ConfigSubscriber.php
index <HASH>..<HASH> 100644
--- a/EventListener/ConfigSubscriber.php
+++ b/EventListener/ConfigSubscriber.php
@@ -108,6 +108,7 @@ class ConfigSubscriber extends CommonSubscriber
*/
private function alterSelect()
{
+
... | tweak to select query part to remove redundancy | TheDMSGroup_mautic-extended-field | train |
c605f98829b75103135511f77f658455d8684b42 | diff --git a/src/createGenericSelect/index.js b/src/createGenericSelect/index.js
index <HASH>..<HASH> 100644
--- a/src/createGenericSelect/index.js
+++ b/src/createGenericSelect/index.js
@@ -49,10 +49,12 @@ export default ({ modelNameToReadableName, withQueryAsFn, safeQuery }) => {
// noRemoveButton=false - set to... | updating createGenericSelect to have dialogFooterProps | TeselaGen_teselagen-react-components | train |
44920a47f704176749caf77941096bf6900fd651 | diff --git a/simple_history/tests/tests/test_models.py b/simple_history/tests/tests/test_models.py
index <HASH>..<HASH> 100644
--- a/simple_history/tests/tests/test_models.py
+++ b/simple_history/tests/tests/test_models.py
@@ -311,7 +311,7 @@ class HistoricalRecordsTest(TestCase):
p = PollWithExcludeFields(que... | Is not possible to use get_fields because don't exist in django <I> and <I>, then I access the attribute fields in _meta | treyhunner_django-simple-history | train |
7fe44629e441cfbf3a6c5b1b34f137245e5888cd | diff --git a/src/Form/Field/Textarea.php b/src/Form/Field/Textarea.php
index <HASH>..<HASH> 100644
--- a/src/Form/Field/Textarea.php
+++ b/src/Form/Field/Textarea.php
@@ -32,6 +32,9 @@ class Textarea extends Field
*/
public function render()
{
+ if (is_array($this->value)) {
+ $this->v... | Casts -> array support for textarea
I use a column as array, I can add and show data. But I can't edit. Because field casting as array. We need to convert to string.
```
protected $casts = [
'veri' => 'array'
];
``` | z-song_laravel-admin | train |
5d454b2ad55140a1ebfdefa3476759fb34b97c73 | diff --git a/aws/resource_aws_rds_cluster_endpoint.go b/aws/resource_aws_rds_cluster_endpoint.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_rds_cluster_endpoint.go
+++ b/aws/resource_aws_rds_cluster_endpoint.go
@@ -3,13 +3,20 @@ package aws
import (
"fmt"
"log"
+ "time"
"github.com/aws/aws-sdk-go/aws"
... | Add available and destroy waiter func | terraform-providers_terraform-provider-aws | train |
ab5249d5b780ea75cf1b6f7bd4693557333b8055 | diff --git a/nunaliit2-js/src/main/js/nunaliit2/n2.inputChangeDetector.js b/nunaliit2-js/src/main/js/nunaliit2/n2.inputChangeDetector.js
index <HASH>..<HASH> 100644
--- a/nunaliit2-js/src/main/js/nunaliit2/n2.inputChangeDetector.js
+++ b/nunaliit2-js/src/main/js/nunaliit2/n2.inputChangeDetector.js
@@ -32,7 +32,7 @@ POS... | minor tweaks to n2.inputChangeDetector
- replaced spaces with tabs
- updated description comment | GCRC_nunaliit | train |
d9dd4300bca1f984eb1bc6147a644f3bea04bfc3 | diff --git a/src/helpers/wrapper.js b/src/helpers/wrapper.js
index <HASH>..<HASH> 100644
--- a/src/helpers/wrapper.js
+++ b/src/helpers/wrapper.js
@@ -134,17 +134,24 @@ export default {
const children = childComponents
? childComponents.slice(0)
: React.Children.toArray(props.children);
+ let chil... | Convert getDataFromChildren array.push calls to length-cached array index assignments | FormidableLabs_victory | train |
6261640242f5e05a895fc0c50af1154de52daf74 | diff --git a/honeybadger/payload.py b/honeybadger/payload.py
index <HASH>..<HASH> 100644
--- a/honeybadger/payload.py
+++ b/honeybadger/payload.py
@@ -7,6 +7,12 @@ import psutil
from .version import __version__
+def filter_dict(data, filter_keys):
+ for key in filter_keys:
+ if data.has_key(key):
+ ... | added django request payload generation | honeybadger-io_honeybadger-python | train |
25babb8adfa96c264ef3be456265329d0e43e7cc | diff --git a/lib/custom.js b/lib/custom.js
index <HASH>..<HASH> 100644
--- a/lib/custom.js
+++ b/lib/custom.js
@@ -9,38 +9,41 @@
// content for the respective panels.
var fs = require('fs'),
path = require('path'),
+ config = require('./config'),
custom = path.join(__dirname, '..', 'public', 'custom');
... | Clean up npm version to hide production config opts | jsbin_jsbin | train |
33ddd654d303c2c799c268dd65af1bf2067b6d18 | diff --git a/tests/AbstractTestCase.php b/tests/AbstractTestCase.php
index <HASH>..<HASH> 100644
--- a/tests/AbstractTestCase.php
+++ b/tests/AbstractTestCase.php
@@ -37,6 +37,53 @@ class AbstractTestCase extends \PHPUnit_Framework_TestCase
}
/**
+ * @param boolean $testMariaDB False to check for M... | Fine-grained MySQL version detection in tests | brick_geo | train |
f90265b0513484415e5713ff1c6be3ae6e3ee890 | diff --git a/power-adapters/src/main/java/com/nextfaze/poweradapters/ViewFactories.java b/power-adapters/src/main/java/com/nextfaze/poweradapters/ViewFactories.java
index <HASH>..<HASH> 100644
--- a/power-adapters/src/main/java/com/nextfaze/poweradapters/ViewFactories.java
+++ b/power-adapters/src/main/java/com/nextfaz... | Add more convenience overloads to ViewFactories | NextFaze_power-adapters | train |
7764086c5d3fb80ecc463385ee02c4a0e2359fd9 | diff --git a/framework/db/Command.php b/framework/db/Command.php
index <HASH>..<HASH> 100644
--- a/framework/db/Command.php
+++ b/framework/db/Command.php
@@ -781,10 +781,13 @@ class Command extends \yii\base\Component
throw $e;
} else {
$exceptionClass = '\yii\db\Exception';
- ... | IntegrityException should be thrown for relational DBs only | yiisoft_yii2 | train |
2a119cb0780f94df214a552999b7bc9527c7b963 | diff --git a/resolver/src/main/java/io/airlift/resolver/ArtifactResolver.java b/resolver/src/main/java/io/airlift/resolver/ArtifactResolver.java
index <HASH>..<HASH> 100644
--- a/resolver/src/main/java/io/airlift/resolver/ArtifactResolver.java
+++ b/resolver/src/main/java/io/airlift/resolver/ArtifactResolver.java
@@ -5... | Support POM profiles with JDK version activation | airlift_resolver | train |
6c000e87831488ab946ff57ff6346de508e9781e | diff --git a/wcomponents-theme/src/main/js/wc/ui/imageEdit.js b/wcomponents-theme/src/main/js/wc/ui/imageEdit.js
index <HASH>..<HASH> 100644
--- a/wcomponents-theme/src/main/js/wc/ui/imageEdit.js
+++ b/wcomponents-theme/src/main/js/wc/ui/imageEdit.js
@@ -384,9 +384,12 @@ function(has, event, uid, classList, timers, loa... | Added touch events to editor buttons
Doesn’t help that none of this will work on iOS because of the lack of
a File constructor… | BorderTech_wcomponents | train |
bd8638f5fd1f85d16c908020252f58a0cc4f6ac0 | diff --git a/heatmiserV3/heatmiser.py b/heatmiserV3/heatmiser.py
index <HASH>..<HASH> 100644
--- a/heatmiserV3/heatmiser.py
+++ b/heatmiserV3/heatmiser.py
@@ -69,11 +69,10 @@ class HeatmiserThermostat(object):
def __init__(self, address, model, uh1):
self.address = address
self.model = model
-... | Updated to <I> and handled config properly | andylockran_heatmiserV3 | train |
4cf812260a4cf8a5e48433642a6cde0801f2daa7 | diff --git a/src/clappr-dash-shaka-playback.js b/src/clappr-dash-shaka-playback.js
index <HASH>..<HASH> 100644
--- a/src/clappr-dash-shaka-playback.js
+++ b/src/clappr-dash-shaka-playback.js
@@ -86,10 +86,10 @@ class DashShakaPlayback extends HTML5Video {
return this.seekRange.start
}
- get presentationTimel... | fix(shaka playback): remove getManifest() from getter since it was deprecated by shaka
using now getPresentationStartTimeAsDate() | clappr_dash-shaka-playback | train |
a1556ca1d31cfc43306fc98f84d8ca0b0d3eff01 | diff --git a/plugins/commands.py b/plugins/commands.py
index <HASH>..<HASH> 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -66,8 +66,8 @@ class CommandsHook(Hook):
def setup_handlers(self):
self.context.subscribe('ip_address', self.set_address_handler)
- self.context.subscribe('run... | Subscribe async to avoid potential deadlock | F-Secure_see | train |
8e0660682d4171fc203867f7acdcb94ea77c80c5 | diff --git a/mode/javascript/javascript.js b/mode/javascript/javascript.js
index <HASH>..<HASH> 100644
--- a/mode/javascript/javascript.js
+++ b/mode/javascript/javascript.js
@@ -121,8 +121,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
} else if (stream.eat("/")) {
stream.ski... | [javascript mode] Recognize regexp after case and new keywords
Closes ##<I> | codemirror_CodeMirror | train |
398445a29fa79e38366ae4f29da1ba133778ff25 | diff --git a/value.go b/value.go
index <HASH>..<HASH> 100644
--- a/value.go
+++ b/value.go
@@ -1386,47 +1386,50 @@ func (vlog *valueLog) runGC(discardRatio float64, head valuePointer) error {
func (vlog *valueLog) updateDiscardStats(stats map[uint32]int64) error {
vlog.lfDiscardStats.Lock()
- defer vlog.lfDiscardS... | Fix deadlock when flushing discard stats. (#<I>)
* In updateDiscardStats the vlog.lfDiscardStats lock was acquired
twice: once in updateDiscardStats and then a second time when
calling flushDiscardStats. Now, we first release the lock before
calling flushDiscardStats.
* Don't return an error if writes are ... | dgraph-io_badger | train |
53ba00013ff3ffbf687c1f520cfcd663ca3fe9d7 | diff --git a/src/experimentalcode/remigius/Visualizers/ReferencePointsVisualizer.java b/src/experimentalcode/remigius/Visualizers/ReferencePointsVisualizer.java
index <HASH>..<HASH> 100644
--- a/src/experimentalcode/remigius/Visualizers/ReferencePointsVisualizer.java
+++ b/src/experimentalcode/remigius/Visualizers/Refe... | Introduced thumbnails, viewing original plots not possible yet. | elki-project_elki | train |
eab01e29854937fd742731d063e721965be34268 | diff --git a/src/components/CallsListPanel/index.js b/src/components/CallsListPanel/index.js
index <HASH>..<HASH> 100644
--- a/src/components/CallsListPanel/index.js
+++ b/src/components/CallsListPanel/index.js
@@ -36,6 +36,7 @@ function ActiveCallList({
enableContactFallback,
title,
sourceIcons,
+ disableLin... | [RCINT-<I>] Duration timer should be replaced with string of 'Unavailable' when network is down (#<I>) | ringcentral_ringcentral-js-widgets | train |
bed73ac614c21cb25256529087dfc78a36b8f861 | diff --git a/src/fake-timers-src.js b/src/fake-timers-src.js
index <HASH>..<HASH> 100644
--- a/src/fake-timers-src.js
+++ b/src/fake-timers-src.js
@@ -634,21 +634,6 @@ function withGlobal(_global) {
timers.cancelIdleCallback = _global.cancelIdleCallback;
}
- var keys =
- Object.keys ||
- ... | Remove Object.keys polyfill
The current [sinon compatibility] specifies that the sources is written
as ES<I>, which defines [Object.keys]. In fact, Object.keys is already
used unconditionally in several places in fake-timers-src.js. Replace
the two remaining uses of the polyfill and remove it to reduce the
amount of... | sinonjs_lolex | train |
11ef8bb4dee94c026246834046d9a1b10c1bacf5 | diff --git a/lib/tools/adb-commands.js b/lib/tools/adb-commands.js
index <HASH>..<HASH> 100644
--- a/lib/tools/adb-commands.js
+++ b/lib/tools/adb-commands.js
@@ -1704,7 +1704,8 @@ methods.listFeatures = async function listFeatures () {
methods.isStreamedInstallSupported = async function isStreamedInstallSupported () ... | fix: Update incremental install support detection (#<I>) | appium_appium-adb | train |
e41b6a15c8eecac6920139488ee19b5c87722953 | diff --git a/lib/node_modules/@stdlib/bench/test/test.bench.js b/lib/node_modules/@stdlib/bench/test/test.bench.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/bench/test/test.bench.js
+++ b/lib/node_modules/@stdlib/bench/test/test.bench.js
@@ -122,6 +122,27 @@ tape( 'the function throws an error if provi... | Add tests for names beginning with a restricted prefix | stdlib-js_stdlib | train |
f29a64ebbbe31cf6b43adb70c98326534f86bb4f | diff --git a/can-validate.build.js b/can-validate.build.js
index <HASH>..<HASH> 100644
--- a/can-validate.build.js
+++ b/can-validate.build.js
@@ -1,11 +1,15 @@
+var canValidate = require('./can-validate/can-validate');
+var validate = require('./can-validate/map/validate/validate');
+var validateJsShim = require('./ca... | resolved lint errors for build file. | canjs_can-validate | train |
6b87198c10022a3ad59b80df050e1d279b702635 | diff --git a/internal/ackhandler/packet_number_generator.go b/internal/ackhandler/packet_number_generator.go
index <HASH>..<HASH> 100644
--- a/internal/ackhandler/packet_number_generator.go
+++ b/internal/ackhandler/packet_number_generator.go
@@ -3,7 +3,6 @@ package ackhandler
import (
"crypto/rand"
"encoding/bina... | use cryptographic random for determining skipped packet numbers | lucas-clemente_quic-go | train |
817fd9a22038fd51af45ad0c83679df7ceb0288e | diff --git a/lib/driver.js b/lib/driver.js
index <HASH>..<HASH> 100644
--- a/lib/driver.js
+++ b/lib/driver.js
@@ -300,17 +300,6 @@ class XCUITestDriver extends BaseDriver {
}
}
- if (!this.opts.webDriverAgentUrl && this.iosSdkVersion && this.opts.platformVersion) {
- // make sure that the xcode w... | Remove SDK version verification (#<I>) | appium_appium-xcuitest-driver | train |
58f4931400f236d192197d4a98ef6cf482fe7ad7 | diff --git a/meshio/nastran/_nastran.py b/meshio/nastran/_nastran.py
index <HASH>..<HASH> 100644
--- a/meshio/nastran/_nastran.py
+++ b/meshio/nastran/_nastran.py
@@ -227,6 +227,10 @@ def print_scientific(value, length=16):
return field
+def _float_rstrip(x, n=8):
+ return f"{x:f}".rstrip("0")[:n]
+
+
# Th... | pep8 fix: lambda --> def | nschloe_meshio | train |
3667120ff89a5efb12e0a96ad71ac6d8aad99a1e | diff --git a/lib/rsautl.js b/lib/rsautl.js
index <HASH>..<HASH> 100644
--- a/lib/rsautl.js
+++ b/lib/rsautl.js
@@ -16,6 +16,29 @@ function verifyOptions (options) {
}
}
+function formatKey (key) {
+ if (key.indexOf('-----BEGIN') === -1 || key.indexOf('-----END') === -1) {
+ return key;
+ }
+
+ v... | Format key
Unless key is properly formatted, executing `/usr/bin/openssl rsautl …`
will fail and report error “unable to load Private Key”. | ragnar-johannsson_rsautl | train |
34f7ff1235171c925078296b91f7683056684926 | diff --git a/Classes/Emogrifier.php b/Classes/Emogrifier.php
index <HASH>..<HASH> 100644
--- a/Classes/Emogrifier.php
+++ b/Classes/Emogrifier.php
@@ -17,36 +17,36 @@ class Emogrifier {
const ENCODING = 'UTF-8';
/**
- * @var integer
+ * @var int
*/
const CACHE_KEY_CSS = 0;
/**
- ... | [CLEANUP] Use "int" and "bool" in PHPDoc
"int" and "bool" instead of "integer" and "boolean" are the more common
form and also the default in PhpStorm.
Closes #<I> | MyIntervals_emogrifier | train |
be8e5676b50ad391960d81eb342a9e85f77a19a7 | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -326,7 +326,7 @@ class PSHACalculator(base.HazardCalculator):
:yields: (sources, sites, gsims, monitor) tuples
... | Increased concurrent_tasks to 3 * num_cores | gem_oq-engine | train |
ed823e9c1521a6a5aada6fc1572433845322967f | diff --git a/core/Segment/SegmentExpression.php b/core/Segment/SegmentExpression.php
index <HASH>..<HASH> 100644
--- a/core/Segment/SegmentExpression.php
+++ b/core/Segment/SegmentExpression.php
@@ -315,8 +315,11 @@ class SegmentExpression
*/
public static function parseColumnsFromSqlExpr($field)
{
- ... | Ignore variables that start w/ @ when auto-detecting tables in segment sql expressions. (#<I>)
* Ignore variables that start w/ @ when auto-detecting tables in segment sql expressions.
* Add test & fix
* Make sure column detection excludes decimal numbers. | matomo-org_matomo | train |
15a6e60a4b3d928e5b107162472800902688633f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,7 @@ if __name__ == '__main__':
version = versionString,
description = "A library for handling Web of science files",
long_description = long_description,
+ long_description_content_... | Update setup.py to read markdown | networks-lab_metaknowledge | train |
757f078b40278a84b00aa77616d8c5e124cd4efb | diff --git a/lifetimes/fitters/__init__.py b/lifetimes/fitters/__init__.py
index <HASH>..<HASH> 100644
--- a/lifetimes/fitters/__init__.py
+++ b/lifetimes/fitters/__init__.py
@@ -72,7 +72,7 @@ class BaseFitter(object):
minimize_options["disp"] = disp
minimize_options.update(kwargs)
- current_... | it's hard to make this faster | CamDavidsonPilon_lifetimes | train |
3d3082b7a980fdaf2e9c2471e4bbbe3fb3a8d6f7 | diff --git a/lib/outpost/engine.rb b/lib/outpost/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/outpost/engine.rb
+++ b/lib/outpost/engine.rb
@@ -8,5 +8,7 @@ module Outpost
g.assets false
g.helper false
end
+
+ config.assets.paths << "vendor/assets/javascripts"
end
end | Add vendor/assets to asset paths | SCPR_outpost | train |
7dfc8f1567d6f5fc070a58c5fc031e65227558c3 | diff --git a/BackofficeBundle/Form/Type/Component/KeywordsChoiceType.php b/BackofficeBundle/Form/Type/Component/KeywordsChoiceType.php
index <HASH>..<HASH> 100644
--- a/BackofficeBundle/Form/Type/Component/KeywordsChoiceType.php
+++ b/BackofficeBundle/Form/Type/Component/KeywordsChoiceType.php
@@ -55,7 +55,8 @@ class K... | Fix set field on transformer with setter and not constructor | open-orchestra_open-orchestra-cms-bundle | train |
3bef145dbb2ea9284e3735d7ff09d1a4bda4fe98 | diff --git a/src/WireMock/Client/WireMock.php b/src/WireMock/Client/WireMock.php
index <HASH>..<HASH> 100644
--- a/src/WireMock/Client/WireMock.php
+++ b/src/WireMock/Client/WireMock.php
@@ -181,6 +181,17 @@ class WireMock
}
/**
+ * @return FindNearMissesResult
+ */
+ public function findNearMiss... | Support findNearMissesForAllUnmatched() | rowanhill_wiremock-php | train |
faf7af6886dddd422a8e83d1d1fa15e3075596d9 | diff --git a/client/my-sites/controller.js b/client/my-sites/controller.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/controller.js
+++ b/client/my-sites/controller.js
@@ -351,7 +351,8 @@ export function siteSelection( context, next ) {
const primarySiteId = getPrimarySiteId( getState() );
const redirect... | My Sites: prevent double slash in URL when performing redirects on single-site account (#<I>) | Automattic_wp-calypso | train |
6d2b731379fb1e99c5d3918eefd375e44ce6c112 | diff --git a/core/server/models/member-status-event.js b/core/server/models/member-status-event.js
index <HASH>..<HASH> 100644
--- a/core/server/models/member-status-event.js
+++ b/core/server/models/member-status-event.js
@@ -18,17 +18,17 @@ const MemberStatusEvent = ghostBookshelf.Model.extend({
.sel... | Fixed member status events query
refs <URL> | TryGhost_Ghost | train |
22874c95a604dd5001f1e8d5c7eef606013b1e20 | diff --git a/src/Log/Event.php b/src/Log/Event.php
index <HASH>..<HASH> 100644
--- a/src/Log/Event.php
+++ b/src/Log/Event.php
@@ -138,6 +138,11 @@ class Event extends EventBase
{
$return = $context ? $this->context : [];
+ $isAssociative = array_keys($return) !== range(0, count($return) - 1);
+ ... | Log : handle context with numeric key | cawaphp_cawa | train |
88c9fa3dedd88be6e1ae18a5148082c56efc266f | diff --git a/test/integration/test_percolation_algorithms.py b/test/integration/test_percolation_algorithms.py
index <HASH>..<HASH> 100644
--- a/test/integration/test_percolation_algorithms.py
+++ b/test/integration/test_percolation_algorithms.py
@@ -2,6 +2,7 @@ import scipy as sp
import matplotlib
import OpenPNM
im... | Fixed integration tests since OrdinaryPercolation is no longer imported automatically | PMEAL_OpenPNM | train |
6714770287366c5d2d1e4ce4d46e65965867de84 | diff --git a/flask_sqlalchemy_booster/crud_api_view.py b/flask_sqlalchemy_booster/crud_api_view.py
index <HASH>..<HASH> 100644
--- a/flask_sqlalchemy_booster/crud_api_view.py
+++ b/flask_sqlalchemy_booster/crud_api_view.py
@@ -11,8 +11,10 @@ from .responses import (
process_args_and_render_json_list, success_json,... | adding the ability to add a custom response creator to index view | SuryaSankar_flask-sqlalchemy-booster | train |
5fee5b0e223aa73ddb118646431b6f4330135208 | diff --git a/script/lib/utils.js b/script/lib/utils.js
index <HASH>..<HASH> 100644
--- a/script/lib/utils.js
+++ b/script/lib/utils.js
@@ -1,5 +1,6 @@
const { GitProcess } = require('dugite');
const fs = require('fs');
+const os = require('os');
const path = require('path');
const ELECTRON_DIR = path.resolve(__di... | chore: chunk filenames when linting C++ files (#<I>)
* chore: chunk filenames when linting C++ files
* chore: refactor code for better readability | electron_electron | train |
bf950e97c4e605650c047c949635d1b3b9df69e5 | diff --git a/aws/data_source_aws_iam_policy_document_test.go b/aws/data_source_aws_iam_policy_document_test.go
index <HASH>..<HASH> 100644
--- a/aws/data_source_aws_iam_policy_document_test.go
+++ b/aws/data_source_aws_iam_policy_document_test.go
@@ -194,7 +194,7 @@ func TestAccAWSDataSourceIAMPolicyDocument_duplicateS... | tests/iam_policy_document: Clean up test names | terraform-providers_terraform-provider-aws | train |
79e04d47c8101b4e932541a5e9511e875ad305c3 | diff --git a/ropetest/refactor/renametest.py b/ropetest/refactor/renametest.py
index <HASH>..<HASH> 100644
--- a/ropetest/refactor/renametest.py
+++ b/ropetest/refactor/renametest.py
@@ -231,10 +231,7 @@ class RenameRefactoringTest(unittest.TestCase):
refactored,
)
- @unittest.expectedFailure... | replaced failre decorator in test with list comp | python-rope_rope | train |
fb28a76574a18afacc9e7b569703810b2f0346da | diff --git a/go/test/endtoend/vtgate/schematracker/loadkeyspace/schema_load_keyspace_test.go b/go/test/endtoend/vtgate/schematracker/loadkeyspace/schema_load_keyspace_test.go
index <HASH>..<HASH> 100644
--- a/go/test/endtoend/vtgate/schematracker/loadkeyspace/schema_load_keyspace_test.go
+++ b/go/test/endtoend/vtgate/s... | Keeping track of which keyspaces are tracked in vtschema.Tracker | vitessio_vitess | train |
ac895f132d3d2917292ef63e26cf164795dc7502 | diff --git a/src/ServiceManager.php b/src/ServiceManager.php
index <HASH>..<HASH> 100644
--- a/src/ServiceManager.php
+++ b/src/ServiceManager.php
@@ -23,6 +23,7 @@
namespace TASoft\Service;
+use TASoft\Collection\AbstractCollection;
use TASoft\Collection\Mapping\CallbackMapper;
use TASoft\Collection\Mapping\Col... | Fix: Iterator as arguments or constructor | tasoftch_php-service-manager | train |
937f6ca6edf15c5bfbaeb63ae26f6e5bdc6867c7 | diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/config/internal/CategoryTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/config/internal/CategoryTest.java
index <HASH>..<HASH> 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/config/internal/CategoryTest.java
+++ b/sonar-plugin-api/src/test/ja... | Added unit tests to cover additional branches | SonarSource_sonarqube | train |
737d98a7c8d1da9c144b349259b38d1bfc7c58a4 | diff --git a/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js b/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
+++ b/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
@@ -585,13 +585,15 @@ function loadAdminP... | Corrected the order of loading image and initialization of the new value to be saved. | VoltDB_voltdb | train |
8d0da5cccb888ee2a6ee2b40b04ce6bc2fb1f868 | diff --git a/kie-remote/kie-services-remote/src/main/java/org/kie/services/remote/rest/TaskResource.java b/kie-remote/kie-services-remote/src/main/java/org/kie/services/remote/rest/TaskResource.java
index <HASH>..<HASH> 100644
--- a/kie-remote/kie-services-remote/src/main/java/org/kie/services/remote/rest/TaskResource.... | - updating test to make it work for tasks | kiegroup_droolsjbpm-integration | train |
aec37a7fd05374018f7622be9e7719e2c0e5d1d8 | diff --git a/lib/rom/session.rb b/lib/rom/session.rb
index <HASH>..<HASH> 100644
--- a/lib/rom/session.rb
+++ b/lib/rom/session.rb
@@ -2,22 +2,14 @@ module ROM
# A database session
class Session
- include Adamantium::Flat, Equalizer.new(:registry)
+ include Adamantium::Flat, Concord.new(:registry, :tracke... | DRY up code a bit via concord | rom-rb_rom | train |
7e3c98024e2e8c12e102b89a686e6829c5602e27 | diff --git a/cake/libs/model/model_behavior.php b/cake/libs/model/model_behavior.php
index <HASH>..<HASH> 100644
--- a/cake/libs/model/model_behavior.php
+++ b/cake/libs/model/model_behavior.php
@@ -59,7 +59,7 @@ class ModelBehavior extends Object {
* @param object $model Model using this behavior
* @param array $c... | Removing reference operators in ModelBehavior. | cakephp_cakephp | train |
57198454f7b30f042ab80669316dfcbab30fe5a3 | diff --git a/squad/core/data.py b/squad/core/data.py
index <HASH>..<HASH> 100644
--- a/squad/core/data.py
+++ b/squad/core/data.py
@@ -40,6 +40,7 @@ def parse_metric(value):
if isinstance(value, list):
return mean(value), value
else:
+ value = float(value)
return value, [value]
di... | core: tolerate metrics submitted as strings
As long as they can be properly parsed as a float. | Linaro_squad | train |
0fb4ec8b1202a6e87eb45e0f9e6875594da730be | diff --git a/lib/Sabre/CalDAV/Property/SupportedCalendarComponentSet.php b/lib/Sabre/CalDAV/Property/SupportedCalendarComponentSet.php
index <HASH>..<HASH> 100644
--- a/lib/Sabre/CalDAV/Property/SupportedCalendarComponentSet.php
+++ b/lib/Sabre/CalDAV/Property/SupportedCalendarComponentSet.php
@@ -35,7 +35,18 @@ class ... | Added getValue() to supportedCalendarComponentSet and SupportedReportSet | sabre-io_dav | train |
f430b1a0d03eb1bbdbcb99d5cd045dec83ea0768 | diff --git a/siteprefs/tests.py b/siteprefs/tests.py
index <HASH>..<HASH> 100644
--- a/siteprefs/tests.py
+++ b/siteprefs/tests.py
@@ -80,13 +80,16 @@ class UtilsTest(unittest.TestCase):
def test_get_pref_model_class(self):
p1 = PrefProxy('pp1', 10)
p2 = PrefProxy('pp2', 20)
+ p3 = PrefPro... | Fixed admin filed render when field type is passed into pref() (closes #6). | idlesign_django-siteprefs | train |
654c52734ebdea9e3cbf9075858eae33c721cde9 | diff --git a/src/lib/KevinGH/Amend/Helper.php b/src/lib/KevinGH/Amend/Helper.php
index <HASH>..<HASH> 100644
--- a/src/lib/KevinGH/Amend/Helper.php
+++ b/src/lib/KevinGH/Amend/Helper.php
@@ -243,6 +243,16 @@
}
/**
+ * Returns the processed application verison.
+ *
+ * @return... | Adding method to get processed application version. | deployphp_phar-update | train |
af435942b3d345b3ee4c1215cc8b80f8c17da3d7 | diff --git a/assets/service_broker/service_broker.rb b/assets/service_broker/service_broker.rb
index <HASH>..<HASH> 100755
--- a/assets/service_broker/service_broker.rb
+++ b/assets/service_broker/service_broker.rb
@@ -13,7 +13,7 @@ ID = ((ENV["VCAP_APPLICATION"] && JSON.parse(ENV["VCAP_APPLICATION"])["instance_
requi... | Removed file reading of config and minor format
Load CONFIG if present and is valid JSON
[#<I>] | cloudfoundry_cf-acceptance-tests | train |
c33c9b49d797b44152e100e4b3fbcc627a1b219d | diff --git a/src/list/list.js b/src/list/list.js
index <HASH>..<HASH> 100644
--- a/src/list/list.js
+++ b/src/list/list.js
@@ -12,7 +12,7 @@ class List extends EventEmitter {
this._model = model
if (model) {
- const testProto = new model()
+ const testProto = new model() // eslint-disable-line new... | Suppress eslint for model creation on list | spirit_spirit | train |
4989a1e8b856c68ef24fdace0b20dfbe685d2e10 | diff --git a/src/main/java/me/prettyprint/cassandra/service/Cluster.java b/src/main/java/me/prettyprint/cassandra/service/Cluster.java
index <HASH>..<HASH> 100644
--- a/src/main/java/me/prettyprint/cassandra/service/Cluster.java
+++ b/src/main/java/me/prettyprint/cassandra/service/Cluster.java
@@ -2,7 +2,6 @@ package m... | Borrowedcassandra client now is cached thread-locally | hector-client_hector | train |
b3ca74e201b41a953ea2b4124dbd9f46279604d7 | diff --git a/phoebe/__init__.py b/phoebe/__init__.py
index <HASH>..<HASH> 100644
--- a/phoebe/__init__.py
+++ b/phoebe/__init__.py
@@ -8,7 +8,7 @@ import sys
# Check to see whether developer/testing mode is enabled.
_devel_enabled = os.path.isfile(os.path.expanduser('~/.phoebe_devel_enabled'))
if _devel_enabled:
- ... | updated devel_mode warning to no longer mention temporary override
... since it doesn't seem to work | phoebe-project_phoebe2 | train |
31094412581c4fec05953ce2f1c287dfcc367ce8 | diff --git a/cmd/object-handlers.go b/cmd/object-handlers.go
index <HASH>..<HASH> 100644
--- a/cmd/object-handlers.go
+++ b/cmd/object-handlers.go
@@ -1035,6 +1035,10 @@ func (api objectAPIHandlers) CopyObjectHandler(w http.ResponseWriter, r *http.Re
w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(... | s3: Return correct error XML tag in case of copy object (#<I>)
In Copy Object S3 API, the server does not return correct bucket &
object names when the source bucket/object does not exist, this commit
fixes it. | minio_minio | train |
9fad3c589bc0f455fd0487067255db94ff38956a | diff --git a/lib/synapse/haproxy.rb b/lib/synapse/haproxy.rb
index <HASH>..<HASH> 100644
--- a/lib/synapse/haproxy.rb
+++ b/lib/synapse/haproxy.rb
@@ -1031,32 +1031,28 @@ module Synapse
end
def haproxy_exec(command)
- info = nil
s = UNIXSocket.new(@opts['socket_file_path'])
s.write(comman... | Pull error handling back into update_backends
Calling functions may wish to handle errors without requiring a restart.
Pulling restart and logging code to calling function. | airbnb_synapse | train |
0c9968f9cf43b6aba6201524c3e2441bea07ae43 | diff --git a/gherkin/go/cli/main.go b/gherkin/go/cli/main.go
index <HASH>..<HASH> 100644
--- a/gherkin/go/cli/main.go
+++ b/gherkin/go/cli/main.go
@@ -21,6 +21,7 @@ var noPickles = flag.Bool("no-pickles", false, "Skip gherkin Pickle events")
var printJson = flag.Bool("json", false, "Print messages as JSON instead of p... | gherkin, go, ruby: Provide an options to set the default dialect | cucumber_cucumber | train |
79c9338797f80c5b01d86d272d99ccf688267c6f | diff --git a/lib/rubocop/target_finder.rb b/lib/rubocop/target_finder.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/target_finder.rb
+++ b/lib/rubocop/target_finder.rb
@@ -55,7 +55,7 @@ module Rubocop
@config_store.for(file).file_to_include?(file)
end
- target_files.uniq
+ target_files
... | Remove unneeded Array#uniq in TargetFinder#target_files_in_dir
It's done in #find. | rubocop-hq_rubocop | train |
01c6f4e5ca4b09f00802a2cf584bf0b1e70e205b | diff --git a/vcs/backends/git.py b/vcs/backends/git.py
index <HASH>..<HASH> 100644
--- a/vcs/backends/git.py
+++ b/vcs/backends/git.py
@@ -58,9 +58,9 @@ class GitRepository(BaseRepository):
:param repo_path: if given, command would be prefixed with
--git-dir=repo_path/.git (note that ".git" is alway... | From now git shell commands are run within subshell (instead of using --git-dir option) | codeinn_vcs | train |
6e25efdaa6370c8b8747d7f93f9791bd26e5abca | diff --git a/src/Base.php b/src/Base.php
index <HASH>..<HASH> 100644
--- a/src/Base.php
+++ b/src/Base.php
@@ -98,7 +98,7 @@ class Base
{
$statement = "INSERT INTO `$table` SET";
- $parameters = [];
+ $parameters = array();
foreach ($Data as $name => $value)
{ | improve compatibility with php <I> | onesimus-systems_seed-catalog | train |
9556fc2163735cfa3d5b0db048c21a98355b3e56 | diff --git a/src/org/joml/Matrix4d.java b/src/org/joml/Matrix4d.java
index <HASH>..<HASH> 100644
--- a/src/org/joml/Matrix4d.java
+++ b/src/org/joml/Matrix4d.java
@@ -682,6 +682,44 @@ public class Matrix4d implements Externalizable {
}
/**
+ * Multiply <code>this</code> symmetric perspective projecti... | Add Matrix4.mulPerspectiveAffine()
for the very common case of building a (model-)viewprojection matrix from a symmetric perspective projection frustum matrix and an affine view/model matrix. | JOML-CI_JOML | train |
10e33bc5a8b6aa7bd22e4202e8e519677e9ceee6 | diff --git a/src/test/java/org/jbake/FakeDocumentBuilder.java b/src/test/java/org/jbake/FakeDocumentBuilder.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/jbake/FakeDocumentBuilder.java
+++ b/src/test/java/org/jbake/FakeDocumentBuilder.java
@@ -42,6 +42,7 @@ public class FakeDocumentBuilder {
public Fa... | Correctly set flag to say date has been set. | jbake-org_jbake | train |
275b1be56966e1259f763c559e97c9f2d20875c2 | diff --git a/lib/ewmh.js b/lib/ewmh.js
index <HASH>..<HASH> 100644
--- a/lib/ewmh.js
+++ b/lib/ewmh.js
@@ -78,6 +78,14 @@ EWMH.prototype.set_hostname = function(wid, cb) {
this._change_property(wid, 'WM_CLIENT_MACHINE', this.X.atoms.STRING, 8, data, cb);
};
+EWMH.prototype.set_name = function(wid, name, cb) {
+... | added _NET_SUPPORTING_WM_CHECK setter | santigimeno_node-ewmh | train |
4fc9944ac81bcccb2e1bc62eac78c35191863331 | diff --git a/server.js b/server.js
index <HASH>..<HASH> 100644
--- a/server.js
+++ b/server.js
@@ -31,6 +31,12 @@ const redis = require('./lib/redis')
Raven.config(SENTRY_URL).install()
+// The request handler must be the first middleware on the app
+app.use(Raven.requestHandler())
+
+// The error handler must be ... | add additional metadata that we send to sentry | apis-is_apis | train |
3660dff13cce80520882ca9b4acff5ea8dcc48b1 | diff --git a/tests/integration/shell/test_matcher.py b/tests/integration/shell/test_matcher.py
index <HASH>..<HASH> 100644
--- a/tests/integration/shell/test_matcher.py
+++ b/tests/integration/shell/test_matcher.py
@@ -41,55 +41,67 @@ class MatchTest(ShellCase, ShellCaseCommonTestsMixin):
self.assertIn('minion... | Separate compound matcher tests into individual tests
When one match fails (and some of these can be flaky) the whole test fails.
This makes it somewhat difficult to track down why the test fails.
I am hoping we won't need the sleeps in this change when the tests are separate,
but let's see how that goes. It worked ... | saltstack_salt | train |
e50a44285bb6ad0877d0d3610e3c5d5d479e7906 | diff --git a/fermipy/roi_model.py b/fermipy/roi_model.py
index <HASH>..<HASH> 100644
--- a/fermipy/roi_model.py
+++ b/fermipy/roi_model.py
@@ -2178,6 +2178,15 @@ class ROIModel(fermipy.config.Configurable):
fits_utils.write_hdus(hdus, fitsfile)
def write_ds9region(self, region, free='box',fixed='cross',... | adding some documentation
adding some docstrings. | fermiPy_fermipy | train |
7e387dc3b682b0e79e9116a7f8e3f9998cf18de3 | diff --git a/clients/web/src/init.js b/clients/web/src/init.js
index <HASH>..<HASH> 100644
--- a/clients/web/src/init.js
+++ b/clients/web/src/init.js
@@ -25,6 +25,12 @@ var girder = {
uploadHandlers: {},
/**
+ * Whether girder should control routing. This is useful for allowing or
+ * disallowing g... | Adding an option for rounting or not routing. | girder_girder | train |
f75dd7d2ae528780d86f8d9a932395cd46c2ea71 | diff --git a/wraptor/context/test/test_timer.py b/wraptor/context/test/test_timer.py
index <HASH>..<HASH> 100644
--- a/wraptor/context/test/test_timer.py
+++ b/wraptor/context/test/test_timer.py
@@ -5,8 +5,7 @@ def test_basic():
with timer() as t:
time.sleep(0.1000000) # sleep 100 ms
- # allow fo... | due to system differences tests can't rely on sleep taking a set time | carlsverre_wraptor | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.