hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
f11646d6218682bd576af31b9edfbb90ff3e362a
diff --git a/android/src/main/java/com/polidea/reactnativeble/converter/CharacteristicToJsObjectConverter.java b/android/src/main/java/com/polidea/reactnativeble/converter/CharacteristicToJsObjectConverter.java index <HASH>..<HASH> 100644 --- a/android/src/main/java/com/polidea/reactnativeble/converter/CharacteristicTo...
[android] fix: characteristic value field's name
Polidea_react-native-ble-plx
train
f70fef851995e76aebcfc5444915edaa5d0b7db6
diff --git a/bitstring.py b/bitstring.py index <HASH>..<HASH> 100644 --- a/bitstring.py +++ b/bitstring.py @@ -123,7 +123,7 @@ REPLACEMENTS_LE = {'b': 'intle:8', 'B': 'uintle:8', # Size in bytes of all the pack codes. PACK_CODE_SIZE = {'b': 1, 'B': 1, 'h': 2, 'H': 2, 'l': 4, 'L': 4, - 'q': 8, 'Q': ...
Fixing an incorrect PACK_CODE_SIZE. Removing the list copy in join().
scott-griffiths_bitstring
train
40404cc31e6833ec22de59e9dc8288c618d6ae27
diff --git a/tests/includes/testcase.php b/tests/includes/testcase.php index <HASH>..<HASH> 100644 --- a/tests/includes/testcase.php +++ b/tests/includes/testcase.php @@ -197,7 +197,8 @@ class Pods_UnitTestCase extends \WP_UnitTestCase { 'display_name' => 'Related user', 'user_login' => 'related-user', '...
Add test_text_field to the various tests (properly)
pods-framework_pods
train
ebabe34ee6c1edcaa46f720a88a583c18f1d1ed0
diff --git a/src/ofxstatement/configuration.py b/src/ofxstatement/configuration.py index <HASH>..<HASH> 100644 --- a/src/ofxstatement/configuration.py +++ b/src/ofxstatement/configuration.py @@ -26,6 +26,5 @@ def get_settings(ui, config, section): if not config.has_section(section): raise Abort("No sectio...
Remove accidental pdb breakpoint
kedder_ofxstatement
train
35f7a2cbeddf53a6e75318774ad18de283a9af4b
diff --git a/src/Ssess.php b/src/Ssess.php index <HASH>..<HASH> 100644 --- a/src/Ssess.php +++ b/src/Ssess.php @@ -217,7 +217,7 @@ class Ssess implements \SessionHandlerInterface public function gc($max_life): bool { try { - $this->storageDriver->clearOld($max_life / 1000); + $t...
Fix microseconds calculation on storage drivers
phpsess_session-handler
train
3c5378ce635bfa198502a5d16cc2f19641e11bb3
diff --git a/hazelcast/src/main/java/com/hazelcast/concurrent/idgen/IdGeneratorProxy.java b/hazelcast/src/main/java/com/hazelcast/concurrent/idgen/IdGeneratorProxy.java index <HASH>..<HASH> 100644 --- a/hazelcast/src/main/java/com/hazelcast/concurrent/idgen/IdGeneratorProxy.java +++ b/hazelcast/src/main/java/com/hazelc...
Sonar issue Redundant nullcheck of com.hazelcast.concurrent.idgen.IdGeneratorProxy.getServiceName(), which is known to be non-null in com.hazelcast.concurrent.idgen.IdGeneratorProxy.hashCode() getServiceName returns IdGeneratorService.SERVICE_NAME defined as public static final String SERVICE_NAME = "hz:impl:idGenera...
hazelcast_hazelcast
train
c32b92ef88621c04254f825c1bf14d3d70ada604
diff --git a/pycbc/workflow/configuration.py b/pycbc/workflow/configuration.py index <HASH>..<HASH> 100644 --- a/pycbc/workflow/configuration.py +++ b/pycbc/workflow/configuration.py @@ -111,7 +111,13 @@ class WorkflowConfigParser(glue.pipeline.DeepCopyableConfigParser): self.read_ini_file(configFiles) - ...
Fix to avoid request memory config override to give an error (#<I>)
gwastro_pycbc
train
da7f6c7e5b4ed517398dd7a75ef23e380c5d46b5
diff --git a/themes/socialblue/color/preview.js b/themes/socialblue/color/preview.js index <HASH>..<HASH> 100644 --- a/themes/socialblue/color/preview.js +++ b/themes/socialblue/color/preview.js @@ -8,12 +8,16 @@ Drupal.color = { logoChanged: false, + bannerChanged: false, callback: function (context,...
Issue #<I> by agami4: Update javascript for preview banner image
goalgorilla_open_social
train
0d6c3716849cd072d7931ade41c630294b70687e
diff --git a/tasks/version_build.js b/tasks/version_build.js index <HASH>..<HASH> 100644 --- a/tasks/version_build.js +++ b/tasks/version_build.js @@ -68,7 +68,7 @@ module.exports = function (grunt) { // Initialize git repo if one doesn't exist function initGit () { - if (!fs.existsSync(path.join(optio...
Fix initGit by adding absolute path to built .git directory
robwierzbowski_grunt-build-control
train
36f49ca5a54cb7ee2108be6bea52ac5bdb533270
diff --git a/src/NafIndex.js b/src/NafIndex.js index <HASH>..<HASH> 100644 --- a/src/NafIndex.js +++ b/src/NafIndex.js @@ -14,7 +14,7 @@ naf.options = options; naf.utils = utils; naf.log = new NafLogger(); naf.schemas = new Schemas(); -naf.version = "0.6.1"; +naf.version = "0.7.1"; naf.adapters = new AdapterFacto...
Update NafIndex.js
networked-aframe_networked-aframe
train
778537e1fd9ddeedcb38b66ea2dc7aa694d4c1fb
diff --git a/bibliopixel/project/fill.py b/bibliopixel/project/fill.py index <HASH>..<HASH> 100644 --- a/bibliopixel/project/fill.py +++ b/bibliopixel/project/fill.py @@ -51,7 +51,7 @@ def _fill_aliases(desc): def _fill_palettes(desc): p = desc.pop('palettes', {}) with exception.add('Error in "palettes" Sect...
Rename palette dictionaries * GLOBAL_PALETTES becomes BUILT_IN_PALETTES * USER_PALETTES becomes PROJECT_PALETTES
ManiacalLabs_BiblioPixel
train
156a288e10480cc2ce5b26083d278f5cd4887a41
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup, find_packages setup( name = 'reap', - version = '0.4-pre', + version = '0.4', description = 'A command line interface for the Harvest time tracking tool.', a...
Bumped version to <I>
jakebasile_reap
train
3c2c50352991d6a8cfd5039356464d74c6d4467f
diff --git a/qgrid/grid.py b/qgrid/grid.py index <HASH>..<HASH> 100644 --- a/qgrid/grid.py +++ b/qgrid/grid.py @@ -985,7 +985,7 @@ class QgridWidget(widgets.DOMWidget): return else: if col_info['type'] == 'any': - unique_list = col_series.dtype.categories + ...
Make filters for categorical columns work on old versions of pandas, like <I>.
quantopian_qgrid
train
60960236ac0158817ab8e6946dbe17d47ede8b8a
diff --git a/src/HPCloud/Bootstrap.php b/src/HPCloud/Bootstrap.php index <HASH>..<HASH> 100644 --- a/src/HPCloud/Bootstrap.php +++ b/src/HPCloud/Bootstrap.php @@ -180,6 +180,16 @@ class Bootstrap { return $default; } + /** + * Check whether the given configuration option is set. + * + * @param string $...
Updated docs for hasConf().
hpcloud_HPCloud-PHP
train
ba5e7422438fd6a36c490b99c51aa6be5712df8c
diff --git a/lib/node_modules/@stdlib/string/format/lib/main.js b/lib/node_modules/@stdlib/string/format/lib/main.js index <HASH>..<HASH> 100644 --- a/lib/node_modules/@stdlib/string/format/lib/main.js +++ b/lib/node_modules/@stdlib/string/format/lib/main.js @@ -94,7 +94,7 @@ function format( str ) { token.padZer...
Replace method call to preserve backward compatibility
stdlib-js_stdlib
train
1b6cff78eeb863a2f9400f842ea924d9631fd7db
diff --git a/src/scs_core/aws/manager/lambda_message_manager.py b/src/scs_core/aws/manager/lambda_message_manager.py index <HASH>..<HASH> 100644 --- a/src/scs_core/aws/manager/lambda_message_manager.py +++ b/src/scs_core/aws/manager/lambda_message_manager.py @@ -45,10 +45,10 @@ class MessageManager(object): # --...
Added path field to MessageRequest
south-coast-science_scs_core
train
3a706b7555a195849b1c9b944541be3ff9850c97
diff --git a/core/main.go b/core/main.go index <HASH>..<HASH> 100644 --- a/core/main.go +++ b/core/main.go @@ -312,7 +312,7 @@ func (c *Core) TasksToChores() { log.Infof("SCHEDULER: converting tasks (database) into chores (scheduler)") inflight := make(map[string]*db.Task) - if active, err := c.db.GetAllTasks(&db...
go fmt ftw
starkandwayne_shield
train
fca77377a2cdfdc7ab86cc3725de3f1cd93d9d6a
diff --git a/java/client/test/org/openqa/selenium/logging/AvailableLogsTest.java b/java/client/test/org/openqa/selenium/logging/AvailableLogsTest.java index <HASH>..<HASH> 100644 --- a/java/client/test/org/openqa/selenium/logging/AvailableLogsTest.java +++ b/java/client/test/org/openqa/selenium/logging/AvailableLogsTes...
Ignoring logging tests for chromedriver1
SeleniumHQ_selenium
train
0d6b542534d93f9c88ac8527cabc4a2f37257b09
diff --git a/core/renderMiddleware.js b/core/renderMiddleware.js index <HASH>..<HASH> 100644 --- a/core/renderMiddleware.js +++ b/core/renderMiddleware.js @@ -173,6 +173,8 @@ function renderBaseTag(pageObject, res) { function renderScriptsSync(scripts, res) { + // We should only need to render scripts synchronousl...
Add a comment around sync script warning
redfin_react-server
train
5b0b2a0bcb52b09fe3ab99aae0dba5936d7ffbc2
diff --git a/lib/rules/no-curly-component-invocation.js b/lib/rules/no-curly-component-invocation.js index <HASH>..<HASH> 100644 --- a/lib/rules/no-curly-component-invocation.js +++ b/lib/rules/no-curly-component-invocation.js @@ -52,7 +52,7 @@ const ALWAYS_CURLY = new Set(['yield']); function toAngleAttrValue(attr) {...
Update lib/rules/no-curly-component-invocation.js
ember-template-lint_ember-template-lint
train
a27edbc06758d9b1d4aaa73689a38d8d446e661d
diff --git a/lib/locomotive/steam/entities/page.rb b/lib/locomotive/steam/entities/page.rb index <HASH>..<HASH> 100644 --- a/lib/locomotive/steam/entities/page.rb +++ b/lib/locomotive/steam/entities/page.rb @@ -17,12 +17,13 @@ module Locomotive alias :templatized? :templatized alias :searchable? :sea...
treat fullpath as localized Use default fullpath for behaviours not depending on localization.
locomotivecms_steam
train
556acbc81afd78dd7efd860b87a26b23cf13d799
diff --git a/modules/uadetector-core/src/main/java/net/sf/uadetector/internal/data/domain/Robot.java b/modules/uadetector-core/src/main/java/net/sf/uadetector/internal/data/domain/Robot.java index <HASH>..<HASH> 100755 --- a/modules/uadetector-core/src/main/java/net/sf/uadetector/internal/data/domain/Robot.java +++ b/m...
Added definition of the type 'Robot'
before_uadetector
train
9edd4c1910fa39d2dcc7db950e730d3a51993ed6
diff --git a/sentinelhub/areas.py b/sentinelhub/areas.py index <HASH>..<HASH> 100644 --- a/sentinelhub/areas.py +++ b/sentinelhub/areas.py @@ -7,7 +7,7 @@ from abc import ABC, abstractmethod import shapely.ops from shapely.geometry import Polygon, MultiPolygon -from .geometry import BBox, BBoxCollection +from .geom...
enabled parsing geometry objects in shape_list
sentinel-hub_sentinelhub-py
train
d0ca33c75ebb7f597db698214d6eea2358528b27
diff --git a/boundary.go b/boundary.go index <HASH>..<HASH> 100644 --- a/boundary.go +++ b/boundary.go @@ -82,7 +82,8 @@ func (b *boundaryReader) Read(dest []byte) (n int, err error) { } for i := 0; i < len(dest); i++ { - cs, err := b.r.Peek(1) + var cs []byte + cs, err = b.r.Peek(1) if err != nil && err !=...
Correct shadowed errors (#<I>)
jhillyerd_enmime
train
f8d2a9332cdc60be904b38d7d1de424c3cba5201
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ setup( 'pytest', ], install_requires=[ - 'Flask', + 'Flask>=1.0', 'pyjwt', 'pendulum', 'passlib',
Issue #<I>: Tried pinning flask version
dusktreader_flask-praetorian
train
7607fa1a488dee7a3e5a2c12849b98f75a8c940d
diff --git a/plugins/auth/src/auth-oidc/index.js b/plugins/auth/src/auth-oidc/index.js index <HASH>..<HASH> 100644 --- a/plugins/auth/src/auth-oidc/index.js +++ b/plugins/auth/src/auth-oidc/index.js @@ -184,12 +184,19 @@ export default class openIdConnect { // else persistence might fail. setTimeo...
use pushState instead of location.href for oidc (#<I>)
kyma-project_luigi
train
2947a277a9df7d1da2ad6082359ce8217e1376b5
diff --git a/tests/simple/admin.py b/tests/simple/admin.py index <HASH>..<HASH> 100644 --- a/tests/simple/admin.py +++ b/tests/simple/admin.py @@ -6,4 +6,4 @@ from . import models site.register(models.Poll) -site.register(models.Booth) +site.register(models.Choice) diff --git a/tests/simple/api.py b/tests/simple/a...
Extended tests to cover what I'm working on.
armet_python-armet
train
0a029a043ea5da399b6e7cdfffdc5c0f030e9463
diff --git a/src/plugins/SoftwareGenerator/templates/forEach/uml/Templates.js b/src/plugins/SoftwareGenerator/templates/forEach/uml/Templates.js index <HASH>..<HASH> 100644 --- a/src/plugins/SoftwareGenerator/templates/forEach/uml/Templates.js +++ b/src/plugins/SoftwareGenerator/templates/forEach/uml/Templates.js @@ -1...
fixed bug in determination of needed state entries
finger563_webgme-hfsm
train
23e51b530ab3a409f110fc5b896154eefbab58ac
diff --git a/Classes/CodeGenerator/HtmlCodeGenerator.php b/Classes/CodeGenerator/HtmlCodeGenerator.php index <HASH>..<HASH> 100644 --- a/Classes/CodeGenerator/HtmlCodeGenerator.php +++ b/Classes/CodeGenerator/HtmlCodeGenerator.php @@ -116,7 +116,7 @@ class HtmlCodeGenerator case FieldType::FILE: ...
[TASK] Remove alt and title from image view helper These fields are resolved automatically from the file reference.
Gernott_mask
train
0583624863506c78b73a534aeb1df6aebbf5fb0e
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index <HASH>..<HASH> 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -15,7 +15,10 @@ class Gitlab(object): if token != "": self.token = token self.headers = {"PRIVATE-TOKEN": self.token} - self.host = host + ...
Fixing trailing slash bug. Should detect if user uses a trailing slash in the host argument and handle it gracefully.
pyapi-gitlab_pyapi-gitlab
train
1b2189d70440f9fd45f5fb2fa4cef765c9e95a7c
diff --git a/spec/dummy/config/routes.rb b/spec/dummy/config/routes.rb index <HASH>..<HASH> 100644 --- a/spec/dummy/config/routes.rb +++ b/spec/dummy/config/routes.rb @@ -1,4 +1,3 @@ Rails.application.routes.draw do - - mount Stylin::Engine => "/stylin" + mount Stylin::Engine => '/styleguides' if Rails.env.developme...
update routes path in dummy app
criticaljuncture_stylin
train
d8ba73609e8d9d019a8e57e0824c3b0412d2416f
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -63,7 +63,8 @@ setup( install_requires=[ "cryptojwt>=1.5.0", "pyOpenSSL", - "filelock>=3.0.12" + "filelock>=3.0.12", + 'pyyaml>=5.1.2' ], zip_safe=False, cmdclass={'te...
Added yaml requirement.
openid_JWTConnect-Python-OidcMsg
train
06989edd821dd8c0c97e7e5295123001200fa577
diff --git a/t/positions.php b/t/positions.php index <HASH>..<HASH> 100644 --- a/t/positions.php +++ b/t/positions.php @@ -18,7 +18,6 @@ ok($p['SELECT'][0]['alias']['position'] == 12, 'position of column alias'); ok($p['FROM'][0]['position'] == 23, 'position of table'); ok($p['FROM'][0]['alias']['position'] == 28, '...
An obsolete comment has been removed. git-svn-id: <URL>
greenlion_PHP-SQL-Parser
train
a06731e24e5bda2c0be2e5413dcb60a2436bbc55
diff --git a/server/requirements/RequirementsChecker.php b/server/requirements/RequirementsChecker.php index <HASH>..<HASH> 100644 --- a/server/requirements/RequirementsChecker.php +++ b/server/requirements/RequirementsChecker.php @@ -437,7 +437,7 @@ class RequirementsChecker if ($oldValue !== '-1'){ ...
** was introduced in PHP <I> server-check might be running on much older versions of PHP, so do it the old fashioned way.
craftcms_server-check
train
a716cf2b8fba9b44cf0581675d5e89f9ee94a51c
diff --git a/krpc/msg.go b/krpc/msg.go index <HASH>..<HASH> 100644 --- a/krpc/msg.go +++ b/krpc/msg.go @@ -5,7 +5,7 @@ import ( ) // Msg represents messages that nodes in the network send to each other as specified by the protocol. -// They are also refered to as the KRPC messages. +// They are also referred to as ...
Fix typo (#<I>) Just a nitpicky typo fix.
anacrolix_dht
train
c387fa58820a736229bb217c5a4494331568d3de
diff --git a/lib/with_model/base.rb b/lib/with_model/base.rb index <HASH>..<HASH> 100644 --- a/lib/with_model/base.rb +++ b/lib/with_model/base.rb @@ -1,3 +1,5 @@ +require 'active_record' + module WithModel class Base < ActiveRecord::Base self.abstract_class = true
Require ActiveRecord::Base instead of expecting it to be loaded
Casecommons_with_model
train
6d0a71793138a2bf27cefcfbbb627ea94f4c0d67
diff --git a/src/test/java/com/github/britter/beanvalidators/strings/BlankTest.java b/src/test/java/com/github/britter/beanvalidators/strings/BlankTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/github/britter/beanvalidators/strings/BlankTest.java +++ b/src/test/java/com/github/britter/beanvalidators/stri...
Use ValidationWrapper in BlankTest
britter_bean-validators
train
4f731ca83caf5911284eb1bb6f61755b206746a5
diff --git a/demo/test/unit/comment_test.rb b/demo/test/unit/comment_test.rb index <HASH>..<HASH> 100644 --- a/demo/test/unit/comment_test.rb +++ b/demo/test/unit/comment_test.rb @@ -16,6 +16,10 @@ class CommentTest < Test::Unit::TestCase assert_equal "#{RAILS_ROOT}/index/test/comment", Comment.class_index_dir ...
test case for id field not be included in queries git-svn-id: svn://projects.jkraemer.net/acts_as_ferret/trunk@<I> <I>d<I>-0a0e-<I>-9cad-a9b<I>e<I>dc
jkraemer_acts_as_ferret
train
30635ede0fd055e7e77eecc96a5bea84938f7fe1
diff --git a/fireplace/card.py b/fireplace/card.py index <HASH>..<HASH> 100644 --- a/fireplace/card.py +++ b/fireplace/card.py @@ -585,11 +585,6 @@ class Minion(Character): super().SELF_DAMAGE(source, amount) - def SELF_HEAL(self, source, amount): - super().SELF_HEAL(source, amount) - if self._enrage and not s...
Do not delete Minion._enrage on heal This was a fairly inconsequent optimization and it doesn't actually mean much because enrage can be removed by changing the DAMAGE tag, without actually healing the minion. We rely on the Minion.enraged property anyway and it checks for the damage value every time it is called.
jleclanche_fireplace
train
23a89e2ab3c44990fc7f9fd2c1b2003d56a17dfb
diff --git a/pysat/instruments/pysat_testing.py b/pysat/instruments/pysat_testing.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/pysat_testing.py +++ b/pysat/instruments/pysat_testing.py @@ -130,8 +130,13 @@ def init(inst): # Pandas output if 'pandas_format' in inst.kwargs: inst.pandas_format...
BUG: fixed pass through for pandas_format
rstoneback_pysat
train
aab3ce9f921e5243eb609885ea93707eb470ebee
diff --git a/salt/overstate.py b/salt/overstate.py index <HASH>..<HASH> 100644 --- a/salt/overstate.py +++ b/salt/overstate.py @@ -75,12 +75,15 @@ class OverState(object): Check if a stage has any requisites and run them first ''' errors = [] + fun = 'state.highstate' + arg = ()...
Add highstate support tot he over state
saltstack_salt
train
a1ba3303c6dce8988bc77038ed955e8511534279
diff --git a/presto-tests/src/test/java/com/facebook/presto/execution/resourceGroups/db/H2TestUtil.java b/presto-tests/src/test/java/com/facebook/presto/execution/resourceGroups/db/H2TestUtil.java index <HASH>..<HASH> 100644 --- a/presto-tests/src/test/java/com/facebook/presto/execution/resourceGroups/db/H2TestUtil.jav...
Refactor createQueryRunner in H2TestUtil Since the properties map only contains one property inline the map.
prestodb_presto
train
912d7e2e93ca06f8ce470af6e39bd4fd3a045248
diff --git a/src/Project/Task/Factory/ProjectCreationTaskFactory.php b/src/Project/Task/Factory/ProjectCreationTaskFactory.php index <HASH>..<HASH> 100644 --- a/src/Project/Task/Factory/ProjectCreationTaskFactory.php +++ b/src/Project/Task/Factory/ProjectCreationTaskFactory.php @@ -3,6 +3,7 @@ namespace Samurai\Project...
add FilesCleaning to the tasks of the new command
Raphhh_samurai
train
e0cd891d6c64d7bdfeb88f7dab915193ef4a48cf
diff --git a/lib/tugboat/middleware/list_droplets.rb b/lib/tugboat/middleware/list_droplets.rb index <HASH>..<HASH> 100644 --- a/lib/tugboat/middleware/list_droplets.rb +++ b/lib/tugboat/middleware/list_droplets.rb @@ -8,7 +8,8 @@ module Tugboat droplet_list = ocean.droplets.list.droplets if droplet...
Update response message to be more helpful :dancer:
petems_tugboat
train
1a4c6b6bd0a857530de530ed6c5e9020907a3b6a
diff --git a/src/Responder/NoContent204Response.php b/src/Responder/NoContent204Response.php index <HASH>..<HASH> 100644 --- a/src/Responder/NoContent204Response.php +++ b/src/Responder/NoContent204Response.php @@ -12,7 +12,7 @@ class NoContent204Response implements HtmlGenerator public function generateHtml(Paylo...
A <I> responder should actually return a <I>.
modusphp_framework
train
44483f5ef85da81a8f1dee05a0a21f82d6b5d81f
diff --git a/python_modules/libraries/dagster-gcp/dagster_gcp/gcs/io_manager.py b/python_modules/libraries/dagster-gcp/dagster_gcp/gcs/io_manager.py index <HASH>..<HASH> 100644 --- a/python_modules/libraries/dagster-gcp/dagster_gcp/gcs/io_manager.py +++ b/python_modules/libraries/dagster-gcp/dagster_gcp/gcs/io_manager....
PickledObjectGCSIOManager retry on <I> too Test Plan: none Reviewers: catherinewu, schrockn Reviewed By: catherinewu Differential Revision: <URL>
dagster-io_dagster
train
6f3cf2db700135647eccb7969d06329a8a9d525b
diff --git a/xray/core/dataset.py b/xray/core/dataset.py index <HASH>..<HASH> 100644 --- a/xray/core/dataset.py +++ b/xray/core/dataset.py @@ -20,6 +20,7 @@ from .utils import (Frozen, SortedKeysDict, ChainMap, multi_index_from_product) from .pycompat import iteritems, itervalues, basestring, Orde...
Read a gzipped netcdf file
pydata_xarray
train
ffc8cc2f5054d9748db1f446cf827d56e518fc49
diff --git a/pkg/scheduler/core/extender_test.go b/pkg/scheduler/core/extender_test.go index <HASH>..<HASH> 100644 --- a/pkg/scheduler/core/extender_test.go +++ b/pkg/scheduler/core/extender_test.go @@ -454,7 +454,7 @@ func TestGenericSchedulerWithExtenders(t *testing.T) { // because of the errors from errorPredica...
Improve scheduler's performance by eliminating sorting when finding the host with the highest score
kubernetes_kubernetes
train
de28ea585d7f40720509a4499345401d70a742ad
diff --git a/lib/god.rb b/lib/god.rb index <HASH>..<HASH> 100644 --- a/lib/god.rb +++ b/lib/god.rb @@ -658,10 +658,12 @@ module God sleep 60 end end - - self.main.join end - + + def self.join + self.main.join if self.main + end + def self.version God::VERSION end @@ -671...
Remove Thread.join stubbing in test_god.rb Splits God.start into God.start and God.join to allow for testing of God.start
mojombo_god
train
96bc5aed1093ed57dd7407b029e9922788aee1bf
diff --git a/salt/states/user.py b/salt/states/user.py index <HASH>..<HASH> 100644 --- a/salt/states/user.py +++ b/salt/states/user.py @@ -693,9 +693,7 @@ def absent(name, purge=False, force=False): ret['comment'] = 'User {0} set for removal'.format(name) return ret beforegroups = set...
Fixed more testing stuff, an egregious error
saltstack_salt
train
a754c87c8abaf89c4abdfbd328d572351d1ec095
diff --git a/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java b/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java +++ b/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java @@ -31,7 +31,6 @@ public abstract...
Micro optimization, avoids unnecessary assignment.
brettwooldridge_HikariCP
train
4ba29331712d18a560b75ed3f575407ab65ee42a
diff --git a/plugin/src/main/java/org/wildfly/plugin/provision/PackageServerMojo.java b/plugin/src/main/java/org/wildfly/plugin/provision/PackageServerMojo.java index <HASH>..<HASH> 100644 --- a/plugin/src/main/java/org/wildfly/plugin/provision/PackageServerMojo.java +++ b/plugin/src/main/java/org/wildfly/plugin/provis...
Fix for WFMP-<I>, Warning message when no deployment is found is misleading
wildfly_wildfly-maven-plugin
train
0adc8e4b8a93e46fd6e9f75fab56fd7fcd0bf285
diff --git a/metpy/tests/test_xarray.py b/metpy/tests/test_xarray.py index <HASH>..<HASH> 100644 --- a/metpy/tests/test_xarray.py +++ b/metpy/tests/test_xarray.py @@ -84,6 +84,14 @@ def test_units(test_var): assert test_var.metpy.units == units('kelvin') +def test_units_percent(): + """Test that '%' is conv...
Due to lack of support for the '%' as a unit within pint, this update converts '%' units to 'percent' units within the MetPy xarray accessor. Fixes #<I>.
Unidata_MetPy
train
f4cc5c50b5b78a5951c43f9b5964a6e7f4b3cb9b
diff --git a/src/animation.js b/src/animation.js index <HASH>..<HASH> 100644 --- a/src/animation.js +++ b/src/animation.js @@ -146,6 +146,9 @@ Crafty.c("SpriteAnimation", { * frame, or play the reel from a specific frame. Attempting to play the reel again otherwise will result in * the animation ending immediately....
Added more tests. Still need to write more tests for each case specified in the 'play' method's documentation.
craftyjs_Crafty
train
10972abb7e93d9c59db54730abad593f52f01565
diff --git a/rpc/rpcreflect/type.go b/rpc/rpcreflect/type.go index <HASH>..<HASH> 100644 --- a/rpc/rpcreflect/type.go +++ b/rpc/rpcreflect/type.go @@ -81,6 +81,7 @@ type RootMethod struct { // TypeOf returns information on all root-level RPC methods // implemented by an object of the given Go type. +// If goType is...
rpc/rpcreflect: adjust doc comments
juju_juju
train
17b92d99a7f847b92f5662adb46278601e89a151
diff --git a/tests/test_transcript.py b/tests/test_transcript.py index <HASH>..<HASH> 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -5,10 +5,12 @@ Cmd2 functional testing based on transcript Copyright 2016 Federico Ceratto <federico.ceratto@gmail.com> Released under MIT license, see LICENSE ...
Added unit test for doing transcript testing within the cmdloop.
python-cmd2_cmd2
train
4bf44076d4e12dd852612db5082fad451520d67d
diff --git a/searx/engines/wikipedia.py b/searx/engines/wikipedia.py index <HASH>..<HASH> 100644 --- a/searx/engines/wikipedia.py +++ b/searx/engines/wikipedia.py @@ -10,6 +10,6 @@ def response(resp): search_results = loads(resp.text) results = [] for res in search_results.get('query', {}).get('search', ...
[enh] proper urls
asciimoo_searx
train
c5609ad3575877dc49f00d879c8684309a2b7eff
diff --git a/Controller/StreamController.php b/Controller/StreamController.php index <HASH>..<HASH> 100644 --- a/Controller/StreamController.php +++ b/Controller/StreamController.php @@ -3,6 +3,7 @@ namespace Debril\RssAtomBundle\Controller; use Symfony\Component\HttpFoundation\Response; +use Symfony\Component\Http...
Map request parameters into the Options sent to the Provider
alexdebril_rss-atom-bundle
train
0adb7926e3623c7107a971ff9c497d7251abfe95
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index <HASH>..<HASH> 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -1882,7 +1882,6 @@ class IndexCol: kind=None, typ=None, cname: Optional[str] = None, - itemsize=None, axis=None, pos=None,...
REF: make itemsize a property (#<I>)
pandas-dev_pandas
train
0ab0be395b30a9b43c3c8a7fa76bdfa3e99f1c63
diff --git a/emili.py b/emili.py index <HASH>..<HASH> 100755 --- a/emili.py +++ b/emili.py @@ -49,8 +49,8 @@ def sendMail( attachments = [], template=None, config=None, - stylesheets = [], - verbose=True + stylesheets = [], + verbose=True ): import smtplib @@ -22...
proper indentation and vim modeline
Som-Energia_emili
train
dc34b40470a3be2d174bdba5eded74a37fc94fe2
diff --git a/google-cloud-bigtable/lib/bigtable/instance_admin_client.rb b/google-cloud-bigtable/lib/bigtable/instance_admin_client.rb index <HASH>..<HASH> 100644 --- a/google-cloud-bigtable/lib/bigtable/instance_admin_client.rb +++ b/google-cloud-bigtable/lib/bigtable/instance_admin_client.rb @@ -304,9 +304,9 @@ modul...
Fixed table admin client creation with keyfile
googleapis_google-cloud-ruby
train
fa19a9e2b19c268d3029c3eaa66fff0d44b3918e
diff --git a/lib/feedcellar/groonga_database.rb b/lib/feedcellar/groonga_database.rb index <HASH>..<HASH> 100644 --- a/lib/feedcellar/groonga_database.rb +++ b/lib/feedcellar/groonga_database.rb @@ -104,6 +104,11 @@ module Feedcellar def populate_schema Groonga::Schema.define do |schema| schema.cre...
Add columns to a table of Resources for OPML
feedcellar_feedcellar
train
ab0017f3cab3972ce5d97d17a6663240de8337a1
diff --git a/lib/autokey/configmanager/configmanager.py b/lib/autokey/configmanager/configmanager.py index <HASH>..<HASH> 100644 --- a/lib/autokey/configmanager/configmanager.py +++ b/lib/autokey/configmanager/configmanager.py @@ -256,7 +256,6 @@ class ConfigManager: with open(CONFIG_FILE, 'r') as pFile:...
Make version comparison more robust In python, "<I>" > "<I>". Needs version parsing to get the correct result.
autokey_autokey
train
710956febfc9768323eed5155f52d51824e79d08
diff --git a/giotto/contrib/static/programs.py b/giotto/contrib/static/programs.py index <HASH>..<HASH> 100644 --- a/giotto/contrib/static/programs.py +++ b/giotto/contrib/static/programs.py @@ -1,11 +1,20 @@ from cStringIO import StringIO from giotto.programs import GiottoProgram from giotto.views import GiottoView...
added back in magic, added mimetype check to outgoing static files
priestc_giotto
train
a376898b328bba197f8247f99fe6b9889aa618ac
diff --git a/stagpy/phyvars.py b/stagpy/phyvars.py index <HASH>..<HASH> 100644 --- a/stagpy/phyvars.py +++ b/stagpy/phyvars.py @@ -151,6 +151,7 @@ RPROF_EXTRA = OrderedDict(( ('energy', Varr(processing.energy_prof, 'Heat flux', 'W/m2')), ('ciover', Varr(processing.init_c_overturn, 'Concentration', '1')), ...
computes theoretical advection profile advth
StagPython_StagPy
train
5a49604fb407a6bbc822f536cf4a384ffa786931
diff --git a/src/Internal/IpcClient.php b/src/Internal/IpcClient.php index <HASH>..<HASH> 100644 --- a/src/Internal/IpcClient.php +++ b/src/Internal/IpcClient.php @@ -9,13 +9,14 @@ use Amp\Promise; use Amp\Socket\ResourceSocket; use function Amp\call; +/** @internal */ final class IpcClient { - const TYPE_PING...
Mark internal classes as @internal
amphp_cluster
train
470facc48ad28dcfae9b862b7bec626207a2a961
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ with open('README.rst') as file_object: setup( name = 'securesystemslib', - version = '0.10.9', + version = '0.10.10', description = 'A library that provides cryptographic and general-purpose routines...
Bump project version to <I> in setup.py
secure-systems-lab_securesystemslib
train
1fa27504a08b2de4b36fd561fca6ab87bc821a3b
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -99,7 +99,6 @@ module.exports = function (grunt) { 'imports_from-to': { files: { 'tmp/imports/from-to': 'test/fixtures/imports' - //'tmp/cus...
- add imports noop test - refactor: encapsulation - defensive coding: do nothing if no options are passed, protect from iteration on empty arrays
eliranmal_grunt-sass-replace
train
2355a8c7f52049e58139d85d10550046ce485ec5
diff --git a/jest-common/src/main/java/io/searchbox/client/AbstractJestClient.java b/jest-common/src/main/java/io/searchbox/client/AbstractJestClient.java index <HASH>..<HASH> 100644 --- a/jest-common/src/main/java/io/searchbox/client/AbstractJestClient.java +++ b/jest-common/src/main/java/io/searchbox/client/AbstractJ...
Scrub server URIs before logging them in AbstractJestClient As a best practice, access credentials such as the user info in the URI of Elasticsearch node URIs should never be logged in plaintext.
searchbox-io_Jest
train
c3a65bab38d223442b4cb1bd8efa70a7ae0aeb93
diff --git a/src/mousetracker.js b/src/mousetracker.js index <HASH>..<HASH> 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -325,10 +325,15 @@ */ getActivePointersListExceptType: function ( type ) { var delegate = THIS[ this.hash ]; + var listArray = []; - ...
Replace filter with a for loop.
openseadragon_openseadragon
train
c49015851dc4ab407ace9954cf15c44467e3d0b3
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ exports.dot = require("./lib/dot"); -exports.Graph = require("graphlib").Graph; +exports.Graph = require("graphlib")....
Upgrade to graphlib <I>.x and graphlib-dot <I>.x
dagrejs_dagre-d3
train
92bb58e1a899b27655ad8d3516d44d258afe2e53
diff --git a/saltpylint/blacklist.py b/saltpylint/blacklist.py index <HASH>..<HASH> 100644 --- a/saltpylint/blacklist.py +++ b/saltpylint/blacklist.py @@ -544,21 +544,23 @@ class BlacklistedFunctionsChecker(BaseChecker): @check_messages('blacklisted-functions') def visit_call(self, node): - full_name...
Don't proceed with function examination if blacklist is empty This is an optimization for #<I>.
saltstack_salt-pylint
train
0170bcae7906231779f050e3324f90587a85b7eb
diff --git a/code/SiteTreeSubsites.php b/code/SiteTreeSubsites.php index <HASH>..<HASH> 100644 --- a/code/SiteTreeSubsites.php +++ b/code/SiteTreeSubsites.php @@ -116,25 +116,16 @@ class SiteTreeSubsites extends DataObjectDecorator { * @return boolean */ function canEdit($member = null) { - if(!$member && $mem...
BUGFIX: Made subsite-specific access control less zealous
silverstripe_silverstripe-subsites
train
0981c62e6b58f8428e289f7cfbb1a5b4be293ec2
diff --git a/java/client/test/org/openqa/selenium/javascript/ClosureTestStatement.java b/java/client/test/org/openqa/selenium/javascript/ClosureTestStatement.java index <HASH>..<HASH> 100644 --- a/java/client/test/org/openqa/selenium/javascript/ClosureTestStatement.java +++ b/java/client/test/org/openqa/selenium/javasc...
There are issues on travis with window maximize operation, I hope this change will fix broken JS jobs.
SeleniumHQ_selenium
train
02f14e4d3441368887b8068d880453efd7609f57
diff --git a/lib/validates_zipcode/cldr_regex_collection.rb b/lib/validates_zipcode/cldr_regex_collection.rb index <HASH>..<HASH> 100644 --- a/lib/validates_zipcode/cldr_regex_collection.rb +++ b/lib/validates_zipcode/cldr_regex_collection.rb @@ -134,7 +134,7 @@ module ValidatesZipcode PM: /\A9[78]5\d{2}\z/, ...
:recycle: restricting RE
dgilperez_validates_zipcode
train
f797e0f0c606e7fef400eee65c92edec38af189f
diff --git a/CHANGELOG.md b/CHANGELOG.md index <HASH>..<HASH> 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ CHANGELOG 2.6.2.pre ----------------- + * Added caching tree for multiselect * Added elements to favorites users * Removed dependency skeeks/yii2-kartik-markdown * Fixed a bug with the di...
Added caching tree for multiselect
skeeks-cms_cms
train
c5ac0a9961a302332c16df55a8c386719d3f7ac9
diff --git a/modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php b/modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php index <HASH>..<HASH> 100644 --- a/modules/social_features/social_search/src/EventSubscriber/RedirectSubscriber.php +++ b/modules/social_feature...
Fix user search page filters in case the view was customized and the exposed filter "created" is not present
goalgorilla_open_social
train
72109f2aac5a293998482930202feaff11113042
diff --git a/lib/relationships.js b/lib/relationships.js index <HASH>..<HASH> 100644 --- a/lib/relationships.js +++ b/lib/relationships.js @@ -84,6 +84,7 @@ function relationships (id, data, model) { updateRelation(modelTo, idToFind, where); }); } else { + if (!relationship.data) {return;} ...
Fix test by handling null relationship data
digitalsadhu_loopback-component-jsonapi
train
743abf1f4741caf62a36021cba0dc58b88814e4e
diff --git a/gems/cache/lib/cache.rb b/gems/cache/lib/cache.rb index <HASH>..<HASH> 100644 --- a/gems/cache/lib/cache.rb +++ b/gems/cache/lib/cache.rb @@ -307,8 +307,9 @@ module TorqueBox config.indexing.index_local_only(true).add_property('indexing', 'in memory') end - manager = org.infini...
Give caches a name based on options provided
torquebox_torquebox
train
d860a8d4ce5c39d4da54b9d789b77f6b9041ffc2
diff --git a/src/views/Transitioner.js b/src/views/Transitioner.js index <HASH>..<HASH> 100644 --- a/src/views/Transitioner.js +++ b/src/views/Transitioner.js @@ -87,15 +87,6 @@ class Transitioner extends React.Component { return; } - if ( - isRouteShallowEqual( - this.props.navigation.stat...
Revert attempted fix for nested state change freeze
react-navigation_stack
train
c19d006be2214a40fdf5582f9e4b297728d0069d
diff --git a/src/main/java/org/primefaces/extensions/component/calculator/CalculatorRenderer.java b/src/main/java/org/primefaces/extensions/component/calculator/CalculatorRenderer.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/primefaces/extensions/component/calculator/CalculatorRenderer.java +++ b/src/main/j...
throw faces error on the server side if calculator is not attached or is not a child a Input Component (#<I>)
primefaces-extensions_core
train
ef7af3cc01175ee98d838bad1174d92ddcde94fc
diff --git a/src/Traits/IsTenant.php b/src/Traits/IsTenant.php index <HASH>..<HASH> 100644 --- a/src/Traits/IsTenant.php +++ b/src/Traits/IsTenant.php @@ -24,7 +24,7 @@ trait IsTenant public static function newDatabaseConnection(Tenant $tenant) { return new TenantConnection([ - 'database' ...
use str facade instead of str helpers
SecTheater_artify
train
5b145513718966642589e92fd3a172048376d7a7
diff --git a/backup/moodle2/restore_stepslib.php b/backup/moodle2/restore_stepslib.php index <HASH>..<HASH> 100644 --- a/backup/moodle2/restore_stepslib.php +++ b/backup/moodle2/restore_stepslib.php @@ -2486,12 +2486,6 @@ class restore_userscompletion_structure_step extends restore_structure_step { $DB->in...
MDL-<I> Backup: delete empty method
moodle_moodle
train
ef52aa4a5193ac5556617d844badd71a73a0e7f7
diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index <HASH>..<HASH> 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -1407,7 +1407,7 @@ class Builder */ public function whereRowValues($columns, $opera...
Prefer stricter negative comparisons with count($arg) (#<I>)
laravel_framework
train
cd64894383b9202ceab3f64104d0920718c70029
diff --git a/app/models/manager_refresh/save_collection/saver/concurrent_safe_batch.rb b/app/models/manager_refresh/save_collection/saver/concurrent_safe_batch.rb index <HASH>..<HASH> 100644 --- a/app/models/manager_refresh/save_collection/saver/concurrent_safe_batch.rb +++ b/app/models/manager_refresh/save_collection/...
Correct update for full after partial Correct update for full after partial with nullifying of the partial update timestamps (transferred from ManageIQ/manageiq@3ad<I>cb<I>b9ac<I>c<I>e<I>e<I>ff)
ManageIQ_inventory_refresh
train
5625c9495468a30f444a7e6b44987e529c173c38
diff --git a/ui/src/plugins/Platform.js b/ui/src/plugins/Platform.js index <HASH>..<HASH> 100644 --- a/ui/src/plugins/Platform.js +++ b/ui/src/plugins/Platform.js @@ -79,7 +79,7 @@ function getPlatform (userAgent) { browser['windows phone'] // These are all considered mobile platforms, meaning they run a mobi...
feat(Platform): improve mobile platform detection
quasarframework_quasar
train
cba38aa206ca59b7b511674beea1a599ee4d5cb5
diff --git a/src/components/dialogs/Dialog.js b/src/components/dialogs/Dialog.js index <HASH>..<HASH> 100644 --- a/src/components/dialogs/Dialog.js +++ b/src/components/dialogs/Dialog.js @@ -12,6 +12,7 @@ export default { disabled: Boolean, persistent: Boolean, fullscreen: Boolean, + fullWidth: Boolea...
added full-width props for better ui when working with forms and inline menus
vuetifyjs_vuetify
train
205d90b29fc9435fa01e5d1d07d207259fdd7e83
diff --git a/mopidy_alarmclock/__init__.py b/mopidy_alarmclock/__init__.py index <HASH>..<HASH> 100644 --- a/mopidy_alarmclock/__init__.py +++ b/mopidy_alarmclock/__init__.py @@ -1,9 +1,9 @@ -from __future__ import unicode_literals + import os -from http import MessageStore, factory_decorator +from .http import Mess...
Update to Python3 and new Mopidy API
DavisNT_mopidy-alarmclock
train
6409e2517d7fc4ca032e164dc41bd1d7d65ed544
diff --git a/source/org/jasig/portal/utils/DTDResolver.java b/source/org/jasig/portal/utils/DTDResolver.java index <HASH>..<HASH> 100644 --- a/source/org/jasig/portal/utils/DTDResolver.java +++ b/source/org/jasig/portal/utils/DTDResolver.java @@ -46,6 +46,7 @@ import org.xml.sax.InputSource; * Provides a means to res...
* Added "-//Netscape Communications//DTD RSS <I>//EN" as a mapping to the local dtd rss-<I>.dtd * resolveEntity now returns null if none of the mappings match, this allows the parser to handle the entity on its own. git-svn-id: <URL>
Jasig_uPortal
train
b4a015423b9dfdbe12a782468ada0fc6d2fdaebc
diff --git a/dojo/nn/layers.py b/dojo/nn/layers.py index <HASH>..<HASH> 100644 --- a/dojo/nn/layers.py +++ b/dojo/nn/layers.py @@ -24,6 +24,8 @@ class BaseLayer(ABC): def update(self, alpha): pass +# ==================================================================================================== +# ...
[Formatting] layer, new lines
VIVelev_PyDojoML
train
1acca2e5d5494a75c900e754e27b0ee28b2e35f5
diff --git a/bot/action/standard/info/formatter/user.py b/bot/action/standard/info/formatter/user.py index <HASH>..<HASH> 100644 --- a/bot/action/standard/info/formatter/user.py +++ b/bot/action/standard/info/formatter/user.py @@ -1,5 +1,5 @@ from bot.action.standard.info.formatter import ApiObjectInfoFormatter -from ...
Display channel admin permissions only for channels or when they have value
alvarogzp_telegram-bot-framework
train
766126d07a6d644b8ac3923894857b53f5024d27
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -72,7 +72,6 @@ fte_cDFA = Extension('fte.cDFA', ], extra_link_args=['thirdparty/'+re2_dir+'/obj/libre2.a', '-Wl,-undefined,...
revert addition of -fPIC to linker flags
kpdyer_libfte
train
fd9ddb7a481ad16a0f827b97baf5120b1ca710f8
diff --git a/test/tests/remote.js b/test/tests/remote.js index <HASH>..<HASH> 100644 --- a/test/tests/remote.js +++ b/test/tests/remote.js @@ -41,18 +41,18 @@ describe("Remote", function() { it("can create a new remote", function() { var repository = this.repository; - var url = "https://github.com/nodegit...
point other remote tests to expect test repo
nodegit_nodegit
train
ced4357a7174cb02821b66cb67686a261cb1fa62
diff --git a/sos/hosts.py b/sos/hosts.py index <HASH>..<HASH> 100755 --- a/sos/hosts.py +++ b/sos/hosts.py @@ -249,7 +249,7 @@ class RemoteHost: def _get_receive_cmd(self): return self.config.get('receive_cmd', - '''mkdir -p ${dest!adpq} && rsync -av -e 'ssh -p ${port}' ${host}:${source!aep} ...
Enable windows -> linux remote execution
vatlab_SoS
train
f614944b63442da7b3b4cec93e735c92d145e6fc
diff --git a/src/Psalm/Checker/FunctionChecker.php b/src/Psalm/Checker/FunctionChecker.php index <HASH>..<HASH> 100644 --- a/src/Psalm/Checker/FunctionChecker.php +++ b/src/Psalm/Checker/FunctionChecker.php @@ -86,6 +86,10 @@ class FunctionChecker extends FunctionLikeChecker $file_storage = FileChecker::$sto...
Add predefined functions to avoid throwing errors
vimeo_psalm
train
35b87c285320ff1940aa857edaa1e221669abb9b
diff --git a/acceptance/tests/modules/build/build_should_not_allow_symlinks.rb b/acceptance/tests/modules/build/build_should_not_allow_symlinks.rb index <HASH>..<HASH> 100644 --- a/acceptance/tests/modules/build/build_should_not_allow_symlinks.rb +++ b/acceptance/tests/modules/build/build_should_not_allow_symlinks.rb @...
(PUP-<I>) Fix failing acceptance tests on FIPS platforms The following test had got left out to be adjusted/skipped when running on FIPS enabled platform as part of original PUP-<I> work. - acceptance/tests/module/build/build_should_not_allow_symlinks.rb
puppetlabs_puppet
train
f1681c631e63ed8ed47a64d82f524b0061a51b76
diff --git a/redeyed.js b/redeyed.js index <HASH>..<HASH> 100644 --- a/redeyed.js +++ b/redeyed.js @@ -144,7 +144,7 @@ function redeyed (code, config, opts) { // remove shebang code = code.replace(/^\#\!.*/, ''); - var ast = esprima.parse(code, { tokens: true, comments: true, range: true, tolerant: true }) + ...
worked out esprima comments
thlorenz_redeyed
train
c3651a8109a54ba1fd409d873b0aa113a089444b
diff --git a/rb/clients.py b/rb/clients.py index <HASH>..<HASH> 100644 --- a/rb/clients.py +++ b/rb/clients.py @@ -409,8 +409,10 @@ class MappingClient(RoutingBaseClient): # network is low and redis is super quick in sending. It # does not make a lot of sense to complicate things here...
Ensure a connection is released to the pool after receiving a response, even if the result is an error.
getsentry_rb
train
350c545f0df4d1ce9967b8ab4a0915b6e386f641
diff --git a/cmd/shfmt/main.go b/cmd/shfmt/main.go index <HASH>..<HASH> 100644 --- a/cmd/shfmt/main.go +++ b/cmd/shfmt/main.go @@ -22,7 +22,10 @@ var ( indent = flag.Int("i", 0, "indent: 0 for tabs (default), >0 for number of spaces") ) -var config sh.PrintConfig +var ( + config sh.PrintConfig + buf bytes.Buffe...
shfmt: reuse allocated buffer between runs
mvdan_sh
train
30d45e2bc8edbb7e68a8f49822e15dd79b58a9e0
diff --git a/ake.go b/ake.go index <HASH>..<HASH> 100644 --- a/ake.go +++ b/ake.go @@ -191,7 +191,6 @@ func (ake *AKE) calcXb(key *akeKeys, mb []byte, xFirst bool) []byte { } func (ake *AKE) dhCommitMessage() ([]byte, error) { - var out []byte ake.myKeyID = 0 x, err := ake.generateRand() @@ -206,6 +205,12 @@ ...
Split dhCommitMsg to allow resending it on the auth state machine
coyim_otr3
train