hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
9b18a410c7e051d448d05025e08b6564679df76e | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -2847,14 +2847,14 @@ exports.Connection.prototype._bind_events = function(host, port, callback) {
ctx.connect(self.options.filename, function(err) {
if (err) {
- ... | Fix TypeError: "self.emit is not a function"
The error was due to calling self.emit("error", err); instead of self.db.emit("error", err).
There may be other error when calling self.emit("detach", false) in index. | hgourvest_node-firebird | train | js |
6ce74e4548b3c251f284e63d1e751bb8b570771d | diff --git a/staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go b/staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go
+++ b/staging/src/k8s.io/apimachinery/pkg/util/wait/wait.go
@@ -230,13 +230,13 @@ func pollInternal(wait Wait... | Correct several mistakes in the comments/doc for PollImmediate. | kubernetes_kubernetes | train | go |
fd210c069f8ea59383524f48cacf4ecec13d0542 | diff --git a/clients/web/src/utilities/MiscFunctions.js b/clients/web/src/utilities/MiscFunctions.js
index <HASH>..<HASH> 100644
--- a/clients/web/src/utilities/MiscFunctions.js
+++ b/clients/web/src/utilities/MiscFunctions.js
@@ -226,13 +226,19 @@ girder.restartServer._reloadWindow = function () {
};
/**
- * Trans... | Make renderMarkdown more generally useful
In the covalic plugin I have a place where I render some
markdown into a popover, and it's easiest to set the HTML when
instantiating the popover in javascript rather than placing
it in an element. For that case, and other cases like it that
may pop up, I've added a mode to re... | girder_girder | train | js |
e6ceaff4f49d56d524fd295c9285b3ef5192bbc7 | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/BugInstance.java b/findbugs/src/java/edu/umd/cs/findbugs/BugInstance.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/BugInstance.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/BugInstance.java
@@ -1506,7 +1506,9 @@ public class BugInstanc... | add additional utility method for adding a called method to a BugInstance
git-svn-id: <URL> | spotbugs_spotbugs | train | java |
95f69a6fafead82d0acab8c9bcb89a84f312a7b1 | diff --git a/cachy/cache_manager.py b/cachy/cache_manager.py
index <HASH>..<HASH> 100644
--- a/cachy/cache_manager.py
+++ b/cachy/cache_manager.py
@@ -9,7 +9,8 @@ from .contracts.store import Store
from .stores import (
DictStore,
FileStore,
- RedisStore
+ RedisStore,
+ MemcachedStore
)
from .re... | Fixes behavior for memcached store | sdispater_cachy | train | py,py |
e3bfc80ace9f44431e8b05b48d98f23b64ff103f | diff --git a/asv/benchmark.py b/asv/benchmark.py
index <HASH>..<HASH> 100644
--- a/asv/benchmark.py
+++ b/asv/benchmark.py
@@ -498,7 +498,7 @@ class TimeBenchmark(Benchmark):
if repeat == 0:
# automatic number of samples: 10 is large enough to
# estimate the median confidence interval... | benchmark: use a more reasonable number of repeats per process
Minimum at 5 samples per process enables people to scale up more easily
just by increasing `processes` without having to set `repeat` at the
same time. | airspeed-velocity_asv | train | py |
57036ab839b159632cc13404e547114f17aba415 | diff --git a/mode/css/css.js b/mode/css/css.js
index <HASH>..<HASH> 100644
--- a/mode/css/css.js
+++ b/mode/css/css.js
@@ -432,7 +432,7 @@ CodeMirror.defineMode("css-base", function(config, parserConfig) {
"darkslateblue", "darkslategray", "darkturquoise", "darkviolet",
"deeppink", "deepskyblue", "dimgray", "... | "grey" is an accepted named color value (same as "gray") | codemirror_CodeMirror | train | js |
bca048ac3a6d040296c9e2c413293489523819ee | diff --git a/lib/rspec_candy/helpers/should_receive_and_execute.rb b/lib/rspec_candy/helpers/should_receive_and_execute.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec_candy/helpers/should_receive_and_execute.rb
+++ b/lib/rspec_candy/helpers/should_receive_and_execute.rb
@@ -31,7 +31,7 @@ module RSpecCandy
el... | fix <I> bug with #should_receive_and_execute
implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly. | makandra_rspec_candy | train | rb,rb |
2ffeeef634edbc17bb14872cfbe89822ea952c94 | diff --git a/multiqc/modules/base_module.py b/multiqc/modules/base_module.py
index <HASH>..<HASH> 100755
--- a/multiqc/modules/base_module.py
+++ b/multiqc/modules/base_module.py
@@ -77,12 +77,12 @@ class BaseMultiqcModule(object):
if filesize > config.log_filesize_limit:
... | Indentation bug fixed. Should now ignore binary files when looking for logs. | ewels_MultiQC | train | py |
5e692b48ada0635eb332769a9703bb97605c1f83 | diff --git a/lib/lib/tester.lib.js b/lib/lib/tester.lib.js
index <HASH>..<HASH> 100644
--- a/lib/lib/tester.lib.js
+++ b/lib/lib/tester.lib.js
@@ -4,7 +4,7 @@
*/
var Promise = require('bluebird');
-var app = require('../setup/bootstrap');
+var boot = require('../setup/bootstrap');
var tester = module.exports = ... | change symbol names for clarity in tester.lib | thanpolas_crude-test-case | train | js |
f68ad1bd3936fc4c32c4916b50e018fd0a47ddbd | diff --git a/Metadata/Driver/DoctrineTypeDriver.php b/Metadata/Driver/DoctrineTypeDriver.php
index <HASH>..<HASH> 100644
--- a/Metadata/Driver/DoctrineTypeDriver.php
+++ b/Metadata/Driver/DoctrineTypeDriver.php
@@ -73,12 +73,12 @@ class DoctrineTypeDriver implements DriverInterface
public function loadMetada... | Fix early return with undeclared variable | alekitto_serializer | train | php |
c75af1f6a73dbacb3f92cbc42fd7e5c80291ce65 | diff --git a/bcbio/rnaseq/qc.py b/bcbio/rnaseq/qc.py
index <HASH>..<HASH> 100644
--- a/bcbio/rnaseq/qc.py
+++ b/bcbio/rnaseq/qc.py
@@ -85,8 +85,8 @@ def _index_samples(samples):
def _extract_sample_ids(samples):
sample_ids = []
for data in samples:
- names = data[0]["info"]["rgnames"]
- descrip... | Drop looking for the deprecated "info" field. | bcbio_bcbio-nextgen | train | py |
9851be628b8aa913a132317ecfbd878d328d9a99 | diff --git a/src/core.js b/src/core.js
index <HASH>..<HASH> 100755
--- a/src/core.js
+++ b/src/core.js
@@ -472,7 +472,11 @@ var me = me || {};
};
};
+
if (!Function.prototype.bind) {
+ /** @private */
+ function Empty() {};
+
/**
* Binds this function to the given context by wrapping it in another ... | Fixed the ES5 `bind` function when used directly in melonJS
my bad, I did not try back after putting back the new function :( | melonjs_melonJS | train | js |
7cba87a0f686807e09a9cf08028b7a5cdf5a3997 | diff --git a/lib/omnibus/builder.rb b/lib/omnibus/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus/builder.rb
+++ b/lib/omnibus/builder.rb
@@ -581,7 +581,7 @@ module Omnibus
def build
log.info(log_key) { 'Starting build' }
shasum # ensure shashum is calculated before build since the build can... | Update builder.rb
Use double-quotes since we are referencing a variable | chef_omnibus | train | rb |
78bfc72cdfec75298471d4c7c174ce19df545fac | diff --git a/lib/specjour/manager.rb b/lib/specjour/manager.rb
index <HASH>..<HASH> 100644
--- a/lib/specjour/manager.rb
+++ b/lib/specjour/manager.rb
@@ -158,8 +158,8 @@ module Specjour
def with_clean_env
if defined?(Bundler)
Bundler.with_clean_env do
- if opts = ENV['RUBYOPT'].split(" ")... | Fix nil.split when looking for RUBYOPT | sandro_specjour | train | rb |
17d92d505b306ed65ede2bdd4be90fc41ad143a6 | diff --git a/kettle/kettle.py b/kettle/kettle.py
index <HASH>..<HASH> 100755
--- a/kettle/kettle.py
+++ b/kettle/kettle.py
@@ -85,8 +85,9 @@ class KettleManager:
def refresh_full_state(self):
if self.game.step < Step.BEGIN_MULLIGAN:
return
- for entity in self.game_state:
- self.refresh_state(entity)
+ for... | kettle: Iterate over the game instead of the game state | jleclanche_fireplace | train | py |
7c441c0204bc056a22c05fe9c125e51cd32441fc | diff --git a/lib/arjdbc/postgresql/oid_types.rb b/lib/arjdbc/postgresql/oid_types.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc/postgresql/oid_types.rb
+++ b/lib/arjdbc/postgresql/oid_types.rb
@@ -1,13 +1,18 @@
-require 'arjdbc/postgresql/base/oid' # 'active_record/connection_adapters/postgresql/oid'
require 'thread... | [postgres] on <I> load core oid types (as they shall be shareable) to avoid hell.freeze | jruby_activerecord-jdbc-adapter | train | rb |
2c927cd5795bf84ee3cd0edda7c458d5132beae5 | diff --git a/functionfs/__init__.py b/functionfs/__init__.py
index <HASH>..<HASH> 100644
--- a/functionfs/__init__.py
+++ b/functionfs/__init__.py
@@ -374,32 +374,6 @@ def getOSExtPropDesc(data_type, name, value):
bProperty=value,
)
-#def getDescs(*args, **kw):
-# """
-# Return a legacy format Fun... | functionfs: Drop commented-out, never-implemented getDescs function.
I do not expect a need to support old-enough kernels. | vpelletier_python-functionfs | train | py |
a997815aaa2a6d67c097a806d0aac5c5b240df56 | diff --git a/src/application/action-builder.js b/src/application/action-builder.js
index <HASH>..<HASH> 100644
--- a/src/application/action-builder.js
+++ b/src/application/action-builder.js
@@ -56,7 +56,7 @@ function _dispatchFieldErrors({node, callerId}, errorResult){
const data = {};
if(isMultiNode){
... | Seen with @hartorn giving a null value by default as it was given previously. | KleeGroup_focus-core | train | js |
e98a831a4b4c3afdc711fecdd104b74cdf651de3 | diff --git a/upload/admin/controller/setting/store.php b/upload/admin/controller/setting/store.php
index <HASH>..<HASH> 100644
--- a/upload/admin/controller/setting/store.php
+++ b/upload/admin/controller/setting/store.php
@@ -124,12 +124,7 @@ class Store extends \Opencart\System\Engine\Controller {
'edit' => ... | Update store.php
I think $filter_data array should be removed. Because it is not used on getStores() method in model file. Actually, I did not test it but the pagination system looks corrupted in store list page. IMO it should be rewritten completely. | opencart_opencart | train | php |
9b87721c1f22ae5f5372abe9f7ced9bd3d075c9d | diff --git a/pkg/provenance/sign.go b/pkg/provenance/sign.go
index <HASH>..<HASH> 100644
--- a/pkg/provenance/sign.go
+++ b/pkg/provenance/sign.go
@@ -402,6 +402,8 @@ func DigestFile(filename string) (string, error) {
// Helm uses SHA256 as its default hash for all non-cryptographic applications.
func Digest(in io.Re... | fix(provenance): Ports error check for `Digest` to v3
This is a port of #<I> | helm_helm | train | go |
7268c8161aa2ffd76d2c557aa03ccfcb3b24d84f | diff --git a/molgenis-core-ui/src/main/java/org/molgenis/data/importer/wizard/OptionsWizardPage.java b/molgenis-core-ui/src/main/java/org/molgenis/data/importer/wizard/OptionsWizardPage.java
index <HASH>..<HASH> 100644
--- a/molgenis-core-ui/src/main/java/org/molgenis/data/importer/wizard/OptionsWizardPage.java
+++ b/m... | Fix a "Do something with the "boolean" value returned by "renameTo"" vulnerability reported by Sonar | molgenis_molgenis | train | java |
ec54bd650e8abf92a9587dff587766d5818f2db4 | diff --git a/src/Entities/Invoices/InvoiceVO.php b/src/Entities/Invoices/InvoiceVO.php
index <HASH>..<HASH> 100644
--- a/src/Entities/Invoices/InvoiceVO.php
+++ b/src/Entities/Invoices/InvoiceVO.php
@@ -27,6 +27,13 @@ class InvoiceVO extends EntityVO {
}
/**
+ * @return string YYYY-MM-DD
+ */
+ public function ... | Add help acccessors for INvoices | FernleafSystems_ApiWrappers-FreeAgent | train | php |
ba4e29741b040d3ba12449c2a6a796bfcdef59dd | diff --git a/tower_cli/resources/role.py b/tower_cli/resources/role.py
index <HASH>..<HASH> 100644
--- a/tower_cli/resources/role.py
+++ b/tower_cli/resources/role.py
@@ -33,7 +33,7 @@ RESOURCE_FIELDS = [
'organization', 'project']
ROLE_TYPES = [
- 'admin', 'read', 'member', 'owner', 'execute', 'adhoc', 'upd... | Remove "owner" from list of role types | ansible_tower-cli | train | py |
67738d11e12e4f205b9f3d20f2352a58086ef76d | diff --git a/vyper/types/types.py b/vyper/types/types.py
index <HASH>..<HASH> 100644
--- a/vyper/types/types.py
+++ b/vyper/types/types.py
@@ -210,14 +210,6 @@ def parse_type(item, location, sigs=None, custom_structs=None, constants=None):
raise InvalidType("Invalid base type: " + item.id, item)
# Uni... | refactor: Remove deprecation warning because it doesn't work | ethereum_vyper | train | py |
d9a24101534cd7adce820946d47a60ee46324311 | diff --git a/src/mg/Ding/Bean/BeanDefinition.php b/src/mg/Ding/Bean/BeanDefinition.php
index <HASH>..<HASH> 100644
--- a/src/mg/Ding/Bean/BeanDefinition.php
+++ b/src/mg/Ding/Bean/BeanDefinition.php
@@ -162,6 +162,15 @@ class BeanDefinition
}
/**
+ * This is needed when creating a child bean.
+ *
+ ... | will now clear all aliases when creating a child bean | marcelog_Ding | train | php |
ec2c1373519d80ad2eab1f0b242adb79ff7206dc | diff --git a/monk/reqs.py b/monk/reqs.py
index <HASH>..<HASH> 100644
--- a/monk/reqs.py
+++ b/monk/reqs.py
@@ -41,11 +41,11 @@ from .combinators import BaseValidator
class BaseRequirement(BaseValidator):
# a hint for combinators, see their code
is_recursive = False
- implies = ()
+ implies = NotImpleme... | Use a combinator in req.implies | neithere_monk | train | py |
e4c49cd8e8df40af4d2daae57123ca0afbb1ea07 | diff --git a/tests/fixtures/config.js b/tests/fixtures/config.js
index <HASH>..<HASH> 100644
--- a/tests/fixtures/config.js
+++ b/tests/fixtures/config.js
@@ -15,6 +15,11 @@
// so we need to increase the timeouts to allow for that
this.currentTest.timeout(2000);
this.currentTest.slow(500);
+
+ if (glo... | Increasing the test timeout for slow environments (TravisCI and SauceLabs) | APIDevTools_swagger-parser | train | js |
4c44a50d610251c9f35441d103cbf44f40c00d24 | diff --git a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
+++ b/src/Sylius/Bundle/CoreBundle/Application/Kernel.php
@@ -31,11 +31,11 @@ use Webmozart\Assert\Assert;
class... | Change application's version to <I>-DEV | Sylius_Sylius | train | php |
c4e119a51be16537184da9e0554ba98190ff11fc | diff --git a/tasks/theme.js b/tasks/theme.js
index <HASH>..<HASH> 100644
--- a/tasks/theme.js
+++ b/tasks/theme.js
@@ -53,7 +53,8 @@ module.exports = function(grunt) {
// Provide a watch handler
grunt.config(['watch', 'compass-' + key], {
files: [
- theme.path + '/**/*.scss'
+ ... | Support .sass files in watch:compile-theme file scanner. (GitHub #<I>) | phase2_grunt-drupal-tasks | train | js |
7cb16a9fdd672a6148a0a5e833cadd3edf1075e5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ del os.link
def version():
with open(os.path.abspath(__file__).replace('setup.py', 'version.meta'), 'r') as v:
- return v.read()
+ return v.read().replace('\n', '')
setup( | Fix setup.py to ensure no newlines will be in the version file. | mnubo_kubernetes-py | train | py |
9767f90d2dc500d2bbd964b6760bc196b8136187 | diff --git a/src/Keboola/StorageApi/Client.php b/src/Keboola/StorageApi/Client.php
index <HASH>..<HASH> 100644
--- a/src/Keboola/StorageApi/Client.php
+++ b/src/Keboola/StorageApi/Client.php
@@ -422,9 +422,18 @@ class Client
// Column definition
$columns = array();
+
+ // Key length can be 1000 bytes in MySQL
... | client - create table - joint primary key length | keboola_storage-api-php-client | train | php |
bacfacfdc64d13718af542a7457e8de8527438f8 | diff --git a/git/odb/tree_test.go b/git/odb/tree_test.go
index <HASH>..<HASH> 100644
--- a/git/odb/tree_test.go
+++ b/git/odb/tree_test.go
@@ -165,11 +165,11 @@ func TestSubtreeOrder(t *testing.T) {
//
// See:
// http://public-inbox.org/git/7vac6jfzem.fsf@assigned-by-dhcp.cox.net
- e1 := &TreeEntry{Filemode: 10... | git/odb: make Filemode's octal integers | git-lfs_git-lfs | train | go |
74c1e59e32f8a2790f632efa630568f48f3614a1 | diff --git a/text.go b/text.go
index <HASH>..<HASH> 100644
--- a/text.go
+++ b/text.go
@@ -222,6 +222,10 @@ func (t *Text) SetString(fs string, argv ...interface{}) {
// not necesssary, but i just want to better understand using vertex arrays
gl.BindBuffer(gl.ARRAY_BUFFER, 0)
gl.BindBuffer(gl.ELEMENT_ARRAY_BUFFER... | Make sure position is properly set with each SetString call. | 4ydx_gltext | train | go |
35af73e2035154401c5907a8d3391bf45293c386 | diff --git a/test/runtime/privileged_tests.go b/test/runtime/privileged_tests.go
index <HASH>..<HASH> 100644
--- a/test/runtime/privileged_tests.go
+++ b/test/runtime/privileged_tests.go
@@ -29,7 +29,7 @@ import (
const (
// The privileged unit tests can take more than 4 minutes, the default
// timeout for helper ... | test: Increase timeout on privileged unit tests
Flakes on privileged unit tests with 'context deadline exceeded' are
becoming a bit more common. There seem to be a lot of variations [1] in
actual duration of those tests, with a long tail of high durations.
This commit doubles the timeout value in an effort to reduce ... | cilium_cilium | train | go |
431df50d14aa029a0955171ed23677d0e550dd5e | diff --git a/bigfloat_cython/bigfloat/core.py b/bigfloat_cython/bigfloat/core.py
index <HASH>..<HASH> 100644
--- a/bigfloat_cython/bigfloat/core.py
+++ b/bigfloat_cython/bigfloat/core.py
@@ -846,7 +846,7 @@ def _set_from_whole_string(rop, s, base, rnd):
a valid string in the given base.
"""
- s = s.strip... | bigfloat.core.set_str2 needs to encode incoming Unicode strings as ASCII. | mdickinson_bigfloat | train | py |
871b83f6ac91fdec11395a46b61b59aa6fef2d38 | diff --git a/api/src/main/java/javax/enterprise/inject/spi/Unmanaged.java b/api/src/main/java/javax/enterprise/inject/spi/Unmanaged.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/javax/enterprise/inject/spi/Unmanaged.java
+++ b/api/src/main/java/javax/enterprise/inject/spi/Unmanaged.java
@@ -139,7 +139,7 @@ p... | Typo, thanks to George Gastaldi | cdi-spec_cdi | train | java |
570e4761f0313f4974667a4ad72ad2bac31348c0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,5 @@
"""
-Flask-Permissions
--------------
-
-Simple user permissions for Flask
+A simple permissions system for developers using Flask and SQLAlchemy.
"""
from setuptools import setup | Improves docstring for PyPI | raddevon_flask-permissions | train | py |
f82f2c00b32e8edce72db8312c098910c6d37e8c | diff --git a/tests/framework/di/ContainerTest.php b/tests/framework/di/ContainerTest.php
index <HASH>..<HASH> 100644
--- a/tests/framework/di/ContainerTest.php
+++ b/tests/framework/di/ContainerTest.php
@@ -18,7 +18,6 @@ use yiiunit\framework\di\stubs\Bar;
use yiiunit\framework\di\stubs\Foo;
use yiiunit\framework\di\... | Skip testing variadics on HHVM | yiisoft_yii2 | train | php |
02576d9878dcddfdb592dec9b90dfdf3b95710ee | diff --git a/ci/behat-tags.php b/ci/behat-tags.php
index <HASH>..<HASH> 100644
--- a/ci/behat-tags.php
+++ b/ci/behat-tags.php
@@ -15,7 +15,7 @@
function version_tags( $prefix, $current, $operator = '<' ) {
if ( ! $current )
- return;
+ return array();
exec( "grep '@{$prefix}-[0-9\.]*' -h -o features/*.featu... | Ensure `version_tags()` always returns array, which is expected | wp-cli_export-command | train | php |
b7a9287844822b17ff8e6b0c74ab103fb2f6b677 | diff --git a/code/CMSMain.php b/code/CMSMain.php
index <HASH>..<HASH> 100755
--- a/code/CMSMain.php
+++ b/code/CMSMain.php
@@ -595,7 +595,7 @@ JS;
$id = $_REQUEST['ID'];
Versioned::reading_stage('Live');
$record = DataObject::get_by_id("SiteTree", $id);
- if($record && !$record->canDelete()) return Security::... | BUGFIX: delete from published site never calls canDeleteFromLive(). (via marcus #<I>)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/<I>@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9 | silverstripe_silverstripe-siteconfig | train | php |
735a433499a8123c49e415146846c0fd5ad15e6f | diff --git a/src/scene_worker.js b/src/scene_worker.js
index <HASH>..<HASH> 100644
--- a/src/scene_worker.js
+++ b/src/scene_worker.js
@@ -85,6 +85,7 @@ SceneWorker.worker.buildTile = function ({ tile, tile_source, layers, styles })
});
}, (error) => {
SceneWorker.log('er... | Always resolve in the buildTile method | tangrams_tangram | train | js |
a0c047628de269266b95905a9f0894c2dd0d7187 | diff --git a/src/widget/file-offline/offline-filepicker.js b/src/widget/file-offline/offline-filepicker.js
index <HASH>..<HASH> 100644
--- a/src/widget/file-offline/offline-filepicker.js
+++ b/src/widget/file-offline/offline-filepicker.js
@@ -184,6 +184,20 @@ define( [ 'jquery', 'enketo-js/Widget', 'file-manager' ], fu... | fix destroying of cloned file inputs, closes #<I> | enketo_enketo-core | train | js |
79d90ff649f89f784bdf41769f2326faa11cb7b0 | diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -89,6 +89,7 @@ class Networking(Plugin):
self.add_forbidden_path("/proc/net/rpc/*/channel")
self.add_forbidden_path("/proc/net/rpc/*/flush")... | [networking] re-add 'ip addr' with a root symlink
Commit e<I>ca8 accidentally deleted collection of "ip -o addr"
and the root "ip_addr" symlink: put it back. | sosreport_sos | train | py |
869e5d7f7dee5ddeed99b8c78c8c77895af7b6e0 | diff --git a/sphinxgallery/gen_rst.py b/sphinxgallery/gen_rst.py
index <HASH>..<HASH> 100644
--- a/sphinxgallery/gen_rst.py
+++ b/sphinxgallery/gen_rst.py
@@ -109,9 +109,9 @@ def split_code_and_text_blocks(source_file):
with open(source_file) as f:
source_lines = f.read()
- doc_string = ast.get_docst... | MAINT rename doc_string to docstring | sphinx-gallery_sphinx-gallery | train | py |
2471c27eff8b0251fa26ac17ecde95b157447b3e | diff --git a/lib/asana/resources/story.rb b/lib/asana/resources/story.rb
index <HASH>..<HASH> 100644
--- a/lib/asana/resources/story.rb
+++ b/lib/asana/resources/story.rb
@@ -41,16 +41,6 @@ module Asana
'stories'
end
- # Returns the full record for a single story.
- #
- # id -... | Deploy from asana-api-meta <I> (c7c1b<I>/master) by noonhub | Asana_ruby-asana | train | rb |
bf184381e27e440c7b607244bb46ca8baebd4238 | diff --git a/src/CoandaCMS/Coanda/Pages/PageStaticCacher.php b/src/CoandaCMS/Coanda/Pages/PageStaticCacher.php
index <HASH>..<HASH> 100644
--- a/src/CoandaCMS/Coanda/Pages/PageStaticCacher.php
+++ b/src/CoandaCMS/Coanda/Pages/PageStaticCacher.php
@@ -83,7 +83,10 @@ class PageStaticCacher {
*/
public function... | Only store the content if it is enabled. | CoandaCMS_coanda-core | train | php |
fcd60598cc4fc6d385e2c900b60ed42622146ae0 | diff --git a/tests/Builder/ShowBuilderTest.php b/tests/Builder/ShowBuilderTest.php
index <HASH>..<HASH> 100644
--- a/tests/Builder/ShowBuilderTest.php
+++ b/tests/Builder/ShowBuilderTest.php
@@ -62,9 +62,6 @@ class ShowBuilderTest extends TestCase
$this->assertInstanceOf(FieldDescriptionCollection::class, $thi... | Remove useless doesNotPerformAssertion | sonata-project_SonataDoctrineORMAdminBundle | train | php |
81012553706c10060ef29b5d5b98d2195a8fb20a | diff --git a/spool/utils.py b/spool/utils.py
index <HASH>..<HASH> 100644
--- a/spool/utils.py
+++ b/spool/utils.py
@@ -26,8 +26,7 @@ def dispatch(f):
to_address = args[2]
password = args[4]
# a piece has no edition number
- print name
- if name != 'register_piece':
+ if n... | Consigned registration does not have an edition number | ascribe_pyspool | train | py |
3552d95bea8b319fd232d477150b697fd00904b2 | diff --git a/osbs/api.py b/osbs/api.py
index <HASH>..<HASH> 100644
--- a/osbs/api.py
+++ b/osbs/api.py
@@ -321,6 +321,7 @@ class OSBS(object):
component=component,
registry_uri=self.build_conf.get_registry_uri(),
openshift_uri=self.os_conf.get_openshift_base_uri(),
+ bu... | Use builder_openshift_url for simple builds | projectatomic_osbs-client | train | py |
5f620729df801dc171fb03d23f0a5ea657a36a44 | diff --git a/tests/Implementation/NotWorkingCacheItem.php b/tests/Implementation/NotWorkingCacheItem.php
index <HASH>..<HASH> 100644
--- a/tests/Implementation/NotWorkingCacheItem.php
+++ b/tests/Implementation/NotWorkingCacheItem.php
@@ -39,7 +39,7 @@ class NotWorkingCacheItem implements CacheItemInterface
/**
... | Added type hint for another function in NotWorkingCacheItem | contentful_contentful.php | train | php |
bc61e2b119b5b35116362b0c2bac3decf5b23619 | diff --git a/handlers/awsJobs.js b/handlers/awsJobs.js
index <HASH>..<HASH> 100644
--- a/handlers/awsJobs.js
+++ b/handlers/awsJobs.js
@@ -78,9 +78,9 @@ let handlers = {
const batchJobParams = {
jobDefinition: job.jobDefinition,
jobName: job.jobName,
+ jobQueue: ... | Simplify batchJobParameters slightly. | OpenNeuroOrg_openneuro | train | js |
3aded7c10e86fd599459cb3fcfda7ab6a12c1cb8 | diff --git a/src/toil/test/provisioners/aws/awsProvisionerTest.py b/src/toil/test/provisioners/aws/awsProvisionerTest.py
index <HASH>..<HASH> 100644
--- a/src/toil/test/provisioners/aws/awsProvisionerTest.py
+++ b/src/toil/test/provisioners/aws/awsProvisionerTest.py
@@ -318,13 +318,6 @@ class AWSAutoscaleTestMultipleNo... | Delete spot autoscale test with multiple node types | DataBiosphere_toil | train | py |
5c1fa5382883dae874ea5d2c48740311e73c1735 | diff --git a/lib/roadworker/dsl.rb b/lib/roadworker/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/roadworker/dsl.rb
+++ b/lib/roadworker/dsl.rb
@@ -2,9 +2,9 @@ module Roadworker
class DSL
class << self
- def define(source, path)
+ def define(source, path, lineno = 1)
self.new(path) do
- ... | Specify path, lineno on evaling a file content
Features depend on filepath+lineno (such as __FILE__, __dir__) didn't work
because they were not set when evaluating a file content. | codenize-tools_roadworker | train | rb |
620513f75955b1fc6661f57e16f66b0d1c25b822 | diff --git a/lib/tinymce/rails/asset_installer.rb b/lib/tinymce/rails/asset_installer.rb
index <HASH>..<HASH> 100644
--- a/lib/tinymce/rails/asset_installer.rb
+++ b/lib/tinymce/rails/asset_installer.rb
@@ -84,9 +84,11 @@ module TinyMCE
def symlink_asset(src, dest)
with_asset(src, dest) do |src,... | Check symlink target against File basename | spohlenz_tinymce-rails | train | rb |
091b78e1d04adce27edf5b5b788cb62f1cc79ce1 | diff --git a/lib/paper_trail/version_concern.rb b/lib/paper_trail/version_concern.rb
index <HASH>..<HASH> 100644
--- a/lib/paper_trail/version_concern.rb
+++ b/lib/paper_trail/version_concern.rb
@@ -149,7 +149,7 @@ module PaperTrail
# Set all the attributes in this version on the model
attrs.each do... | Fix reify method
Handle case old version has attribute with same name with current model setter | paper-trail-gem_paper_trail | train | rb |
9cbb3a7c9d8ea7dc9af577fa9bb1dd90ed6ea3a4 | diff --git a/Generator/Collection/ComponentCollection.php b/Generator/Collection/ComponentCollection.php
index <HASH>..<HASH> 100644
--- a/Generator/Collection/ComponentCollection.php
+++ b/Generator/Collection/ComponentCollection.php
@@ -96,6 +96,9 @@ class ComponentCollection implements \IteratorAggregate {
* com... | Fixed docs for ComponentCollection $tree and accessor. | drupal-code-builder_drupal-code-builder | train | php |
2e582995ac08085e1673041d9ba0c9957d8a7258 | diff --git a/src/task/request.js b/src/task/request.js
index <HASH>..<HASH> 100644
--- a/src/task/request.js
+++ b/src/task/request.js
@@ -16,8 +16,8 @@ var request = function() {
// and we can skip all of the parameterization checks below
if (!_.isPlainObject(params))
{
- var connection = undefined
va... | Removed trailing paranthesis. | flexiodata_flexio-sdk-js | train | js |
c13d90e9b1d6c5abfd336aebd3c2e03aed8f5432 | diff --git a/lib/basecrm/services/deals_service.rb b/lib/basecrm/services/deals_service.rb
index <HASH>..<HASH> 100644
--- a/lib/basecrm/services/deals_service.rb
+++ b/lib/basecrm/services/deals_service.rb
@@ -133,7 +133,7 @@ module BaseCRM
def sanitize(deal)
deal_hash = deal.to_h.select { |k, _| OPTS_KE... | allow to update deal without passing deal value | basecrm_basecrm-ruby | train | rb,rb |
846b3d03543b49a2b17c53310ebd1972f414a6b1 | diff --git a/tests/Behat/Gherkin/Keywords/KeywordsTest.php b/tests/Behat/Gherkin/Keywords/KeywordsTest.php
index <HASH>..<HASH> 100644
--- a/tests/Behat/Gherkin/Keywords/KeywordsTest.php
+++ b/tests/Behat/Gherkin/Keywords/KeywordsTest.php
@@ -23,9 +23,13 @@ abstract class KeywordsTest extends \PHPUnit_Framework_TestCas... | Remove tests for languages en-old, uz.
Tests for those languages are removed because in cucumber/gherkin
definition they have repeated keywords:
- en-old has words "Tha", "Ða", "Þa" as keyword for When and Then,
- uz has word "Агар" as keyword for Given and When. | Behat_Gherkin | train | php |
8018f8e0f3462c2afc8676fb1ab652405f4e604f | diff --git a/baron/path.py b/baron/path.py
index <HASH>..<HASH> 100644
--- a/baron/path.py
+++ b/baron/path.py
@@ -55,6 +55,10 @@ def left_of(position):
return position._replace(column = position.column - 1)
+def make_bounding_box(top_left = None, bottom_right = None):
+ return namedtuple("BoundingBox", ["t... | [mod] use namedtuple for bounding box | PyCQA_baron | train | py |
7c3fe91751ae78226dbed71aa1c0355d6a102794 | diff --git a/src/Frame.php b/src/Frame.php
index <HASH>..<HASH> 100644
--- a/src/Frame.php
+++ b/src/Frame.php
@@ -325,6 +325,14 @@ class Frame
$this->_style = null;
unset($this->_style);
$this->_style = clone $this->_original_style;
+
+ // If this represents a generated node then chil... | Clear generated content when frame is reset
CSS-defined content is created as children within a generated node during the reflow process. When a node is paged it will go through the reflow process again. This change removes any children from a generated node to prevent content duplication.
addresses #<I>
addresses #<... | dompdf_dompdf | train | php |
9d5e9f72c3a22102b74a04775aa7b9d9b47e63d5 | diff --git a/src/Statistics/Regression/LinearThroughPoint.php b/src/Statistics/Regression/LinearThroughPoint.php
index <HASH>..<HASH> 100644
--- a/src/Statistics/Regression/LinearThroughPoint.php
+++ b/src/Statistics/Regression/LinearThroughPoint.php
@@ -2,6 +2,8 @@
namespace Math\Statistics\Regression;
use Math\St... | Update LinearThroughPoint.php | markrogoyski_math-php | train | php |
130175d134fca259e171e7f67760bdf7760eaaf0 | diff --git a/test/simplehashregistrar_test.js b/test/simplehashregistrar_test.js
index <HASH>..<HASH> 100755
--- a/test/simplehashregistrar_test.js
+++ b/test/simplehashregistrar_test.js
@@ -554,6 +554,7 @@ describe('SimpleHashRegistrar', function() {
.then((done) => assert.fail("Expected exception"), (err) => asse... | Check that auctions can be finalized repeatedly | ensdomains_ens | train | js |
fb22ef665bf78370021a59e6fbb3bb5a0a44cb53 | diff --git a/src/Traits/Translatable.php b/src/Traits/Translatable.php
index <HASH>..<HASH> 100644
--- a/src/Traits/Translatable.php
+++ b/src/Traits/Translatable.php
@@ -224,7 +224,7 @@ trait Translatable
$locales = config('voyager.multilingual.locales', [$default]);
foreach ($locales as $locale) {... | Remove empty translations from $translations array (#<I>)
* Remove empty translations from array
Check if $translations array has empty locale value and remove them if any.
* a better way to filter empty values
instead of using if else segments, using array_filter is much better as emptynick suggested.
* U... | the-control-group_voyager | train | php |
55e475ee549c979a744e203d8425954659e8e1a0 | diff --git a/src/Everon/Domain/Entity.php b/src/Everon/Domain/Entity.php
index <HASH>..<HASH> 100644
--- a/src/Everon/Domain/Entity.php
+++ b/src/Everon/Domain/Entity.php
@@ -12,6 +12,7 @@ namespace Everon\Domain;
use Everon\Domain\Exception;
use Everon\Domain\Interfaces;
use Everon\Helper;
+use Everon\Interfaces\Ar... | made sure toArray() honors only one to one type relations | oliwierptak_Everon1 | train | php |
1aecb78dd18ac84c499225aaf8e4c72430eca047 | diff --git a/core/field_textinput.js b/core/field_textinput.js
index <HASH>..<HASH> 100644
--- a/core/field_textinput.js
+++ b/core/field_textinput.js
@@ -198,6 +198,7 @@ Blockly.FieldTextInput.prototype.onHtmlInputChange_ = function(e) {
this.sourceBlock_.render();
}
this.resizeEditor_();
+ Blockly.svgResi... | Fix issue #<I> by calling resize from the keypress handler on text inputs. (#<I>) | LLK_scratch-blocks | train | js |
216564213d100285227d94431a519005bff68223 | diff --git a/anyconfig/processors.py b/anyconfig/processors.py
index <HASH>..<HASH> 100644
--- a/anyconfig/processors.py
+++ b/anyconfig/processors.py
@@ -226,7 +226,8 @@ class Processors(object):
"""
return find_by_type(ptype, self.list(sort=False))
- def find(self, ipath, ptype=None, cls=anycon... | fix: correct the pylint's error, line-too-long in .processors | ssato_python-anyconfig | train | py |
b63eff3b60f3e286f5d063f70efcf6816a469538 | diff --git a/poem-jvm/src/java/org/b3mn/poem/handler/AccessHandler.java b/poem-jvm/src/java/org/b3mn/poem/handler/AccessHandler.java
index <HASH>..<HASH> 100644
--- a/poem-jvm/src/java/org/b3mn/poem/handler/AccessHandler.java
+++ b/poem-jvm/src/java/org/b3mn/poem/handler/AccessHandler.java
@@ -63,7 +63,8 @@ public clas... | AccessHandler: Public user cannot get write access rights anymore.
git-svn-id: <URL> | kiegroup_jbpm-designer | train | java |
6494088c30b4076b7b63c873d22c60e758ad26e5 | diff --git a/js/gateio.js b/js/gateio.js
index <HASH>..<HASH> 100755
--- a/js/gateio.js
+++ b/js/gateio.js
@@ -1866,7 +1866,7 @@ module.exports = class gateio extends Exchange {
type = market['type'];
} else {
if (type === 'swap' || type === 'future') {
- const settle =... | gateio fetchMyTrades safeStringLower restored | ccxt_ccxt | train | js |
9c29f4f87c69254c86b7c894b8a7221f4e2bbb49 | diff --git a/wasp-launcher.py b/wasp-launcher.py
index <HASH>..<HASH> 100755
--- a/wasp-launcher.py
+++ b/wasp-launcher.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
-# wasp_launcher.py
+# wasp-launcher.py
#
# Copyright (C) 2016 the wasp-launcher authors and contributors
# <see AUTHORS file>
@@ -36... | wasp-launcher.py: shutdown fix | a1ezzz_wasp-launcher | train | py |
c3d5815ccf1993692498e941c69f48d5ab1382e7 | diff --git a/abilian/app.py b/abilian/app.py
index <HASH>..<HASH> 100644
--- a/abilian/app.py
+++ b/abilian/app.py
@@ -18,6 +18,7 @@ from itertools import chain, count
import jinja2
import sqlalchemy as sa
import yaml
+from babel.dates import LOCALTZ
from flask import (Blueprint, Flask, _request_ctx_stack, abort,
... | set default TZ for celery to local timezone
celery's default to UTC. When scheduling task at fixed time (3am for
instance), it should always occur at 3am local time, with dst
consideration).
This default can be overriden in config with CELERY_TIMEZONE | abilian_abilian-core | train | py |
59a1e12fbea4e4ba11b00e2bfe2787bf39e19bba | diff --git a/buku.py b/buku.py
index <HASH>..<HASH> 100755
--- a/buku.py
+++ b/buku.py
@@ -736,7 +736,7 @@ class BukuDb:
print('Title: [%s]' % title)
self.cur.execute(query, (title, row[0],))
- print('Index %d updated\n' % row[0])
+ print('\x1B[92mIndex %d updated\x... | Check for None resp before logging. | jarun_Buku | train | py |
66edefd2595752d6b0da1fad0259e9c13e9cf9b9 | diff --git a/lib/runtime/adapter-read.js b/lib/runtime/adapter-read.js
index <HASH>..<HASH> 100644
--- a/lib/runtime/adapter-read.js
+++ b/lib/runtime/adapter-read.js
@@ -19,7 +19,7 @@ class AdapterRead {
}
// Common read options that should be supported by all adapters.
- static get commonOptions() { re... | Add -every and -lag as common options.
So they are supported by any adapter. | juttle_juttle | train | js |
ed8f731a65977c643eb7d4a4e967786ff740707f | diff --git a/subprojects/client-javafx/src/main/groovy/org/opendolphin/binding/JFXBinder.java b/subprojects/client-javafx/src/main/groovy/org/opendolphin/binding/JFXBinder.java
index <HASH>..<HASH> 100644
--- a/subprojects/client-javafx/src/main/groovy/org/opendolphin/binding/JFXBinder.java
+++ b/subprojects/client-jav... | see whether this makes cobertura showing <I>% again | canoo_open-dolphin | train | java |
8016de53053081ae6b7df0ad59341ccbcfa1f40a | diff --git a/www/src/py_builtin_functions.js b/www/src/py_builtin_functions.js
index <HASH>..<HASH> 100644
--- a/www/src/py_builtin_functions.js
+++ b/www/src/py_builtin_functions.js
@@ -406,7 +406,9 @@ function compile() {
root.parent_block = $B.builtins_scope
$B.parser.dispatch_tokens(root, $.source)
i... | Fixes bug in ast and compile() | brython-dev_brython | train | js |
81c7840b444adf271634a509b11fa4080e525919 | diff --git a/guava/src/com/google/common/collect/ForwardingNavigableMap.java b/guava/src/com/google/common/collect/ForwardingNavigableMap.java
index <HASH>..<HASH> 100644
--- a/guava/src/com/google/common/collect/ForwardingNavigableMap.java
+++ b/guava/src/com/google/common/collect/ForwardingNavigableMap.java
@@ -333,7... | Add missing @since+@Beta for nested class.
-------------
Created by MOE: <URL> | google_guava | train | java |
df6580927895613b7508ed860c99ca0865be282f | diff --git a/src/pusher_channels.js b/src/pusher_channels.js
index <HASH>..<HASH> 100644
--- a/src/pusher_channels.js
+++ b/src/pusher_channels.js
@@ -49,6 +49,7 @@
// inheritable constructor
init: function() {},
disconnect: function() {
+ this.subscribed = false;
this.emit("pusher_internal:d... | Set channel.subscribed to false on disconnection. | pusher_pusher-js | train | js |
c8afc2b64f19f579afd2a965bef79e1445ca6c77 | diff --git a/code/template/template.php b/code/template/template.php
index <HASH>..<HASH> 100644
--- a/code/template/template.php
+++ b/code/template/template.php
@@ -98,11 +98,11 @@ class Template extends TemplateAbstract
if ($this->invokeCommand('before.render', $context) !== false)
{
/... | Issue #<I>: Use $context->result | timble_kodekit | train | php |
b01127a604663fdbb6463b03bd1db7b412583886 | diff --git a/pyth/document.py b/pyth/document.py
index <HASH>..<HASH> 100644
--- a/pyth/document.py
+++ b/pyth/document.py
@@ -21,6 +21,11 @@ class _PythBase(object):
self.properties[key] = value
+ def __getitem__(self, key):
+ if key not in self.validProperties:
+ raise ValueError("In... | add __getitem__ method to PyBase object
This allow us to test the properties of the nodes, and is also more
symmetrical with the __setitem__ method. | brendonh_pyth | train | py |
109e6d4d7db2a19818aeafab6f5074793f2cc7df | diff --git a/lib/dm-core/model.rb b/lib/dm-core/model.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/model.rb
+++ b/lib/dm-core/model.rb
@@ -404,6 +404,8 @@ module DataMapper
value = record[property]
+ # TODO: typecasting should happen inside the Adapter
+ # and all values... | Added TODO to make sure the Adapter responsibility is clear wrt typecasting | datamapper_dm-core | train | rb |
3e474dd99bc088dbb92a5e50cb6567ed98e4067a | diff --git a/luma/core/cmdline.py b/luma/core/cmdline.py
index <HASH>..<HASH> 100644
--- a/luma/core/cmdline.py
+++ b/luma/core/cmdline.py
@@ -166,7 +166,7 @@ def create_parser(description):
interface_types = get_interface_types()
framebuffer_choices = get_choices('luma.core.framebuffer')
rotation_choice... | Add cmdline block orientation of <I> | rm-hull_luma.core | train | py |
64cdc69b117dabc9d138d41ab8bae28f274bfe95 | diff --git a/examples/consumer.php b/examples/consumer.php
index <HASH>..<HASH> 100644
--- a/examples/consumer.php
+++ b/examples/consumer.php
@@ -25,7 +25,7 @@ require_once("Auth/OpenID/OIDUtil.php");
*/
$store_type = 'file';
-if ($store_type = 'sqlite') {
+if ($store_type == 'sqlite') {
require_once("Auth... | [project @ Cleaned up bugs in example consumer] | openid_php-openid | train | php |
298ebeef8dcaded0ad76733aacb648f2a0c1a851 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -2,8 +2,8 @@ var split = require('browser-split')
var ClassList = require('class-list')
var htmlElement = require('html-element');
-var document = htmlElement.document;
-var Text = htmlElement.Text;
+var document = htmlEle... | oops: find document and Text in browser | hyperhype_hyperscript | train | js |
fe8056d31ee2be25f4a726a13804e14eac80f2c3 | diff --git a/tests/phpunit/unit/Events/StorageEventTest.php b/tests/phpunit/unit/Events/StorageEventTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/unit/Events/StorageEventTest.php
+++ b/tests/phpunit/unit/Events/StorageEventTest.php
@@ -33,4 +33,19 @@ class StorageEventTest extends BoltUnitTest
$this... | [Tests] StorageEvent::isCreate | bolt_bolt | train | php |
bc107f8087b146c006a1514c6617355854cbcec4 | diff --git a/lib/reform/contract/validate.rb b/lib/reform/contract/validate.rb
index <HASH>..<HASH> 100644
--- a/lib/reform/contract/validate.rb
+++ b/lib/reform/contract/validate.rb
@@ -13,21 +13,12 @@ module Reform::Contract::Validate
puts ">>> #{name.inspect}"
# TODO: rename to Groups::Validate
+ # ru... | start cleaning up.
seems to be working, though. | trailblazer_reform | train | rb |
1328d2218867bd54bb7647948d9b9cb2202a4638 | diff --git a/rapidoid-u/src/main/java/org/rapidoid/util/U.java b/rapidoid-u/src/main/java/org/rapidoid/util/U.java
index <HASH>..<HASH> 100644
--- a/rapidoid-u/src/main/java/org/rapidoid/util/U.java
+++ b/rapidoid-u/src/main/java/org/rapidoid/util/U.java
@@ -256,6 +256,11 @@ public class U {
return (items instanceof... | Added synchronized collection factory utils in U. | rapidoid_rapidoid | train | java |
0b9d60e774fc59817e607749d145a3bdb1b7b6b1 | diff --git a/store.go b/store.go
index <HASH>..<HASH> 100644
--- a/store.go
+++ b/store.go
@@ -1888,10 +1888,16 @@ func (s *store) layersByMappedDigest(m func(ROLayerStore, digest.Digest) ([]Laye
}
storeLayers, err := m(store, d)
if err != nil {
- return nil, err
+ if errors.Cause(err) != ErrLayerUnknown {... | Fix LayersBy*Digest with multiple layer stores
LayersByCompressedDigest and LayersByUncompressedDigest shouldn't fail
if one of the stores being consulted doesn't have any layers that match
the specified digest, since that's an expected possibility. | containers_storage | train | go |
697260a0f534d0f52123dc023f4b46ab9f14f4c0 | diff --git a/core/core.js b/core/core.js
index <HASH>..<HASH> 100644
--- a/core/core.js
+++ b/core/core.js
@@ -363,14 +363,15 @@ ColorPrototype.ahex = function() {
exports.addLazyProperty = function(proto, name, creator) {
var get = function(object) {
- var storage = object.__properties[name]
+ var properties = ... | minor optimisations:
- PropertyStorage._createStorage uses only 1 __properties lookup now (this one is really hot)
- addLazyProperty uses only 1 __properties lookup now | pureqml_qmlcore | train | js |
e6c117cc62386a562c8f742d2ecdc69e5ab20f56 | diff --git a/isort/main.py b/isort/main.py
index <HASH>..<HASH> 100644
--- a/isort/main.py
+++ b/isort/main.py
@@ -462,7 +462,7 @@ def _build_arg_parser() -> argparse.ArgumentParser:
"--skip-gitignore",
action="store_true",
dest="skip_gitignore",
- help="Treat project as a git resposit... | Fix repository mispelling in CLI command | timothycrosley_isort | train | py |
edd4dea23e8b82926ee896474f895b73a73b8c08 | diff --git a/src/php/wp-cli/commands/internals/export.php b/src/php/wp-cli/commands/internals/export.php
index <HASH>..<HASH> 100644
--- a/src/php/wp-cli/commands/internals/export.php
+++ b/src/php/wp-cli/commands/internals/export.php
@@ -270,7 +270,7 @@ class Export_Command extends WP_CLI_Command {
}
// grab a... | ORDER BY post_date and post_parent to avoid getting attachments stacked up front when doing an 'all' post_type export
<URL> | wp-cli_export-command | train | php |
ad4768e3c0a944afb75f056bee54f900b02f3b7d | diff --git a/ndio/remote/ndingest.py b/ndio/remote/ndingest.py
index <HASH>..<HASH> 100644
--- a/ndio/remote/ndingest.py
+++ b/ndio/remote/ndingest.py
@@ -334,7 +334,7 @@ class NDIngest:
except AssertionError:
raise ValueError('Timeseries values are the same, did you\
specify the ... | Update ndingest.py | neurodata_ndio | train | py |
0ce6be0e57135bf3b8fccec4fba92607171eff3b | diff --git a/lib/Cake/Database/Schema/Collection.php b/lib/Cake/Database/Schema/Collection.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Database/Schema/Collection.php
+++ b/lib/Cake/Database/Schema/Collection.php
@@ -89,7 +89,10 @@ class Collection {
}
$table = new Table($name);
- $fieldParams = $this->_dial... | Requiring the definition of empty methods is annoying.
Use method_exists() to make optional methods optional. | cakephp_cakephp | train | php |
f7f6988234bf951bcf935337db143d92d9035b39 | diff --git a/src/com/caverock/androidsvg/SVG.java b/src/com/caverock/androidsvg/SVG.java
index <HASH>..<HASH> 100644
--- a/src/com/caverock/androidsvg/SVG.java
+++ b/src/com/caverock/androidsvg/SVG.java
@@ -76,7 +76,7 @@ public class SVG
{
private static final String TAG = "AndroidSVG";
- private static fi... | Updated version number to <I>-beta-2 | BigBadaboom_androidsvg | train | java |
457e6abf770e5dbf6beab9e3ba715ab7d973235b | diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/HttpKernel/Kernel.php
+++ b/src/Symfony/Component/HttpKernel/Kernel.php
@@ -59,12 +59,12 @@ abstract class Kernel implements KernelInterface, TerminableInterface... | bumped Symfony version to <I>-DEV-DEV | symfony_symfony | train | php |
65a939be6da97915a4ecc92ed6af15f580457e88 | diff --git a/index.php b/index.php
index <HASH>..<HASH> 100755
--- a/index.php
+++ b/index.php
@@ -1,7 +1,7 @@
<?php
/*
- * This file is part of Linfo (c) 2010-2013 Joseph Gillotti.
+ * This file is part of Linfo (c) 2010-2015 Joseph Gillotti.
*
* Linfo is free software: you can redistribute it and/or modify
... | Don't give URL specific key not found errors when called from CLI | jrgp_linfo | train | php |
5f4590024542b5faa545cefeec08b90d40f31ccf | diff --git a/spec/serializer_spec.rb b/spec/serializer_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/serializer_spec.rb
+++ b/spec/serializer_spec.rb
@@ -162,10 +162,6 @@ describe JsDuck::Serializer do
end
describe "adds parenthesis correctly on" do
- it "assignment expression" do
- test("(foo, bar) = ... | Remove Serializer tests which no more apply to esprima.
Esprima now rejects those pieces of code as invalid JavaScript. | senchalabs_jsduck | train | rb |
1f1fc6c6a8d77b79208aa7bcb16e38d05d342029 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -74,7 +74,7 @@ setup(
include_package_data=True,
install_requires=['sovrin-common-dev==0.2.80', 'anoncreds-dev==0.3.8'],
setup_requires=['pytest-runner'],
- tests_require=['pytest', 'sovrin-node-dev==0.3.127'... | up node version to <I> | hyperledger-archives_indy-client | train | py |
6d854767e182ba48a83adc3121f94cc8d1c4c945 | diff --git a/lib/ambry.rb b/lib/ambry.rb
index <HASH>..<HASH> 100644
--- a/lib/ambry.rb
+++ b/lib/ambry.rb
@@ -52,3 +52,5 @@ module Ambry
end
end
end
+
+Ambry::Adapter.new | Always create an in-memory adapter by default
Closes GH #3 | norman_ambry | train | rb |
21c11c47ff68212e58bff2ecc18a520be42fcfc3 | diff --git a/test/kg/apc/jmeter/charting/GraphPanelChartTest.java b/test/kg/apc/jmeter/charting/GraphPanelChartTest.java
index <HASH>..<HASH> 100644
--- a/test/kg/apc/jmeter/charting/GraphPanelChartTest.java
+++ b/test/kg/apc/jmeter/charting/GraphPanelChartTest.java
@@ -234,4 +234,16 @@ public class GraphPanelChartTest... | Added Y Axis scale for better readability. Added Chart Types, for special Y Axis display (percentage for cpu graph). The feature can be disabled globally. | undera_jmeter-plugins | train | java |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.