hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
67dba3e1801e1365da48f91dc15fb26f72761fa3 | diff --git a/java/src/org/openqa/selenium/MutableCapabilities.java b/java/src/org/openqa/selenium/MutableCapabilities.java
index <HASH>..<HASH> 100644
--- a/java/src/org/openqa/selenium/MutableCapabilities.java
+++ b/java/src/org/openqa/selenium/MutableCapabilities.java
@@ -37,7 +37,6 @@ public class MutableCapabilitie... | [java] Avoid checking for non W3C twice.
And `safari.options` is not a thing since
a while ago. | SeleniumHQ_selenium | train |
7485d746a4c21515587e5763871d5aaae22d1148 | diff --git a/pyrser/parsing/parserTree.py b/pyrser/parsing/parserTree.py
index <HASH>..<HASH> 100644
--- a/pyrser/parsing/parserTree.py
+++ b/pyrser/parsing/parserTree.py
@@ -83,7 +83,7 @@ class Capture(ParserTree):
def __call__(self, parser: BasicParser) -> Node:
if parser.begin_tag(self.tagname):
... | Same rulenode name can be used if the node is on an upper level | LionelAuroux_pyrser | train |
dffa1ba0371992a946a90a323dad15a53108f6f1 | diff --git a/app/browse/album/controller.js b/app/browse/album/controller.js
index <HASH>..<HASH> 100755
--- a/app/browse/album/controller.js
+++ b/app/browse/album/controller.js
@@ -55,6 +55,7 @@ angular.module('spotmop.browse.album', [])
$scope.album = response;
$scope.tracklist = response.tracks;
+ ... | Merge conflicts; Applying new tracklist to search results | jaedb_spotmop | train |
f1d16777028f67f065844133a55af9f368199a6a | diff --git a/provision/local/provisioner.go b/provision/local/provisioner.go
index <HASH>..<HASH> 100644
--- a/provision/local/provisioner.go
+++ b/provision/local/provisioner.go
@@ -40,9 +40,10 @@ func (p *LocalProvisioner) setup(ip, framework string) error {
}
log.Printf("coping hooks to %s", ip)
cmd = exec.Com... | provision/local: logging combined output for coping hooks. | tsuru_tsuru | train |
4a2db79f7947d26e7e626f3d6681c987ac56237c | diff --git a/lib/Doctrine/ODM/MongoDB/UnitOfWork.php b/lib/Doctrine/ODM/MongoDB/UnitOfWork.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/MongoDB/UnitOfWork.php
+++ b/lib/Doctrine/ODM/MongoDB/UnitOfWork.php
@@ -460,13 +460,7 @@ class UnitOfWork implements PropertyChangedListener
if ($orgValue i... | removed unsupported collection case, merged handling of PersistentCollection and ArrayCollection for | Briareos_mongodb-odm | train |
91b04b119892bd26743d66af6ac4110dd30f3432 | diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java
index <HASH>..<HASH> 100644
--- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subsc... | renaming Subscription.getByName to getById because that's what it really does | Azure_azure-sdk-for-java | train |
ed533b4c6f2cd365484a3d57ac2bbba71c8e55a4 | diff --git a/kubernetes_asyncio/config/kube_config_test.py b/kubernetes_asyncio/config/kube_config_test.py
index <HASH>..<HASH> 100644
--- a/kubernetes_asyncio/config/kube_config_test.py
+++ b/kubernetes_asyncio/config/kube_config_test.py
@@ -526,9 +526,10 @@ class TestKubeConfigLoader(BaseTestCase):
def test_lo... | Replaced namespace hack with clean solution. | tomplus_kubernetes_asyncio | train |
0e6d19dd8dd22531ed457c8b4321e72ff05cb982 | diff --git a/packages/oui-checkbox/src/checkbox.controller.js b/packages/oui-checkbox/src/checkbox.controller.js
index <HASH>..<HASH> 100644
--- a/packages/oui-checkbox/src/checkbox.controller.js
+++ b/packages/oui-checkbox/src/checkbox.controller.js
@@ -1,4 +1,4 @@
-import { addBooleanParameter } from "@oui-angular/co... | fix(oui-checkbox): put id in camelCase | ovh-ux_ovh-ui-angular | train |
d53c3fcbc16b090bdc4665b159ae38851cd8f357 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -265,6 +265,7 @@ def setup_package():
# Language tokenizers with external dependencies
"ja": ["mecab-python3==0.7"],
"ko": ["natto-py==0.9.0"],
+ "th": ["pythai... | Add Thai Language tokenizers (#<I>)
Add th (pythainlp) | explosion_spaCy | train |
4dc7af71a030b98f96892d3c3d5798ef1a4bc3cb | diff --git a/telebot/__init__.py b/telebot/__init__.py
index <HASH>..<HASH> 100644
--- a/telebot/__init__.py
+++ b/telebot/__init__.py
@@ -415,6 +415,19 @@ class TeleBot:
def send_venue(self, chat_id, latitude, longitude, title, address, foursquare_id=None, disable_notification=None,
reply_to... | Add bot<I> new methods. | eternnoir_pyTelegramBotAPI | train |
e705db1c7bdc2267efa8ce21f4140def082e91f7 | diff --git a/driver/src/test/java/org/neo4j/driver/v1/integration/EncryptionIT.java b/driver/src/test/java/org/neo4j/driver/v1/integration/EncryptionIT.java
index <HASH>..<HASH> 100644
--- a/driver/src/test/java/org/neo4j/driver/v1/integration/EncryptionIT.java
+++ b/driver/src/test/java/org/neo4j/driver/v1/integration... | Fixed encryption test with <I> neo4j
Neo4j <I>.x throws different error when encryption required but not
used by the driver. This commit fixes test to account for it. | neo4j_neo4j-java-driver | train |
5f1e4c4341390054f8c48622c5eb22cc93401161 | diff --git a/lib/chef/lib/providers/server_collection_provider.rb b/lib/chef/lib/providers/server_collection_provider.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/lib/providers/server_collection_provider.rb
+++ b/lib/chef/lib/providers/server_collection_provider.rb
@@ -32,7 +32,8 @@ class Chef
QUERY_TIMEOUT = 6... | Fix issue with ServerCollection provider initialization | rightscale_right_agent | train |
63c17a7bf004140f6f0eff5795876e620e671b09 | diff --git a/packages/cerebral-todomvc/webpack.config.js b/packages/cerebral-todomvc/webpack.config.js
index <HASH>..<HASH> 100644
--- a/packages/cerebral-todomvc/webpack.config.js
+++ b/packages/cerebral-todomvc/webpack.config.js
@@ -19,6 +19,14 @@ var config = {
loader: 'babel?optional=es7.decorators',
... | fix(webpack): correct resolve config to use with npm link | cerebral_cerebral | train |
667bcac439f2bf0bdd072cf9dc28658aedde5e93 | diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/generators/app_base.rb
+++ b/railties/lib/rails/generators/app_base.rb
@@ -102,7 +102,7 @@ module Rails
def set_default_accessors!
self.rails_template... | Application templates should work with HTTPS too | rails_rails | train |
9b698928b17f4f2dadfba8438747af53731825b5 | diff --git a/modules/fuse-box-responsive-api/index.js b/modules/fuse-box-responsive-api/index.js
index <HASH>..<HASH> 100644
--- a/modules/fuse-box-responsive-api/index.js
+++ b/modules/fuse-box-responsive-api/index.js
@@ -50,9 +50,11 @@
/* @if server */
+ /* @if globalRequire */
if (typeof global === ... | globalRequire in case of npm (server) (#<I>) | fuse-box_fuse-box | train |
05ee621bfe885296450ced05b9f476784ccafe2d | diff --git a/examples/repl.js b/examples/repl.js
index <HASH>..<HASH> 100644
--- a/examples/repl.js
+++ b/examples/repl.js
@@ -1,13 +1,32 @@
var fs = require('fs');
var path = require('path');
-var df = require('dateformat');
-var arDrone = require('ar-drone');
-var autonomy = require('..');
+var df = require('datefo... | Fixed null pointer in tag detection | eschnou_ardrone-autonomy | train |
9c3a8c73d3df440cb9498d8b0f0b8f3a5426c0f2 | diff --git a/src/Console/SuperVInstallCommand.php b/src/Console/SuperVInstallCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/SuperVInstallCommand.php
+++ b/src/Console/SuperVInstallCommand.php
@@ -21,7 +21,7 @@ class SuperVInstallCommand extends Command
$this->call('vendor:publish', ['--tag' => 'su... | Ensure droplet is available in droplets collection right after it is installed | superv_platform | train |
d7e5061131783df43cabcc2f29f41c4b45ccaefe | diff --git a/lib/skiima.rb b/lib/skiima.rb
index <HASH>..<HASH> 100644
--- a/lib/skiima.rb
+++ b/lib/skiima.rb
@@ -66,10 +66,9 @@ module Skiima
# Config options
#============================================================
set_mod_accessors(
- :load_order => :sequential,
- :locale => :en,
- :debug => ... | LoaderConfig: added logging level to options instead of debug. wrote test for config options. | dcunited001_skiima | train |
431735bc25e5ea5fd2ae000157f4e7744fae0158 | diff --git a/skitai/server/wsgiappservice.py b/skitai/server/wsgiappservice.py
index <HASH>..<HASH> 100644
--- a/skitai/server/wsgiappservice.py
+++ b/skitai/server/wsgiappservice.py
@@ -32,6 +32,21 @@ from .wastuff.api import DateEncoder
TEMP_DIR = "/var/tmp/skitai-gentemp"
pathtool.mkdir (TEMP_DIR)
+class JWTUs... | add timestamp, uniqid, mkjwt and dejwt | hansroh_skitai | train |
e009fb82af43a8b3e1ab9872bd8357433217d9da | diff --git a/ui/src/components/editor/QEditor.js b/ui/src/components/editor/QEditor.js
index <HASH>..<HASH> 100644
--- a/ui/src/components/editor/QEditor.js
+++ b/ui/src/components/editor/QEditor.js
@@ -502,7 +502,7 @@ export default createComponent({
return h('div', {
ref: rootRef,
class: clas... | chore(QEditor): small tweak | quasarframework_quasar | train |
2c7ae21d910f5e246c8f86fc0f0094b6c8c0ec22 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,15 +1,29 @@
var semver = require('semver')
module.exports = function (firstTree, secondTree) {
- secondTree.forEach(function (element) {
- var alreadyHave = firstTree.some(function (have) {
+ secondTree.forEach(fun... | Merge direct-dependency range properties | kemitchell_merge-flat-package-trees.js | train |
868e685f21d41d3f43fbde63261f2e60006bef7a | diff --git a/lib/DAV/tree/ftp.js b/lib/DAV/tree/ftp.js
index <HASH>..<HASH> 100644
--- a/lib/DAV/tree/ftp.js
+++ b/lib/DAV/tree/ftp.js
@@ -14,6 +14,7 @@ var jsDAV_Ftp_File = require("../ftp/file").jsDAV_Ftp_File;
var Ftp = require("../../../support/jsftp/jsftp");
var Exc = require... | Fixed renaming and moving in FTP with the new
absolute path system | mikedeboer_jsDAV | train |
40519b90a2056aabcaab6dcb966c5428cc33cdcd | diff --git a/src/Titon/Model/Model.php b/src/Titon/Model/Model.php
index <HASH>..<HASH> 100644
--- a/src/Titon/Model/Model.php
+++ b/src/Titon/Model/Model.php
@@ -25,6 +25,9 @@ use Titon\Model\Exception\MissingRelationException;
use Titon\Model\Exception\QueryFailureException;
use Titon\Model\Model\Callback;
use Tit... | Added helper methods for setting relations | titon_db | train |
d977e0943e31f093f45f8568550eb6cbfdf88f46 | diff --git a/src/Knp/Menu/Loader/NodeLoader.php b/src/Knp/Menu/Loader/NodeLoader.php
index <HASH>..<HASH> 100644
--- a/src/Knp/Menu/Loader/NodeLoader.php
+++ b/src/Knp/Menu/Loader/NodeLoader.php
@@ -17,7 +17,7 @@ class NodeLoader implements LoaderInterface
public function load($data)
{
if (!$data ins... | [BUGFIX] Fix erroneous sprintf use
This corrects a mistake where a missing %s
leads to an incorrect use of sprintf. | KnpLabs_KnpMenu | train |
9cf31a3a0408261ad2530bc4167087c99b23663c | diff --git a/notifier.go b/notifier.go
index <HASH>..<HASH> 100644
--- a/notifier.go
+++ b/notifier.go
@@ -34,7 +34,12 @@ func New(rawData ...interface{}) *Notifier {
// Bugsnag after being converted to JSON. e.g. bugsnag.SeverityError, bugsnag.Context,
// or bugsnag.MetaData.
func (notifier *Notifier) Notify(rawDat... | [fix] Ensure calls to Notify has correct arg precedence | bugsnag_bugsnag-go | train |
b2594218b00bd0d1e65e465dbbb9ed6aed6cbf84 | diff --git a/app/controllers/fluentd/settings/out_s3_controller.rb b/app/controllers/fluentd/settings/out_s3_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/fluentd/settings/out_s3_controller.rb
+++ b/app/controllers/fluentd/settings/out_s3_controller.rb
@@ -5,7 +5,9 @@ class Fluentd::Settings::OutS3Con... | Simplified out_s3 setting | fluent_fluentd-ui | train |
aecd779c2cb3995cd0e8e8e6567e7582ec572305 | diff --git a/src/photini/__init__.py b/src/photini/__init__.py
index <HASH>..<HASH> 100644
--- a/src/photini/__init__.py
+++ b/src/photini/__init__.py
@@ -1,4 +1,4 @@
from __future__ import unicode_literals
__version__ = '2019.10.0'
-build = '1423 (1c641b8)'
+build = '1424 (65cc73a)'
diff --git a/src/photini/techni... | Fix widget size problem on some Windows versions | jim-easterbrook_Photini | train |
2345cd1f0337f4f06a2f2595a1a59c30dc4a1535 | diff --git a/tests/kubernetes/test_pod_generator.py b/tests/kubernetes/test_pod_generator.py
index <HASH>..<HASH> 100644
--- a/tests/kubernetes/test_pod_generator.py
+++ b/tests/kubernetes/test_pod_generator.py
@@ -22,6 +22,7 @@ from unittest import mock
from dateutil import parser
from kubernetes.client import ApiCl... | Fix Harcoded Airflow version (#<I>)
This test will fail or will need fixing whenever we release new Airflow
version | apache_airflow | train |
469963bcc151c500b7525dfd29224e40393c01da | diff --git a/src/Surfnet/StepupMiddlewareClientBundle/Configuration/Dto/InstitutionConfigurationOptions.php b/src/Surfnet/StepupMiddlewareClientBundle/Configuration/Dto/InstitutionConfigurationOptions.php
index <HASH>..<HASH> 100644
--- a/src/Surfnet/StepupMiddlewareClientBundle/Configuration/Dto/InstitutionConfigurati... | Show self vetting option on institution config | OpenConext_Stepup-Middleware-clientbundle | train |
dfa6e2cf0c462ddc0f19dc929f5b1253d14e0094 | diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/FilePath.java
+++ b/core/src/main/java/hudson/FilePath.java
@@ -852,7 +852,9 @@ public final class FilePath implements Serializable {
/**
* This extensi... | improve javadoc to clarify which code is ran on master/slave | jenkinsci_jenkins | train |
8b541e83ade83ba3d1243c29ec7920c4dd7e05c2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -17,7 +17,7 @@ function Cardboard(config) {
config = config || {};
// Allow caller to pass in aws-sdk clients
- if (typeof config.mainTable !== 'string' || config.mainTable.length === 0) throw new Error('"mainTa... | let only a dyno client through | mapbox_cardboard | train |
8e4cd1526b839aa1c5f61c99fe6328ce24611ad9 | diff --git a/structr/structr-core/src/main/java/org/structr/core/entity/AbstractRelationship.java b/structr/structr-core/src/main/java/org/structr/core/entity/AbstractRelationship.java
index <HASH>..<HASH> 100644
--- a/structr/structr-core/src/main/java/org/structr/core/entity/AbstractRelationship.java
+++ b/structr/st... | added two @Override anns | structr_structr | train |
3f4e68d45a66609d70da08e81d0015cbaa1f47aa | diff --git a/moban/main.py b/moban/main.py
index <HASH>..<HASH> 100644
--- a/moban/main.py
+++ b/moban/main.py
@@ -32,9 +32,9 @@ def main():
try:
handle_moban_file(options)
except exceptions.DirectoryNotFound as e:
- reporter.report_error_message(e)
+ reporter.report... | :umbrella: fix potential warnings | moremoban_moban | train |
f1915473aa92be1a7d3e1216c024b14f93d7acfd | diff --git a/hic/test/test_flow.py b/hic/test/test_flow.py
index <HASH>..<HASH> 100644
--- a/hic/test/test_flow.py
+++ b/hic/test/test_flow.py
@@ -99,4 +99,4 @@ def test_flow_cumulant():
assert_raises(ValueError, vnk.correlation, 2, 3)
# missing qn
- assert_raises(ValueError, vnk.cumulant, 2, 6)
+ ass... | Minor test fix; coverage now <I>%. | Duke-QCD_hic | train |
9180f575ddb8ac6444a4aa97d26a7706c15b682f | diff --git a/app/views/dashboard/components/add.blade.php b/app/views/dashboard/components/add.blade.php
index <HASH>..<HASH> 100644
--- a/app/views/dashboard/components/add.blade.php
+++ b/app/views/dashboard/components/add.blade.php
@@ -60,7 +60,7 @@
<input type="hidden" name="component[user_id]"... | Group multiple buttons in .btn-group. Moved regen API key button. | CachetHQ_Cachet | train |
fbcdaa76c757c6c79b8010e6ee5901c7cde680ed | diff --git a/app/helpers/sufia/sufia_helper_behavior.rb b/app/helpers/sufia/sufia_helper_behavior.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/sufia/sufia_helper_behavior.rb
+++ b/app/helpers/sufia/sufia_helper_behavior.rb
@@ -16,6 +16,10 @@ module Sufia
t('sufia.institution_name_full', default: institution_... | Move homepage banner_image into a helper so it can be easily overridden | samvera_hyrax | train |
e3362b0ff5afc8132c6f852541dcf27ef9ba739e | diff --git a/src/main/java/org/agmip/translators/dssat/DssatXFileInput.java b/src/main/java/org/agmip/translators/dssat/DssatXFileInput.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/agmip/translators/dssat/DssatXFileInput.java
+++ b/src/main/java/org/agmip/translators/dssat/DssatXFileInput.java
@@ -80,8 +80,... | 1. add model version and data source in the experiment section
2. change the order of treatment block in the experiment section | agmip_translator-dssat | train |
983328d6e0fe23556d40882e15ef38f11c8fa9f5 | diff --git a/ramda.js b/ramda.js
index <HASH>..<HASH> 100644
--- a/ramda.js
+++ b/ramda.js
@@ -221,12 +221,12 @@
};
}
- if (typeof Object.defineProperty === 'function') {
- try {
- Object.defineProperty(R, '_', {writable: false, value: void 0});
- } catch (e) {}
+ var _; ... | define R._ in every environment
There is a semantic difference between a nonexistent property and a
property whose value is undefined. | ramda_ramda | train |
a1e028f2866f5702c6a30cd2091f53c30d47a79d | diff --git a/doc/source/whatsnew/v1.1.0.rst b/doc/source/whatsnew/v1.1.0.rst
index <HASH>..<HASH> 100644
--- a/doc/source/whatsnew/v1.1.0.rst
+++ b/doc/source/whatsnew/v1.1.0.rst
@@ -1200,6 +1200,8 @@ Other
- Bug in :meth:`DataFrame.__dir__` caused a segfault when using unicode surrogates in a column name (:issue:`255... | BUG/API: other object type check in Series/DataFrame.equals (#<I>) | pandas-dev_pandas | train |
93cebb7cea36786425a0e8a42ff38012e2f26d48 | diff --git a/app/models/renalware/letters/delivery/practice_email.rb b/app/models/renalware/letters/delivery/practice_email.rb
index <HASH>..<HASH> 100644
--- a/app/models/renalware/letters/delivery/practice_email.rb
+++ b/app/models/renalware/letters/delivery/practice_email.rb
@@ -18,8 +18,7 @@ module Renalware
... | If allow_external_mail = false send approved letters to fallback test email address
And not the logged-in user which is risker | airslie_renalware-core | train |
8536acacef6f14988f126710a0a49f3442d54aa1 | diff --git a/language/phpmailer.lang-ro.php b/language/phpmailer.lang-ro.php
index <HASH>..<HASH> 100644
--- a/language/phpmailer.lang-ro.php
+++ b/language/phpmailer.lang-ro.php
@@ -6,9 +6,7 @@
*/
$PHPMAILER_LANG['authenticate'] = 'Eroare SMTP: Autentificarea a eșuat.';
-$PHPMAILER_LANG['buggy_php'] ... | Line breaks in translations are not supported as of <I> | PHPMailer_PHPMailer | train |
eb221fb4cfcd450d2458461fa14d5079ee0a3bd7 | diff --git a/feed/obs/thread.js b/feed/obs/thread.js
index <HASH>..<HASH> 100644
--- a/feed/obs/thread.js
+++ b/feed/obs/thread.js
@@ -28,7 +28,7 @@ exports.create = function (api) {
sync.set(true)
if (!err) {
var msg = unboxIfNeeded({key: rootId, value})
- if (blocking().includes(msg.valu... | If navigating to a blocked thread, show that there is a blocked message, but don't render it as a message | ssbc_patchcore | train |
695f8a23e3038ad634d1a610f46492e1772db780 | diff --git a/irc.py b/irc.py
index <HASH>..<HASH> 100644
--- a/irc.py
+++ b/irc.py
@@ -85,7 +85,7 @@ class Dispatcher(object):
def on_channel_message(self, nick, channel, message):
is_ping = False
- if re.match('^%s[:\s]' % self.irc.nick, message):
+ if re.match('^%s[:,\s]' % self.irc.nick... | Adding a ',' to the acceptable ping bits for those xchat users | coleifer_irc | train |
5707e034a1a0756dbe313433b2a5c966f6ebbc0c | diff --git a/core/cas-server-core-cookie-api/src/main/java/org/apereo/cas/web/support/EncryptedCookieValueManager.java b/core/cas-server-core-cookie-api/src/main/java/org/apereo/cas/web/support/EncryptedCookieValueManager.java
index <HASH>..<HASH> 100644
--- a/core/cas-server-core-cookie-api/src/main/java/org/apereo/ca... | fix spotbug issue with serialization [force build] | apereo_cas | train |
cf30ba1565fde1e172755165ddcddcf0115808d6 | diff --git a/pylsl/examples/HandleMetadata.py b/pylsl/examples/HandleMetadata.py
index <HASH>..<HASH> 100644
--- a/pylsl/examples/HandleMetadata.py
+++ b/pylsl/examples/HandleMetadata.py
@@ -11,7 +11,7 @@ def main():
info = StreamInfo("MetaTester", "EEG", 8, 100, "float32", "myuid56872")
# now attach some m... | Fixup recently introduced bug in SendDataAdvanced | labstreaminglayer_liblsl-Python | train |
3c36b06cb3c3034eb9ef9f279f88be920a4e3992 | diff --git a/libnetwork/controller.go b/libnetwork/controller.go
index <HASH>..<HASH> 100644
--- a/libnetwork/controller.go
+++ b/libnetwork/controller.go
@@ -522,6 +522,8 @@ func (c *controller) Config() config.Config {
}
func (c *controller) isManager() bool {
+ c.Lock()
+ defer c.Unlock()
if c.cfg == nil || c.... | Lock in isAgent() and inMaster() | moby_moby | train |
01d57f40a2152a10f65c7f71fc4d40d49099f362 | diff --git a/galpy/orbit/Orbit.py b/galpy/orbit/Orbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit/Orbit.py
+++ b/galpy/orbit/Orbit.py
@@ -1189,7 +1189,7 @@ class Orbit(object):
if _isNonAxi(pot):
raise RuntimeError('Potential given to rguiding is non-axisymmetric, but rguiding requires an axi... | Fix Orbit.rguiding for new Lz implementation | jobovy_galpy | train |
0bb0ba20bf1a05629226c2da0fdf7a37b9f661ba | diff --git a/registry/doc.go b/registry/doc.go
index <HASH>..<HASH> 100644
--- a/registry/doc.go
+++ b/registry/doc.go
@@ -44,5 +44,10 @@ For more details about interacting with the Docker Hub, see the Docker Hub and
Registry Spec:
https://docs.docker.com/reference/api/hub_registry_spec/
+
+Note: If your Docker Hub... | Comment on API access to automated build repos | CenturyLinkLabs_docker-reg-client | train |
e1f1ac76dacf95f8e5fbecd167604f9e17d9a6f6 | diff --git a/usgs/api.py b/usgs/api.py
index <HASH>..<HASH> 100644
--- a/usgs/api.py
+++ b/usgs/api.py
@@ -4,7 +4,8 @@ from xml.etree import ElementTree
import requests
from usgs import USGS_API, USGSConnectionError
-from usgs import soap
+from usgs import soap, xsi
+
TMPFILE = os.path.join("/", "tmp", "usgs")
... | send requests to usgs api | kapadia_usgs | train |
06ca89ba7755e353100d6a9931d49f93bf285669 | diff --git a/src/main/java/reactor/netty/http/client/HttpClientDoOnError.java b/src/main/java/reactor/netty/http/client/HttpClientDoOnError.java
index <HASH>..<HASH> 100644
--- a/src/main/java/reactor/netty/http/client/HttpClientDoOnError.java
+++ b/src/main/java/reactor/netty/http/client/HttpClientDoOnError.java
@@ -2... | doOnResponseError callback should not be called when redirecting | reactor_reactor-netty | train |
6dc79ef871e0686c57ef3914c35016c203b9cae1 | diff --git a/ceph_deploy/tests/unit/util/test_arg_validators.py b/ceph_deploy/tests/unit/util/test_arg_validators.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/tests/unit/util/test_arg_validators.py
+++ b/ceph_deploy/tests/unit/util/test_arg_validators.py
@@ -1,3 +1,5 @@
+import socket
+from mock import Mock
from a... | tests for the new hostname validator | ceph_ceph-deploy | train |
b707be16b5e40c54b959cd1d41ff1c99472d5ffd | diff --git a/src/context.js b/src/context.js
index <HASH>..<HASH> 100644
--- a/src/context.js
+++ b/src/context.js
@@ -68,8 +68,8 @@ Context.prototype.visitBundles = function(visitor) {
var context = this;
return Object.keys(context.shards).reduce(function(context, name) {
- return context.setShard(name, vis... | removed extra arguments in the visitor methods when visiting bundles. The data is available in the bundle itself. | MiguelCastillo_bit-bundler | train |
4d3bd9770c7449a28dc7d2518f828498c7f2c0bd | diff --git a/website/data/alert-banner.js b/website/data/alert-banner.js
index <HASH>..<HASH> 100644
--- a/website/data/alert-banner.js
+++ b/website/data/alert-banner.js
@@ -1,13 +1,12 @@
-export const ALERT_BANNER_ACTIVE = false
+export const ALERT_BANNER_ACTIVE = true
// https://github.com/hashicorp/react-compone... | [Website] Add HashiConf info to alert banner (#<I>)
* Add HashiConf info to alert banner
* Contrived change to test CI | hashicorp_vault | train |
0a3f3cb703cb3a8fb45a1cbaef463752f12c5f67 | diff --git a/src/OpenTok/StreamList.php b/src/OpenTok/StreamList.php
index <HASH>..<HASH> 100644
--- a/src/OpenTok/StreamList.php
+++ b/src/OpenTok/StreamList.php
@@ -11,9 +11,7 @@ class StreamList
/** @ignore */
private $data;
- /**
- * @var array
- */
+ /** @ignore */
private $items;
... | fix doc comments based on review | opentok_OpenTok-PHP-SDK | train |
d7d65c65181927b1fa0ef4e8d147a426cb8c4e8f | diff --git a/config/initializers/simple_form.rb b/config/initializers/simple_form.rb
index <HASH>..<HASH> 100644
--- a/config/initializers/simple_form.rb
+++ b/config/initializers/simple_form.rb
@@ -1,7 +1,7 @@
require 'simple_form'
# Use this setup block to configure all options available in SimpleForm.
SimpleForm.... | Update error class to bootstrap3 compatibility | samvera_hyrax | train |
9701dc5572078f35b88ed20252015f7fbbcd0c01 | diff --git a/controllers/css.js b/controllers/css.js
index <HASH>..<HASH> 100644
--- a/controllers/css.js
+++ b/controllers/css.js
@@ -67,7 +67,8 @@ module.exports = options => {
return notFoundController(req, res, cb);
} else {
res.statusCode = 404;
- res.end('File not found');
+
+ return res.end('... | Stop middleware after running built-in <I> handler | larvit_larvitcss | train |
430c7ff49b203731d0f42cb020171dea222ebf85 | diff --git a/can-make-map.js b/can-make-map.js
index <HASH>..<HASH> 100644
--- a/can-make-map.js
+++ b/can-make-map.js
@@ -1,6 +1,7 @@
/**
* @module {function} can-make-map can-make-map
- * @parent can-infrastructure
+ * @parent can-js-utilities
+ * @collection can-infrastructure
* @signature `makeMap( string )`
... | Update docs with new @parent & @collection | canjs_can-make-map | train |
a6eabc6e8c8e6f15a48c8d1fe296aac64145f70f | diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/vasp/sets.py
+++ b/pymatgen/io/vasp/sets.py
@@ -575,6 +575,13 @@ class DictSet(VaspInputSet):
if self.use_structure_charge:
incar["NELECT"] = self.nelect
+ # Check that ALGO is a... | Check Algo for hybrid calculations
Algo should be Normal, All, or Damped per the VASP manual | materialsproject_pymatgen | train |
f9730aefef0921baee85201dcb1a262bb699055a | diff --git a/course/lib.php b/course/lib.php
index <HASH>..<HASH> 100644
--- a/course/lib.php
+++ b/course/lib.php
@@ -326,25 +326,36 @@ function print_recent_activity($course) {
$post = NULL;
if ($log->action == "add post") {
- $post = get_record_sql("SELECT p.*, u.firstname,... | Remove teacher posts from recent activity (for students) | moodle_moodle | train |
4d51036dcca674dbebf659929765be92544e0931 | diff --git a/lib/www_applet.rb b/lib/www_applet.rb
index <HASH>..<HASH> 100644
--- a/lib/www_applet.rb
+++ b/lib/www_applet.rb
@@ -14,16 +14,17 @@ class WWW_Applet
:allow_comments => false,
:remove_contents => true,
- :elements => [
+ :elements => %w[
- 'html', 'head', 'title', 'meta', 'style'... | Fixed: 'div' and 'body' were not in the whitelist. | da99_www_app | train |
2a96f8d8a0def99728513c65e469102f218d8615 | diff --git a/selendroid-server/src/test/java/io/selendroid/server/BaseTest.java b/selendroid-server/src/test/java/io/selendroid/server/BaseTest.java
index <HASH>..<HASH> 100644
--- a/selendroid-server/src/test/java/io/selendroid/server/BaseTest.java
+++ b/selendroid-server/src/test/java/io/selendroid/server/BaseTest.ja... | Using a higher port to hopefully have more stable builds on travis. | selendroid_selendroid | train |
1b46a1158c221c3910f80f183f6591f14e68c236 | diff --git a/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb b/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
+++ b/activesupport/lib/active_sup... | Fix broken number_to_currency tests | rails_rails | train |
67273cd89e8685b55525bc5978336a169ee3a98e | diff --git a/src/main/java/org/jfrog/hudson/gradle/ArtifactoryGradleConfigurator.java b/src/main/java/org/jfrog/hudson/gradle/ArtifactoryGradleConfigurator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jfrog/hudson/gradle/ArtifactoryGradleConfigurator.java
+++ b/src/main/java/org/jfrog/hudson/gradle/Artifact... | HAP- <I> - take into account the result of the teardown in the Gradle release wrapper | jenkinsci_artifactory-plugin | train |
68b079d3129c8201fcffb898bf6155efdc393d0a | diff --git a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
index <HASH>..<HASH> 100644
--- a/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
+++ b/src/delombok/lombok/delombok/PrettyCommentsPrinter.java
@@ -103,6 +103,7 @@ import com.sun.tools.... | fixed Issue <I>:
Javac parser handles ";" (empty statements) as empty blocks with an invalid position. Thats why delomok replaces ";" with "{}". This gets an issue when you use this in an interface, since interfaces are not allowed to have initializer blocks. | rzwitserloot_lombok | train |
e2f7c74c508d0e4a3f5005530b7dcd27ac782131 | diff --git a/apitools/base/py/transfer.py b/apitools/base/py/transfer.py
index <HASH>..<HASH> 100644
--- a/apitools/base/py/transfer.py
+++ b/apitools/base/py/transfer.py
@@ -848,6 +848,7 @@ class Upload(_Transfer):
def __SendChunk(self, start, additional_headers=None):
"""Send the specified chunk."""
self... | Pull stream buffers into string objects to work around httplib2 issue.
This works around <URL> | google_apitools | train |
5150699a919a776c5edd2cbd5480025ef03f54e7 | diff --git a/addon/components/lookup-field/lookup-field-mixin.js b/addon/components/lookup-field/lookup-field-mixin.js
index <HASH>..<HASH> 100644
--- a/addon/components/lookup-field/lookup-field-mixin.js
+++ b/addon/components/lookup-field/lookup-field-mixin.js
@@ -106,9 +106,13 @@ export default Ember.Mixin.create({
... | Added opportunity to limit lookup values | Flexberry_ember-flexberry | train |
a1c198ee4c8d4d32dfa79f207ec7d0524c5f7bcc | diff --git a/lib/mysql2/client.rb b/lib/mysql2/client.rb
index <HASH>..<HASH> 100644
--- a/lib/mysql2/client.rb
+++ b/lib/mysql2/client.rb
@@ -66,7 +66,7 @@ module Mysql2
if [:user, :pass, :hostname, :dbname, :db, :sock].any? { |k| @query_options.key?(k) }
warn "============= WARNING FROM mysql2 =====... | English grammar: Fix incorrect use of word "deprecated" (#<I>)
Sorry for the grammar nit-picking, but by the following definition, these options are **already** deprecated.
> deprecated. Adjective. (computing) Obsolescent; said of a construct in a computing language considered old, and planned to be phased out, but... | brianmario_mysql2 | train |
8627ff10f202e3b9ed2065249c8c35ff8563596f | diff --git a/openquake/job/handlers.py b/openquake/job/handlers.py
index <HASH>..<HASH> 100644
--- a/openquake/job/handlers.py
+++ b/openquake/job/handlers.py
@@ -5,6 +5,7 @@ import re
import socket
from httplib import HTTPConnection, HTTPSConnection
+from paramiko import AuthenticationException, BadAuthenticationT... | Add AuthenticationError to try/except | gem_oq-engine | train |
076c365748e0e8eb27e9b85b7ae0250afdfd4e2f | diff --git a/packages/@vue/eslint-config-typescript/index.js b/packages/@vue/eslint-config-typescript/index.js
index <HASH>..<HASH> 100644
--- a/packages/@vue/eslint-config-typescript/index.js
+++ b/packages/@vue/eslint-config-typescript/index.js
@@ -13,8 +13,7 @@ module.exports = {
'no-unused-vars': 'off',
/... | chore: no longer needs to disable `space-infix-ops`
Now that the bug in typescript-eslint-parser has been fixed. | vuejs_vue-cli | train |
9948a0b66e0a148573db5d797a8e5f9b74709b69 | diff --git a/packages/pug-linker/index.js b/packages/pug-linker/index.js
index <HASH>..<HASH> 100644
--- a/packages/pug-linker/index.js
+++ b/packages/pug-linker/index.js
@@ -94,7 +94,7 @@ function extend(parentBlocks, ast) {
var parentBlockList = parentBlocks[node.name] ? flattenParentBlocks(parentBlocks[node.n... | [pug-linker] Remove ES6 syntax (#<I>)
Change 'fat arrow' function into regular function syntax. This will
make it simpler for codebases to depend on pug if they are using older
versions of node. | pugjs_then-pug | train |
1242f8d612e8c518ae9d5d0a493c164cb32ee96c | diff --git a/provider/maas/maas2storage_test.go b/provider/maas/maas2storage_test.go
index <HASH>..<HASH> 100644
--- a/provider/maas/maas2storage_test.go
+++ b/provider/maas/maas2storage_test.go
@@ -4,26 +4,108 @@
package maas
import (
+ "io/ioutil"
+
+ "github.com/juju/errors"
+ "github.com/juju/gomaasapi"
+ jc "g... | Tests for Get, List and URL
Next up: Put, Remove and RemoveAll. | juju_juju | train |
dbf38b9a7681ceb1bc948bc5360f890486dd13e3 | diff --git a/messaging/src/main/java/org/jboss/as/messaging/HornetQServerControlHandler.java b/messaging/src/main/java/org/jboss/as/messaging/HornetQServerControlHandler.java
index <HASH>..<HASH> 100644
--- a/messaging/src/main/java/org/jboss/as/messaging/HornetQServerControlHandler.java
+++ b/messaging/src/main/java/o... | AS7-<I> Throw better exception when HornetQServer is not available | wildfly_wildfly | train |
83cc9c38fd14db10188b9d2e4bc485e6a7f803e7 | diff --git a/generators/app/templates/_package.json b/generators/app/templates/_package.json
index <HASH>..<HASH> 100644
--- a/generators/app/templates/_package.json
+++ b/generators/app/templates/_package.json
@@ -79,7 +79,7 @@
"request": "^2.83.0",
"request-promise": "^4.2.2"
<%_ if (typeof sendgridKey... | Updating sendgrid npm package (#<I>) | diegohaz_rest | train |
46f0a77ef0da1c3ed590e8903b6c6db4ea7f92cf | diff --git a/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/DefaultHttpWsConnectorFactory.java b/components/org.wso2.transport.http.netty/src/main/java/org/wso2/transport/http/netty/contractimpl/DefaultHttpWsConnectorFactory.java
index <HASH>..<HASH> 100644
--- a/compo... | Remove un-necessarily thrown interrupt exception | wso2_transport-http | train |
f17961ae4d3d7cf5ea291d82804239982d009ef7 | diff --git a/src/com/google/javascript/jscomp/DisambiguateProperties.java b/src/com/google/javascript/jscomp/DisambiguateProperties.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/DisambiguateProperties.java
+++ b/src/com/google/javascript/jscomp/DisambiguateProperties.java
@@ -488,9 +488,13 @@ ... | Fix DisambiguateProperties handling of quoted properties
Fixes issue <I>
-------------
Created by MOE: <URL> | google_closure-compiler | train |
7986953a2bc20be57ea2fa05b803c3ce9ef4396d | diff --git a/src/Ray/Di/Injector.php b/src/Ray/Di/Injector.php
index <HASH>..<HASH> 100644
--- a/src/Ray/Di/Injector.php
+++ b/src/Ray/Di/Injector.php
@@ -263,7 +263,7 @@ class Injector implements InjectorInterface
/**
* {@inheritdoc}
*/
- public function getInstance($class, array $params = null)
+ ... | [BC BREAK] remove $param from Injector::getInstance() | ray-di_Ray.Di | train |
5f6342ca0c6f509adcb8968358cc8bb213a702f9 | diff --git a/public/javascripts/refinery/admin.js b/public/javascripts/refinery/admin.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/refinery/admin.js
+++ b/public/javascripts/refinery/admin.js
@@ -32,7 +32,7 @@ init_flash_messages = function(){
}
init_modal_dialogs = function(){
- $('a[href*="dialog=true... | Links in dialogs no longer open in dialogs | refinery_refinerycms | train |
105537e9693ca104fe6ddb16a92c322b51245ba0 | diff --git a/lib/platforms/chrome-notify.js b/lib/platforms/chrome-notify.js
index <HASH>..<HASH> 100644
--- a/lib/platforms/chrome-notify.js
+++ b/lib/platforms/chrome-notify.js
@@ -1,5 +1,6 @@
'use strict';
var NOTIFY_TYPE = 'chrome';
+var FIREBASE_LOCATION = require("./secrets");
var Firebase = require('firebas... | Quick fix to chrome-notify.js: lacked secrets var. | ryanpardieck_grunt-notify-chrome | train |
bdd799b4b7fd4bb4fd7877d55a0e9139003ef0fb | diff --git a/domain/command-authorization/src/main/java/io/motown/domain/commandauthorization/CommandAuthorizationService.java b/domain/command-authorization/src/main/java/io/motown/domain/commandauthorization/CommandAuthorizationService.java
index <HASH>..<HASH> 100644
--- a/domain/command-authorization/src/main/java/... | Check for authorization of AllPermissions command | motown-io_motown | train |
152529f808562bf3a1653b8d16c716e1ef7e018c | diff --git a/app/controllers/katello/api/registry/registry_proxies_controller.rb b/app/controllers/katello/api/registry/registry_proxies_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/katello/api/registry/registry_proxies_controller.rb
+++ b/app/controllers/katello/api/registry/registry_proxies_control... | Fixes #<I> - don't require container_image_registry for registry
with pulp3 | Katello_katello | train |
62d6278df022b174b0679fcfe2fa72483d59638d | diff --git a/plugins/stats/stats.go b/plugins/stats/stats.go
index <HASH>..<HASH> 100644
--- a/plugins/stats/stats.go
+++ b/plugins/stats/stats.go
@@ -37,7 +37,7 @@ func (p *statsPlugin) PluginInit(commander *cmd.Cmd, _ *internal.Context) error
commander.Add(cmd.Command{"stats",
`
- stats {min|ma... | Added standard deviation (std) | gobs_cmd | train |
9ea6132159b4369f4314d82f7a0dbc57cdec4770 | diff --git a/cmsplugin_cascade/bootstrap3/container.py b/cmsplugin_cascade/bootstrap3/container.py
index <HASH>..<HASH> 100644
--- a/cmsplugin_cascade/bootstrap3/container.py
+++ b/cmsplugin_cascade/bootstrap3/container.py
@@ -60,7 +60,7 @@ class BootstrapContainerPlugin(BootstrapPluginBase):
help_text=_("... | media queries are computed while editing BootstrapContainer | jrief_djangocms-cascade | train |
0122dc562562ef6afdd577ea3acb294aa03e4a61 | diff --git a/indra/sources/indra_db_rest/processor.py b/indra/sources/indra_db_rest/processor.py
index <HASH>..<HASH> 100644
--- a/indra/sources/indra_db_rest/processor.py
+++ b/indra/sources/indra_db_rest/processor.py
@@ -482,7 +482,10 @@ class IndraDBRestSearchProcessor(IndraDBRestProcessor):
... | Only use timeout if you're not going to persist. | sorgerlab_indra | train |
f7c180dcb44cb5e7ad4ac59d871f5728d9055c05 | diff --git a/aeron-client/src/test/java/io/aeron/ClientConductorTest.java b/aeron-client/src/test/java/io/aeron/ClientConductorTest.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/test/java/io/aeron/ClientConductorTest.java
+++ b/aeron-client/src/test/java/io/aeron/ClientConductorTest.java
@@ -159,10 +159,10 @@... | [Java] Simplify when clause. | real-logic_aeron | train |
511792f912917750f1b62629b2060ca36a59f1be | diff --git a/entry.go b/entry.go
index <HASH>..<HASH> 100644
--- a/entry.go
+++ b/entry.go
@@ -38,15 +38,23 @@ func (entry *Entry) String() (string, error) {
}
func (entry *Entry) WithField(key string, value interface{}) *Entry {
- entry.Data[key] = value
- return entry
+ data := Fields{}
+ for k, v := range entry.... | Added support to chain withfields
`WithField` and `WithFields` right now doesn't chain properly. Meaning
that if you do something like:
localLog := logger.WithField("tag", "value")
localLog.WithField("v1", "value").Info("message1")
localLog.Info("message2")
The `v1` will be carried over to `message2`.
W... | sirupsen_logrus | train |
86b33867b156f9d80bdccf895f16ec0ac3a8a204 | diff --git a/lib/puppet/config.rb b/lib/puppet/config.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/config.rb
+++ b/lib/puppet/config.rb
@@ -721,6 +721,10 @@ Generated on #{Time.now}.
@desc = value.gsub(/^\s*/, '')
end
+ def hook=(block)
+ meta_def :handle, &block
+ en... | Adding the ability to have hooks for configuration parameters. This will simplify things like setting the shell path.
git-svn-id: <URL> | puppetlabs_puppet | train |
8852f7e0892383bb84933333c4e1cf99a367fdb1 | diff --git a/test/lib/testserver.js b/test/lib/testserver.js
index <HASH>..<HASH> 100644
--- a/test/lib/testserver.js
+++ b/test/lib/testserver.js
@@ -12,7 +12,7 @@ var testRoutes = require("./routes");
// Listen to events
httpServer.on("request",function(req,res) {
- function write(status,data,contentType) {conso... | Removed an errant console.log | simplecrawler_simplecrawler | train |
964ad2fa12aa08a54e2c23ed07846c1eca223bf9 | diff --git a/tests/ciscotest.rb b/tests/ciscotest.rb
index <HASH>..<HASH> 100644
--- a/tests/ciscotest.rb
+++ b/tests/ciscotest.rb
@@ -460,4 +460,25 @@ class CiscoTestCase < TestCase
v.limit_resource_module_type
end
end
+
+ # Helper method to massage node.product_id into a short but
+ # meaningful tag ... | Add short tag test api (#<I>) | cisco_cisco-network-node-utils | train |
c56b54b89cb00e6bf4cd3f1a823083d51894249a | diff --git a/config.py b/config.py
index <HASH>..<HASH> 100644
--- a/config.py
+++ b/config.py
@@ -1,6 +1,9 @@
from module.lifegame.synergy.collection.LifeGameCollection import LifeGameCollection
config = {
+ 'engine': {
+ 'fpsmax': 25
+ },
'simulation' : {
'collections' : (LifeGameCollection,)
}
di... | Add frame per second management of core cycles | buxx_synergine | train |
6c4a61d39945287e78b8e1bc6146e30035c636f1 | diff --git a/spec/valr_spec.rb b/spec/valr_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/valr_spec.rb
+++ b/spec/valr_spec.rb
@@ -90,6 +90,13 @@ describe Valr do
expect(valr.changelog first_parent: true, range: 'HEAD~1..HEAD').to eq '- commit'
end
end
+
+ context 'when asked for commits... | [#<I>] Add test for branch switch | eunomie_valr | train |
0604434f5145b1726e5f6939c1831ee80f553299 | diff --git a/kv.go b/kv.go
index <HASH>..<HASH> 100644
--- a/kv.go
+++ b/kv.go
@@ -522,14 +522,18 @@ func (s *KV) Exists(key []byte) (bool, error) {
}
func (s *KV) updateOffset(ptrs []valuePointer) {
- ptr := ptrs[len(ptrs)-1]
+ var ptr valuePointer
+ for i := len(ptrs) - 1; i >= 0; i-- {
+ p := ptrs[i]
+ if !p.I... | Update the max value pointer correctly. | dgraph-io_badger | train |
268124e5c9b9af91c9ac5dfc5f6531ff14c7ada7 | diff --git a/misc/plugin/makerss.rb b/misc/plugin/makerss.rb
index <HASH>..<HASH> 100644
--- a/misc/plugin/makerss.rb
+++ b/misc/plugin/makerss.rb
@@ -104,7 +104,7 @@ class MakeRssFull
def file
f = @conf['makerss.file'] || 'index.rdf'
f = 'index.rdf' if f.empty?
- "#{TDiary.document_root}/#{f}"
+ f =~ %r|^/| ... | fixed #<I>: return path under tDiary.document_root only not fullpath | tdiary_tdiary-core | train |
3a1c031291449d596f6890f8945f3ba60142d19f | diff --git a/algolia/search/object_iterator.go b/algolia/search/object_iterator.go
index <HASH>..<HASH> 100644
--- a/algolia/search/object_iterator.go
+++ b/algolia/search/object_iterator.go
@@ -13,7 +13,7 @@ type ObjectIterator struct {
func newObjectIterator(browser func(string) (browseRes, error)) (it *ObjectIter... | fixed: prevent error from being returned when index.BrowseObjects() on an empty index | algolia_algoliasearch-client-go | train |
d020b3499bb83984b212bc87e646469768c6119e | diff --git a/tests/test_module_clicks.py b/tests/test_module_clicks.py
index <HASH>..<HASH> 100644
--- a/tests/test_module_clicks.py
+++ b/tests/test_module_clicks.py
@@ -81,8 +81,11 @@ def test_clicks(events, expected):
_action = 'no action'
+ # Divide all times by 10 to make the test run faster
+ T... | Speed up execution of test_module_clicks
Ideally we'd monkey patch Timer et al so that no dependence on the
host clock exists, which sooner or later might lead to false failures or
positives. | enkore_i3pystatus | train |
c9a1f87b757a86d3c59a5415320411aa476b5e8c | diff --git a/anyconfig/backend/msgpack.py b/anyconfig/backend/msgpack.py
index <HASH>..<HASH> 100644
--- a/anyconfig/backend/msgpack.py
+++ b/anyconfig/backend/msgpack.py
@@ -28,8 +28,7 @@ import anyconfig.backend.base
from anyconfig.backend.base import to_method
-class Parser(anyconfig.backend.base.FromStreamLoad... | change: [msgpack] switch to StringStreamFnParser based implementation | ssato_python-anyconfig | train |
947d1d6944391c265554071d6a5a9f088d8c0e55 | diff --git a/activiti-spring-boot-starter/src/test/java/org/activiti/spring/boot/tasks/TaskRuntimeTaskAssigneeTest.java b/activiti-spring-boot-starter/src/test/java/org/activiti/spring/boot/tasks/TaskRuntimeTaskAssigneeTest.java
index <HASH>..<HASH> 100644
--- a/activiti-spring-boot-starter/src/test/java/org/activiti/s... | feat: a test added for assign method | Activiti_Activiti | train |
42f8afa9875a94d85ae9636afb30a801539e7e36 | diff --git a/pkglib/tests/unit/setuptools/command/runner.py b/pkglib/tests/unit/setuptools/command/runner.py
index <HASH>..<HASH> 100644
--- a/pkglib/tests/unit/setuptools/command/runner.py
+++ b/pkglib/tests/unit/setuptools/command/runner.py
@@ -755,9 +755,6 @@ def run_setuptools(f, cmd, dist=None, dist_attrs=None, ar... | Don't mock out the environment, it's unnecessary.
All we're doing here is replacing os.environ with a dict with the same
contents. We shouldn't be mutating the environment in the first place,
and we aren't. | manahl_pytest-plugins | train |
e4783640ecb9b90598d0a67c711a9af326bb5c7e | diff --git a/src/CoandaCMS/Coanda/Pages/Renderer/PageRenderer.php b/src/CoandaCMS/Coanda/Pages/Renderer/PageRenderer.php
index <HASH>..<HASH> 100644
--- a/src/CoandaCMS/Coanda/Pages/Renderer/PageRenderer.php
+++ b/src/CoandaCMS/Coanda/Pages/Renderer/PageRenderer.php
@@ -96,7 +96,10 @@ class PageRenderer {
if... | Bugfix - we should only static cache the result if it is not a redirect. | CoandaCMS_coanda-core | train |
6f77e5785c07b451f0fc34facb4a7498658ecebe | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -59,7 +59,7 @@ Handler.prototype.middleware = function(req, res, next) {
if (!/https?:/.test(path)) {
var root = req.app.settings.statics;
if (!root) return next(new Error("Cannot find view, undefined 'statics' appl... | WTF path can be undefined too | kapouer_express-dom | train |
db5ea42d033d6625e2e94de6b41de96e13285efb | diff --git a/scriptworker/test/test_cot_verify.py b/scriptworker/test/test_cot_verify.py
index <HASH>..<HASH> 100644
--- a/scriptworker/test/test_cot_verify.py
+++ b/scriptworker/test/test_cot_verify.py
@@ -96,6 +96,15 @@ def test_link_task(chain):
link.task = {}
+# link.cot {{{1
+def test_link_cot(chain):... | guess_worker_impl <I>% | mozilla-releng_scriptworker | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.