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 |
|---|---|---|---|---|---|
03d897d7adb687b4d09786d71208dd8515399023 | diff --git a/src/Cloudinary.php b/src/Cloudinary.php
index <HASH>..<HASH> 100644
--- a/src/Cloudinary.php
+++ b/src/Cloudinary.php
@@ -748,6 +748,8 @@ class Cloudinary {
"public_ids" => \Cloudinary::build_array(\Cloudinary::option_get($options, "public_ids")),
"prefixes" => \Cloudinary::build_... | Added the skip_transformation_name and allow_missing params to the build_archive_params function | cloudinary_cloudinary_php | train | php |
4d44752847d748f7c56af57e1de436700219cc3c | diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index <HASH>..<HASH> 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -423,6 +423,7 @@ const options = [
description: 'Whether to add digests to Dockerfile source images',
stage: 'package',
type: 'boolean',
+ d... | feat: disable pinDigests by default | renovatebot_renovate | train | js,js |
f5e3cd891f59a4aa2db3b04fd14cb3e243a1ca52 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ install_requires = [
"pytz",
"python-dateutil<3.0.0,>=2.1",
"responses>=0.9.0",
- "MarkupSafe<2.0", # This is a Jinja2 dependency, 2.0.0a1 currently seems broken
+ "MarkupSafe!=2.0.0a1", #... | fix MarkupSafe and Jinja2 dependency (#<I>) | spulec_moto | train | py |
a309169d21fad768ca1530de22a0b6cd058fd3e9 | diff --git a/lib/zmq_service.js b/lib/zmq_service.js
index <HASH>..<HASH> 100644
--- a/lib/zmq_service.js
+++ b/lib/zmq_service.js
@@ -9,7 +9,8 @@
var ZMQService = function(configuration){
var defaults = {
broker: 'tcp://127.0.0.1:5560',
- heartbeat: 1000
+ heartbeat: 1000,
+ sid: null
... | added default sid property to null | micro-toolkit_zmq-service-suite-message-js | train | js |
3d58bc85b4dd5bedb5e1c1f17ed4eb547713ed02 | diff --git a/aws/resource_aws_lb_target_group_attachment.go b/aws/resource_aws_lb_target_group_attachment.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_lb_target_group_attachment.go
+++ b/aws/resource_aws_lb_target_group_attachment.go
@@ -81,6 +81,9 @@ func resourceAwsLbAttachmentCreate(d *schema.ResourceData, ... | Adds check for timeout after retry | terraform-providers_terraform-provider-aws | train | go |
e459864cde1f9e18012fd1493d8b524989411060 | diff --git a/lib/runner.js b/lib/runner.js
index <HASH>..<HASH> 100644
--- a/lib/runner.js
+++ b/lib/runner.js
@@ -14,6 +14,23 @@ var cli = require('cli'),
url = require('url');
/**
+ * Return user agent to be used by analyze-css when making HTTP requests (issue #75)
+ */
+function getUserAgent() {
+ var format = ... | Set user agent
Resolves #<I> | macbre_analyze-css | train | js |
77a98087d90b6414a418b715e3d4d67036f1e132 | diff --git a/lib/schema_comments/version.rb b/lib/schema_comments/version.rb
index <HASH>..<HASH> 100644
--- a/lib/schema_comments/version.rb
+++ b/lib/schema_comments/version.rb
@@ -1,3 +1,3 @@
module SchemaComments
- VERSION = "0.4.3"
+ VERSION = "0.5.0"
end | Bump up minor version from <I> to <I> | akm_schema_comments | train | rb |
b8ff3a0971e6725651775f8fb42596e5c9d72d66 | diff --git a/brain.go b/brain.go
index <HASH>..<HASH> 100644
--- a/brain.go
+++ b/brain.go
@@ -10,7 +10,7 @@ import (
// Brain is what Template uses to determine the values that are
// available for template parsing.
type Brain struct {
- sync.Mutex
+ sync.RWMutex
// data is the map of individual dependencies (b... | Use a RWLock on the Brain | hashicorp_consul-template | train | go |
ac06cf308d59a7aecab9f27c0049d85bb9d843c8 | diff --git a/src/Jaguar/Canvas/CanvasInterface.php b/src/Jaguar/Canvas/CanvasInterface.php
index <HASH>..<HASH> 100644
--- a/src/Jaguar/Canvas/CanvasInterface.php
+++ b/src/Jaguar/Canvas/CanvasInterface.php
@@ -163,7 +163,7 @@ interface CanvasInterface {
*
* @return \Jaguar\Canvas\CanvasInterface self
... | Made "fromString" method throw CanvasCreationException on failure | hyyan_jaguar | train | php |
6c2332e8d95c4d2e0a9480e6ebad1b1f1614e1c5 | diff --git a/lib/jazzy/sourcekitten.rb b/lib/jazzy/sourcekitten.rb
index <HASH>..<HASH> 100644
--- a/lib/jazzy/sourcekitten.rb
+++ b/lib/jazzy/sourcekitten.rb
@@ -120,7 +120,10 @@ module Jazzy
# Run sourcekitten with given arguments and return STDOUT
def self.run_sourcekitten(arguments)
- xcode = XCInv... | [SourceKitten] Print a friendly error when unable to find an Xcode for the given swift version | realm_jazzy | train | rb |
791915d4b58ec71083c5a0549053f3300db8d59f | diff --git a/Flame/Modules/DI/ModulesExtension.php b/Flame/Modules/DI/ModulesExtension.php
index <HASH>..<HASH> 100644
--- a/Flame/Modules/DI/ModulesExtension.php
+++ b/Flame/Modules/DI/ModulesExtension.php
@@ -25,8 +25,8 @@ class ModulesExtension extends NamedExtension
*/
public function loadConfiguration()
{
+... | Refactoring - usage of container builder | flame-org_Modules | train | php |
62e94895da80838ec694b4ba19eeac80c9dc88c1 | diff --git a/params/version.go b/params/version.go
index <HASH>..<HASH> 100644
--- a/params/version.go
+++ b/params/version.go
@@ -21,10 +21,10 @@ import (
)
const (
- VersionMajor = 1 // Major version component of the current release
- VersionMinor = 8 // Minor version component of the current releas... | params, swarm: begin geth <I> and swarm <I> cycle | ethereum_go-ethereum | train | go,go |
7f3d1e53d1d6b3ef5501c5ee817859a99dc69008 | diff --git a/intranet/apps/eighth/models.py b/intranet/apps/eighth/models.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/eighth/models.py
+++ b/intranet/apps/eighth/models.py
@@ -1410,7 +1410,7 @@ class EighthScheduledActivity(AbstractBaseEighthModel):
after_deadline=after_deadline,
... | fix(eighth): don't count on request being passed in add_user() | tjcsl_ion | train | py |
efa1c59588dd4146ece42412b65ad3013f466a31 | diff --git a/graphdb/src/main/java/com/orientechnologies/orient/graph/server/http/OHttpGraphResponse.java b/graphdb/src/main/java/com/orientechnologies/orient/graph/server/http/OHttpGraphResponse.java
index <HASH>..<HASH> 100755
--- a/graphdb/src/main/java/com/orientechnologies/orient/graph/server/http/OHttpGraphRespon... | Added context config to super call | orientechnologies_orientdb | train | java |
7c9178a940189fc1eb87c1cd5c9c5e2607b02eb1 | diff --git a/lib/Channel.js b/lib/Channel.js
index <HASH>..<HASH> 100644
--- a/lib/Channel.js
+++ b/lib/Channel.js
@@ -515,8 +515,8 @@ function ChannelStream(channel) {
this._sockOnEnd = function() {
self.writable = false;
self.readable = false;
- channel._conn._sock.removeListener('end', this._sockOnEn... | channel: fix incorrect 'this' usage | mscdex_ssh2 | train | js |
f405f0ec6f0766bf66bc77d1450579c61f587979 | diff --git a/packages/amazon-cognito-identity-js/src/CognitoUserPool.js b/packages/amazon-cognito-identity-js/src/CognitoUserPool.js
index <HASH>..<HASH> 100644
--- a/packages/amazon-cognito-identity-js/src/CognitoUserPool.js
+++ b/packages/amazon-cognito-identity-js/src/CognitoUserPool.js
@@ -19,6 +19,8 @@ import Clie... | fix(amazon-cognito-identity-js): Fix UserPoolId validation ReDoS (#<I>) | aws-amplify_amplify-js | train | js |
644d9a28fd91f0381620c3e21e7cf8fb5ffad2cb | diff --git a/core/src/main/java/hudson/model/Slave.java b/core/src/main/java/hudson/model/Slave.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/Slave.java
+++ b/core/src/main/java/hudson/model/Slave.java
@@ -437,7 +437,7 @@ public abstract class Slave extends Node implements Serializable {
... | Doeth! I meant to have this as warning | jenkinsci_jenkins | train | java |
d584ea74264ad1c29801c81f303e9a493ecf3796 | diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/extract.py
+++ b/openquake/calculators/extract.py
@@ -497,8 +497,10 @@ def extract_sources(dstore, what):
raise ValueError('There is no source model #%d' % sm_id)
wkt_gz... | Fixed extract_sources [skip hazardlib] | gem_oq-engine | train | py |
32bfaeb455dd9d116ddff6fe99c606a97b85e053 | diff --git a/environs/sshstorage/storage_test.go b/environs/sshstorage/storage_test.go
index <HASH>..<HASH> 100644
--- a/environs/sshstorage/storage_test.go
+++ b/environs/sshstorage/storage_test.go
@@ -178,7 +178,7 @@ func (s *storageSuite) TestWriteFailure(c *gc.C) {
invocations++
switch invocations {
case 1... | environs/sshstorage: fix intermittent test failure
The initial "bash" command was changed at some
point from being all-on-the-command-line to bash
executing a script on stdin. The test changes to
reflect that.
Fixes <URL> | juju_juju | train | go |
5317c3d49234945e082c6caca15495c5c69f3dec | diff --git a/src/browser/extension/inject/contentScript.js b/src/browser/extension/inject/contentScript.js
index <HASH>..<HASH> 100644
--- a/src/browser/extension/inject/contentScript.js
+++ b/src/browser/extension/inject/contentScript.js
@@ -3,7 +3,7 @@ import { getOptionsFromBg, isAllowed } from '../options/syncOptio... | Prevent double options requesting when injecting in Chrome extensions | zalmoxisus_redux-devtools-extension | train | js |
1dc5e75fad47f8cf253b5c430e4e9cae98893b7f | diff --git a/plenum/server/primary_selector.py b/plenum/server/primary_selector.py
index <HASH>..<HASH> 100644
--- a/plenum/server/primary_selector.py
+++ b/plenum/server/primary_selector.py
@@ -21,6 +21,8 @@ class PrimarySelector(PrimaryDecider):
super().__init__(node)
self.previous_master_primary = ... | add base implementation for sending view change done message | hyperledger_indy-plenum | train | py |
35898fa727389e0c277982bb8d09f76b7180d08f | diff --git a/cv/internal/migration/run.go b/cv/internal/migration/run.go
index <HASH>..<HASH> 100644
--- a/cv/internal/migration/run.go
+++ b/cv/internal/migration/run.go
@@ -258,7 +258,7 @@ func fetchAttempt(ctx context.Context, key string) (*run.Run, error) {
sb.WriteRune(' ')
sb.WriteString(string(r.ID))
... | [cv][migration] it's not a bug if >1 Run match attempt key.
This actually may happen, but should be a rare occurrence.
We may tighten it up in Project Manager to avoid creation
such Runs in the future.
R=qyearsley, yiwzhang
Change-Id: Ie1e0f<I>af6bb<I>e5cf1f<I>e<I>c<I>aebd1b
Reviewed-on: <URL> | luci_luci-go | train | go |
89b928d897d1b7a578e23b110bc04f06f0361c4c | diff --git a/src/Elements/IODEFDocument.php b/src/Elements/IODEFDocument.php
index <HASH>..<HASH> 100644
--- a/src/Elements/IODEFDocument.php
+++ b/src/Elements/IODEFDocument.php
@@ -16,7 +16,7 @@ class IODEFDocument extends IodefElement
{
$this->attributes = [
'version' => '1.00',
- ... | Fixed default language
The default language was set in an incorrect format. | marknl_iodef | train | php |
aa87eb63df32b171e1c4ca6bd25b98e2f1c8ee94 | diff --git a/spec/em-ftpd/configurator_spec.rb b/spec/em-ftpd/configurator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/em-ftpd/configurator_spec.rb
+++ b/spec/em-ftpd/configurator_spec.rb
@@ -1,4 +1,5 @@
require 'spec_helper'
+require 'ostruct'
describe EM::FTPD::Configurator do
describe "initialization" do... | reduce the fragility of a test double
* all we care about is that an object that responds to #uid is returned,
so just use an OpenStruct | yob_em-ftpd | train | rb |
41af4294c1347c2f35e255d4ac01ecd25b9d5d55 | diff --git a/prune.go b/prune.go
index <HASH>..<HASH> 100644
--- a/prune.go
+++ b/prune.go
@@ -49,7 +49,7 @@ func (r *Repository) Prune(opt PruneOptions) error {
}
// Otherwise it is a candidate for pruning.
// Check out for too new objects next.
- if opt.OnlyObjectsOlderThan != (time.Time{}) {
+ if !opt.Onl... | use time.IsZero in Prune | src-d_go-git | train | go |
5d3b0365f8b9d4b77cd62f0e53f2d0c774a345c0 | diff --git a/lib/PathFinder.php b/lib/PathFinder.php
index <HASH>..<HASH> 100644
--- a/lib/PathFinder.php
+++ b/lib/PathFinder.php
@@ -286,11 +286,12 @@ class PathFinder_Location extends AbstractModel {
}else
throw new BaseException('Unable to determine URL');
- if($file_path)... | avoid paths/like/./with/dot/in/them | atk4_atk4 | train | php |
f7956db8f45f0d9dc37bce8917f39ba2d6898b0a | diff --git a/src/Event.php b/src/Event.php
index <HASH>..<HASH> 100644
--- a/src/Event.php
+++ b/src/Event.php
@@ -62,7 +62,7 @@ class Event
$this->end = $end;
$this->start = $start;
- $owner->addEvent($event);
+ $owner->addEvent($this);
$calendar->getEvents()->add($this);
... | Return an event when hydrating one | Calendart_CalendArt | train | php,php |
54a2019b9840d8f90fb238e6ea1f790919a83a74 | diff --git a/lib/dragonfly/app.rb b/lib/dragonfly/app.rb
index <HASH>..<HASH> 100644
--- a/lib/dragonfly/app.rb
+++ b/lib/dragonfly/app.rb
@@ -206,6 +206,7 @@ module Dragonfly
end
def ext_for(mime_type)
+ return 'txt' if mime_type == 'text/plain'
ext = mime_types.key(mime_type)
ext.tr('.'... | an exception for text/plain in App#ext_for | markevans_dragonfly | train | rb,rb |
a14c941da83390162309f306ddb227ad4ef200ea | diff --git a/src/Adapters/Adapter.php b/src/Adapters/Adapter.php
index <HASH>..<HASH> 100644
--- a/src/Adapters/Adapter.php
+++ b/src/Adapters/Adapter.php
@@ -281,7 +281,7 @@ abstract class Adapter
*/
public function getProviderIcons()
{
- return call_user_func("{$this->imageClass}::getImagesInfo... | Passed configuration to ImageInfo class from Adapter | oscarotero_Embed | train | php |
e69c71b6e453caacdad29a9c887c1b93fbd33f7f | diff --git a/src/Orangehill/Iseed/Iseed.php b/src/Orangehill/Iseed/Iseed.php
index <HASH>..<HASH> 100644
--- a/src/Orangehill/Iseed/Iseed.php
+++ b/src/Orangehill/Iseed/Iseed.php
@@ -180,11 +180,11 @@ class Iseed {
$databaseSeederPath = app_path() . \Config::get('iseed::path') . '/DatabaseSeeder.php';
... | Update Iseed.php
Checking if class UsersTableSeeder is in file content insted of real class name | orangehill_iseed | train | php |
c5115b7f611aaed5e7d9d7886776283071236152 | diff --git a/quarkc/backend.py b/quarkc/backend.py
index <HASH>..<HASH> 100644
--- a/quarkc/backend.py
+++ b/quarkc/backend.py
@@ -841,7 +841,7 @@ class Java(Backend):
return None
def install_command(self, dir, offline):
- cmd = ["mvn", "install"]
+ cmd = ["mvn", "install", "-DskipTests"]
... | We don't have unit tests, so don't bother trying to run them (especially since it breaks on Travis sometime). | datawire_quark | train | py |
8dcea3963abdd87c7a12378f33b6eb9a22890354 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -266,7 +266,7 @@ function cleantext($text) {
// Given raw text (eg typed in by a user), this function cleans it up
// and removes any nasty tags that could mess up Moodle pages.
- return strip_t... | Added a few more allowed HTML tags in plain text files. <dl> <h1><h2><h3> <hr> | moodle_moodle | train | php |
3f4c0f275c428154b1ec48ed8b406522bbd03509 | diff --git a/test/test_newrpc_novacompat.py b/test/test_newrpc_novacompat.py
index <HASH>..<HASH> 100644
--- a/test/test_newrpc_novacompat.py
+++ b/test/test_newrpc_novacompat.py
@@ -15,8 +15,8 @@ import newrpc
from newrpc import memory
memory.patch()
-essexonly = pytest.mark.skipif("'2012.1' <="
- " nova.ve... | invert skip logic for nova.version | nameko_nameko | train | py |
388f4e8b032fe71ccc9a16d84d7c2064c80575b3 | diff --git a/tests/secrets/test_secrets.py b/tests/secrets/test_secrets.py
index <HASH>..<HASH> 100644
--- a/tests/secrets/test_secrets.py
+++ b/tests/secrets/test_secrets.py
@@ -94,10 +94,10 @@ class TestConnectionsFromSecrets(unittest.TestCase):
)
@mock.patch(
"airflow.providers.amazon.aws.secrets.... | Fix mocking the right method in secret backend test (#<I>)
The #<I> introduced a change on how connections are retrieved
from secret backends, but one of the tests has not been
changed to follow.
This fixes failing main. | apache_airflow | train | py |
fe2d9ee0f69a96b78edf595e626138f416e26030 | diff --git a/script/lib/config.py b/script/lib/config.py
index <HASH>..<HASH> 100644
--- a/script/lib/config.py
+++ b/script/lib/config.py
@@ -8,7 +8,7 @@ import sys
BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \
'http://github-janky-artifacts.s3.amazonaws.com/libchromiumcontent'
-LIBCHROMIUMCONTENT_COM... | Update libchromium to have the V8 patch | electron_electron | train | py |
25c4e452b4f047ee28b196c8e5bb5efc6160ed04 | diff --git a/lib/facebook.js b/lib/facebook.js
index <HASH>..<HASH> 100644
--- a/lib/facebook.js
+++ b/lib/facebook.js
@@ -186,6 +186,7 @@ var destroySession = module.exports.destroySession = function(req, res, clearCoo
});
if(req.facebook) {
+ req.facebook._setAccessToken(null);
delete req.facebook;
}
c... | Need to invalid access token in facebook object first in case someone holding a reference to it. | vanng822_facebook-nodejs | train | js |
d67aaff74ab8cbb574666a1be44045f47bc80716 | diff --git a/lib/vagrant/machine/remote.rb b/lib/vagrant/machine/remote.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/machine/remote.rb
+++ b/lib/vagrant/machine/remote.rb
@@ -370,8 +370,8 @@ module Vagrant
synced_folder_clients.each do |f|
next if f[:folder][:disabled]
# TODO: get typ... | Set the client using keyword for synced folder | hashicorp_vagrant | train | rb |
7ddb5994f974206696c90067f21f8a014771e9f4 | diff --git a/src/de/lmu/ifi/dbs/algorithm/KDDTask.java b/src/de/lmu/ifi/dbs/algorithm/KDDTask.java
index <HASH>..<HASH> 100644
--- a/src/de/lmu/ifi/dbs/algorithm/KDDTask.java
+++ b/src/de/lmu/ifi/dbs/algorithm/KDDTask.java
@@ -280,7 +280,7 @@ public class KDDTask implements Parameterizable
{
if(initialize... | call of run() adapted to Interface change | elki-project_elki | train | java |
55b49cdb6fa3c374fb058fed0cefb1d9fdde9c54 | diff --git a/post-processor/compress/post-processor_test.go b/post-processor/compress/post-processor_test.go
index <HASH>..<HASH> 100644
--- a/post-processor/compress/post-processor_test.go
+++ b/post-processor/compress/post-processor_test.go
@@ -235,6 +235,7 @@ func TestArchive(t *testing.T) {
},
}
+ tmpArchive... | Update output directory used in TestArchive (#<I>)
This change uses a different as part of the TestArchive output path to fix
an intermittently failing test case on Windows caused by using the same
output name across test cases.
Originally tired to use t.TempDir() to gt a temp path but ran into
errors with pars... | hashicorp_packer | train | go |
1d5f7a41470c6375801738c82c8d2c2a82f2ad0f | diff --git a/lib/maruku/string_utils.rb b/lib/maruku/string_utils.rb
index <HASH>..<HASH> 100644
--- a/lib/maruku/string_utils.rb
+++ b/lib/maruku/string_utils.rb
@@ -83,17 +83,17 @@ module MaRuKu
# whitespace, followed by ('*'|'+'|'-') followed by
# more whitespace, followed by an optional IAL, f... | Fix parsing of IALs in lists
This seems to have gotten broken
in Hollis's updates. Dunno why --
there were TESTS for it. | bhollis_maruku | train | rb |
a7b5d45bdf22fe89c7d2dc2aa119429fbd7030c1 | diff --git a/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java b/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java
index <HASH>..<HASH> 100644
--- a/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java
+++ b/transport/src/main/java/io/netty/channel/nio/NioEventLoop.java
@@ -141,8 +14... | A little bit of optimization that reduces interestOps() calls | netty_netty | train | java |
d6f53a195de8f2648c1aa342281dd04e45f0f7cd | diff --git a/src/base/GlobalSetProcessor.php b/src/base/GlobalSetProcessor.php
index <HASH>..<HASH> 100644
--- a/src/base/GlobalSetProcessor.php
+++ b/src/base/GlobalSetProcessor.php
@@ -58,7 +58,7 @@ class GlobalSetProcessor extends Processor
* @throws \Throwable
*/
public function setFieldLayout($ite... | Fix setting global sets' field layout. Set globalSet successful so that it will be post processed. #<I> | Pennebaker_craft-architect | train | php,php |
ef8ca8f01e726628b6e331251150b32a3fde1a2f | diff --git a/start_jupyter_cm/gnome.py b/start_jupyter_cm/gnome.py
index <HASH>..<HASH> 100644
--- a/start_jupyter_cm/gnome.py
+++ b/start_jupyter_cm/gnome.py
@@ -54,8 +54,12 @@ def add_jupyter_here():
f.write(script % (PATH, terminal, PATH, terminal))
st = os.stat(script_path)
... | Put setting the icon in a try, except block: | hyperspy_start_jupyter_cm | train | py |
cd0a28ddfaf878a9aa0a8d56a557ed5950d94f4c | diff --git a/tests/unit/manager_test.py b/tests/unit/manager_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/manager_test.py
+++ b/tests/unit/manager_test.py
@@ -23,3 +23,15 @@ class TestManager:
@raises(ValueError)
def test_weather_to_text_invalid_input_String(self):
weather_text = self.manager... | Add unit tests for Manager._visibility_to_text | jacobtomlinson_datapoint-python | train | py |
e80a8314a8174f49be3708a1dd149901efbd3cba | diff --git a/src/Gica/Types/Guid.php b/src/Gica/Types/Guid.php
index <HASH>..<HASH> 100644
--- a/src/Gica/Types/Guid.php
+++ b/src/Gica/Types/Guid.php
@@ -97,6 +97,15 @@ class Guid
}
/**
+ * @param $string
+ * @return static
+ */
+ public static function fromHexaString(string $string)
+ {
... | added \Gica\Types\Guid::fromHexaString | xprt64_types | train | php |
9e92600a1a77d1358fe1e4762a907b9ee9e538c6 | diff --git a/lib/active_record/mass_assignment_security/inheritance.rb b/lib/active_record/mass_assignment_security/inheritance.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/mass_assignment_security/inheritance.rb
+++ b/lib/active_record/mass_assignment_security/inheritance.rb
@@ -9,10 +9,10 @@ module ActiveRe... | Fix subclass verification of inheritance column with protected attrs
After rails/rails@8a<I>f<I>b<I>e<I>bae<I>c0ab3dd9e<I>cb<I>, the
implementation that builds the subclass based on the inheritance column
attribute has changed to fix a bug, and the method name followed this
change.
This updates the method name to mat... | rails_protected_attributes | train | rb |
cfabf4ffb2d032a7e7f481712035807494af2c92 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -140,7 +140,7 @@ setup(
extras_require = {
'keyword_indexing': [
'many_stop_words',
- 'sklearn',
+ 'scikit-learn',
'mmh3',
],
}, | Correct scikit-learn dependency with keyword_indexing | trec-kba_streamcorpus-pipeline | train | py |
f5bfedd951a5db1d939f84814712436aa9608817 | diff --git a/lib/Thulium/Utilities/Arrays.php b/lib/Thulium/Utilities/Arrays.php
index <HASH>..<HASH> 100644
--- a/lib/Thulium/Utilities/Arrays.php
+++ b/lib/Thulium/Utilities/Arrays.php
@@ -91,15 +91,13 @@ class Arrays
public static function groupBy(array $elements, $keyFunction, $orderField = null)
{
... | Optimized arrays group by sorting. | letsdrink_ouzo | train | php |
49b1a4670cac686cd5d9ace3afacab4f970afbe3 | diff --git a/pex/version.py b/pex/version.py
index <HASH>..<HASH> 100644
--- a/pex/version.py
+++ b/pex/version.py
@@ -4,4 +4,4 @@
__version__ = '1.1.1'
SETUPTOOLS_REQUIREMENT = 'setuptools>=2.2,<20'
-WHEEL_REQUIREMENT = 'wheel>=0.24.0,<0.25.0'
+WHEEL_REQUIREMENT = 'wheel>=0.24.0,<0.27.0' | Bump wheel version pinning. | pantsbuild_pex | train | py |
0c8eaabd7a823771f8d060521998fcf8f3f647fa | diff --git a/AlphaTwirl/Counter/KeyValueComposer.py b/AlphaTwirl/Counter/KeyValueComposer.py
index <HASH>..<HASH> 100755
--- a/AlphaTwirl/Counter/KeyValueComposer.py
+++ b/AlphaTwirl/Counter/KeyValueComposer.py
@@ -48,7 +48,6 @@ class KeyValueComposer(object):
varis = self._unzip_and_read_event_attributes(se... | call _apply_binnings() later in KeyValueComposer | alphatwirl_alphatwirl | train | py |
7291ed55f887ffdd4a83f2a9b069afdd4ae8620f | diff --git a/ironman/constructs/ipbus.py b/ironman/constructs/ipbus.py
index <HASH>..<HASH> 100644
--- a/ironman/constructs/ipbus.py
+++ b/ironman/constructs/ipbus.py
@@ -47,7 +47,10 @@ Struct detailing the Control Header logic
ControlStruct = "ControlTransaction" / Struct(
"header" / IfThenElse... | update ipbus to start dealing with responses as well | kratsg_ironman | train | py |
bc853ad309054d1d16be4056be033a7d39a33ed7 | diff --git a/lib/util/package-rules.js b/lib/util/package-rules.js
index <HASH>..<HASH> 100644
--- a/lib/util/package-rules.js
+++ b/lib/util/package-rules.js
@@ -164,7 +164,7 @@ function applyPackageRules(inputConfig) {
currentValue && isVersion(currentValue)
? currentValue // it's a version so we ... | fix(package-rules): check compareVersion is a version first
Closes #<I> | renovatebot_renovate | train | js |
8b3294c86176239ee93f4437ef6b55fe53e045bd | diff --git a/go/vt/vtadmin/cluster/flags.go b/go/vt/vtadmin/cluster/flags.go
index <HASH>..<HASH> 100644
--- a/go/vt/vtadmin/cluster/flags.go
+++ b/go/vt/vtadmin/cluster/flags.go
@@ -127,7 +127,12 @@ func parseOne(cfg *Config, name string, val string) error {
cfg.DiscoveryImpl = val
default:
if strings.HasPrefi... | Bugfix to handle uninitialized map case | vitessio_vitess | train | go |
1b3ac5a76d48c0477c50e59c066c9e697987b230 | diff --git a/lib/github3.js b/lib/github3.js
index <HASH>..<HASH> 100644
--- a/lib/github3.js
+++ b/lib/github3.js
@@ -82,6 +82,21 @@ github3._put = function(path, body, callback) {
callback);
}
+github3._patch = function(path, body, callback) {
+ var
+ body = body || '{}'
+ this._request({
+ uri:path,
+... | closePullRequest function
A new function, github3.closePullRequest function, which closes pull
request without merging. | edwardhotchkiss_github3 | train | js |
ab0449e32cb75749718ef84f540b1eae8c9a2538 | diff --git a/lib/stellar_base.rb b/lib/stellar_base.rb
index <HASH>..<HASH> 100644
--- a/lib/stellar_base.rb
+++ b/lib/stellar_base.rb
@@ -16,9 +16,11 @@ module StellarBase
with_configuration do
has :horizon_url, default: "https://horizon.stellar.org"
has :modules, default: [:bridge_callbacks]
+
+ has :... | Add 'check_bridge_callbacks_mac_payload' and 'bridge_callbacks_mac_key' configuration keys | bloom-solutions_stellar_base-rails | train | rb,rb |
a3fc32ca8f8a5c13e0d8ee48df1cb988b99e68a4 | diff --git a/src/Kernel/Application.php b/src/Kernel/Application.php
index <HASH>..<HASH> 100755
--- a/src/Kernel/Application.php
+++ b/src/Kernel/Application.php
@@ -61,6 +61,8 @@ class Application extends Container
public function boot()
{
+ if ($this->booted) return;
+
$this->addProvid... | If we've already booted, don't boot again | encorephp_kernel | train | php |
46bac9d899b1fa860311130c470db20923b814de | diff --git a/lib/wongi-engine/beta/join_node.rb b/lib/wongi-engine/beta/join_node.rb
index <HASH>..<HASH> 100644
--- a/lib/wongi-engine/beta/join_node.rb
+++ b/lib/wongi-engine/beta/join_node.rb
@@ -83,7 +83,7 @@ module Wongi
def refresh_child child
tmp = children
self.children = [ child ]
- ... | Revert the quick fix of #4
This reverts commit ae<I>c<I>edd4a<I>d<I>ac5ae<I>b. | ulfurinn_wongi-engine | train | rb |
ad68f16b89106a4b7e8e6806065d18eddd1c694f | diff --git a/pymc3/__init__.py b/pymc3/__init__.py
index <HASH>..<HASH> 100644
--- a/pymc3/__init__.py
+++ b/pymc3/__init__.py
@@ -1,5 +1,5 @@
# pylint: disable=wildcard-import
-__version__ = "3.5"
+__version__ = "3.6.rc1"
from .blocking import *
from .distributions import * | Update verison to <I>.rc1. | pymc-devs_pymc | train | py |
e8ac0f293e5e8a957e95c5ae72eefb0bf4d1be0e | diff --git a/go/table.go b/go/table.go
index <HASH>..<HASH> 100644
--- a/go/table.go
+++ b/go/table.go
@@ -26,7 +26,8 @@ func (t *Table) Indirect(off UOffsetT) UOffsetT {
// String gets a string from data stored inside the flatbuffer.
func (t *Table) String(off UOffsetT) string {
- return string(t.ByteVector(off))
... | Fix heap allocation when reading a string. | google_flatbuffers | train | go,go |
0c39fd9d5b2a532608ba32d32593d80bfea5b580 | diff --git a/config/deploy/production.rb b/config/deploy/production.rb
index <HASH>..<HASH> 100644
--- a/config/deploy/production.rb
+++ b/config/deploy/production.rb
@@ -1,3 +1,4 @@
+server 'app01.production.rubygems.org', user: 'deploy', roles: %w(app)
server 'app02.production.rubygems.org', user: 'deploy', roles: %... | add app<I>.production to deploy hosts | rubygems_rubygems.org | train | rb |
91ed54a5ed020d83d385f3e74d23553a9c12cc19 | diff --git a/blueprints/ember-uikit/index.js b/blueprints/ember-uikit/index.js
index <HASH>..<HASH> 100644
--- a/blueprints/ember-uikit/index.js
+++ b/blueprints/ember-uikit/index.js
@@ -9,7 +9,7 @@ module.exports = {
afterInstall() {
const stylePath = path.join("app", "styles");
const file = path.join(sty... | fix(blueprint): fix blueprint | adfinis-sygroup_ember-uikit | train | js |
0ca8b501151b607b7b836a6bbfd0dd7dd0f0db43 | diff --git a/src/ContaoCommunityAlliance/DcGeneral/DC_General.php b/src/ContaoCommunityAlliance/DcGeneral/DC_General.php
index <HASH>..<HASH> 100644
--- a/src/ContaoCommunityAlliance/DcGeneral/DC_General.php
+++ b/src/ContaoCommunityAlliance/DcGeneral/DC_General.php
@@ -40,13 +40,6 @@ class DC_General
protected $objE... | Remove unused arrFields. | contao-community-alliance_dc-general | train | php |
4f491bf70b1b3f63c75c1c83a061bf67e8343eab | diff --git a/mod/assign/yui/src/history/js/history.js b/mod/assign/yui/src/history/js/history.js
index <HASH>..<HASH> 100644
--- a/mod/assign/yui/src/history/js/history.js
+++ b/mod/assign/yui/src/history/js/history.js
@@ -48,9 +48,9 @@ var CSS = {
panel.set('aria-live', 'polite');
w... | MDL-<I> mod_assign: Showing the most recent feedback | moodle_moodle | train | js |
f1a54162ce7fc91e8efecbab045023e13e9ca095 | diff --git a/lib/router.js b/lib/router.js
index <HASH>..<HASH> 100644
--- a/lib/router.js
+++ b/lib/router.js
@@ -140,7 +140,6 @@ Router.prototype.applyRoutes = function (server, prefix) {
var path = prefix + r.path;
// Prepend commonHandlers before nested router's handlers
router.commonHandlers = self.... | Remove reassignment of commonHandlers to router | ukayani_restify-router | train | js,js |
bd504fbbb23ba359e6e791c36285a679c6b54eb1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ import os.path
dirname = os.path.dirname(os.path.abspath(__file__))
filename = os.path.join(dirname, 'kdtree.py')
src = open(filename).read()
-metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", src))
+metad... | fix regex in setup.py for unicode strings | stefankoegl_kdtree | train | py |
33bb9846b3e9f05d8a829c60d48a0a8a6704dce3 | diff --git a/ModelBundle/Repository/ContentRepository.php b/ModelBundle/Repository/ContentRepository.php
index <HASH>..<HASH> 100644
--- a/ModelBundle/Repository/ContentRepository.php
+++ b/ModelBundle/Repository/ContentRepository.php
@@ -372,6 +372,16 @@ class ContentRepository extends AbstractAggregateRepository impl... | add find by id content repository (#<I>) | open-orchestra_open-orchestra-model-bundle | train | php |
2b73e7d4aa495c3eb4d79053a209dd3fa10d6096 | diff --git a/Eloquent/SoftDeletes.php b/Eloquent/SoftDeletes.php
index <HASH>..<HASH> 100644
--- a/Eloquent/SoftDeletes.php
+++ b/Eloquent/SoftDeletes.php
@@ -24,15 +24,17 @@ trait SoftDeletes
/**
* Force a hard delete on a soft deleted model.
*
- * @return void
+ * @return bool|null
*/
... | Fix SoftDeletes forceDelete return (#<I>) | illuminate_database | train | php |
5cbceed208f61f4b613ccd5b00fbf82f75a0ef91 | diff --git a/job/payload.go b/job/payload.go
index <HASH>..<HASH> 100644
--- a/job/payload.go
+++ b/job/payload.go
@@ -23,7 +23,7 @@ const (
)
func SupportedUnitTypes() []string {
- return []string{"service", "socket"}
+ return []string{"service", "socket", "timer"}
}
type JobPayload struct {
@@ -48,8 +48,8 @@ ... | feat(payload): support timer units
* Allow users to submit systemd timer units
* Add a default peer to systemd timer units similar to the
handling of socket units | coreos_fleet | train | go |
51f5988c525d195687cacf244be7d86ab9bb2212 | diff --git a/glue_vispy_viewers/scatter/scatter_toolbar.py b/glue_vispy_viewers/scatter/scatter_toolbar.py
index <HASH>..<HASH> 100644
--- a/glue_vispy_viewers/scatter/scatter_toolbar.py
+++ b/glue_vispy_viewers/scatter/scatter_toolbar.py
@@ -43,6 +43,14 @@ class NearestNeighborROI(Roi):
def reset(self):
... | Make sure NearestNeighborROI can be (de)serialized | glue-viz_glue-vispy-viewers | train | py |
794b8953e61e7e420c3a9c2e9fa47966072455a8 | diff --git a/lib/arjdbc/jdbc/adapter.rb b/lib/arjdbc/jdbc/adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc/jdbc/adapter.rb
+++ b/lib/arjdbc/jdbc/adapter.rb
@@ -264,10 +264,22 @@ module ActiveRecord
end
def do_exec(sql, name, binds, type)
- execute(sql, name, binds) # NOTE: for over-r... | generic exec_query support + exec_raw_query as a compatibility layer | jruby_activerecord-jdbc-adapter | train | rb |
abe9c98b521f1fd14c6fe2e2ca42d6bca63ac256 | diff --git a/rxjava-core/src/test/java/rx/schedulers/AbstractSchedulerConcurrencyTests.java b/rxjava-core/src/test/java/rx/schedulers/AbstractSchedulerConcurrencyTests.java
index <HASH>..<HASH> 100644
--- a/rxjava-core/src/test/java/rx/schedulers/AbstractSchedulerConcurrencyTests.java
+++ b/rxjava-core/src/test/java/rx... | Increasing Unit Test Timeout for Slow Machines
- Increasing timeout by a lot to handle slow machines such as this: <URL> so when everything is healthy it does not timeout | ReactiveX_RxJava | train | java |
74eb51a1667f09e11b6ac85632e9892149827e19 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/index/OIndexes.java b/core/src/main/java/com/orientechnologies/orient/core/index/OIndexes.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/index/OIndexes.java
+++ b/core/src/main/java/com/orientechnologies/orien... | Configuration compatibility issue is fixed. | orientechnologies_orientdb | train | java |
69983642ac9986eb67ed247b2ba37691ff42f1f2 | diff --git a/hawkular-alerts-engine/src/test/java/org/hawkular/alerts/engine/impl/AlertsImportManagerTest.java b/hawkular-alerts-engine/src/test/java/org/hawkular/alerts/engine/impl/AlertsImportManagerTest.java
index <HASH>..<HASH> 100644
--- a/hawkular-alerts-engine/src/test/java/org/hawkular/alerts/engine/impl/Alerts... | HWKALERTS-<I> Fix issue when having spaces in the install path. (#<I>) | hawkular_hawkular-alerts | train | java |
a8c43f5a3718ba975e967a0ca5eb623dadbcfafb | diff --git a/lib/canvas.js b/lib/canvas.js
index <HASH>..<HASH> 100644
--- a/lib/canvas.js
+++ b/lib/canvas.js
@@ -14,7 +14,7 @@ function Canvas(width, height, gmsmith) {
this.canvas = canvas;
}
Canvas.defaultFormat = 'png';
-Canvas.supportedFormats = ['png', 'jpeg'];
+Canvas.supportedFormats = ['png', 'jpg', 'jpe... | Added support for exporting jpg | twolfson_gmsmith | train | js |
1d53f9cb7244e242c3eee858948607a35ed5d3cc | diff --git a/run_classifier_pytorch.py b/run_classifier_pytorch.py
index <HASH>..<HASH> 100644
--- a/run_classifier_pytorch.py
+++ b/run_classifier_pytorch.py
@@ -552,6 +552,7 @@ def main():
input_ids = input_ids.to(device)
input_mask = input_mask.float().to(device)
segment_ids = ... | Fix cuda compability for evaluation | huggingface_pytorch-pretrained-BERT | train | py |
9c82bfc4516a5ff48eb3e87e8b2035624cc30ae5 | diff --git a/datajoint/declare.py b/datajoint/declare.py
index <HASH>..<HASH> 100644
--- a/datajoint/declare.py
+++ b/datajoint/declare.py
@@ -272,7 +272,7 @@ def compile_attribute(line, in_key, foreign_key_sql):
match = {k: v.strip() for k, v in match.items()}
match['nullable'] = match['default'].lower() == ... | minor optimization in `acceptable_datatype_pattern` in declare | datajoint_datajoint-python | train | py |
c0834ae221d0b9b036a224f178db4d2aadb701f9 | diff --git a/ghost/admin/testem.js b/ghost/admin/testem.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/testem.js
+++ b/ghost/admin/testem.js
@@ -12,6 +12,7 @@ if (isCronBuild) {
module.exports = {
framework: 'mocha',
+ browser_disconnect_timeout: 30,
test_page: 'tests/index.html?hidepassed',
disa... | Increased browser disconnect timeout to <I>s
no issue
- browser tests would intermittently fail because they would hit the
timeout limit
- this commit increases the limit to allow for more variability in the
CI environment | TryGhost_Ghost | train | js |
8c8df015147d7a53262ca37bf852eb568e5be981 | diff --git a/spec/extensions/ip_addr_spec.rb b/spec/extensions/ip_addr_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/extensions/ip_addr_spec.rb
+++ b/spec/extensions/ip_addr_spec.rb
@@ -157,12 +157,25 @@ describe IPAddr do
end
let(:ip) { IPAddr.new(Resolv.getaddress('www.example.com')) }
+ let(:bad_ip) { IPAd... | Improved specs for IPAddr#resolv_name and #resolv_names. | ronin-ruby_ronin-support | train | rb |
8a30df86515fac8e4c871793b1013dce5762379e | diff --git a/lib/porch/step_decorators/proc_step_decorator.rb b/lib/porch/step_decorators/proc_step_decorator.rb
index <HASH>..<HASH> 100644
--- a/lib/porch/step_decorators/proc_step_decorator.rb
+++ b/lib/porch/step_decorators/proc_step_decorator.rb
@@ -7,7 +7,9 @@ module Porch
end
def execute(context)
- ... | Implement execute for proc step decorator | jwright_porch | train | rb,rb |
3f3f2109870e63630248c4d628f06734c08cf596 | diff --git a/lib/bandit/experiment.rb b/lib/bandit/experiment.rb
index <HASH>..<HASH> 100644
--- a/lib/bandit/experiment.rb
+++ b/lib/bandit/experiment.rb
@@ -20,8 +20,8 @@ module Bandit
@@instances
end
- def choose(default = nil)
- if not default.nil? and alternatives.include? default
+ def ch... | Minor change for aesthetics/readability/bikeshedding | bmuller_bandit | train | rb |
645578989775612f1e88b1094bb47efeab4d22f9 | diff --git a/server.rb b/server.rb
index <HASH>..<HASH> 100755
--- a/server.rb
+++ b/server.rb
@@ -15,7 +15,7 @@ get '/' do
RDiscount.new(markdown).to_html
end
-def git_push_url(bitbucket_data, job_name)
+def git_push_url(bitbucket, job_name)
commit = bitbucket['commits'].last
repo = bitbucket['repository']... | :snail: erronous variable name | JScott_robot_sweatshop | train | rb |
05982a5340594400b92a197851e27a963ece9e98 | diff --git a/core/src/main/java/net/kuujo/copycat/internal/cluster/RemoteNode.java b/core/src/main/java/net/kuujo/copycat/internal/cluster/RemoteNode.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/net/kuujo/copycat/internal/cluster/RemoteNode.java
+++ b/core/src/main/java/net/kuujo/copycat/internal/cluster/R... | Ensure synchronous client connect() behavior does not create conflicting internal state in RemoteNode implementation. | atomix_atomix | train | java |
8db79e3ec796dd1048a7084c6ba85aecda56dcdb | diff --git a/lib/ronin/formatting/extensions/binary/string.rb b/lib/ronin/formatting/extensions/binary/string.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/formatting/extensions/binary/string.rb
+++ b/lib/ronin/formatting/extensions/binary/string.rb
@@ -197,8 +197,19 @@ class String
# # => "=$\x8d9.\xc14&\x80</"
... | Re-added logic to String#xor to handle Integer and String keys. | ronin-ruby_ronin-support | train | rb |
e2574515d9879a5aa023df949031370969dc896c | diff --git a/runtests.py b/runtests.py
index <HASH>..<HASH> 100644
--- a/runtests.py
+++ b/runtests.py
@@ -19,11 +19,6 @@ def main():
os.environ['DJANGO_SETTINGS_MODULE'] = 'djedi.tests.settings'
unittest.defaultTestLoader.discover('djedi')
- import django
-
- if hasattr(django, "setup"):
- dja... | Remove extra setup() from rebase. | 5monkeys_djedi-cms | train | py |
e42c331e8d9644a1dba1f18caba7347adf9454e8 | diff --git a/data_types/softlayer_hardware.go b/data_types/softlayer_hardware.go
index <HASH>..<HASH> 100644
--- a/data_types/softlayer_hardware.go
+++ b/data_types/softlayer_hardware.go
@@ -8,6 +8,10 @@ type SoftLayer_Hardware_Template_Parameters struct {
Parameters []SoftLayer_Hardware_Template `json:"parameters"`
... | Moved the location of SoftLayer_Hardware_Parameters struct | maximilien_softlayer-go | train | go,go |
38e3d92ab35dd30c8775e0f5938c79a750954d91 | diff --git a/src/main/java/com/googlecode/lanterna/terminal/ansi/TelnetTerminal.java b/src/main/java/com/googlecode/lanterna/terminal/ansi/TelnetTerminal.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/googlecode/lanterna/terminal/ansi/TelnetTerminal.java
+++ b/src/main/java/com/googlecode/lanterna/terminal/an... | In the case of TelnetTerminal, call super on close() | mabe02_lanterna | train | java |
7b5dad4782b9e75d0f32bf24834221d132e3d015 | diff --git a/generators/lib/prompts.js b/generators/lib/prompts.js
index <HASH>..<HASH> 100644
--- a/generators/lib/prompts.js
+++ b/generators/lib/prompts.js
@@ -18,6 +18,7 @@ var prompts = [
default: _.last(process.cwd().split('/')),
validate: function (input) {
if (input.search(' ') !== -1) return '... | Require projectName/machine name use only lower case characters. (#<I>) | phase2_generator-gadget | train | js |
3909cb71d66708398e9eddbfc8f63a92ecb26aaa | diff --git a/test/feature/steps/compose_util.py b/test/feature/steps/compose_util.py
index <HASH>..<HASH> 100644
--- a/test/feature/steps/compose_util.py
+++ b/test/feature/steps/compose_util.py
@@ -178,7 +178,13 @@ class Composition:
self.containerDataList = []
for containerID in self.refreshContaine... | [FAB-<I>] Fix abort on docker cleanup failure
In some cases, behave tests in fabric/test/feature aborts when
decomposing the test environment because "docker inspect" is executed
for a docker that is listed by "docker ps" but already deleted by
"docker-compose down". This patch avoids it.
Change-Id: I<I>d<I>c<I>b3e<I... | hyperledger_fabric | train | py |
2606a6b7ce0e9a80e75a99ebd4bf1ec070b0fb9c | diff --git a/account/compat.py b/account/compat.py
index <HASH>..<HASH> 100644
--- a/account/compat.py
+++ b/account/compat.py
@@ -1,13 +1,5 @@
-import django
-
-try:
- from django.core.urlresolvers import resolve, reverse, NoReverseMatch
-except ImportError:
- from django.urls import resolve, reverse, NoReverseM... | Drop compatibility handling in account.compat
The `django.core.urlresolvers` module was moved to
`django.urls` in version <I>, and deprecated in version <I>
Since the lowest version of Django we're using here is <I>
we can safely use functions from the latter module.
Also, as of Django <I>, `user.is_authenticated` is... | pinax_django-user-accounts | train | py |
b03f710f96afe2166e72dee4c6444bb08f6a709d | diff --git a/base.js b/base.js
index <HASH>..<HASH> 100644
--- a/base.js
+++ b/base.js
@@ -608,6 +608,8 @@
* @returns {*}
*/
bind: function (obj, method) {
+ gpf.ASSERT("string" === typeof method,
+ "Provide method name");
var _boundMember = method + "... | Added an ASSERT for usage | ArnaudBuchholz_gpf-js | train | js |
fd8dba48275441ad674119fc1225e98f9ef7811c | diff --git a/builtin/providers/openstack/resource_openstack_blockstorage_volume_v1.go b/builtin/providers/openstack/resource_openstack_blockstorage_volume_v1.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/openstack/resource_openstack_blockstorage_volume_v1.go
+++ b/builtin/providers/openstack/resource_openstack... | provider/openstack: add state 'creating' to blockstorage_volume_v1
This commit adds the "creating" status to the Pending phases of creating a
block storage device.
Closes #<I> | hashicorp_terraform | train | go |
bae789a9ec719ad7e5674cc7c5b8c9a268048266 | diff --git a/src/transforms/ConstructorPropsTransform.js b/src/transforms/ConstructorPropsTransform.js
index <HASH>..<HASH> 100644
--- a/src/transforms/ConstructorPropsTransform.js
+++ b/src/transforms/ConstructorPropsTransform.js
@@ -25,7 +25,7 @@ module.exports = class ConstructorPropsTransform {
}
... | updating to new twist transform so it works with renamed decorators | adobe_babel-plugin-transform-react-twist | train | js |
f5691a194c2af12ae650a733afefd83856c78410 | diff --git a/src/Adapters/FHIRPatientAdapter.php b/src/Adapters/FHIRPatientAdapter.php
index <HASH>..<HASH> 100644
--- a/src/Adapters/FHIRPatientAdapter.php
+++ b/src/Adapters/FHIRPatientAdapter.php
@@ -349,9 +349,19 @@ class FHIRPatientAdapter extends AbstractFHIRAdapter implements BaseAdapterInter
$gende... | Issue#<I> (#<I>)
* Add saving patient email
* Added system check for contactPoints | LibreHealthIO_lh-ehr-fhir-api | train | php |
0881e0621362bca60c5dc4fe2477b93257b452e9 | diff --git a/manager/api/core/src/main/java/io/apiman/manager/api/core/config/ApiManagerConfig.java b/manager/api/core/src/main/java/io/apiman/manager/api/core/config/ApiManagerConfig.java
index <HASH>..<HASH> 100644
--- a/manager/api/core/src/main/java/io/apiman/manager/api/core/config/ApiManagerConfig.java
+++ b/mana... | fix(manager-api): use correct system property for UI endpoint | apiman_apiman | train | java |
43c3a1a4c5ed634bc15a731e19d3a29d4fdb7a3b | diff --git a/zinnia/markups.py b/zinnia/markups.py
index <HASH>..<HASH> 100644
--- a/zinnia/markups.py
+++ b/zinnia/markups.py
@@ -22,7 +22,7 @@ def textile(value):
RuntimeWarning)
return value
- return textile.textile(force_bytes(value),
+ return textile.textile(force_text(value... | Force text instead of bytes when generating textile content | Fantomas42_django-blog-zinnia | train | py |
c3afbf074a3b64c77ed8500550609abba14f9329 | diff --git a/sc2common/containers.py b/sc2common/containers.py
index <HASH>..<HASH> 100644
--- a/sc2common/containers.py
+++ b/sc2common/containers.py
@@ -137,7 +137,8 @@ class MultiType(object):
return self.code
############################################################################
def __long_... | - fixed Cost instantiation bug when invoking copy constructor
- fixed MultiType bug when invoking __long__ between python 2/3 for test coverage purposes | ttinies_sc2common | train | py |
d4ea5d684655c5ac295a5fd58043be9774e8dce4 | diff --git a/commerce-payment-service/src/main/java/com/liferay/commerce/payment/servlet/CommercePaymentServlet.java b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/servlet/CommercePaymentServlet.java
index <HASH>..<HASH> 100644
--- a/commerce-payment-service/src/main/java/com/liferay/commerce/pay... | COMMERCE-<I> complete payment only for offline methods | liferay_com-liferay-commerce | train | java |
aa29ca6b666f6c5a6fa1f98ca7c51aae2f112041 | diff --git a/django_airavata/settings.py b/django_airavata/settings.py
index <HASH>..<HASH> 100644
--- a/django_airavata/settings.py
+++ b/django_airavata/settings.py
@@ -91,8 +91,12 @@ CUSTOM_DJANGO_APPS = []
# )
#
for entry_point in iter_entry_points(group='airavata.djangoapp'):
- CUSTOM_DJANGO_APPS.append(e... | AIRAVATA-<I> Create path to AppConfig class | apache_airavata-django-portal | train | py |
45870e9aae85d0d5ac4f873b237e22aa718a1e9e | diff --git a/src/WordPress.php b/src/WordPress.php
index <HASH>..<HASH> 100644
--- a/src/WordPress.php
+++ b/src/WordPress.php
@@ -38,6 +38,10 @@ class WordPress extends Service
return get_term($post, $term);
}
+ if (is_home() && is_front_page()) {
+ return '';
+ ... | WP::getSlug() and WP::getPaginationLink() fix | CupOfTea696_WordPress-Lib | train | php |
27c7243219d001e513ba1d6f4277bdc030e04673 | diff --git a/plugins/providers/virtualbox/driver/base.rb b/plugins/providers/virtualbox/driver/base.rb
index <HASH>..<HASH> 100644
--- a/plugins/providers/virtualbox/driver/base.rb
+++ b/plugins/providers/virtualbox/driver/base.rb
@@ -284,10 +284,10 @@ module VagrantPlugins
# Variable to store our execution ... | Move exception raising back into retryable block in VirtualBox driver command execution
By moving the exception throwing back into the retryable block it actually enables the retryable to function properly by retrying, if appropriate, when an certain exception is raised. | hashicorp_vagrant | train | rb |
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.