hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
f106b5cfb70fb6af9e6725aca48a7767500bbac8
diff --git a/src/Engine/SocketIO/Version1X.php b/src/Engine/SocketIO/Version1X.php index <HASH>..<HASH> 100644 --- a/src/Engine/SocketIO/Version1X.php +++ b/src/Engine/SocketIO/Version1X.php @@ -299,7 +299,9 @@ class Version1X extends AbstractSocketIO //remove message '40' from buffer, emmiting by socket.io ...
Update Version1X.php Only try to read bytes if there's bytes to read. Else the app enters a blocking state waiting for stream bytes, and timing out after <I> seconds.
Wisembly_elephant.io
train
346d292b9d94b2c80dcfe79d87c2b350ee3320ba
diff --git a/lib/create-espower-visitor.js b/lib/create-espower-visitor.js index <HASH>..<HASH> 100644 --- a/lib/create-espower-visitor.js +++ b/lib/create-espower-visitor.js @@ -42,44 +42,6 @@ var helperTemplate = babelTemplate([ '});' ].join('\n')); -function createHelperNameNode(nodePath, types) { - var f...
refactor(babel-plugin-espower): move more logic to methods
power-assert-js_babel-plugin-espower
train
a5898319d30443c18c524194858dcd6db702fbb5
diff --git a/base.php b/base.php index <HASH>..<HASH> 100644 --- a/base.php +++ b/base.php @@ -213,7 +213,7 @@ final class Base { $parts=$this->cut($key); $jar=$this->hive['JAR']; if ($ttl) - $jar['expire']=$ttl; + $jar['expire']=time()+$ttl; call_user_func_array('setcookie', array_mer...
Adjust set() method to use $ttl relative to current time (Feature request #<I>)
bcosca_fatfree-core
train
e1459cf0b10132567890c88dfc48265fc581275f
diff --git a/internetarchive/iacli/ia_upload.py b/internetarchive/iacli/ia_upload.py index <HASH>..<HASH> 100755 --- a/internetarchive/iacli/ia_upload.py +++ b/internetarchive/iacli/ia_upload.py @@ -52,7 +52,11 @@ def _upload_files(args, identifier, local_file, upload_kwargs): sys.stdout.write('{0}:\n'.format(...
Fixed --remote-name when uploading from stdin.
jjjake_internetarchive
train
f0c3ffb6ae759cad6098c3cd079b1654508f1268
diff --git a/test/plugin/test_out_google_cloud.rb b/test/plugin/test_out_google_cloud.rb index <HASH>..<HASH> 100644 --- a/test/plugin/test_out_google_cloud.rb +++ b/test/plugin/test_out_google_cloud.rb @@ -1049,7 +1049,7 @@ class GoogleCloudOutputTest < Test::Unit::TestCase assert value.is_a?(String), "Value #{...
Fix misordered expectation and value in assert statement. This makes the error message label the expectation and actual value correctly rather than mixing them up.
GoogleCloudPlatform_fluent-plugin-google-cloud
train
6112012fb7ab39b7670095a19635254547c439ba
diff --git a/functions/functions-twig.php b/functions/functions-twig.php index <HASH>..<HASH> 100644 --- a/functions/functions-twig.php +++ b/functions/functions-twig.php @@ -7,7 +7,9 @@ if (is_array($uri)){ $loaders = array(); foreach($uri as $u){ - $loaders[] = new Twig_Loader_Filesystem($u.'/views/'); ...
added a catch for when theme is inactive
timber_timber
train
6f39c3769b2b7aeb6346bb1e1a8e8e7f2d06823f
diff --git a/build/index.js b/build/index.js index <HASH>..<HASH> 100644 --- a/build/index.js +++ b/build/index.js @@ -18,8 +18,18 @@ var _isStamp = require('./is-stamp'); var _isStamp2 = _interopRequireDefault(_isStamp); +var _isDescriptor = require('./is-descriptor'); + +var _isDescriptor2 = _interopRequireDefau...
isDescriptor should work with initializers
stampit-org_stamp-utils
train
3505089a3ca9881e4810ef1af9f3a0dc69385780
diff --git a/internal/runner/ui.go b/internal/runner/ui.go index <HASH>..<HASH> 100644 --- a/internal/runner/ui.go +++ b/internal/runner/ui.go @@ -46,7 +46,7 @@ func (u *runnerUI) Interactive() bool { // arguments should be interpolations for the format string. After the // interpolations you may add Options. func (...
Allow runner UI to disable new lines
hashicorp_vagrant
train
6c380da0f8ac769e8222285976aab9ebda8c217e
diff --git a/odtbrain/_version.py b/odtbrain/_version.py index <HASH>..<HASH> 100644 --- a/odtbrain/_version.py +++ b/odtbrain/_version.py @@ -38,31 +38,37 @@ def git_describe(): return GIT_REVISION + def save_version(version): data="""#!/usr/bin/env python # This file was created automatically. -versio...
versioningn conforms with PEP<I>
RI-imaging_ODTbrain
train
df0cdfd4e833ac2aae22ee2f540f0661ae589789
diff --git a/lib/arjdbc/mysql/adapter.rb b/lib/arjdbc/mysql/adapter.rb index <HASH>..<HASH> 100644 --- a/lib/arjdbc/mysql/adapter.rb +++ b/lib/arjdbc/mysql/adapter.rb @@ -72,7 +72,7 @@ module ActiveRecord end def error_number(exception) - exception.errno if exception.respond_to? :errno + e...
[mysql] extract sql error code from JDBC error only
jruby_activerecord-jdbc-adapter
train
80c52475241cd72dc87478ccc8637163ee9637c1
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -172,7 +172,9 @@ KafkaLogger.prototype.log = function(level, msg, meta, callback) { break; } } - logMessage.ts = timestamp; + if (!logMessage.ts) { + logMessage.ts = timestamp; + } ...
Adding check for ts field, if it's already set, then we don't set it
uber_kafka-logger
train
e19477fbd84bdc946b82a9def75cde455518abb6
diff --git a/libkbfs/disk_block_cache.go b/libkbfs/disk_block_cache.go index <HASH>..<HASH> 100644 --- a/libkbfs/disk_block_cache.go +++ b/libkbfs/disk_block_cache.go @@ -7,6 +7,7 @@ package libkbfs import ( "encoding/hex" "fmt" + "math" "path/filepath" "sort" "strconv" @@ -203,10 +204,10 @@ func newDiskBloc...
disk_block_cache: LRU eviction implementation first pass done
keybase_client
train
9dabf2eed094b0776c1160aba8fb5e4c30f00588
diff --git a/indices_forcemerge.go b/indices_forcemerge.go index <HASH>..<HASH> 100644 --- a/indices_forcemerge.go +++ b/indices_forcemerge.go @@ -30,7 +30,6 @@ type IndicesForcemergeService struct { ignoreUnavailable *bool maxNumSegments interface{} onlyExpungeDeletes *bool - operationThreading interface{} ...
Remove operation_threading parameter from Forcemerge (#<I>)
olivere_elastic
train
0121d94e5fca6bd462b17f7c42dbc2ad5b8290ab
diff --git a/src/Gallery.js b/src/Gallery.js index <HASH>..<HASH> 100644 --- a/src/Gallery.js +++ b/src/Gallery.js @@ -25,9 +25,7 @@ class Gallery extends Component { } componentDidMount () { - this.setState( - {containerWidth: - Math.floor(ReactDOM.findDOMNode(this).clientWidt...
- commentary, simplified handleResize init
benhowell_react-grid-gallery
train
09fdf9ccd58ed966f87eb5c063a6bb262a250b50
diff --git a/modules/component/component.js b/modules/component/component.js index <HASH>..<HASH> 100644 --- a/modules/component/component.js +++ b/modules/component/component.js @@ -24,6 +24,10 @@ export default class Component extends Container { this.options.shadow.position = Position.from(this.options.shad...
:zap: Improving performance. Cache the trace function call result
pencil-js_pencil.js
train
9dff15bd4f364c03fabdc8905e7dd755ecba2c7c
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -20,6 +20,7 @@ import asyncio import base64 import binascii import getpass +import inspect import json import logging import math @@ -328,11 +329,18 @@ ...
Make run() accept coroutine functions
pyrogram_pyrogram
train
07b585a52f5539bb1ab5b8b548acd829b4273295
diff --git a/Kwf_js/Utils/ResponsiveImg.js b/Kwf_js/Utils/ResponsiveImg.js index <HASH>..<HASH> 100644 --- a/Kwf_js/Utils/ResponsiveImg.js +++ b/Kwf_js/Utils/ResponsiveImg.js @@ -7,7 +7,7 @@ var deferredImages = []; Kwf.Utils.ResponsiveImg = function (selector) { Kwf.onJElementWidthChange(selector, function respo...
Save resonsiveImgInitDone to jquery el, didn't work before
koala-framework_koala-framework
train
ed5102c1ebba2dd76293ed864b2f3f1f1de6eab4
diff --git a/lib/celluloid/io/tcp_socket.rb b/lib/celluloid/io/tcp_socket.rb index <HASH>..<HASH> 100644 --- a/lib/celluloid/io/tcp_socket.rb +++ b/lib/celluloid/io/tcp_socket.rb @@ -17,7 +17,7 @@ module Celluloid if block_given? begin - yield sock + return yield(sock) ...
corrected return value semantics for celluloid io tcpsocket (now compatible with native tcpsocket) ( This fixes celluloid/celluloid-io#<I> )
celluloid_celluloid-io
train
be4c57c25805fc48bd61252f9e893444544b960f
diff --git a/aws/resource_aws_cognito_user_pool.go b/aws/resource_aws_cognito_user_pool.go index <HASH>..<HASH> 100644 --- a/aws/resource_aws_cognito_user_pool.go +++ b/aws/resource_aws_cognito_user_pool.go @@ -10,6 +10,7 @@ import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/cognitoidenti...
Handle already deleted aws_cognito_user_pool and aws_cognito_user_pool_client resources.
terraform-providers_terraform-provider-aws
train
65a2136a6284227a67780f26f6fb12b687add0e4
diff --git a/pyinstrument/__main__.py b/pyinstrument/__main__.py index <HASH>..<HASH> 100644 --- a/pyinstrument/__main__.py +++ b/pyinstrument/__main__.py @@ -3,6 +3,26 @@ import sys import os import codecs from pyinstrument import Profiler +from pyinstrument.compat import exec_ + +# Python 3 compatibility. Mostly b...
Add Python 3 support This requires at least <I>, as I left the unicode literals in.
joerick_pyinstrument
train
acbff8378a99a1e41cdfee8761793ce4c8a38e88
diff --git a/fsm/deciders.go b/fsm/deciders.go index <HASH>..<HASH> 100644 --- a/fsm/deciders.go +++ b/fsm/deciders.go @@ -478,6 +478,20 @@ func OnStartTimerFailed(timer string, deciders ...Decider) Decider { } } +// OnTimerCanceled builds a composed decider that fires on EventTypeTimerCanceled. +func OnTimerCance...
Decider for EventTypeTimerCanceled
sclasen_swfsm
train
f46354f528ac5158de7ee817be10b38ee91e37ea
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb index <HASH>..<HASH> 100644 --- a/lib/ohai/plugins/linux/platform.rb +++ b/lib/ohai/plugins/linux/platform.rb @@ -166,12 +166,6 @@ Ohai.plugin(:Platform) do contents = File.read("/etc/system-release").chomp platform get_r...
Reorder detection of platforms to speed things up Check the more popular platforms first since those are most likely to match. Parallels have to come before RHEL though since it looks like RHEL.
chef_ohai
train
e62fb5595f309a9658b85da2c7724d62e9ef244b
diff --git a/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/StorageSharedKeyCredential.java b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/StorageSharedKeyCredential.java index <HASH>..<HASH> 100644 --- a/sdk/storage/azure-storage-common/src/main/java/com/azure/storag...
Replace format with concat. (#<I>)
Azure_azure-sdk-for-java
train
bef35a96409448ca1162d18b883ee39ef6bb62fb
diff --git a/views/js/layout/tree.js b/views/js/layout/tree.js index <HASH>..<HASH> 100644 --- a/views/js/layout/tree.js +++ b/views/js/layout/tree.js @@ -635,7 +635,8 @@ define([ * @returns {undefined} */ function executePossibleAction(actions, context, exclude) { - var possible...
Hide error message after the allowed item has been selected
oat-sa_tao-core
train
4934b87c41977d3015256a6c9cebae83a8777824
diff --git a/drools-compiler/src/test/java/org/drools/compiler/Cheese.java b/drools-compiler/src/test/java/org/drools/compiler/Cheese.java index <HASH>..<HASH> 100644 --- a/drools-compiler/src/test/java/org/drools/compiler/Cheese.java +++ b/drools-compiler/src/test/java/org/drools/compiler/Cheese.java @@ -25,6 +25,8 @@...
[DROOLS-<I>][DROOLS-<I>] add test cases showing that conditional named consequences are working as expected
kiegroup_drools
train
e5a7921873e8bfbccdf6d27c9152742a5117f7de
diff --git a/script/bump-version.py b/script/bump-version.py index <HASH>..<HASH> 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -32,7 +32,6 @@ def main(): update_version_h(versions) update_info_plist(version) tag_version(version) - git_push() def increase_version(versions, i...
Don't push when bumping version
electron_electron
train
10d9b8aba5ff0864a5f4cb56d17acc4dabbd2541
diff --git a/addon/apollo/query-manager.js b/addon/apollo/query-manager.js index <HASH>..<HASH> 100644 --- a/addon/apollo/query-manager.js +++ b/addon/apollo/query-manager.js @@ -1,20 +1,13 @@ -import EmberObject from '@ember/object'; -import { A } from '@ember/array'; -import { inject as service } from '@ember-decorat...
Move query-manager away from EmberObject
ember-graphql_ember-apollo-client
train
dcd84a91722bdcbb688cf384513cfba0102651e7
diff --git a/api.go b/api.go index <HASH>..<HASH> 100644 --- a/api.go +++ b/api.go @@ -590,9 +590,14 @@ func (c Client) executeMethod(method string, metadata requestMetadata) (res *htt // Additionally we should only retry if bucketLocation and custom // region is empty. if metadata.bucketLocation == "" && c.re...
Conditionally retry HTTP calls for specific S3 errors (#<I>) When InvalidRegion or AuthorizationHeaderMalformed error is received from S3 server, update bucket region cache and retry the same ReST call with returned region. Fixes #<I> and #<I>
minio_minio-go
train
3362bd1a6589baf533e372ae92c03574426825cb
diff --git a/src/SpiffWorkflow/specs/TaskSpec.py b/src/SpiffWorkflow/specs/TaskSpec.py index <HASH>..<HASH> 100644 --- a/src/SpiffWorkflow/specs/TaskSpec.py +++ b/src/SpiffWorkflow/specs/TaskSpec.py @@ -376,7 +376,7 @@ class TaskSpec(object): my_task._update_children(self.outputs) return True - d...
TaskSpec.serialize() and .deserialize(): pass kwargs to the serializer.
knipknap_SpiffWorkflow
train
9802debf71ff68897c1be59e1763dd31bcbde8ed
diff --git a/modules/angular2/test/render/dom/shadow_dom/native_shadow_dom_strategy_spec.js b/modules/angular2/test/render/dom/shadow_dom/native_shadow_dom_strategy_spec.js index <HASH>..<HASH> 100644 --- a/modules/angular2/test/render/dom/shadow_dom/native_shadow_dom_strategy_spec.js +++ b/modules/angular2/test/render...
fix(test): native shadow DOM is required (IE<I>, Firefox)
angular_angular
train
7ef6a090e03163d7ffe0e320ca0806daf7dfa102
diff --git a/lib/honeybadger/config/yaml.rb b/lib/honeybadger/config/yaml.rb index <HASH>..<HASH> 100644 --- a/lib/honeybadger/config/yaml.rb +++ b/lib/honeybadger/config/yaml.rb @@ -1,5 +1,6 @@ require 'pathname' require 'yaml' +require 'erb' module Honeybadger class Config @@ -14,7 +15,7 @@ module Honeybadger...
Evaluate ERB in honeybadger.yml
honeybadger-io_honeybadger-ruby
train
765d2ed61b9d06e688d5f202466df4104f1bff63
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -132,7 +132,7 @@ tests_requirements = [ "flake8-comprehensions", "flake8-string-format", "pylint", - "pylint-pytest", + "pylint-pytest>=0.3.0", "pylint-plugin-utils", "wget", "filelock",
Update pylint-pytest to >=<I> Older versions had issues with loading pylint plugins on Windows. Close #<I>
iterative_dvc
train
77be07e6165e66bbd9867804853616d616312e57
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,13 +1,15 @@ from setuptools import setup -exec(open('./debianbts/version.py').read()) +meta = {} +exec(open('./debianbts/version.py').read(), meta) +meta['long_description'] = open('./README.md').read() setup( na...
fixed setup.py's pep8 errors
venthur_python-debianbts
train
dc160d2492f5e4f378ebb547d0cdb6f36dab8501
diff --git a/lib-dempsyimpl/src/main/java/com/nokia/dempsy/router/DecentralizedRoutingStrategy.java b/lib-dempsyimpl/src/main/java/com/nokia/dempsy/router/DecentralizedRoutingStrategy.java index <HASH>..<HASH> 100644 --- a/lib-dempsyimpl/src/main/java/com/nokia/dempsy/router/DecentralizedRoutingStrategy.java +++ b/lib-...
[fix] Outbound could loose track when fillMapFromActiveSlots double fails with a NoNodeException.
Dempsy_dempsy
train
fbc28cefe03b1ea3ff65300d475d34f5f9629a5c
diff --git a/allennlp/models/model.py b/allennlp/models/model.py index <HASH>..<HASH> 100644 --- a/allennlp/models/model.py +++ b/allennlp/models/model.py @@ -331,7 +331,7 @@ class Model(torch.nn.Module, Registrable): Iterates through all embedding modules in the model and assures it can embed with th...
Fix typo in Model.extend_embedder_vocab docstring (#<I>)
allenai_allennlp
train
b49bf4299c257a6211de883f0925c87e3c7ca714
diff --git a/lang/en/admin.php b/lang/en/admin.php index <HASH>..<HASH> 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -1302,6 +1302,7 @@ $string['unbookmarkthispage'] = 'Unbookmark this page'; $string['unicoderequired'] = 'It is required that you store all your data in Unicode format (UTF-8). New installat...
MDL-<I> lang: Add the unoconvwarning string back It has been deprecated and removed by mistake.
moodle_moodle
train
1590fb1b4b0a213ebf24c3f96116a24d94ec11f2
diff --git a/files/rightSystem.js b/files/rightSystem.js index <HASH>..<HASH> 100644 --- a/files/rightSystem.js +++ b/files/rightSystem.js @@ -13,11 +13,11 @@ var cache = {}; m.getPathRights = function (path, done) { path = m.unifyPath(path); if (cache[path]) { - console.log('load cached'); + /...
Bugfix: Secure menu by user group only visible after reload: fixed.
bauhausjs_bauhausjs
train
bf96d536d9c7c00705b04d1824f29f0d128f3f31
diff --git a/agent/xds/listeners.go b/agent/xds/listeners.go index <HASH>..<HASH> 100644 --- a/agent/xds/listeners.go +++ b/agent/xds/listeners.go @@ -242,9 +242,9 @@ func (s *Server) listenersFromSnapshotConnectProxy(cInfo connectionInfo, cfgSnap resources = append(resources, outboundListener) } + // Looping ov...
Upstreams loop is only for prepared queries and they are not CentrallyConfigured
hashicorp_consul
train
f1d44c64ff9aa044d6ca43cee4993ffb6aefe7f2
diff --git a/undocker.py b/undocker.py index <HASH>..<HASH> 100644 --- a/undocker.py +++ b/undocker.py @@ -16,12 +16,13 @@ LOG = logging.getLogger(__name__) def parse_args(): p = argparse.ArgumentParser() - p.add_argument('--tag', '-t', - default='latest') + p.add_argument('--ignore-er...
correctly handle image archives a docker "image" produced by "docker save" can actually contain multiple images. We now handle that correctly, and also have facilities for listing image layers and extracting specific layers rather than an entire image.
larsks_undocker
train
a07ba4020ce4c7123e7126f9d82e43a6ecfcc64f
diff --git a/PHPCI/Controller/BitbucketController.php b/PHPCI/Controller/BitbucketController.php index <HASH>..<HASH> 100644 --- a/PHPCI/Controller/BitbucketController.php +++ b/PHPCI/Controller/BitbucketController.php @@ -15,34 +15,36 @@ class BitbucketController extends b8\Controller public function webhook($proj...
Adding proper Bitbucket support
dancryer_PHPCI
train
46640bbc4df85d38b99d896fe5d98012e5ac81cf
diff --git a/abilian/services/indexing/service.py b/abilian/services/indexing/service.py index <HASH>..<HASH> 100644 --- a/abilian/services/indexing/service.py +++ b/abilian/services/indexing/service.py @@ -509,7 +509,8 @@ def index_update(index, items): setattr(session, '_model_changes', {}) updated = set() ...
index_update task: wait for asyncwriter thread we shouldn't exit task before writer has actually written content. We mostly use Asyncwriter to not worry about obtaining a writer.
abilian_abilian-core
train
91fb9c56adadc73bb5d213d4823c0d4ec5b9c28d
diff --git a/test/resolver-test.js b/test/resolver-test.js index <HASH>..<HASH> 100644 --- a/test/resolver-test.js +++ b/test/resolver-test.js @@ -81,22 +81,4 @@ module.exports = { }); }, - lookup: function (test) { - this.resolver.lookup('www.google.com', function (err, ip, family) { - ...
Removed test reolver.lookup method.
royalpinto_node-cares
train
1e4ee483b4a6f717730968a2f2711e8197446bf9
diff --git a/Gemfile.lock b/Gemfile.lock index <HASH>..<HASH> 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -110,9 +110,9 @@ PLATFORMS ruby DEPENDENCIES - rails (~> 5.1.3) + rails (~> 5.1, >= 5.1.3) sendable_rails! - sqlite3 + sqlite3 (~> 1.3.13) BUNDLED WITH 1.14.6 diff --git a/lib/sendable_rails...
Added support for html and text email parts.
sendable_sendable_rails
train
3c7b88d3b546478cd840dd1b547144d23230ebfc
diff --git a/runtime/undertow/src/main/java/org/wildfly/swarm/runtime/undertow/UndertowConfiguration.java b/runtime/undertow/src/main/java/org/wildfly/swarm/runtime/undertow/UndertowConfiguration.java index <HASH>..<HASH> 100644 --- a/runtime/undertow/src/main/java/org/wildfly/swarm/runtime/undertow/UndertowConfigurati...
Enable websockets and jsp explicitly.
thorntail_thorntail
train
96e26d3eef1352f143cfa1a21ed225a563e42eed
diff --git a/javascript/firefox-driver/js/dispatcher.js b/javascript/firefox-driver/js/dispatcher.js index <HASH>..<HASH> 100644 --- a/javascript/firefox-driver/js/dispatcher.js +++ b/javascript/firefox-driver/js/dispatcher.js @@ -174,8 +174,6 @@ Dispatcher.prototype.init_ = function() { on(Request.Method.GET, D...
Removing outdated binding for /session/:sessionId/alert and duplicated binding for /session/:sessionId/alert_text
SeleniumHQ_selenium
train
7ab13308b3169dc00aae3678261b08d01bfb1935
diff --git a/sigal/image.py b/sigal/image.py index <HASH>..<HASH> 100644 --- a/sigal/image.py +++ b/sigal/image.py @@ -118,7 +118,13 @@ def generate_image(source, outname, settings, options=None): logger.error('Wrong processor name: %s', settings['img_processor']) sys.exit() - process...
Resize portrait images to same size as landscape With the current approach images are resized along the width, which means images in portrait mode are substantially smaller than landscape images. This change resizes portrait images along the height so that they will cover the exact same area.
saimn_sigal
train
ea6744d0aa5b45abb271885a43f7dd2a15c8449f
diff --git a/lib/procodile/cli.rb b/lib/procodile/cli.rb index <HASH>..<HASH> 100644 --- a/lib/procodile/cli.rb +++ b/lib/procodile/cli.rb @@ -104,6 +104,10 @@ module Procodile cli.options[:proxy] = true end + opts.on("--allocate-ports", "Allow free port numbers to all processes") do + cli...
support for allocating udp ports plus adds option to force allocation of ports even when not using built-in proxy
adamcooke_procodile
train
34ebb11f65a8d504198d241fa9876ea84591572b
diff --git a/src/main/java/com/semanticcms/file/servlet/impl/FileImpl.java b/src/main/java/com/semanticcms/file/servlet/impl/FileImpl.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/semanticcms/file/servlet/impl/FileImpl.java +++ b/src/main/java/com/semanticcms/file/servlet/impl/FileImpl.java @@ -33,6 +33,7 @@...
Added missing id attribute on files.
aoindustries_semanticcms-file-servlet
train
3a0794cd8e7dabecb0d39c860305a6dccd2b6a87
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -49,7 +49,7 @@ function extract(opts, cb) { if (!res.images) { res.images = new Set(); } - res.images.add(url.resolve(host, src)); + res.images.add(url.resolve(opts.uri, src...
Use original uri for relative resources.
velocityzen_meta-extractor
train
c619a15dbd71933dc11b57b578b29ed96acd2510
diff --git a/server/src/test/java/org/cloudfoundry/identity/uaa/performance/TestMySQLEmailSearch.java b/server/src/test/java/org/cloudfoundry/identity/uaa/performance/TestMySQLEmailSearch.java index <HASH>..<HASH> 100644 --- a/server/src/test/java/org/cloudfoundry/identity/uaa/performance/TestMySQLEmailSearch.java +++ ...
Fix incorrect override of the @After tearDown method
cloudfoundry_uaa
train
6043c9329798cd12159aa3b019797d6ecf04c5c3
diff --git a/lib/controllers/actions/jwt.js b/lib/controllers/actions/jwt.js index <HASH>..<HASH> 100644 --- a/lib/controllers/actions/jwt.js +++ b/lib/controllers/actions/jwt.js @@ -13,9 +13,9 @@ module.exports = function(req, res){ if(!req.session.authenticated){ return res.forbidden('You are not authorized.'...
Fixed existing test and added new test for createJwt util function.
waterlock_waterlock
train
1e3cff9b61c7e43bbdccc62662836bc7c95f4578
diff --git a/cultusrego.php b/cultusrego.php index <HASH>..<HASH> 100644 --- a/cultusrego.php +++ b/cultusrego.php @@ -194,7 +194,7 @@ class cultusrego { private function parse_element_value($element_label, $match) { if (!preg_match_all("#\@$element_label (.*?)(\n|$)#s", $match, $detail_match)) { preg_ma...
fixed parsing of indented comment blocks, fixes #<I>
maoberlehner_cultusrego
train
819e36f4d22e5546529fd9be096d6f65089492d3
diff --git a/scripts/instance.php b/scripts/instance.php index <HASH>..<HASH> 100644 --- a/scripts/instance.php +++ b/scripts/instance.php @@ -1,15 +1,16 @@ <?php namespace Aura\Filter; require_once dirname(__DIR__) . '/src.php'; - -$ruleRegistry = require __DIR__ . '/registry.php'; -$ruleRegistry['any'] = function(...
remove variables from the instance script so as not to pollute the global namespace
auraphp_Aura.Filter
train
99967ad41744b4b36dc9fb8e1ea70645319b688b
diff --git a/indra/belief/__init__.py b/indra/belief/__init__.py index <HASH>..<HASH> 100644 --- a/indra/belief/__init__.py +++ b/indra/belief/__init__.py @@ -104,6 +104,9 @@ class SimpleScorer(BeliefScorer): self.update_probs(prior_probs, subtype_probs) def update_probs(self, prior_probs=None, subtype_...
Use jsonify and fix some dict structures
sorgerlab_indra
train
b4efa4375f49ae2898310c2c1634d324655da5b1
diff --git a/app/controllers/pwb/api/v1/properties_controller.rb b/app/controllers/pwb/api/v1/properties_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/pwb/api/v1/properties_controller.rb +++ b/app/controllers/pwb/api/v1/properties_controller.rb @@ -2,13 +2,12 @@ module Pwb class Api::V1::Properties...
Comment out unneeded skip before action for ensure_valid_accept_media_type
etewiah_property_web_builder
train
dfd20fd7fa6edec56447fcb049acd5e17a78ec2e
diff --git a/github/github.go b/github/github.go index <HASH>..<HASH> 100644 --- a/github/github.go +++ b/github/github.go @@ -735,11 +735,13 @@ func category(path string) rateLimitCategory { // Deprecated: RateLimit is deprecated, use RateLimits instead. func (c *Client) RateLimit() (*Rate, *Response, error) { lim...
Return nil error explicitly when there is no error. (#<I>) Follows #<I>. Fully resolves #<I>.
google_go-github
train
58deaf0ffe9286683a7ca084ebb3b02c97f55835
diff --git a/spec/support/webmock_server.rb b/spec/support/webmock_server.rb index <HASH>..<HASH> 100644 --- a/spec/support/webmock_server.rb +++ b/spec/support/webmock_server.rb @@ -29,7 +29,11 @@ class WebMockServer concurrent do ['TERM', 'INT'].each do |signal| - trap(signal){ server.shutdown } ...
Can't write to a Logger in a signal handler Remove warning with ruby <I>. Warning shows below: "log writing failed. can't be called from trap context" Related: Can't write to a Logger in a signal handler <URL>
bblimke_webmock
train
4b348c1d33373d672edd83fc576892d0e46686d2
diff --git a/rpctest/rpc_harness.go b/rpctest/rpc_harness.go index <HASH>..<HASH> 100644 --- a/rpctest/rpc_harness.go +++ b/rpctest/rpc_harness.go @@ -383,6 +383,13 @@ func (h *Harness) RPCConfig() btcrpcclient.ConnConfig { return h.node.config.rpcConnConfig() } +// P2PAddress returns the harness' P2P listening ad...
rpctest: Add P2PAddress() for Harness to get P2P listen address
btcsuite_btcd
train
66d24cf0f00a58133c159940d8f65a4f622a09eb
diff --git a/alot/buffers.py b/alot/buffers.py index <HASH>..<HASH> 100644 --- a/alot/buffers.py +++ b/alot/buffers.py @@ -207,6 +207,8 @@ class SearchBuffer(Buffer): modename = 'search' threads = [] + _REVERSE = {'oldest_first': 'newest_first', + 'newest_first': 'oldest_first'} def...
smug focus_last in SearchBuffers In case a search buffer displays more than <I> threads and one calls `move last`, this will now result in a new search with reversed search order displayed using a reversed PipeWalker. This makes it unnecessary to read all thread id's when focussing the last element and thus speeds up...
pazz_alot
train
7297dd33bb693aea29b5bc8ded0b3de3ddd368bb
diff --git a/pkg/kubelet/kubelet_node_status.go b/pkg/kubelet/kubelet_node_status.go index <HASH>..<HASH> 100644 --- a/pkg/kubelet/kubelet_node_status.go +++ b/pkg/kubelet/kubelet_node_status.go @@ -592,7 +592,9 @@ func (kl *Kubelet) setNodeStatusMachineInfo(node *v1.Node) { devicePluginCapacity, devicePluginAllocat...
Change Capacity log verbosity in node status update
kubernetes_kubernetes
train
64e0be325c0e1f1c1358555a7f099a7fce5ca242
diff --git a/package.json b/package.json index <HASH>..<HASH> 100644 --- a/package.json +++ b/package.json @@ -46,9 +46,9 @@ "cz-conventional-changelog": "^1.1.5", "jsdom": "^7.2.2", "mocha": "^2.3.3", - "react": "^15.0.0", - "react-addons-test-utils": "^15.0.0", - "react-dom": "^15.0.0", + "...
updating to react <I> and fixing propTypes warnings (#<I>)
pluralsight_react-styleable
train
b2a8a43e55da2702206acc4c7bd13ab2882ef980
diff --git a/client/lib/keyboard-shortcuts/key-bindings.js b/client/lib/keyboard-shortcuts/key-bindings.js index <HASH>..<HASH> 100644 --- a/client/lib/keyboard-shortcuts/key-bindings.js +++ b/client/lib/keyboard-shortcuts/key-bindings.js @@ -23,9 +23,9 @@ const KEY_BINDINGS = { }, { eventName: 'open-selectio...
Update/<I> add keyboard shortcut for visit site (#<I>) * add 'v' keyboard shortcut option for opening Reader site links * refactor open shortcut to allow for either "enter" or "v" for opening posts
Automattic_wp-calypso
train
9aee7c5cf7dd5a81b5f449ae66152b052325e5b9
diff --git a/src/main/java/tech/sirwellington/alchemy/generator/ObjectGenerators.java b/src/main/java/tech/sirwellington/alchemy/generator/ObjectGenerators.java index <HASH>..<HASH> 100644 --- a/src/main/java/tech/sirwellington/alchemy/generator/ObjectGenerators.java +++ b/src/main/java/tech/sirwellington/alchemy/gener...
Fixing issue #<I> in `pojos` generator + Registering a Generator for Byte types
SirWellington_alchemy-generator
train
759aa6836d3734ae8587656941185d4d6c947966
diff --git a/werkzeug/_compat.py b/werkzeug/_compat.py index <HASH>..<HASH> 100644 --- a/werkzeug/_compat.py +++ b/werkzeug/_compat.py @@ -33,6 +33,8 @@ if PY2: int_to_byte = chr iter_bytes = iter + import collections as collections_abc + exec('def reraise(tp, value, tb=None):\n raise tp, value, tb'...
Import abc classes from collections.abc Fixes warnings that look like this: ``` werkzeug/datastructures.py:<I>: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in <I> it will stop working ``` You can replicate these warnings by running `python -...
pallets_werkzeug
train
2303f3cba618d99fed7f3be93d3e6a9fc0621dc7
diff --git a/lib/redfish_plus/dsl.rb b/lib/redfish_plus/dsl.rb index <HASH>..<HASH> 100644 --- a/lib/redfish_plus/dsl.rb +++ b/lib/redfish_plus/dsl.rb @@ -422,15 +422,16 @@ module RedfishPlus domain.data['logging']['levels'][key] = level end - def custom_resource(domain, name, value) + def custom_re...
Support the configuraiton of restype for custom resources
realityforge_redfish
train
48a9856da8362d2904cc8d15122b515b5c505bd2
diff --git a/lib/filelib.php b/lib/filelib.php index <HASH>..<HASH> 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -904,6 +904,7 @@ function file_save_draft_area_files($draftitemid, $contextid, $component, $filea $newhashes = array(); $filecount = 0; + $context = context::instance_by_i...
MDL-<I> filelib: Files that are oversized are checked with user. Files that are oversized could have been uploaded by a user who can ignore the file size limits. These files should not be deleted in these situations.
moodle_moodle
train
7b728a79ee8fe66dd9b4cf91867139163e112002
diff --git a/lib/writer/jsonml.js b/lib/writer/jsonml.js index <HASH>..<HASH> 100644 --- a/lib/writer/jsonml.js +++ b/lib/writer/jsonml.js @@ -93,6 +93,7 @@ var convertBlock = function(block, context) { case 'divider': return ['hr']; case 'bulleted': return ['ul'].concat(convertList(block, context)); ca...
Strip comments from HTML and XeLaTeX output for now.
sheremetyev_texts.js
train
44b9aaa88c232938a79481925c0fe704baec46ab
diff --git a/fs/sshfs/sshfs.py b/fs/sshfs/sshfs.py index <HASH>..<HASH> 100644 --- a/fs/sshfs/sshfs.py +++ b/fs/sshfs/sshfs.py @@ -4,7 +4,6 @@ from __future__ import unicode_literals from __future__ import absolute_import -import io import os import stat import socket @@ -18,7 +17,6 @@ from .. import errors fro...
Enable file prefetching in `SSHFS.openbin`
althonos_fs.sshfs
train
ca5f042957f297cfb99fdae9f85c514e5628c1f4
diff --git a/lib/Data/Mapper/UserRegisterMapper.php b/lib/Data/Mapper/UserRegisterMapper.php index <HASH>..<HASH> 100644 --- a/lib/Data/Mapper/UserRegisterMapper.php +++ b/lib/Data/Mapper/UserRegisterMapper.php @@ -59,6 +59,7 @@ class UserRegisterMapper $data = new UserRegisterData([ 'contentType'...
EZP-<I>: Error <I> after trying to register new user (#<I>)
ezsystems_repository-forms
train
4a8b871dbd65d823b6296a5d5885f47662f9b5bc
diff --git a/shaka-player.uncompiled.js b/shaka-player.uncompiled.js index <HASH>..<HASH> 100644 --- a/shaka-player.uncompiled.js +++ b/shaka-player.uncompiled.js @@ -44,6 +44,7 @@ goog.require('shaka.polyfill.PatchedMediaKeysMs'); goog.require('shaka.polyfill.PatchedMediaKeysNop'); goog.require('shaka.polyfill.Patch...
test: Fix tests in uncompiled mode (#<I>) Missing require for randomUUID polyfill
google_shaka-player
train
5904e4ac79d3b40182dc39945c093cb77676b87f
diff --git a/agent/consul/state/schema.go b/agent/consul/state/schema.go index <HASH>..<HASH> 100644 --- a/agent/consul/state/schema.go +++ b/agent/consul/state/schema.go @@ -2,6 +2,7 @@ package state import ( "fmt" + "strings" "github.com/hashicorp/go-memdb" ) @@ -75,11 +76,37 @@ func indexTableSchema() *mem...
Refactor table index (#<I>) * convert tableIndex to use the new pattern * make `indexFromString` available for oss as well * refactor `indexUpdateMaxTxn`
hashicorp_consul
train
ce461454c80c12d0531ea45197f69a20f67c8ac7
diff --git a/buffer.go b/buffer.go index <HASH>..<HASH> 100644 --- a/buffer.go +++ b/buffer.go @@ -24,43 +24,6 @@ type buffer struct { Buffer } -func newBuffer(buf Buffer) Buffer { - return &buffer{ - Buffer: buf, - } -} - -func (buf *buffer) Len() int64 { - return buf.Buffer.Len() + int64(len(buf.head)) -} - -fu...
Removing WriterTo, will rework
djherbis_buffer
train
f277864aa5a8f59ada87ade92d71891f5a4be56f
diff --git a/pkg/scheduler/internal/queue/scheduling_queue.go b/pkg/scheduler/internal/queue/scheduling_queue.go index <HASH>..<HASH> 100644 --- a/pkg/scheduler/internal/queue/scheduling_queue.go +++ b/pkg/scheduler/internal/queue/scheduling_queue.go @@ -742,10 +742,11 @@ func (p *PriorityQueue) getBackoffTime(podInfo ...
Scheduler queue: fix calculateBackoffDuration overflow in extreme data cases
kubernetes_kubernetes
train
2024d494546bfbf1d7a8339b57a0b895cb4af935
diff --git a/spec/page_spec.rb b/spec/page_spec.rb index <HASH>..<HASH> 100644 --- a/spec/page_spec.rb +++ b/spec/page_spec.rb @@ -2,33 +2,21 @@ describe 'Page' do let(:site) { double } - let(:page) { Dimples::Page.new(site) } + let(:page) { Dimples::Page.new(site, source_path) } + let(:html) { '<p><em>Hey!</e...
Switch to the source page file, add render and write tests
waferbaby_dimples
train
32b3fa7b9d4fae258ba18143f197efc5ff7e5d6a
diff --git a/src/Resources/contao/pattern/PatternPageTree.php b/src/Resources/contao/pattern/PatternPageTree.php index <HASH>..<HASH> 100644 --- a/src/Resources/contao/pattern/PatternPageTree.php +++ b/src/Resources/contao/pattern/PatternPageTree.php @@ -124,11 +124,14 @@ class PatternPageTree extends Pattern $ar...
Return arrData instead of the model
agoat_contao-customcontentelements-bundle
train
a844ede90f21a288f9829dc1f03a67d94211ec35
diff --git a/packages/avatar/src/Avatar.js b/packages/avatar/src/Avatar.js index <HASH>..<HASH> 100644 --- a/packages/avatar/src/Avatar.js +++ b/packages/avatar/src/Avatar.js @@ -39,8 +39,7 @@ function backgroundIdFromName(name) { * @returns {string} */ function initialsFromName(name) { - const initials = name.ma...
fix: function initialsFromName() can't handle some non-English names properly
Autodesk_hig
train
df11d84822287a5ed9e2adb2bb909024bb65ed96
diff --git a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/ApproveTest.java b/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/ApproveTest.java index <HASH>..<HASH> 100644 --- a/kubernetes-tests/src/test/java/io/fabric8/kubernetes/client/mock/ApproveTest.java +++ b/kubernetes-tests/sr...
Update ApproveTest.java
fabric8io_kubernetes-client
train
3ecd6729caad4c776c52500f739da0453401714e
diff --git a/src/main/java/net/snowflake/client/jdbc/SnowflakeStatementV1.java b/src/main/java/net/snowflake/client/jdbc/SnowflakeStatementV1.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/snowflake/client/jdbc/SnowflakeStatementV1.java +++ b/src/main/java/net/snowflake/client/jdbc/SnowflakeStatementV1.java @...
SNOW-<I>: fix unreleased memory
snowflakedb_snowflake-jdbc
train
5f46a2ce5cd147f29ec87fe89ddc59ac94f36a7f
diff --git a/pingouin/bayesian.py b/pingouin/bayesian.py index <HASH>..<HASH> 100644 --- a/pingouin/bayesian.py +++ b/pingouin/bayesian.py @@ -10,6 +10,8 @@ __all__ = ["bayesfactor_ttest", "bayesfactor_pearson", "bayesfactor_binom"] def _format_bf(bf, precision=3, trim='0'): """Format BF10 to floating point or sc...
don't touch BF if it's already a str
raphaelvallat_pingouin
train
5abde0eb7d52dbb43e00e5eed52cd0702d6d3c59
diff --git a/client/js/Panels/MetaEditor/MetaEditorControl.js b/client/js/Panels/MetaEditor/MetaEditorControl.js index <HASH>..<HASH> 100644 --- a/client/js/Panels/MetaEditor/MetaEditorControl.js +++ b/client/js/Panels/MetaEditor/MetaEditorControl.js @@ -259,7 +259,7 @@ define(['logManager', } //pro...
perormance optimisation: check whose position has been updated Former-commit-id: <I>e<I>ce5f<I>f5c7f2f8d<I>
webgme_webgme-engine
train
23c7a25072bc81a899561395456bf186b13ddcd1
diff --git a/azurerm/internal/services/compute/resource_arm_linux_virtual_machine_scale_set.go b/azurerm/internal/services/compute/resource_arm_linux_virtual_machine_scale_set.go index <HASH>..<HASH> 100644 --- a/azurerm/internal/services/compute/resource_arm_linux_virtual_machine_scale_set.go +++ b/azurerm/internal/se...
Some update to conform <I>
terraform-providers_terraform-provider-azurerm
train
3bbb483787b68dc12ec1f378fc9299388951861c
diff --git a/google_drive_downloader/google_drive_downloader.py b/google_drive_downloader/google_drive_downloader.py index <HASH>..<HASH> 100644 --- a/google_drive_downloader/google_drive_downloader.py +++ b/google_drive_downloader/google_drive_downloader.py @@ -1,5 +1,4 @@ from __future__ import print_function -impor...
Revert attempt to fetch filename from response Current way to fetch filename from response often fails. This feature will be added as soon as a more reliable way to parse the response is added. This reverts commit 0c<I>c<I>fda<I>e<I>c<I>fdb<I>e<I>d<I>abad.
ndrplz_google-drive-downloader
train
a29151a399f8aac4ee23a24850308afd1753133c
diff --git a/lib/f_dev.js b/lib/f_dev.js index <HASH>..<HASH> 100644 --- a/lib/f_dev.js +++ b/lib/f_dev.js @@ -198,10 +198,6 @@ function augment(toAugment, config){ maxRetries: config.maxRetries || { all : 10 }, - // HAS TO BE EDITTED - maxMethodRetries: config.maxMethodRetries || 10, - - maxMethodRetriesBy...
Made sure maxRetries.all is always specified
opensoars_f_
train
db5e48200e724ed9d9ce7734d8041c22551f4ab2
diff --git a/redis/client.py b/redis/client.py index <HASH>..<HASH> 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1766,7 +1766,7 @@ class Script(object): # make sure the Redis server knows about the script if isinstance(client, BasePipeline): # make sure this script is good to go...
pass the script object, not the lua string
andymccurdy_redis-py
train
640df048405bc7c3e5b8fce8caec69c05f75e43c
diff --git a/moto/dynamodb2/models/__init__.py b/moto/dynamodb2/models/__init__.py index <HASH>..<HASH> 100644 --- a/moto/dynamodb2/models/__init__.py +++ b/moto/dynamodb2/models/__init__.py @@ -156,6 +156,10 @@ class Item(BaseModel): existing = self.attrs.get(attribute_name, DynamoType({"SS": {}})...
Implement Add to List for dynamodb:UpdateItem (#<I>) This handles the add-to-list case using the legacy `AttributeUpdates` parameter. * Added test coverage. * Verified against real AWS backend. Closes #<I>
spulec_moto
train
c046677b09c76f8febd68602015f7461de83a3e0
diff --git a/octo-core/lib/octocore/models/contactus.rb b/octo-core/lib/octocore/models/contactus.rb index <HASH>..<HASH> 100644 --- a/octo-core/lib/octocore/models/contactus.rb +++ b/octo-core/lib/octocore/models/contactus.rb @@ -1,17 +1,17 @@ require 'cequel' - +# Model for contavt us page on the microsite module O...
Minor model changes in subscribe and contactus
octoai_gem-octocore-cassandra
train
bde51819f3797727ad24d8c0c47078c17787a829
diff --git a/system/Database/MySQLi/Connection.php b/system/Database/MySQLi/Connection.php index <HASH>..<HASH> 100644 --- a/system/Database/MySQLi/Connection.php +++ b/system/Database/MySQLi/Connection.php @@ -156,7 +156,6 @@ class Connection extends BaseConnection } } - ...
Fix mysqli ssl connection - certificate is not required to establish a secure connection
codeigniter4_CodeIgniter4
train
fd2ab00c3a31928e407fa6861bd8808d35958157
diff --git a/gulpfile.js b/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -41,6 +41,7 @@ gulp.task('compile', function() { '!node_modules/google-closure-library/closure/**/*_test.js' ]) .pipe(closureCompiler({ + assume_function_wrapper: true, comp...
Pass --assume_function_wrapper to the Closure Compiler Currently, this doesn't reduce the output size, but it might be able to enable more optimizations in the future.
google_wicked-good-xpath
train
7dbfd6955b1bf0ea6a503c472a8429d76c575e1e
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -233,10 +233,10 @@ Victor.prototype.limit = function (max, factor) { * @api public */ Victor.prototype.randomize = function (maxX, maxY) { - var x = Math.floor(Math.random() * maxX), - y = Math.floor(Math.random() * maxY...
Fixed `randomize` function. It returned a copy instead of `this`
maxkueng_victor
train
39bc3964c485340b4cceba25e344a7e0d5f1ee4a
diff --git a/composer.json b/composer.json index <HASH>..<HASH> 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,8 @@ "require-dev": { "phpunit/phpunit": "^6.3", "doctrine/coding-standard": "^1.0", - "squizlabs/php_codesniffer": "^3.0" + "squizlabs/php_codesniffer": "^3.0...
Trigger silent deprecations for legacy ClassLoader, Inflector and Lexer
doctrine_common
train
43a62f85f06efd12264046e0b51d9a99aa6f7c8a
diff --git a/anyconfig/cli.py b/anyconfig/cli.py index <HASH>..<HASH> 100644 --- a/anyconfig/cli.py +++ b/anyconfig/cli.py @@ -17,6 +17,7 @@ import anyconfig.api as A import anyconfig.compat import anyconfig.globals import anyconfig.mergeabledict +import anyconfig.parser _ENCODING = locale.getdefaultlocale()[1]...
cli: fix a bug that values set by --set option are not parsed and processed as strings
ssato_python-anyconfig
train
107722607eb06c9ba7c06bd76b9f49c0f53d3dc8
diff --git a/lib/solargraph/api_map.rb b/lib/solargraph/api_map.rb index <HASH>..<HASH> 100755 --- a/lib/solargraph/api_map.rb +++ b/lib/solargraph/api_map.rb @@ -27,6 +27,10 @@ module Solargraph @workspace = workspace clear unless @workspace.nil? + extra = File.join(workspace, '.solargra...
Use .yardopts for workspace files in ApiMap and .solargraph for extra code.
castwide_solargraph
train
031e441038bb8182ac69a9cec25a7bd557d49568
diff --git a/src/main/java/org/sakaiproject/nakamura/lite/types/Types.java b/src/main/java/org/sakaiproject/nakamura/lite/types/Types.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/sakaiproject/nakamura/lite/types/Types.java +++ b/src/main/java/org/sakaiproject/nakamura/lite/types/Types.java @@ -121,16 +121,1...
KENR-<I>, mucked up the logic there a bit, must remember to run the unit tests all the time.
ieb_sparsemapcontent
train
7c17fbce76580590cfbd2623f0193dd9cb2963ce
diff --git a/scriptblock.js b/scriptblock.js index <HASH>..<HASH> 100644 --- a/scriptblock.js +++ b/scriptblock.js @@ -33,6 +33,22 @@ ScriptblockPlugin.prototype.disable = function() { }; ScriptblockPlugin.prototype.interact = function(target) { - console.log(target); - // TODO: prompt for script, set at x,y,z + ...
Set script in blockdata when interact with top, run when interact on other sides
voxel_voxel-scriptblock
train
3beac3ae1a1e99a27d817363f98d5570c234436a
diff --git a/src/Command/YamlSplitCommand.php b/src/Command/YamlSplitCommand.php index <HASH>..<HASH> 100644 --- a/src/Command/YamlSplitCommand.php +++ b/src/Command/YamlSplitCommand.php @@ -86,7 +86,7 @@ class YamlSplitCommand extends Command $initial_level = 1; $nested_array->yaml_split_array($yaml_...
Applied PHPQA to be PSR-2 complaint
hechoendrupal_drupal-console
train
6e81ac2cb67b09f508f832189726e597f9d56861
diff --git a/wandb/tensorboard/watcher.py b/wandb/tensorboard/watcher.py index <HASH>..<HASH> 100644 --- a/wandb/tensorboard/watcher.py +++ b/wandb/tensorboard/watcher.py @@ -5,6 +5,8 @@ import sys for path in sys.path: if "client/wandb" in path: sys.path.remove(path) +if sys.modules.get("tensorboard"): ...
fix tensorboard import issue
wandb_client
train
f7e47a6ac5cbb1eeec6b026984eb13e3dc549c1d
diff --git a/cfroutes/routing_info_helpers_test.go b/cfroutes/routing_info_helpers_test.go index <HASH>..<HASH> 100644 --- a/cfroutes/routing_info_helpers_test.go +++ b/cfroutes/routing_info_helpers_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "github.com/cloudfoundry-incubator/bbs/models" - "github.com/cloud...
Move cfroutes to routing-info [#<I>]
cloudfoundry_route-emitter
train
1db6405e252a0368ccee9e8ba90354088717cd41
diff --git a/examples/models.py b/examples/models.py index <HASH>..<HASH> 100644 --- a/examples/models.py +++ b/examples/models.py @@ -15,7 +15,7 @@ class LdapUser(ldapdb.models.Model): # LDAP meta-data base_dn = "ou=people,dc=example,dc=org" object_classes = ['posixAccount', 'shadowAccount', 'inetOrgPer...
Mark 'modifyTimestamp' as read-only This field is managed by the LDAP server, and not user-editable.
django-ldapdb_django-ldapdb
train
8fbf41b01b8dc21498cd4f59e9824ecbc1cbf413
diff --git a/src/tests/Autosuggest.js b/src/tests/Autosuggest.js index <HASH>..<HASH> 100644 --- a/src/tests/Autosuggest.js +++ b/src/tests/Autosuggest.js @@ -429,11 +429,9 @@ describe('Autosuggest', function() { describe('onSuggestionFocused', function() { beforeEach(function() { onSuggestionFocused.moc...
Cleans up tests for onSuggestionFocused and onSuggestionUnfocused: - Updates simulation of clicking outside to be more realistic with keyboard interactions - Removes unnecessary function spies
moroshko_react-autosuggest
train
4fdfa51ca4073fe593c4cf8fd418a7f334e98fe7
diff --git a/mgmt/rest/plugin.go b/mgmt/rest/plugin.go index <HASH>..<HASH> 100644 --- a/mgmt/rest/plugin.go +++ b/mgmt/rest/plugin.go @@ -291,24 +291,27 @@ func (s *Server) getPlugin(w http.ResponseWriter, r *http.Request, p httprouter. return } - b, err := ioutil.ReadFile(plugin.PluginPath()) - if err != nil {...
Adds required download param to be set when downloading plugin
intelsdi-x_snap
train