hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
467db8691335ab6d3b66bffa6b0648fa6b68cb93 | diff --git a/spec/features/auth_app_spec.rb b/spec/features/auth_app_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/features/auth_app_spec.rb
+++ b/spec/features/auth_app_spec.rb
@@ -48,6 +48,7 @@ feature 'Posting workflows', js: true do
and_by 'select new posting' do
within(:gridpanel, 'posting_window', ... | Fix the rest of feature tests: use correct componentid in combobox dropdown | arman000_marty | train |
25b46b2df32116a2ca7875f719f4ca45f9b4c1e2 | diff --git a/schemaDocument.go b/schemaDocument.go
index <HASH>..<HASH> 100644
--- a/schemaDocument.go
+++ b/schemaDocument.go
@@ -171,7 +171,7 @@ func (d *JsonSchemaDocument) parseSchema(documentNode interface{}, currentSchema
if isKind(dv, reflect.Map) {
newSchema := &jsonSchema{property: KEY_DEFINITIONS, ... | Parse individual definition values as subschemas | xeipuuv_gojsonschema | train |
9569f12b6fa16fe42836d5c3f93edb55f343485a | diff --git a/lib/cloud_crowd/models/job.rb b/lib/cloud_crowd/models/job.rb
index <HASH>..<HASH> 100644
--- a/lib/cloud_crowd/models/job.rb
+++ b/lib/cloud_crowd/models/job.rb
@@ -107,7 +107,9 @@ module CloudCrowd
# When the WorkUnits are all finished, gather all their outputs together
# before removing them f... | got a working output_is_json? method -- efficiency leaves something to be desired | documentcloud_cloud-crowd | train |
5ce7e20ba6e81e4403779e892194cd321b3a0c2b | diff --git a/src/plugins/map/test.js b/src/plugins/map/test.js
index <HASH>..<HASH> 100644
--- a/src/plugins/map/test.js
+++ b/src/plugins/map/test.js
@@ -27,6 +27,30 @@ describe(".map(function(){})", function() {
});
});
+ it("accepts return of single element", function(){
+ var els = list.find('li').map... | Added tests for returning an Umbrella instance | franciscop_umbrella | train |
56c4f28bd4be00590ab6e83953ac420a3d3b4d49 | diff --git a/lxd/storage/drivers/generic_vfs.go b/lxd/storage/drivers/generic_vfs.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/generic_vfs.go
+++ b/lxd/storage/drivers/generic_vfs.go
@@ -879,7 +879,10 @@ func genericVFSBackupUnpack(d Driver, sysOS *sys.OS, vol Volume, snapshots []str
}
} else {
// F... | lxd/storage/drivers/generic/vfs: Catch unmount errors in genericVFSBackupUnpack | lxc_lxd | train |
1212867c89ee4c62f0d18ee8d961c07258215393 | diff --git a/uw_sws_graderoster/models.py b/uw_sws_graderoster/models.py
index <HASH>..<HASH> 100644
--- a/uw_sws_graderoster/models.py
+++ b/uw_sws_graderoster/models.py
@@ -49,7 +49,7 @@ class GradeRosterItem(models.Model):
tree = kwargs.get('data')
if tree is None:
- return super(Grade... | fix model calls to super __init__ | uw-it-aca_uw-restclients-graderoster | train |
95729cc002014ebf2ef25c0def7f84eb6e3cdcd8 | diff --git a/folium/features.py b/folium/features.py
index <HASH>..<HASH> 100644
--- a/folium/features.py
+++ b/folium/features.py
@@ -696,13 +696,14 @@ class RegularPolygonMarker(MacroFeature):
name='dvf_js')
class VegaPopup(MacroFeature):
- def __init__(self, data, width=300, height=300):
+ def ... | Changed VegaPopup width and height handling | python-visualization_folium | train |
6ddd1badfb377cd8105235a03a1fe05e93e6b5b0 | diff --git a/src/main/java/hudson/plugins/emailext/plugins/content/BuildLogExcerptContent.java b/src/main/java/hudson/plugins/emailext/plugins/content/BuildLogExcerptContent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hudson/plugins/emailext/plugins/content/BuildLogExcerptContent.java
+++ b/src/main/java/hudso... | fix according to mfriedenhagen's comment | jenkinsci_email-ext-plugin | train |
809d09d4f49b566ff47fe6c0fe07e1a00b6e29c8 | diff --git a/tensorboard/plugins/pr_curve/summary.py b/tensorboard/plugins/pr_curve/summary.py
index <HASH>..<HASH> 100644
--- a/tensorboard/plugins/pr_curve/summary.py
+++ b/tensorboard/plugins/pr_curve/summary.py
@@ -176,7 +176,7 @@ def op(
combined_data = tf.stack([tp, fp, tn, fn, precision, recall])
ret... | Make tensor_summary accept 'pr_curves' as a name (#<I>)
Previously, the call to tensor_summary within the PR Curve summary op accepted the tag as the name parameter. This should be the name of the plugin instead. The pattern followed by existing ops is to create a name-scope of tag specified by the user and then creat... | tensorflow_tensorboard | train |
a6e3be35c3d8d0ac718f13eba0ce5bc980ae3cb5 | diff --git a/source/net/fortuna/ical4j/model/parameter/Range.java b/source/net/fortuna/ical4j/model/parameter/Range.java
index <HASH>..<HASH> 100644
--- a/source/net/fortuna/ical4j/model/parameter/Range.java
+++ b/source/net/fortuna/ical4j/model/parameter/Range.java
@@ -33,6 +33,7 @@ package net.fortuna.ical4j.model.pa... | Allow arbitrary range value for Lotus Notes to support X- properties.. potential for review later | ical4j_ical4j | train |
cc88d6fda762ae005ea034dffa72fe9fa59c32ec | diff --git a/django_prometheus/tests/end2end/testapp/settings.py b/django_prometheus/tests/end2end/testapp/settings.py
index <HASH>..<HASH> 100644
--- a/django_prometheus/tests/end2end/testapp/settings.py
+++ b/django_prometheus/tests/end2end/testapp/settings.py
@@ -180,3 +180,11 @@ USE_TZ = True
# https://docs.django... | Configure logging in end 2 end test app | korfuri_django-prometheus | train |
b6772fca979f07b3fd927e5b26e8171e61b5e922 | diff --git a/lib/statsd.js b/lib/statsd.js
index <HASH>..<HASH> 100644
--- a/lib/statsd.js
+++ b/lib/statsd.js
@@ -1,6 +1,14 @@
'use strict';
var StatsD = require('hot-shots');
+/**
+ * Maximum size of a metrics batch used by default.
+ *
+ * @const
+ * @type {number}
+ */
+var DEFAULT_MAX_BATCH_SIZE = 1450;
+
var... | Metrics: Decreased the default maximum batch size | wikimedia_service-runner | train |
246d5bd2a9ef0f1562057607b9282a78bfe952c0 | diff --git a/robe-admin/src/main/java/io/robe/admin/hibernate/entity/Language.java b/robe-admin/src/main/java/io/robe/admin/hibernate/entity/Language.java
index <HASH>..<HASH> 100644
--- a/robe-admin/src/main/java/io/robe/admin/hibernate/entity/Language.java
+++ b/robe-admin/src/main/java/io/robe/admin/hibernate/entity... | Hibernate validators added to entities | robeio_robe | train |
0b9fb87b45736d68c874e557f16689aa79caa18a | diff --git a/lib/reveal-ck/templates/processor.rb b/lib/reveal-ck/templates/processor.rb
index <HASH>..<HASH> 100644
--- a/lib/reveal-ck/templates/processor.rb
+++ b/lib/reveal-ck/templates/processor.rb
@@ -1,7 +1,7 @@
#
# Setup Slim
require 'slim'
-::Slim::Engine.set_default_options pretty: true
+::Slim::Engine.set... | [dependencies, slim] Start using set_options
When I jumped versions of slim, I saw that what I was using was
deprecated:
```
set_default_options has been deprecated, use set_options
``` | jedcn_reveal-ck | train |
6bfaef81d066ce4cfac8c138481f604e94e14076 | diff --git a/lib/neography/rest.rb b/lib/neography/rest.rb
index <HASH>..<HASH> 100644
--- a/lib/neography/rest.rb
+++ b/lib/neography/rest.rb
@@ -547,6 +547,12 @@ module Neography
when 4 then {:method => "DELETE", :to => "/index/node/#{args[1]}/#{args[2]}/#{get_id(args[3])}" }
when 3 the... | adding remove_relationship_from_index as batch operation | maxdemarzi_neography | train |
6fb141e2a9e728499f8782310560bfaef7a5ed6c | diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index <HASH>..<HASH> 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -24,10 +24,12 @@ from __future__ import with_statement
import hashlib
import logging
import os
+import os.path
import pipes
import random
import shutil
import string
+from stat import S_I... | [SPARK-<I>][EC2] Check the mode of private key
Check the mode of private key file. | apache_spark | train |
6be72558e47355d59091d5684f3c4ed853476404 | diff --git a/openjscad.js b/openjscad.js
index <HASH>..<HASH> 100644
--- a/openjscad.js
+++ b/openjscad.js
@@ -886,8 +886,11 @@ OpenJsCad.Processor.prototype = {
if (obj !== null) {
var csg = OpenJsCad.Processor.convertToSolid(obj);
- // don't reset zoom if toggling between valid objects
- this.... | (re)set zoom only on very first render | jscad_csg.js | train |
1fe10fe38cc5779ce89361a131268525aa492e1f | diff --git a/src/scripts/user/user.store.js b/src/scripts/user/user.store.js
index <HASH>..<HASH> 100644
--- a/src/scripts/user/user.store.js
+++ b/src/scripts/user/user.store.js
@@ -62,7 +62,7 @@ let UserStore = Reflux.createStore({
hello.init({google: config.auth.google.clientID});
this.checkUser();
},
-
+
... | added error handling for canceled sign in | OpenNeuroOrg_openneuro | train |
43a08851d3ffcf65683716f5c267ec818d50a974 | diff --git a/doctor/types.py b/doctor/types.py
index <HASH>..<HASH> 100644
--- a/doctor/types.py
+++ b/doctor/types.py
@@ -80,22 +80,22 @@ class SuperType(object):
if the subclass does not define a `description` attribute.
"""
#: The description of what the type represents.
- description: str = None
+... | Reverting inline type declaration.
This is only supported in later versions of python 3. | upsight_doctor | train |
0c1b10d42c0d3ee550c15d724ef5e8d9fd9e8208 | diff --git a/numbers/greatestCommonDivisor.js b/numbers/greatestCommonDivisor.js
index <HASH>..<HASH> 100644
--- a/numbers/greatestCommonDivisor.js
+++ b/numbers/greatestCommonDivisor.js
@@ -1,7 +1,7 @@
/**
## Greatest common divisor ##
- isNatural(anyInteger)
+ greatestCommonDivisor(anyInteger)
... | Fixed comments. Fixed unit tests for powerOfTwo | KoryNunn_math | train |
3e85b623b8cc7b5b789842a89de6b698a34496c5 | diff --git a/includes/class-freemius.php b/includes/class-freemius.php
index <HASH>..<HASH> 100644
--- a/includes/class-freemius.php
+++ b/includes/class-freemius.php
@@ -6741,14 +6741,18 @@
$extra_install_params['license_key'] = $license_key;
}
+ $args = $this->get_install_data_for_api( $extra_install_par... | [connect] Added `after_install_failure` filter to connection with an existing context user. | Freemius_wordpress-sdk | train |
f600f69729ba202ce589000fe7272f3137782433 | diff --git a/lib/Integrations/ACF.php b/lib/Integrations/ACF.php
index <HASH>..<HASH> 100644
--- a/lib/Integrations/ACF.php
+++ b/lib/Integrations/ACF.php
@@ -15,7 +15,7 @@ class ACF {
public function __construct() {
add_filter('timber_post_get_meta', array( $this, 'post_get_meta' ), 10, 2);
add_filter('timber_... | ref #<I> -- add doc block; renamed function to simply `field_object`; added test to cover | timber_timber | train |
9a96896bbda37613bd8b29ac658427366e5d49be | diff --git a/engineio/async_eventlet.py b/engineio/async_eventlet.py
index <HASH>..<HASH> 100644
--- a/engineio/async_eventlet.py
+++ b/engineio/async_eventlet.py
@@ -7,6 +7,7 @@ from eventlet.websocket import WebSocketWSGI as _WebSocketWSGI
class WebSocketWSGI(_WebSocketWSGI):
def __init__(self, *args, **kwarg... | detect lost connections (asyncio) | miguelgrinberg_python-engineio | train |
8ee68667086da4070db989273e5911f47a5e664e | diff --git a/client/state/happychat/selectors.js b/client/state/happychat/selectors.js
index <HASH>..<HASH> 100644
--- a/client/state/happychat/selectors.js
+++ b/client/state/happychat/selectors.js
@@ -145,7 +145,7 @@ export const getHappychatTimeline = createSelector(
* @return {Boolean} Whether the user is able to... | Happychat: Stop misusing isAvailable (#<I>)
* Stop using `isHappychatAvailable` to determine if messages should be sendable.
* Update happychat seletor tests so canUserSendMessages doesn't care about isAvailable
* Add test to protect against regressions | Automattic_wp-calypso | train |
a68941fc5598e653a8e56400b26f04d702461013 | diff --git a/nianalysis/archive/xnat.py b/nianalysis/archive/xnat.py
index <HASH>..<HASH> 100644
--- a/nianalysis/archive/xnat.py
+++ b/nianalysis/archive/xnat.py
@@ -545,6 +545,10 @@ class XNATArchive(Archive):
if subject_ids is not None:
subject_ids = [('{}_{:03d}'.format(project_id, s)
... | implicitly include processed sessions when filtering visit ids | MonashBI_arcana | train |
765bffc94406c57475d2bb5840f36078d52435ba | diff --git a/src/LaravelDebugbar.php b/src/LaravelDebugbar.php
index <HASH>..<HASH> 100644
--- a/src/LaravelDebugbar.php
+++ b/src/LaravelDebugbar.php
@@ -71,6 +71,13 @@ class LaravelDebugbar extends DebugBar
protected $booted = false;
/**
+ * True when enabled, false disabled an null for still unknown
... | Dont update config
Should fix config caching + concurrent requests. | barryvdh_laravel-debugbar | train |
bdb52460d53c8a8388027f5cdc7ccfb1636f1258 | diff --git a/nunjucks/src/runtime.js b/nunjucks/src/runtime.js
index <HASH>..<HASH> 100644
--- a/nunjucks/src/runtime.js
+++ b/nunjucks/src/runtime.js
@@ -275,7 +275,7 @@ function asyncEach(arr, dimen, iter, cb) {
iter(item[0], item[1], item[2], i, len, next);
break;
default:
- i... | Fix bug when looping over arrays of more than 3 dimensions | mozilla_nunjucks | train |
732dee451bb9304e039abdec291457639ad7163e | diff --git a/lib/main.js b/lib/main.js
index <HASH>..<HASH> 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -75,8 +75,9 @@ module.exports = function(cordovaOptions) {
stealCordova.build = function(buildResult){
return stealCordova.initIfNeeded().then(function(){
- var bundlesPath = buildResult.configuration.bund... | Support Steal <I>
This makes it so that we support steal <I>. Steal <I> has a new destPath
which is the entire dist/ folder. We want to make that folder now and
not just the dist/bundles folder. | stealjs_steal-cordova | train |
6c065f59d981ac3bf7c9372fc06d3388635aa22f | diff --git a/green/test/test_cmdline.py b/green/test/test_cmdline.py
index <HASH>..<HASH> 100644
--- a/green/test/test_cmdline.py
+++ b/green/test/test_cmdline.py
@@ -80,7 +80,7 @@ class TestMain(unittest.TestCase):
cwd = os.getcwd()
path = os.path.abspath(__file__)
os.chdir(os.path.dirname(o... | Fixed a cmdline test so that it doesn't pull examples/ into the coverage list. | CleanCut_green | train |
64f6be8563484f758bb7fe8d9fb0600a294a96f3 | diff --git a/lib/ec2/ec2.js b/lib/ec2/ec2.js
index <HASH>..<HASH> 100644
--- a/lib/ec2/ec2.js
+++ b/lib/ec2/ec2.js
@@ -529,7 +529,7 @@ libEc2.runInstanceFromAmi = function(argv, context, callback) {
};
return raEc2.assignFqdnToInstance(params, context, function(err, result) {
- if (err) { return ... | Fixed undefined bug in assignFqdnToInstance | briancsparks_js-aws | train |
506d7a1250eed154a9c2e5ff39df82d7c8becf58 | diff --git a/Resources/public/js/cpterms.js b/Resources/public/js/cpterms.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/cpterms.js
+++ b/Resources/public/js/cpterms.js
@@ -85,6 +85,19 @@
},
onDrag: function ( $item, position, _super, event ) {
+ // change placeholder according to the mo... | moved placeholder to signify 'as' | coopers-peele_CPTermsBundle | train |
c171fdcff389eea9ca171f2bf099198220a787af | diff --git a/pubsub/google/cloud/pubsub_v1/subscriber/policy/thread.py b/pubsub/google/cloud/pubsub_v1/subscriber/policy/thread.py
index <HASH>..<HASH> 100644
--- a/pubsub/google/cloud/pubsub_v1/subscriber/policy/thread.py
+++ b/pubsub/google/cloud/pubsub_v1/subscriber/policy/thread.py
@@ -30,6 +30,11 @@ from google.cl... | Move debug logging call in Future.add_done_callback (#<I>) | googleapis_google-cloud-python | train |
51f7cda698d59e33313a543dd3c74b6240f7af40 | diff --git a/coalaip/models.py b/coalaip/models.py
index <HASH>..<HASH> 100644
--- a/coalaip/models.py
+++ b/coalaip/models.py
@@ -180,7 +180,7 @@ class LazyLoadableModel(PostInitImmutable):
"@type ('{self_type})'").format(loaded_type=loaded_type,
self... | fix: Compare expected and loaded context both as lists
Fix ModelDataErrors being thrown when the loaded context is deserialized
as a list and the expected context is a tuple. | COALAIP_pycoalaip | train |
fd91d6a556b6c94ff594b1ea743baa899421bd88 | diff --git a/elasticutils/__init__.py b/elasticutils/__init__.py
index <HASH>..<HASH> 100644
--- a/elasticutils/__init__.py
+++ b/elasticutils/__init__.py
@@ -4,6 +4,7 @@ from threading import local
from operator import itemgetter
from pyes import ES, exceptions
+from pyes.es import thrift_enable
try:
from ... | Give users a clue why they are getting an annoying pythrift error | mozilla_elasticutils | train |
972282495d81d16ad4038f5c1e74dbe2d81fb243 | diff --git a/kie-ci/src/main/java/org/kie/scanner/embedder/MavenEmbedderUtils.java b/kie-ci/src/main/java/org/kie/scanner/embedder/MavenEmbedderUtils.java
index <HASH>..<HASH> 100644
--- a/kie-ci/src/main/java/org/kie/scanner/embedder/MavenEmbedderUtils.java
+++ b/kie-ci/src/main/java/org/kie/scanner/embedder/MavenEmbe... | [ENTESB-<I>] use DEBUG logging to inform about type of Maven parser
* this message gets printed everytime a POM is read/parsed. That can be
easily dozens of times for anything bigger than just simple examples.
It may easily flood the logs. | kiegroup_drools | train |
648ae50a1e57b81ab6e8917e62eaf458a4df10bc | diff --git a/.travis.yml b/.travis.yml
index <HASH>..<HASH> 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,7 +45,7 @@ before_script:
# Run tests
script:
- - pytest -n 2 --cov abilian abilian tests
+ - pytest --cov abilian abilian tests
- sphinx-build -W -b html docs/ docs/_build/
- make lint
diff --git... | Parallel tests = not a great idea. | abilian_abilian-core | train |
af396c1e2ad0538477805a9924b26ed3930d1e75 | diff --git a/wallet/wsapi/structs.go b/wallet/wsapi/structs.go
index <HASH>..<HASH> 100644
--- a/wallet/wsapi/structs.go
+++ b/wallet/wsapi/structs.go
@@ -71,6 +71,10 @@ type chainRequest struct {
Force bool `json:"force"`
}
+type identityKeyRequest struct {
+ Public string `json:"public"`
+}
+
type impor... | Added ability to list all identity keys or a specific identity key given the public key | FactomProject_factom | train |
9a1b2a055fc85f91027b1715572c905e85af666f | diff --git a/src/Application/Context.php b/src/Application/Context.php
index <HASH>..<HASH> 100644
--- a/src/Application/Context.php
+++ b/src/Application/Context.php
@@ -12,6 +12,27 @@ use Hook\Http\Router;
class Context
{
protected static $app_key;
+ protected static $isTrustedAction = false;
+
+ /**
+ ... | custom routes are now 'trusted' as default.
they are not affected by CRUD definitions by role. | doubleleft_hook | train |
1dd0ac1761aa4fafcf07a3789084b8c181afb69e | diff --git a/src/main/java/com/lambdaworks/redis/protocol/CommandHandler.java b/src/main/java/com/lambdaworks/redis/protocol/CommandHandler.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/lambdaworks/redis/protocol/CommandHandler.java
+++ b/src/main/java/com/lambdaworks/redis/protocol/CommandHandler.java
@@ -1... | Remove double-requeue on channel-inactive | lettuce-io_lettuce-core | train |
845f2f7e9c0da55cba502487b8fb2a1cf7df018e | diff --git a/lib/httpimagestore/configuration/s3.rb b/lib/httpimagestore/configuration/s3.rb
index <HASH>..<HASH> 100644
--- a/lib/httpimagestore/configuration/s3.rb
+++ b/lib/httpimagestore/configuration/s3.rb
@@ -36,10 +36,10 @@ module Configuration
def self.parse(configuration, node)
configuration.s3 and ra... | got rid of unneeded s3 config fields | jpastuszek_httpimagestore | train |
9596da7f6509676fa2df1ae6cf09884f0c340980 | diff --git a/salt/serializers/toml.py b/salt/serializers/toml.py
index <HASH>..<HASH> 100644
--- a/salt/serializers/toml.py
+++ b/salt/serializers/toml.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
-"""
+'''
salt.serializers.toml
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Implements TOML serializer.
It's just ... | change all docstrings to single quotes | saltstack_salt | train |
8d72bd42dc972405585cc8af2cce57d35f4095d7 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
[](https://travis-ci.org/zrrrzzt/generate-pincode)
[;
}
+ /**
+ * @return void
+ */
public function testCallableOrInt()
{
... | Fix Psalm errors in TypeParseTest | vimeo_psalm | train |
6528796b2c49ceb2b9475a8332c7e1a1bb6a3b43 | diff --git a/salt/utils/xmlutil.py b/salt/utils/xmlutil.py
index <HASH>..<HASH> 100644
--- a/salt/utils/xmlutil.py
+++ b/salt/utils/xmlutil.py
@@ -1,10 +1,11 @@
-# -*- coding: utf-8 -*-
"""
Various XML utilities
"""
# Import Python libs
-from __future__ import absolute_import, print_function, unicode_literals
+
+... | Add xmlutil.get_xml_node() helper function
This function helps getting ElementTree XML nodes and creating the
missing parents if needed. | saltstack_salt | train |
34afa842ddca765860140bb9ca709388b584f206 | diff --git a/repositories/RedisRepo.php b/repositories/RedisRepo.php
index <HASH>..<HASH> 100644
--- a/repositories/RedisRepo.php
+++ b/repositories/RedisRepo.php
@@ -11,6 +11,13 @@ class RedisRepo
{
/** @var Redis\Database The Redis database to use for queries */
protected $redisDatabase = null;
+ /**
+ ... | Added methods to register key patterns and delete those patterns in the case we want to flush a particular Redis repo | opulencephp_Opulence | train |
b5c7fb747c9d8b430f0dece7adb32126f18d135c | diff --git a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java b/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java
index <HASH>..<HASH> 100644
--- a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/Settings.java
+++ b/dependency-check... | updated log message to assist in debugging an issue | jeremylong_DependencyCheck | train |
04d2bb8c35e8a6937e5f529aac1897ba08c92430 | diff --git a/kmatch/kmatch.py b/kmatch/kmatch.py
index <HASH>..<HASH> 100644
--- a/kmatch/kmatch.py
+++ b/kmatch/kmatch.py
@@ -37,14 +37,25 @@ class K(object):
:type suppress_key_errors: bool
:raises: ValueError on an invalid pattern or regex
"""
- self._pattern = deepcopy(p)
+ ... | added pattern property for obtaining kmatch pattern | ambitioninc_kmatch | train |
30ae9c071faf7d5ba15f9331bf00764195c029d5 | diff --git a/lib/function/matrix/cross.js b/lib/function/matrix/cross.js
index <HASH>..<HASH> 100644
--- a/lib/function/matrix/cross.js
+++ b/lib/function/matrix/cross.js
@@ -18,15 +18,19 @@ function factory (type, config, load, typed) {
* a1 * b2 - a2 * b1
* ]
*
+ * If one of the input vectors ha... | Change dimensionality of vector returned by cross()
If one of the input vectors/matrices has a dimension greater than 1, the
output vector will be a 1x3 matrix. Otherwise, the result will be a flat
3-component vector. Closes #<I> | josdejong_mathjs | train |
c3a17de326409398e003a4456c1343f15158f785 | diff --git a/peer.go b/peer.go
index <HASH>..<HASH> 100644
--- a/peer.go
+++ b/peer.go
@@ -1029,6 +1029,25 @@ func (p *peer) QueueInventory(invVect *btcwire.InvVect) {
p.outputInvChan <- invVect
}
+// Connected returns whether or not the peer is currently connected.
+func (p *peer) Connected() bool {
+ return atom... | Comment Connected function in peer.
While here, also rearrange the functions slightly to logically group them. | btcsuite_btcd | train |
055f1dccb3548828db4453519199e6f8fde75c17 | diff --git a/server/opts_test.go b/server/opts_test.go
index <HASH>..<HASH> 100644
--- a/server/opts_test.go
+++ b/server/opts_test.go
@@ -101,12 +101,7 @@ func TestTLSConfigFile(t *testing.T) {
}
// Now check TLSConfig a bit more closely
// CipherSuites
- ciphers := []uint16{
- // tls.TLS_ECDHE_ECDSA_WITH_AES_... | Allow test to use correct default ciphers | nats-io_gnatsd | train |
7f92bb7976281653e96dc326494ed77bab2615da | diff --git a/packages/editor/src/editor.js b/packages/editor/src/editor.js
index <HASH>..<HASH> 100644
--- a/packages/editor/src/editor.js
+++ b/packages/editor/src/editor.js
@@ -101,6 +101,53 @@ export function enableEditor({ space, uiWrapper, config }) {
id: 'component-delete',
label: 'D... | fix(micro-journeys): show pathways title in non-shadow dom | bolt-design-system_bolt | train |
b84a01aa631320295eee63726efc19b74aa636da | diff --git a/lib/swaggerise.js b/lib/swaggerise.js
index <HASH>..<HASH> 100644
--- a/lib/swaggerise.js
+++ b/lib/swaggerise.js
@@ -11,7 +11,7 @@ module.exports = function swaggerize(item) {
/**
* Allows you describe an app our router route.
* @paramSchema metaData ./lib/schemas/meta-data.json
- * @... | code to remove generated properties before generating more ones. | eXigentCoder_swagger-spec-express | train |
012065c41de6bd0adbacc616fe461c086ef5ec52 | diff --git a/addon/properties/attachments/content/content.js b/addon/properties/attachments/content/content.js
index <HASH>..<HASH> 100644
--- a/addon/properties/attachments/content/content.js
+++ b/addon/properties/attachments/content/content.js
@@ -4,13 +4,13 @@ const {
computed
} = Ember;
-const internal = (pr... | cleanup
--HG--
branch : feature/attachments | ampatspell_ember-cli-sofa | train |
7ed835ae5acf2ba1c5648beb0fab65d2b7088d42 | diff --git a/src/components/diff/diff__doublepane-divider.js b/src/components/diff/diff__doublepane-divider.js
index <HASH>..<HASH> 100644
--- a/src/components/diff/diff__doublepane-divider.js
+++ b/src/components/diff/diff__doublepane-divider.js
@@ -304,7 +304,7 @@ DoubleEditorDivider.getPathForRange = function (range... | fix(diff): fix connector path
Former-commit-id: <I>f<I>cbde1fc<I>db7c<I>adf1a<I>b | JetBrains_ring-ui | train |
f030afbdc54785cc85e71425d7bba87862aec19c | diff --git a/src/extensions/scratch3_wedo2/index.js b/src/extensions/scratch3_wedo2/index.js
index <HASH>..<HASH> 100644
--- a/src/extensions/scratch3_wedo2/index.js
+++ b/src/extensions/scratch3_wedo2/index.js
@@ -787,9 +787,7 @@ class WeDo2 {
_checkBatteryLevel () {
this._ble.read(
BLEServi... | Removing extra params from a BLE read in WeDo2. | LLK_scratch-vm | train |
4fb7617d4148efc8c979698cc0f9c83bf390a090 | diff --git a/src/libs/Auth.php b/src/libs/Auth.php
index <HASH>..<HASH> 100644
--- a/src/libs/Auth.php
+++ b/src/libs/Auth.php
@@ -458,10 +458,11 @@ class Auth
*
* @param string $token token
* @param array $password new password
+ * @param string $ip ip address making the request
*
* @return boolean ... | send user an email notifying them when their password has been changed via forgot password | infusephp_auth | train |
40a1c8342b336e8bfd7cad3a17a0f5168e901d2b | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,26 @@ or maven :
<version>1.2.2</version>
</dependency>
```
+
+Development snapshot are available on sonatype nexus repository
+```script
+ <repositories>
+ <repository>
+ <id>sonatype-... | [CONJ-<I>] Correct driver metadata version | MariaDB_mariadb-connector-j | train |
1a26aee249ea722cdca550118f1f92524fd957c0 | diff --git a/Gruntfile.circle.js b/Gruntfile.circle.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.circle.js
+++ b/Gruntfile.circle.js
@@ -31,28 +31,28 @@ module.exports = function gruntConfig(grunt) {
}, [
// note: packages are ordered on approximate flakiness of their respective
// test suites
- ... | chore(build): further limit built/tested code during experimentation | webex_spark-js-sdk | train |
e89addd00e3726ca0fec21ce58d60d581308cc0d | diff --git a/cmd/cli/new/template/makefile.go b/cmd/cli/new/template/makefile.go
index <HASH>..<HASH> 100644
--- a/cmd/cli/new/template/makefile.go
+++ b/cmd/cli/new/template/makefile.go
@@ -8,6 +8,12 @@ init:
go get -u github.com/golang/protobuf/proto
go get -u github.com/golang/protobuf/protoc-gen-go
go get git... | add make api command to makefile (#<I>) | micro_micro | train |
67cf9193ba792049eda26c0fb4f4fb0c4e66b78b | diff --git a/fluent_comments/static/fluent_comments/js/ajaxcomments.js b/fluent_comments/static/fluent_comments/js/ajaxcomments.js
index <HASH>..<HASH> 100644
--- a/fluent_comments/static/fluent_comments/js/ajaxcomments.js
+++ b/fluent_comments/static/fluent_comments/js/ajaxcomments.js
@@ -37,7 +37,7 @@
.eac... | Fix "Cancel Reply" link for new multiple-form per page support.
Closes #<I> | django-fluent_django-fluent-comments | train |
b3db3e906b3eadcfc85d75bc493cc7177f89acfe | diff --git a/sqlalchemy_postgres_autocommit/databases.py b/sqlalchemy_postgres_autocommit/databases.py
index <HASH>..<HASH> 100644
--- a/sqlalchemy_postgres_autocommit/databases.py
+++ b/sqlalchemy_postgres_autocommit/databases.py
@@ -6,7 +6,12 @@ from sqlalchemy import orm
class Database:
def __init__(self, data... | Don't raise exception when committing without transaction.
Flush instead.
It makes integrating with third-party libraries easier, because you
can simply call session.commit() instead of session.flush().
Without this change calling .commit() outside of transaction would
raise:
sqlalchemy.exc.InvalidRequestError: No ... | socialwifi_sqlalchemy-postgres-autocommit | train |
e786742192883eab012635a972b7f6a6fa3786ec | diff --git a/src/Stream.php b/src/Stream.php
index <HASH>..<HASH> 100644
--- a/src/Stream.php
+++ b/src/Stream.php
@@ -73,8 +73,10 @@ class Stream implements StreamInterface
public function __toString()
{
try {
- $this->seek(0);
- return (string) stream_get_contents($this->strea... | Converting a non-seekable stream to a string (#<I>)
* Add cast to string for non-seekable streams
* Add tests of cast to string of non-seekable streams
* Replace this with self | guzzle_psr7 | train |
a5d3e7c8ca71b3c6e1dc2146cac8e39d7126d9b6 | diff --git a/memmap_test.go b/memmap_test.go
index <HASH>..<HASH> 100644
--- a/memmap_test.go
+++ b/memmap_test.go
@@ -241,8 +241,8 @@ func TestWriteCloseTime(t *testing.T) {
time.Sleep(2 * time.Second)
case "darwin":
time.Sleep(1 * time.Second)
- default:
- time.Sleep(10 * time.Millisecond)
+ default: /... | fix for OsFs w/ lower timestamp resolution | spf13_afero | train |
f6a01cfe8372164fd1ecf4b041a5b466e980a94f | diff --git a/dcrsqlite/apisource.go b/dcrsqlite/apisource.go
index <HASH>..<HASH> 100644
--- a/dcrsqlite/apisource.go
+++ b/dcrsqlite/apisource.go
@@ -306,8 +306,15 @@ func (db *wiredDB) GetRawTransactionWithPrevOutAddresses(txid string) (*apitypes
for i := range tx.Vin {
vin := &tx.Vin[i]
- prevOutAddresses[i]... | Avoid attempting to fetch non-existent coinbase prevout.
return error from OutPointAddressesFromString and OutPointAddresses, log it in GetRawTransactionWithPrevOutAddresses | decred_dcrdata | train |
f326a50118c97f6bdd6e5635ad481aa3c6c7a05b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -54,7 +54,7 @@ function Hook (modules, options, onrequire) {
debug('processing %s module require(\'%s\'): %s', core ? 'core' : 'non-core', request, filename)
// return known patched modules immediately
- if (sel... | refactor: don't access Object.prototype methods on target object | elastic_require-in-the-middle | train |
dcf57bd2cc93c121d7e090a7a825e05d9ce1bb5d | diff --git a/plugins/guests/linux/cap/mount_nfs.rb b/plugins/guests/linux/cap/mount_nfs.rb
index <HASH>..<HASH> 100644
--- a/plugins/guests/linux/cap/mount_nfs.rb
+++ b/plugins/guests/linux/cap/mount_nfs.rb
@@ -26,7 +26,7 @@ module VagrantPlugins
end
mount_command = "mount -o '#{mount_opts.j... | guests/linux: increase sleep time btween NFS mount retries | hashicorp_vagrant | train |
f7b1c7a816c12d67dc3bc45d340c548f712594a0 | diff --git a/core/DataTable/Filter/CalculateEvolutionFilter.php b/core/DataTable/Filter/CalculateEvolutionFilter.php
index <HASH>..<HASH> 100755
--- a/core/DataTable/Filter/CalculateEvolutionFilter.php
+++ b/core/DataTable/Filter/CalculateEvolutionFilter.php
@@ -8,6 +8,7 @@
*/
namespace Piwik\DataTable\Filter;
+us... | refs #<I> fix evolution filter did cast a float to string resulting in wrong sorting results | matomo-org_matomo | train |
20ce8b71ab41ef223a787068e80242838a719faa | diff --git a/plugin/pkg/scheduler/algorithm/predicates/predicates.go b/plugin/pkg/scheduler/algorithm/predicates/predicates.go
index <HASH>..<HASH> 100644
--- a/plugin/pkg/scheduler/algorithm/predicates/predicates.go
+++ b/plugin/pkg/scheduler/algorithm/predicates/predicates.go
@@ -28,6 +28,7 @@ import (
"k8s.io/kube... | Improving error messages and naming to be clear | kubernetes_kubernetes | train |
6fe86b50bbea4731a470fbd7a7cc6ed3b9260441 | diff --git a/lib/spring/test/acceptance_test.rb b/lib/spring/test/acceptance_test.rb
index <HASH>..<HASH> 100644
--- a/lib/spring/test/acceptance_test.rb
+++ b/lib/spring/test/acceptance_test.rb
@@ -465,11 +465,11 @@ module Spring
test "changing the Gemfile works when spring calls into itself" do
File.w... | Don't use devise in test
Latest version of devise doesn't like Ruby <I>, so this is failing. | rails_spring | train |
dde66cf02492e1c16aacabb9a3d2769efed96848 | diff --git a/src/main/java/org/gwtbootstrap3/extras/notify/client/ui/NotifySettings.java b/src/main/java/org/gwtbootstrap3/extras/notify/client/ui/NotifySettings.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/gwtbootstrap3/extras/notify/client/ui/NotifySettings.java
+++ b/src/main/java/org/gwtbootstrap3/extra... | Added new static access for Bootstrap notify settings | gwtbootstrap3_gwtbootstrap3-extras | train |
9b6530996565e1509125883e508e802ae7bb3a0b | diff --git a/src/Package_Command.php b/src/Package_Command.php
index <HASH>..<HASH> 100644
--- a/src/Package_Command.php
+++ b/src/Package_Command.php
@@ -4,6 +4,7 @@ use Composer\Composer;
use Composer\Config;
use Composer\Config\JsonConfigSource;
use Composer\DependencyResolver\Pool;
+use Composer\DependencyResolv... | Fix version selector usage for Composer v2 | wp-cli_package-command | train |
a82787fb8a63209ac1a32fbe9cd6e5b21a5b78c2 | diff --git a/lib/vcr/middleware/rack.rb b/lib/vcr/middleware/rack.rb
index <HASH>..<HASH> 100644
--- a/lib/vcr/middleware/rack.rb
+++ b/lib/vcr/middleware/rack.rb
@@ -3,8 +3,13 @@ module VCR
class Rack
include Common
+ def initialize(*args)
+ @mutex = Mutex.new
+ super
+ end
+
... | Use a mutex rather than Thread.exclusive.
I'm getting errors from the rack middleware cuke on <I> w/ the Thread.exclusive. | vcr_vcr | train |
01440395176bdbb2662480f03b27851cb860f385 | diff --git a/python/pyspark/mllib/linalg/__init__.py b/python/pyspark/mllib/linalg/__init__.py
index <HASH>..<HASH> 100644
--- a/python/pyspark/mllib/linalg/__init__.py
+++ b/python/pyspark/mllib/linalg/__init__.py
@@ -301,11 +301,14 @@ class DenseVector(Vector):
return DenseVector, (self.array.tostring(),)
... | [SPARK-<I>] [DOCUMENTATION, MLLIB, PYSPARK] Added documentation for few APIs
There are some missing API docs in pyspark.mllib.linalg.Vector (including DenseVector and SparseVector). We should add them based on their Scala counterparts. | apache_spark | train |
7eb34bfd085b2ed7d700e2e480dfd5d5a32d1546 | diff --git a/tags2sdists/checkoutdir.py b/tags2sdists/checkoutdir.py
index <HASH>..<HASH> 100644
--- a/tags2sdists/checkoutdir.py
+++ b/tags2sdists/checkoutdir.py
@@ -71,7 +71,7 @@ class CheckoutDir(object):
self.wrapper.prepare() # zest.releaser requirement.
self.package = self.wrapper.vcs.name
- ... | Added --build-all option: don't stop if the latest tag is found
The default behaviour helps with mis-behaving old tags, but if all the
packages are clean, --build-all make sure also bugfix releases for older
versions are build. | lizardsystem_tags2sdists | train |
b2667fbcdf6c112910e25f96163de977dc156af7 | diff --git a/src/php/Qafoo/Analyzer/Command/Serve.php b/src/php/Qafoo/Analyzer/Command/Serve.php
index <HASH>..<HASH> 100644
--- a/src/php/Qafoo/Analyzer/Command/Serve.php
+++ b/src/php/Qafoo/Analyzer/Command/Serve.php
@@ -21,14 +21,22 @@ class Serve extends Command
InputOption::VALUE_REQUIRED,
... | Allow setting the hostname via a -h flag
This should make it possible to use the app from i.e. inside a (docker) container for easy running...
``` docker run -it --rm -v $(pwd):/app -w /app -p <I>:<I> php:7-cli bin/analyze serve --hostname <I> ``` | Qafoo_QualityAnalyzer | train |
24ccf3e8ef3cdc4efbe5124eddae8cb7787edf6c | diff --git a/src/sap.ui.core/src/sap/ui/model/odata/v4/ODataListBinding.js b/src/sap.ui.core/src/sap/ui/model/odata/v4/ODataListBinding.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.core/src/sap/ui/model/odata/v4/ODataListBinding.js
+++ b/src/sap.ui.core/src/sap/ui/model/odata/v4/ODataListBinding.js
@@ -206,14 +206,7... | [INTERNAL] sap.ui.model.odata.v4.ODataListBinding: remove try/catch
around fireDataRequested()
After a discussion we decided not to catch errors resulting in the
application code (event handler)
PS1: PP SBE, PBU: remove try/catch after internal discussion
Change-Id: Ia<I>d<I>c<I>fe<I>a<I>ea<I>de
JIRA: FLPUISERVICES<... | SAP_openui5 | train |
a8e6e4d4c161e6bb742f1ff6d50cfeb0352c0bc1 | diff --git a/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityMesosOfferScheduler.java b/SingularityService/src/main/java/com/hubspot/singularity/mesos/SingularityMesosOfferScheduler.java
index <HASH>..<HASH> 100644
--- a/SingularityService/src/main/java/com/hubspot/singularity/mesos/Singularit... | switch to iterator and properly compare floats | HubSpot_Singularity | train |
5790474cb5a44b8d0072c72180bc646e6ec15874 | diff --git a/base-server.js b/base-server.js
index <HASH>..<HASH> 100644
--- a/base-server.js
+++ b/base-server.js
@@ -1081,7 +1081,7 @@ module.exports = BaseServer
* @callback authenticator
* @param {string} userId User ID.
* @param {any} credentials The client credentials.
- * @param {Client} client Client obje... | Fix class name in JSDoc | logux_server | train |
0c3e2f0081805cf29c63f3463f4c32386b3aa85f | diff --git a/Kwf_js/EyeCandy/List/Plugins/Carousel.js b/Kwf_js/EyeCandy/List/Plugins/Carousel.js
index <HASH>..<HASH> 100644
--- a/Kwf_js/EyeCandy/List/Plugins/Carousel.js
+++ b/Kwf_js/EyeCandy/List/Plugins/Carousel.js
@@ -1,5 +1,4 @@
Kwf.EyeCandy.List.Plugins.Carousel = Ext.extend(Kwf.EyeCandy.List.Plugins.Abstract, ... | Added responsive function for carousel
- calculating the item to show on container width
- hidding arrows if count equal or less item count | koala-framework_koala-framework | train |
d243f3c4e54aa89c570102e7d69aea44c3bd5f0a | diff --git a/pandas/core/generic.py b/pandas/core/generic.py
index <HASH>..<HASH> 100644
--- a/pandas/core/generic.py
+++ b/pandas/core/generic.py
@@ -1932,7 +1932,7 @@ class NDFrame(PandasObject):
#----------------------------------------------------------------------
# Attribute access
- def __finalize... | add back some kwargs usage, closes GH<I> | pandas-dev_pandas | train |
30186a95118ffd9d98ddab4c7f5743afe654ad43 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@ cmdclass = {'clean': CleanCommand}
setup(
name='loky',
- version='0.3.0',
+ version='0.4.0.dev',
description=("A robust implementation of "
"concurrent.futures.ProcessPoolExe... | CLN switch back master to dev version | tomMoral_loky | train |
576ee4d3099131e12aa56f7562de416393ad86f4 | diff --git a/promql/engine.go b/promql/engine.go
index <HASH>..<HASH> 100644
--- a/promql/engine.go
+++ b/promql/engine.go
@@ -29,6 +29,7 @@ import (
"github.com/go-kit/kit/log/level"
opentracing "github.com/opentracing/opentracing-go"
"github.com/prometheus/client_golang/prometheus"
+ "github.com/prometheus/comm... | Label name check for 'count_values' (#<I>) | prometheus_prometheus | train |
b0183dcb8e295e3c5938d8343f906b1b6d6d3b70 | diff --git a/src/Queryyetsimple/Di/Container.php b/src/Queryyetsimple/Di/Container.php
index <HASH>..<HASH> 100644
--- a/src/Queryyetsimple/Di/Container.php
+++ b/src/Queryyetsimple/Di/Container.php
@@ -208,10 +208,12 @@ class Container implements IContainer, ArrayAccess
if (is_int($key)) {
... | di component tests coverage to <I>% | hunzhiwange_framework | train |
4ed83131d5f9e84a98d14dc4482ba1ff7e8895e3 | diff --git a/pandas/core/ops.py b/pandas/core/ops.py
index <HASH>..<HASH> 100644
--- a/pandas/core/ops.py
+++ b/pandas/core/ops.py
@@ -408,8 +408,10 @@ Parameters
----------
other : Series or scalar value
fill_value : None or float value, default None (NaN)
- Fill missing (NaN) values with this value. If both Ser... | DOC: Clarify and add fill_value example in arithmetic ops (#<I>) | pandas-dev_pandas | train |
e2e8bbbfdeda299f173c19c6c8fdd9725125d4e9 | diff --git a/tests/integration/states/git.py b/tests/integration/states/git.py
index <HASH>..<HASH> 100644
--- a/tests/integration/states/git.py
+++ b/tests/integration/states/git.py
@@ -197,6 +197,62 @@ class GitTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn):
finally:
shutil.rmt... | Add integration test for #<I> | saltstack_salt | train |
e4d50db8e0a227d82b59fa4a0bb8c51fd5c824e2 | diff --git a/lib/walker.js b/lib/walker.js
index <HASH>..<HASH> 100644
--- a/lib/walker.js
+++ b/lib/walker.js
@@ -125,6 +125,12 @@ class Walker {
for (const script of scripts) {
const stat = await fs.stat(script);
if (stat.isFile()) {
+ if (!isDotJS(script)) {
+ l... | show a warning that css gets into 'scripts'. addresses #<I> | zeit_pkg | train |
94b402d50f12413da4a4e70e028bd626117d39fe | diff --git a/src/Queries/BaseQuery.php b/src/Queries/BaseQuery.php
index <HASH>..<HASH> 100644
--- a/src/Queries/BaseQuery.php
+++ b/src/Queries/BaseQuery.php
@@ -359,26 +359,30 @@ abstract class BaseQuery
$oldFields = $results[$keyByValue]->fields;
foreach ($oldFields as $field => $oldValue) ... | Fix multiple multimple props in Iblock 1 | arrilot_bitrix-models | train |
4b16d49adb2e0e032fc428bc3af34ab9eeac722d | diff --git a/js/colorpicker.js b/js/colorpicker.js
index <HASH>..<HASH> 100644
--- a/js/colorpicker.js
+++ b/js/colorpicker.js
@@ -357,7 +357,7 @@ var igv = (function (igv) {
$(this.container).offset( { left: (track_size.width - size.width)/2, top: track_origin.top } );
- this.headerBlurb.text(this.... | Remove track name from color picker header | igvteam_igv.js | train |
0ca18df1994d249e9fa695ad7a306d9ff93fcc25 | diff --git a/tests/unit/accounts/test_services.py b/tests/unit/accounts/test_services.py
index <HASH>..<HASH> 100644
--- a/tests/unit/accounts/test_services.py
+++ b/tests/unit/accounts/test_services.py
@@ -366,6 +366,46 @@ class TestDatabaseUserService:
user = UserFactory.create()
assert not user_ser... | rate limit TOTP submission (#<I>)
* rate limit TOTP submission
* reorder rate limit checking, we already have user so no need to interleve db call between RL checks | pypa_warehouse | train |
9e2488266a23485615ad7f854edb5371d5687704 | diff --git a/lib/sputnik.js b/lib/sputnik.js
index <HASH>..<HASH> 100644
--- a/lib/sputnik.js
+++ b/lib/sputnik.js
@@ -42,6 +42,9 @@ var Sputnik = function Sputnik (options) {
this.anyBegin = [];
this.anyEnd = [];
+ // Keep track of preventions
+ this.preventions = {};
+
}
/**
diff --git a/lib/stage.js b/li... | Add a "prevent" function, to make a stage wait to begin for another stage to end | skerit_sputnik | train |
9c3b545d0898cd1d1cca526746cb4fcd87e02e1f | diff --git a/cnxarchive/tests/test_database.py b/cnxarchive/tests/test_database.py
index <HASH>..<HASH> 100644
--- a/cnxarchive/tests/test_database.py
+++ b/cnxarchive/tests/test_database.py
@@ -1221,6 +1221,12 @@ INSERT INTO trees (parent_id, documentid, is_collated)
WHERE module_ident = %s''', (new_module_id... | add tests for fulltext indexing triggers | openstax_cnx-archive | train |
a633a7b315763541175a0ac7749870cc8ae0296c | diff --git a/sgactions/browsers/Chrome/main.js b/sgactions/browsers/Chrome/main.js
index <HASH>..<HASH> 100644
--- a/sgactions/browsers/Chrome/main.js
+++ b/sgactions/browsers/Chrome/main.js
@@ -47,7 +47,7 @@ var sendToBackground = function(msg) {
window.addEventListener("message", function(e) {
// TODO: Figure... | Fix message parsing so that we can receive multiple messages | vfxetc_sgactions | train |
4bb779bd885fef7cb2f58f6524a0394fce432485 | diff --git a/spec/sign_spec.rb b/spec/sign_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/sign_spec.rb
+++ b/spec/sign_spec.rb
@@ -229,7 +229,7 @@ describe 'dco sign' do
stash_path = File.join(temp_path, '.git/logs/refs/stash')
if File.exist?(stash_path)
sleep(5)
- command("erase #{temp_pa... | Probably still won't work. | coderanger_dco | train |
c0c4ada23b6e941acc9f4930d4a1dd90a41bd21a | diff --git a/lib/cli.js b/lib/cli.js
index <HASH>..<HASH> 100644
--- a/lib/cli.js
+++ b/lib/cli.js
@@ -1,4 +1,5 @@
var fs = require('fs');
+var path = require('path');
Cli = (function() {
@@ -18,7 +19,8 @@ Cli = (function() {
CliObject.prototype.generateFileObject = function() {
var filename = this.args... | change to use path.sep instead of hardcoded path separator | toranb_django-ember-precompile | train |
86f9f4fccc6af40826f3f29eaf5cc9b90dc1b5b2 | diff --git a/tests/integration/test_dot_venv.py b/tests/integration/test_dot_venv.py
index <HASH>..<HASH> 100644
--- a/tests/integration/test_dot_venv.py
+++ b/tests/integration/test_dot_venv.py
@@ -90,3 +90,25 @@ def test_venv_file_with_path(PipenvInstance, pypi):
venv_loc = Path(p.pipenv('--venv').out.st... | add test for venv file with a relative path | pypa_pipenv | train |
8f92b6b2cb2e4ec3af8783eb6bf4ff06f5a352cf | diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -63,7 +63,7 @@ SSH_SHIM = '''/bin/sh << 'EOF'
then
if [ $(cat /tmp/.salt/version) != {0} ]
then
- {{0}} rm -rf /... | Add untaring the thin tarball into the shim
Also add hooks in to checksum the thin tarball | saltstack_salt | train |
9a9889f54048acb57ac928b8b68e9ac6f5d5714e | diff --git a/src/ufoLib2/objects/glyph.py b/src/ufoLib2/objects/glyph.py
index <HASH>..<HASH> 100644
--- a/src/ufoLib2/objects/glyph.py
+++ b/src/ufoLib2/objects/glyph.py
@@ -1,4 +1,5 @@
import attr
+from copy import deepcopy
from typing import Union, List, Any, Dict, Optional
from ufoLib2.objects.anchor import Anch... | glyph: add copyDataFromGlyph method like in defcon
I need to use this in glyphsLib so that I can do things like:
new_glyph = font.newGlyph(b)
new_glyph.copyDataFromGlyph(another_glyph) | fonttools_ufoLib2 | train |
55536d8453e048492553ff8d5a868d40f5692848 | diff --git a/lib/outputlib.php b/lib/outputlib.php
index <HASH>..<HASH> 100644
--- a/lib/outputlib.php
+++ b/lib/outputlib.php
@@ -2722,7 +2722,7 @@ class moodle_core_renderer extends moodle_renderer_base {
foreach ($list->items as $listitem) {
if ($listitem instanceof html_list) {
- ... | MDL-<I> Updated unit tests | moodle_moodle | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.