hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
afe3442c7eed9ba26ce09ec836f98b86ea25afe8 | diff --git a/scroll-frame.js b/scroll-frame.js
index <HASH>..<HASH> 100644
--- a/scroll-frame.js
+++ b/scroll-frame.js
@@ -43,13 +43,25 @@
// Change the history
history.pushState({ scrollFrame: true, href: location.href }, '', url);
- // Create the iframe modal
+ // Create the wrapper & iframe modal
... | Fix scrolling issue for iOS Devices | artsy_scroll-frame | train |
1ddd580823a0fdf8e8a08af1ae06a5422b2763d0 | diff --git a/matplotlib2tikz.py b/matplotlib2tikz.py
index <HASH>..<HASH> 100644
--- a/matplotlib2tikz.py
+++ b/matplotlib2tikz.py
@@ -200,6 +200,13 @@ def _get_color_definitions( data ):
return definitions
# ==============================================================================
+#def _parse_text( text ... | added dummy code for TeX escaping | nschloe_matplotlib2tikz | train |
340eb91cedac625429c6c37454cba1e4144bc83e | diff --git a/Source/Model/Object/ValueObject.php b/Source/Model/Object/ValueObject.php
index <HASH>..<HASH> 100644
--- a/Source/Model/Object/ValueObject.php
+++ b/Source/Model/Object/ValueObject.php
@@ -44,6 +44,6 @@ abstract class ValueObject extends TypedObject implements IValueObject, IHashabl
*/
public f... | Use dataToSerialize method for hashing in value objects | dms-org_core | train |
0b667c1f2725b6603acadeb2b0651d8d9bb607cf | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -13,7 +13,6 @@ function concatFilenames(filename, opts) {
var error = {
noFilename: 'Missing fileName option for gulp-concat-filenames',
- noStreaming: 'Streaming not supported',
badTemplate: 'E... | removed isNull & isStream | the-simian_gulp-concat-filenames | train |
44c7a68828d921db3f095c8157e0caac2e3bca83 | diff --git a/test_engine.py b/test_engine.py
index <HASH>..<HASH> 100644
--- a/test_engine.py
+++ b/test_engine.py
@@ -1,8 +1,11 @@
import os
from nose.tools import raises, eq_
from moban.engine import ENGINES, Engine, Context
+from moban.engine import get_template_path
import moban.exceptions as exceptions
from m... | Fix for FileNotFoundError for plugins
fix | moremoban_moban-handlebars | train |
37febcb179c6a872608786bfad373f42e399360a | diff --git a/slap/config.py b/slap/config.py
index <HASH>..<HASH> 100644
--- a/slap/config.py
+++ b/slap/config.py
@@ -41,7 +41,8 @@ class ConfigParser:
root_keys[key] = config[key]
return root_keys
- def get_type_keys(self, config, service_type):
+ @staticmethod
+ def get_type_keys... | Refactors update_service methods and fixes tests
Changes to keep the argument order the same between methods, and adds a
default value for the json parameter. | lobsteropteryx_slap | train |
1eb6be0fadbab2a0c6128dfe88490cc9c810eb95 | diff --git a/Command/TemplatesEnableCommand.php b/Command/TemplatesEnableCommand.php
index <HASH>..<HASH> 100644
--- a/Command/TemplatesEnableCommand.php
+++ b/Command/TemplatesEnableCommand.php
@@ -12,6 +12,7 @@
*
* @author Marc Morera <yuhu@mmoreram.com>
* @author Aldo Chiecchia <zimage@tiscali.it>
+ * @author ... | Added elcodi team in headers | elcodi_Template | train |
e474c1a5ee2d2a3b783cc6934b3fa11c4fab288b | diff --git a/openpnm/core/Base.py b/openpnm/core/Base.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Base.py
+++ b/openpnm/core/Base.py
@@ -265,6 +265,9 @@ class Base(dict):
keys = self.keys(mode='all', deep=True)
vals.update({k: self.interleave_data(k) for k in keys
... | Adding 'pore.coordination_number' to generic network as a model by default, adjusting __getitem__ to regenerate models if model present but prop is not. | PMEAL_OpenPNM | train |
864911e89d7b190e2cb333fb05330c1a3798d2bd | diff --git a/js2py/base.py b/js2py/base.py
index <HASH>..<HASH> 100644
--- a/js2py/base.py
+++ b/js2py/base.py
@@ -1619,6 +1619,10 @@ def string_constructor():
temp.value = ''
else:
temp.value = arguments[0].to_string().value
+ for i, ch in enumerate(temp.value): # this will make things lo... | Fixed Strign[[create]] - Object did not have string attrs. | PiotrDabkowski_Js2Py | train |
b4f2be8ac3f6bf5ed2c84956ebfc3edf4947b7d4 | diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/editor.py
+++ b/spyderlib/widgets/editor.py
@@ -1042,7 +1042,8 @@ class EditorStack(QWidget):
text = u"%s — %s"
text = self.__modified_readonly_title(text,
... | widgets.editor: added benchmark monitoring the file loading time | spyder-ide_spyder | train |
ac94baaf8a2c59d44ed96d94ac4d14771298442b | diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -44,5 +44,11 @@ module.exports.orientRings = function orientRings(coordinates, depth, isHole) {
}
}
+ if (depth === 0 && typeof coordinates[0][0][0] === 'number') {
+ var clone = coordinates[0].sl... | Prevent mutation of last point (#<I>) | w8r_polygon-offset | train |
bc6059aa187a12c40eb2c9cbc1791d05544db794 | diff --git a/test/unit/models/classes/resources/ResourceWatcherTest.php b/test/unit/models/classes/resources/ResourceWatcherTest.php
index <HASH>..<HASH> 100644
--- a/test/unit/models/classes/resources/ResourceWatcherTest.php
+++ b/test/unit/models/classes/resources/ResourceWatcherTest.php
@@ -113,8 +113,7 @@ class Res... | TAO-<I> added one more test case | oat-sa_tao-core | train |
f5862c07637b2073b565303106f272181a01f805 | diff --git a/src/compilers/compiler-utils/compiler-generator/get-component-visitor.js b/src/compilers/compiler-utils/compiler-generator/get-component-visitor.js
index <HASH>..<HASH> 100644
--- a/src/compilers/compiler-utils/compiler-generator/get-component-visitor.js
+++ b/src/compilers/compiler-utils/compiler-generato... | New component visitor and object-is-phenome helpers | phenomejs_phenome | train |
8209539e0f4c20c47ce455957c7b2f00bad30b69 | diff --git a/src/libfuturize/fixes/fix_division_safe.py b/src/libfuturize/fixes/fix_division_safe.py
index <HASH>..<HASH> 100644
--- a/src/libfuturize/fixes/fix_division_safe.py
+++ b/src/libfuturize/fixes/fix_division_safe.py
@@ -13,6 +13,9 @@ If "from __future__ import division" is already in effect, this fixer does
... | Skip float divisions in fix_division_safe | PythonCharmers_python-future | train |
b524462e1f88319912ee5ad91a45e6d1986c9dba | diff --git a/pandas/core/ops/array_ops.py b/pandas/core/ops/array_ops.py
index <HASH>..<HASH> 100644
--- a/pandas/core/ops/array_ops.py
+++ b/pandas/core/ops/array_ops.py
@@ -6,7 +6,6 @@ from datetime import timedelta
from functools import partial
import operator
from typing import Any
-import warnings
import num... | CLN/PERF: remove catching of numpy deprecation warning in comparison_op (#<I>) | pandas-dev_pandas | train |
adb37ea921a4d2f753af53321d77978a23e6eb73 | diff --git a/gce/appengine/config/config.go b/gce/appengine/config/config.go
index <HASH>..<HASH> 100644
--- a/gce/appengine/config/config.go
+++ b/gce/appengine/config/config.go
@@ -22,6 +22,7 @@ import (
"github.com/golang/protobuf/proto"
+ "go.chromium.org/luci/common/clock"
"go.chromium.org/luci/common/erro... | [gce-provider] Calculate current amount for config during import
Rather than relying on expand-config to calculate it later (which
creates a race for existing configs).
Bug: <I>
Change-Id: I0d<I>c6b2b<I>bb1adf2b<I>b<I>c1fe<I>cd9
Reviewed-on: <URL> | luci_luci-go | train |
de4d72645fb630de21503e1d983f6d803b5f1c78 | diff --git a/names/__init__.py b/names/__init__.py
index <HASH>..<HASH> 100644
--- a/names/__init__.py
+++ b/names/__init__.py
@@ -30,8 +30,10 @@ def get_name(filename):
def get_first_name(gender=None):
- if gender not in ('male', 'female'):
+ if gender is None:
gender = random.choice(('male', 'fema... | Adapted get_first_name to be explicit about what gender value required | treyhunner_names | train |
77328b3b9f82f3221fb677e325626e959ccc086c | diff --git a/lib/fileutil.py b/lib/fileutil.py
index <HASH>..<HASH> 100644
--- a/lib/fileutil.py
+++ b/lib/fileutil.py
@@ -416,7 +416,11 @@ def getHeader(filename,handle=None):
raise ValueError,'Handle must be PyFITS object!'
_hdr = _fimg['PRIMARY'].header.copy()
- del _hdr['NAXIS']
+
+ # ... | Remove NAXIS from the header only if the data is not in
the primary array, for example shiftfile with reference
file with data in ext 0.
git-svn-id: <URL> | spacetelescope_stsci.tools | train |
22e7ae2061d75ae8ff9b975b12f8a9d5441c52b3 | diff --git a/salt/modules/file.py b/salt/modules/file.py
index <HASH>..<HASH> 100644
--- a/salt/modules/file.py
+++ b/salt/modules/file.py
@@ -1884,13 +1884,13 @@ def line(path, content=None, match=None, mode=None, location=None,
_assert_occurrence(body, after, 'after')
out = []
... | Fix: before/after together now define a range, where line will be added right before the last one within the range, i.e. before "before". | saltstack_salt | train |
9039fceb1f6ed863836ce9976d19e578e07107a1 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,11 +1,12 @@
import Rx from 'rx'
import isPlainObject from './utils/isPlainObject'
import combineReducers from './utils/combineReducers'
+import applyMiddleware from './utils/applyMiddleware'
function c... | <I>
expose dispatch and getState | jas-chen_rx-redux | train |
f10035a09f0bb72a104174dcb3cc1d96a65a2f1d | diff --git a/test/requests.js b/test/requests.js
index <HASH>..<HASH> 100644
--- a/test/requests.js
+++ b/test/requests.js
@@ -144,7 +144,7 @@ var tests = function(web3) {
sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347',
logsBloom: '0x000000000000000000000000000000... | I'm not sure why this state root changed, but I'm gonna let it change. | trufflesuite_ganache-core | train |
a682b3ef8694e627039c555f1df9649c689f1544 | diff --git a/khard/carddav_object.py b/khard/carddav_object.py
index <HASH>..<HASH> 100644
--- a/khard/carddav_object.py
+++ b/khard/carddav_object.py
@@ -52,12 +52,8 @@ class CarddavObject:
else:
# create vcard from .vcf file
- try:
- file = open(self.filename, "r")
+ ... | Use `with` to open files
Also don't catch exceptions just to raise them. | scheibler_khard | train |
9dc105e648abf898c314d0ddb4679ecc4bc08fd4 | diff --git a/lib/generators/text.js b/lib/generators/text.js
index <HASH>..<HASH> 100644
--- a/lib/generators/text.js
+++ b/lib/generators/text.js
@@ -16,11 +16,11 @@ module.exports = function(Seme, O){
//faker lorem
M['random'] = Seme.services.faker.Lorem;
- M['random'].phrase = Seme.services.faker.Company.ca... | need to refactor faker bits | sackio_seme | train |
952963a9fcb5d439a01a2702d73dea067f2a34c9 | diff --git a/tests/ProxyManagerTestAsset/LazyLoadingMock.php b/tests/ProxyManagerTestAsset/LazyLoadingMock.php
index <HASH>..<HASH> 100644
--- a/tests/ProxyManagerTestAsset/LazyLoadingMock.php
+++ b/tests/ProxyManagerTestAsset/LazyLoadingMock.php
@@ -20,7 +20,7 @@ declare(strict_types=1);
namespace ProxyManagerTestA... | #<I> - making our `LazyLoadingMock` also a virtual proxy (helps with tests, not really an issue) | Ocramius_ProxyManager | train |
4619a427b465b8e0b9ace3849e5a6bc86060f12f | diff --git a/s3upload/forms.py b/s3upload/forms.py
index <HASH>..<HASH> 100644
--- a/s3upload/forms.py
+++ b/s3upload/forms.py
@@ -76,6 +76,8 @@ class S3UploadForm(ContentTypePrefixMixin, KeyPrefixMixin, StorageMixin,
success_action_redirect = forms.CharField(widget=forms.HiddenInput())
+ success_action_sta... | Added support for ``success_action_status`` to S3UploadForm. | mattaustin_django-storages-s3upload | train |
df3300401e3fd312e1ed278d7f5954304f73f2e2 | diff --git a/DependencyInjection/DoctrinePHPCRExtension.php b/DependencyInjection/DoctrinePHPCRExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/DoctrinePHPCRExtension.php
+++ b/DependencyInjection/DoctrinePHPCRExtension.php
@@ -344,6 +344,17 @@ class DoctrinePHPCRExtension extends AbstractDoctrineExt... | make it possible to use auto_mapping with multiple document managers using DoctrineBridge <I> | doctrine_DoctrinePHPCRBundle | train |
c392af365fc93921e6fe3537a0d2f30987878da3 | diff --git a/activestorage/lib/active_storage/downloading.rb b/activestorage/lib/active_storage/downloading.rb
index <HASH>..<HASH> 100644
--- a/activestorage/lib/active_storage/downloading.rb
+++ b/activestorage/lib/active_storage/downloading.rb
@@ -7,12 +7,22 @@ module ActiveStorage
private
# Opens a new ... | Unlink internal tempfiles after use | rails_rails | train |
7bd594c7ce628abc50396565dced9784ce3b2a80 | diff --git a/hordak/models.py b/hordak/models.py
index <HASH>..<HASH> 100644
--- a/hordak/models.py
+++ b/hordak/models.py
@@ -1,6 +1,6 @@
"""
-Design
-------
+Design Overview
+---------------
The core models consist of:
@@ -32,9 +32,10 @@ from model_utils import Choices
from hordak import defaults
from hordak ... | Expanding on model docs (esp Account.transfer_to()) | adamcharnock_django-hordak | train |
594afe3161d76db9934e181cefefdc533260ae9c | diff --git a/src/python/setup.py b/src/python/setup.py
index <HASH>..<HASH> 100755
--- a/src/python/setup.py
+++ b/src/python/setup.py
@@ -3,6 +3,9 @@
import os, sys, glob
from setuptools import setup, find_packages
+if sys.version_info < (2, 7):
+ raise Exception("dxpy requires Python >= 2.7")
+
# Grab all the... | Refuse to install on python < <I> | dnanexus_dx-toolkit | train |
23be1a5e1d6179cfd25c2174c5c0149d110fb628 | diff --git a/Eloquent/Collection.php b/Eloquent/Collection.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Collection.php
+++ b/Eloquent/Collection.php
@@ -458,7 +458,7 @@ class Collection extends BaseCollection implements QueueableCollection
/**
* Return only unique items from the collection.
*
- *... | Widen the type of Collection::unique $key parameter
This was narrowed down to bool, but the docs and implementation
actually support arbitrary values. | illuminate_database | train |
c0a06d2cebeeaa9ab98e14870fad9d3adcd64604 | diff --git a/dvc/command/pipeline.py b/dvc/command/pipeline.py
index <HASH>..<HASH> 100644
--- a/dvc/command/pipeline.py
+++ b/dvc/command/pipeline.py
@@ -29,6 +29,8 @@ class CmdPipelineShow(CmdBase):
for n in nodes:
if commands:
+ if stages[n].cmd is None:
+ co... | pipeline show command: ignore stage if command is not defined | iterative_dvc | train |
55f83ef60958281433e52e1da1a313699f85a4b9 | diff --git a/src/Command/BaseCommand.php b/src/Command/BaseCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/BaseCommand.php
+++ b/src/Command/BaseCommand.php
@@ -16,6 +16,9 @@ namespace Sonata\BlockBundle\Command;
use Sonata\BlockBundle\Block\BlockServiceManagerInterface;
use Symfony\Component\Console\Comman... | Deprecated BaseCommand (#<I>) | sonata-project_SonataBlockBundle | train |
ece0396772e9e60df8e969b89eb16bbe05e4d99d | diff --git a/contentfiles/storage.py b/contentfiles/storage.py
index <HASH>..<HASH> 100644
--- a/contentfiles/storage.py
+++ b/contentfiles/storage.py
@@ -30,7 +30,8 @@ class MediaStorage(BaseContentFilesStorage):
else:
hostname = CONTENTFILES_HOSTNAME
- return '%s://%s/media/%s' % (proto... | Need to encode the file name
Surprised this hasn't come up sooner | developersociety_blanc-contentfiles | train |
77b8225f5d3d37912164417ac394f090555dda9a | diff --git a/lib/diff/display/data_structure.rb b/lib/diff/display/data_structure.rb
index <HASH>..<HASH> 100644
--- a/lib/diff/display/data_structure.rb
+++ b/lib/diff/display/data_structure.rb
@@ -90,6 +90,15 @@ module Diff
@inline
end
+ # returns the prefix, middle and postfix parts of a... | Even better inline_diff method | ketan_diff-display | train |
e2ceb7b3a67cce9fbd77653fd66a8a911c3449bb | diff --git a/internal/uidriver/glfw/window.go b/internal/uidriver/glfw/window.go
index <HASH>..<HASH> 100644
--- a/internal/uidriver/glfw/window.go
+++ b/internal/uidriver/glfw/window.go
@@ -207,8 +207,12 @@ func (w *window) Size() (int, int) {
ww, wh := w.ui.getInitWindowSize()
return w.ui.adjustWindowSizeBasedO... | internal/uidriver/glfw: Call fromGLFWPixels from the main thread
fromGLFWPixels can invoke driverScaleFactor, and then using the main
thread is safer. | hajimehoshi_ebiten | train |
7408620d1bbd96ced68aa7337610027c70918305 | diff --git a/decoder.go b/decoder.go
index <HASH>..<HASH> 100644
--- a/decoder.go
+++ b/decoder.go
@@ -6,7 +6,8 @@ import (
)
const (
- attrPrefix = "-"
+ // attrPrefix = "-"
+ attrPrefix = ""
)
// A Decoder reads and decodes XML objects from an input stream. | Removed attrPrefix for now | basgys_goxml2json | train |
b07e69fad734576a69fd39c2b7d5798f9d7c93d6 | diff --git a/lib/kitno.rb b/lib/kitno.rb
index <HASH>..<HASH> 100755
--- a/lib/kitno.rb
+++ b/lib/kitno.rb
@@ -11,12 +11,14 @@ module Kitno
REQUIRE_TEMPLATE = "%{short_name} = require('%{path}')"
def initialize(options = {})
- @namespace, @directory, globals = options.values_at(:namespace, :directory, ... | Add externals support to kitno#enumerate
* Fixed bug that was showing every explicit dependency in every file | mavenlink_killing-in-the-namespace-of | train |
cc8570f796e90c724f06fecd02cf65332b45cdaa | diff --git a/src/bika/lims/setuphandlers.py b/src/bika/lims/setuphandlers.py
index <HASH>..<HASH> 100644
--- a/src/bika/lims/setuphandlers.py
+++ b/src/bika/lims/setuphandlers.py
@@ -106,7 +106,6 @@ def setup_handler(context):
hide_navbar_items(portal)
reindex_content_structure(portal)
setup_groups(porta... | Fix missing catalog mappings after migration (#<I>) | senaite_senaite.core | train |
bb805841ceb85130af71634d6d10c3d18a99e21f | diff --git a/aikif/cls_log.py b/aikif/cls_log.py
index <HASH>..<HASH> 100644
--- a/aikif/cls_log.py
+++ b/aikif/cls_log.py
@@ -8,6 +8,7 @@ import getpass
import socket
import random
import config as cfg
+from decorators import debug
def TEST():
""" simple test function """
@@ -40,14 +41,6 @@ def TEST():
... | log uses debug decorator from common module | acutesoftware_AIKIF | train |
983b7ba5c9fcb398bb823ef0a94889463099457f | diff --git a/agent/agent.go b/agent/agent.go
index <HASH>..<HASH> 100644
--- a/agent/agent.go
+++ b/agent/agent.go
@@ -222,7 +222,10 @@ func handle(conn io.ReadWriter, msg []byte) error {
fmt.Fprintf(conn, "last-gc: %v\n", lastGC)
fmt.Fprintf(conn, "gc-pause-total: %v\n", time.Duration(s.PauseTotalNs))
fmt.Fpr... | agent: report additional runtime.MemStats fields (#<I>)
Report PauseEnd, NumForcedGC and GCCPUFraction from runtime.Memstats. | google_gops | train |
d8c7b0350006ace90c2af2df102a841b50941db9 | diff --git a/slave/ls340.py b/slave/ls340.py
index <HASH>..<HASH> 100644
--- a/slave/ls340.py
+++ b/slave/ls340.py
@@ -45,6 +45,7 @@ class Input(InstrumentBase):
* *<range>* The input range.
:ivar kelvin: The kelvin reading.
:ivar linear: The linear equation data.
+ :ivar linear_status: The linear... | Added docstring for linear status. | p3trus_slave | train |
7ef2e4442ce8385ebfda2481b71d6eccb1910a21 | diff --git a/scserver.js b/scserver.js
index <HASH>..<HASH> 100644
--- a/scserver.js
+++ b/scserver.js
@@ -544,7 +544,7 @@ SCServer.prototype.verifyHandshake = function (info, cb) {
};
SCServer.prototype._isPrivateTransmittedEvent = function (event) {
- return !!event && event.indexOf('#') == 0;
+ return typeof e... | Check that event name is a string | SocketCluster_socketcluster-server | train |
f836693a933336578508744091e806135d426261 | diff --git a/release.py b/release.py
index <HASH>..<HASH> 100755
--- a/release.py
+++ b/release.py
@@ -4,6 +4,7 @@
import os
import chess
import sys
+import subprocess
def system(command):
@@ -18,6 +19,11 @@ def check_git():
system("git diff --exit-code")
system("git diff --cached --exit-code")
+ ... | release.py: ensure up to date before tagging | niklasf_python-chess | train |
5a559eeaf1f4ca482ed43b6e7fc49b18126bbe0b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -20,7 +20,7 @@ module.exports = function(data) {
var i = 0
str.replace(/\`\`\`vomit([^```]*)\`\`\`/g, function(all, expr, idx) {
queue(marked(str.substring(i, idx)))
- queue(render(snippet(expr), data))
+... | add javascript snipper with live example | bredele_vomit-markdown | train |
61804c3f90868e37433c09931c86b609e39a935a | diff --git a/Nominatim.php b/Nominatim.php
index <HASH>..<HASH> 100644
--- a/Nominatim.php
+++ b/Nominatim.php
@@ -21,14 +21,13 @@ use Geocoder\Model\AddressCollection;
use Geocoder\Query\GeocodeQuery;
use Geocoder\Query\ReverseQuery;
use Geocoder\Http\Provider\AbstractHttpProvider;
-use Geocoder\Provider\LocaleAwar... | Removed feature interfaces (#<I>)
* Removed feature interfaces
* Applied changes from StyleCI | geocoder-php_nominatim-provider | train |
31ddf2090edc539e57a2b4ba0474b986202db1ff | diff --git a/lib/event/index.js b/lib/event/index.js
index <HASH>..<HASH> 100644
--- a/lib/event/index.js
+++ b/lib/event/index.js
@@ -12,7 +12,8 @@ var uuid = require('../util/uuid')
* @param {string} [type] type of event e.g "data"
*/
var Event = module.exports = function Event (origin, type) {
- this.stamp = u... | create timestamp based events (needs optmization!) | vigour-io_vjs | train |
9aeaea729e280b3a3bbe746dd303f89f638992d0 | diff --git a/src/Three/Bank.php b/src/Three/Bank.php
index <HASH>..<HASH> 100644
--- a/src/Three/Bank.php
+++ b/src/Three/Bank.php
@@ -5,6 +5,18 @@ namespace Billplz\Three;
class Bank extends Request
{
/**
+ * Check Bank Account Number.
+ *
+ * @param string|int $number
+ *
+ * @return \Lar... | Passthrough request to check bank account. | jomweb_billplz | train |
638f116a952ada312b19a3679da081feea356bab | diff --git a/bosh_cli/lib/cli/commands/stemcell.rb b/bosh_cli/lib/cli/commands/stemcell.rb
index <HASH>..<HASH> 100644
--- a/bosh_cli/lib/cli/commands/stemcell.rb
+++ b/bosh_cli/lib/cli/commands/stemcell.rb
@@ -102,7 +102,6 @@ module Bosh::Cli
usage 'public stemcells'
desc 'Show the list of publicly available... | `bosh public stemcells` does not filter on --tags
Tags will no longer exist in new public stemcell location
[#<I>] | cloudfoundry_bosh | train |
8eaa21e92591d75e7a85426944eec3c41675a3c8 | diff --git a/tasks/bump.js b/tasks/bump.js
index <HASH>..<HASH> 100644
--- a/tasks/bump.js
+++ b/tasks/bump.js
@@ -30,8 +30,7 @@ module.exports = function(grunt) {
tagMessage: 'Version %VERSION%',
push: true,
pushTo: 'upstream',
- gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
- ... | feat: allow passing exact version as CLI argument | aaccurso_grunt-bump-cordova | train |
822729200bbb62aaaa6a2b66b8e435ca1fd12cee | diff --git a/classes/Gems/Export/CsvExport.php b/classes/Gems/Export/CsvExport.php
index <HASH>..<HASH> 100644
--- a/classes/Gems/Export/CsvExport.php
+++ b/classes/Gems/Export/CsvExport.php
@@ -85,7 +85,7 @@ class CsvExport extends ExportAbstract
fwrite($file, $bom);
$name = $this->getName();
- ... | Fixed notice in csv export when no option was set | GemsTracker_gemstracker-library | train |
55732750365253bab1c96c8a9358cab3fa68beaf | diff --git a/src/WebsiteSitemapFinder.php b/src/WebsiteSitemapFinder.php
index <HASH>..<HASH> 100644
--- a/src/WebsiteSitemapFinder.php
+++ b/src/WebsiteSitemapFinder.php
@@ -113,8 +113,12 @@ class WebsiteSitemapFinder
$sitemapDirectives = $robotsTxtFile->getNonGroupDirectives()->getByField('sitemap');
+ ... | Transform non-absolute urls into absolute urls (#2) | webignition_website-sitemap-finder | train |
7128f9385dcdcfbdbaadc2081068db895c189a88 | diff --git a/lib/transports/IpTransport.js b/lib/transports/IpTransport.js
index <HASH>..<HASH> 100644
--- a/lib/transports/IpTransport.js
+++ b/lib/transports/IpTransport.js
@@ -331,7 +331,7 @@ IpTransport.prototype.skipResponseData = function()
{
if (this.header.length > 1)
{
- this.reader.skip(this.header.... | Fixed `IpTransport` incorrectly handling delayed response data. | morkai_h5.modbus | train |
e5bd3ccd16a1243ebbdb8295c3ab85d3e8a51573 | diff --git a/src/main/java/wyil/io/WyilFilePrinter.java b/src/main/java/wyil/io/WyilFilePrinter.java
index <HASH>..<HASH> 100755
--- a/src/main/java/wyil/io/WyilFilePrinter.java
+++ b/src/main/java/wyil/io/WyilFilePrinter.java
@@ -501,6 +501,7 @@ public final class WyilFilePrinter {
case Bytecode.OPCODE_is:
writ... | Fix for WyilFilePrinter; updated passing tests. | Whiley_WhileyCompiler | train |
978d397b9be074b03206981a1c6414db8535f1d0 | diff --git a/lfs/client.go b/lfs/client.go
index <HASH>..<HASH> 100644
--- a/lfs/client.go
+++ b/lfs/client.go
@@ -174,17 +174,12 @@ func (b *byteCloser) Close() error {
return nil
}
-type batchRep struct {
- Objects []*objectResource `json:"objects"`
- Operation string `json:"operation"`
-}
-
func B... | Don't need an extra struct here | git-lfs_git-lfs | train |
bf1861347281b74b48471529424e73f8e8820123 | diff --git a/tests/unit/NestedDataTransferObjectTest.php b/tests/unit/NestedDataTransferObjectTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/NestedDataTransferObjectTest.php
+++ b/tests/unit/NestedDataTransferObjectTest.php
@@ -129,6 +129,31 @@ class NestedDataTransferObjectTest extends \Codeception\TestCase\Tes... | Added additional test for resolving dependency, when invoking overloaded method | aedart_data-transfer-object-dto | train |
c9e614bf9e896f0a47b09c0f35cf9d4c355b5d74 | diff --git a/pom.xml b/pom.xml
index <HASH>..<HASH> 100644
--- a/pom.xml
+++ b/pom.xml
@@ -168,7 +168,7 @@
</docletArtifact>
<docencoding>UTF-8</docencoding>
<additionalparam>
- -umlLogLevel TRACE
+ ... | Fixes #5 : Default constructor is omitted from class diagram if it is the only constructor (of course there's an override setting for this). | talsma-ict_umldoclet | train |
93bd61a02d51a980ce2cdaa3c972c72c32ecbebb | diff --git a/s2cloudless/S2PixelCloudDetector.py b/s2cloudless/S2PixelCloudDetector.py
index <HASH>..<HASH> 100644
--- a/s2cloudless/S2PixelCloudDetector.py
+++ b/s2cloudless/S2PixelCloudDetector.py
@@ -68,8 +68,9 @@ class S2PixelCloudDetector:
if model_filename is None:
package_dir = os.path.dirn... | version <I>, model is now being lazy loaded | sentinel-hub_sentinel2-cloud-detector | train |
8b5395bd637c1b56fb545d9d8085fb2383bff207 | diff --git a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java b/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/openliberty/tools/common/plugins/util/DevUtil.java
+++ b/src/main/java/io/openliberty/tools/common/plugins/util/DevUti... | Basic path for removing WAR file COPY line and building image from temp Dockerfile | WASdev_ci.common | train |
80d892f10b2822c6b2fcb992d08aff3d0a542073 | 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
@@ -118,6 +118,17 @@ class EighthRoom(AbstractBaseEighthModel):
@staticmethod
def total_capacity_of_rooms(rooms):
+ """ Re... | doc(eighth): add docstrings for EighthRoom methods | tjcsl_ion | train |
82a1f8b6e738baee3cb364734db32e00514c8da4 | diff --git a/app/controllers/abstract-report-controller.js b/app/controllers/abstract-report-controller.js
index <HASH>..<HASH> 100644
--- a/app/controllers/abstract-report-controller.js
+++ b/app/controllers/abstract-report-controller.js
@@ -167,6 +167,34 @@ export default Controller.extend(DateFormat, ModalHelper, Nu... | refactors date validations to use the same validation (HospitalRun/hospitalrun-frontend#<I>) | HospitalRun_hospitalrun-frontend | train |
408973b08e86d5afb87a2c7b4643be1cbaf9ffa5 | diff --git a/test/OrganizationsTest/Controller/Plugin/AcceptInvitationHandlerTest.php b/test/OrganizationsTest/Controller/Plugin/AcceptInvitationHandlerTest.php
index <HASH>..<HASH> 100644
--- a/test/OrganizationsTest/Controller/Plugin/AcceptInvitationHandlerTest.php
+++ b/test/OrganizationsTest/Controller/Plugin/Accep... | removes "risky" tests. They where flagged as risky because no assertion was done. | yawik_organizations | train |
39f49b2e901c4999bdca3303d4dc844f089da8cd | diff --git a/src/commands/SeedHC.php b/src/commands/SeedHC.php
index <HASH>..<HASH> 100644
--- a/src/commands/SeedHC.php
+++ b/src/commands/SeedHC.php
@@ -3,6 +3,7 @@
namespace interactivesolutions\honeycombscripts\commands;
use interactivesolutions\honeycombcore\commands\HCCommand;
+use Nette\Reflection\Annotation... | Finding all honeycomb related packages seeders and seeding them | interactivesolutions_honeycomb-scripts | train |
afd16b9c50ab4502a74b4290f56c5036a373ad5a | diff --git a/dynamic_rest/viewsets.py b/dynamic_rest/viewsets.py
index <HASH>..<HASH> 100644
--- a/dynamic_rest/viewsets.py
+++ b/dynamic_rest/viewsets.py
@@ -102,29 +102,28 @@ class WithDynamicViewSetMixin(object):
return self.request.QUERY_PARAMS.getlist(name) if name in self.features else None
elif '{}' ... | roll filter param extraction into get_request_feature() | AltSchool_dynamic-rest | train |
8fe06aa980e41dc222a49e42c6e4ca99e714bc22 | diff --git a/infi/execute/ioloop.py b/infi/execute/ioloop.py
index <HASH>..<HASH> 100644
--- a/infi/execute/ioloop.py
+++ b/infi/execute/ioloop.py
@@ -3,9 +3,7 @@ from select import select as select_unix
from .utils import _get_named_pipe_from_fileno
from time import time, sleep
-import logging
-
-def select_window... | removed logging, higher delta, fixed tests on windows | Infinidat_infi.execute | train |
0b6d5214b0051fbb52c90e9d9b30d3df96f57657 | diff --git a/tests/Database/DatabaseConnectionFactoryTest.php b/tests/Database/DatabaseConnectionFactoryTest.php
index <HASH>..<HASH> 100755
--- a/tests/Database/DatabaseConnectionFactoryTest.php
+++ b/tests/Database/DatabaseConnectionFactoryTest.php
@@ -43,6 +43,30 @@ class DatabaseConnectionFactoryTest extends PHPUni... | Add tests for checking if the PDO connection is created. | laravel_framework | train |
3676909a637d0b49bb7aef5e2a9b44da59905342 | diff --git a/src/Table.php b/src/Table.php
index <HASH>..<HASH> 100644
--- a/src/Table.php
+++ b/src/Table.php
@@ -396,13 +396,43 @@ class Table extends Lister
public function updateTotals()
{
foreach ($this->totals_plan as $key=>$val) {
+
+ // if value is array, then we treat it as built-... | * add min, max, count aggregate methods for Table totals
* add Closure support for Table totals | atk4_ui | train |
eaf90a15ac93cffd79fd1f24ff8f2d1dbecbb26d | diff --git a/worker/buildbot_worker/test/unit/test_bot.py b/worker/buildbot_worker/test/unit/test_bot.py
index <HASH>..<HASH> 100644
--- a/worker/buildbot_worker/test/unit/test_bot.py
+++ b/worker/buildbot_worker/test/unit/test_bot.py
@@ -37,7 +37,6 @@ from buildbot_worker.commands.base import Command
from buildbot_wo... | worker: Remove usesFlushLoggedErrors that no longer does anything | buildbot_buildbot | train |
91b7a4bc22fc657f8c9f14941c270c9379dc38d5 | diff --git a/webpack.external.js b/webpack.external.js
index <HASH>..<HASH> 100644
--- a/webpack.external.js
+++ b/webpack.external.js
@@ -119,6 +119,7 @@ module.exports = output => {
}
]),
new SassLintPlugin({
+ configFile: path.resolve(__dirname, '.sass-lint.yml'),
quiet: false,
sy... | Specify absolute path to sass lint config for scss webpack plugin to make it work correctly in vizabi-preview | vizabi_vizabi | train |
0fcacecae27b361a320f28dfeeaacb71ce6dbe78 | diff --git a/src/controls/keyboard-controls.js b/src/controls/keyboard-controls.js
index <HASH>..<HASH> 100644
--- a/src/controls/keyboard-controls.js
+++ b/src/controls/keyboard-controls.js
@@ -37,7 +37,8 @@ module.exports = AFRAME.registerComponent('keyboard-controls', {
this.listeners = {
keydown: this.o... | fix keyboard ctonrols | donmccurdy_aframe-extras | train |
b63aef2750508bd2bfb106190aeb7a0b39c503a5 | diff --git a/lib/puppet/file_serving/base.rb b/lib/puppet/file_serving/base.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/file_serving/base.rb
+++ b/lib/puppet/file_serving/base.rb
@@ -21,11 +21,18 @@ class Puppet::FileServing::Base
# Return the full path to our file. Fails if there's no path set.
def full_p... | <I> Support UNC paths for file objects on Windows
Before this change, UNC paths as the source for files under Windows were
not supported and caused errors. This limited the usefulness of the
file type under Windows. This patch adjusts the logic used to handle
UNC paths so they can be successfully used. | puppetlabs_puppet | train |
ae5711dfa35edf80488c50eb032f395e90c81ba9 | diff --git a/lib/NumberConverter.js b/lib/NumberConverter.js
index <HASH>..<HASH> 100644
--- a/lib/NumberConverter.js
+++ b/lib/NumberConverter.js
@@ -29,6 +29,12 @@ function getMapperForType(type) {
case NumberConverter.ROMAN_NUMERAL:
mapper = new RomanNumeralMapper();
break;
+ case NumberConverter.BINARY:... | Introduce binary and octal conversion types | brettmclean_number-converter | train |
f1e48557816dd953cc28799373e35ca09756e38c | diff --git a/lib/coral_core.rb b/lib/coral_core.rb
index <HASH>..<HASH> 100644
--- a/lib/coral_core.rb
+++ b/lib/coral_core.rb
@@ -181,16 +181,16 @@ module Coral
unless @@initialized
Config.set_property('time', Time.now.to_i)
- begin
- # Include Coral plugins
- Puppet::Node::Envir... | Fixing plugin load ordering issue in the loader and plugin module. | coralnexus_corl | train |
9b75d739d9b442097260929081dd01222d381110 | diff --git a/gitlab/__init__.py b/gitlab/__init__.py
index <HASH>..<HASH> 100644
--- a/gitlab/__init__.py
+++ b/gitlab/__init__.py
@@ -1102,6 +1102,24 @@ class Gitlab(object):
return False
+ def getmergerequestcomments(self, project_id, mergerequest_id):
+ """
+ Get comment... | Mergerequest: add get comments | pyapi-gitlab_pyapi-gitlab | train |
380c57860dc7eeb1413808769c575f9e5fd29751 | diff --git a/Worker.php b/Worker.php
index <HASH>..<HASH> 100644
--- a/Worker.php
+++ b/Worker.php
@@ -629,8 +629,11 @@ class Worker
protected static function displayUI()
{
global $argv;
- if (isset($argv[1]) && $argv[1] === '-q') {
- return;
+ if (isset($argv[1])) {
+ ... | Fix command option -q and clear code | walkor_Workerman | train |
2555c6747d9f97f208be89afe64b9f74869ff142 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
-# 1.3.0
-- Ignored docstrings when they are on a newline, as per pep8.
+# 1.4.0
+- Went from physical lines to logical lines, since classes with multiple line base classes do not need to be flagg... | From physical lines to logical lines to give classes with multiple bases on the newline a pass | AlexanderVanEck_flake8-class-newline | train |
eb1ba925addffac35ad8d9e31e721b9ce4e0426f | diff --git a/src/Liip/RD/VCS/Git.php b/src/Liip/RD/VCS/Git.php
index <HASH>..<HASH> 100644
--- a/src/Liip/RD/VCS/Git.php
+++ b/src/Liip/RD/VCS/Git.php
@@ -53,7 +53,7 @@ class Git extends BaseVCS
}
public function getLocalModifications(){
- return $this->executeGitCommand('status');
+ return $t... | use short option for git status to make it easier to parse | liip_RMT | train |
6d0d8bdc394727062d81878da9954e45f847b858 | diff --git a/acceptance/lib/puppet/acceptance/install_utils.rb b/acceptance/lib/puppet/acceptance/install_utils.rb
index <HASH>..<HASH> 100644
--- a/acceptance/lib/puppet/acceptance/install_utils.rb
+++ b/acceptance/lib/puppet/acceptance/install_utils.rb
@@ -167,19 +167,17 @@ module Puppet
end
... | (PUP-<I>) direct rpm URLs in install_repos_on
This change eliminates the curls of the rpm files prior to installing them by
giving the URL directly to rpm. This should save a small amount of time. | puppetlabs_puppet | train |
260a8dbeee556125a4588376179b2fcdb9ce5e8f | diff --git a/lxc/config.go b/lxc/config.go
index <HASH>..<HASH> 100644
--- a/lxc/config.go
+++ b/lxc/config.go
@@ -29,29 +29,14 @@ func (c *configCmd) run(config *lxd.Config, args []string) error {
switch args[0] {
case "set":
- if len(args) != 4 && len(args) != 3 {
- return errArgs
- }
-
action := args[1]... | remove 'lxc config set <remote> password foo'
After talking with Serge this command is slightly non-sensical, and it confuses
other config options we'd like to have. | lxc_lxd | train |
57a3669eab0b02f30e2baf306cc22a323c76e3b2 | diff --git a/src/main/java/ru/vyarus/dropwizard/guice/GuiceBundle.java b/src/main/java/ru/vyarus/dropwizard/guice/GuiceBundle.java
index <HASH>..<HASH> 100644
--- a/src/main/java/ru/vyarus/dropwizard/guice/GuiceBundle.java
+++ b/src/main/java/ru/vyarus/dropwizard/guice/GuiceBundle.java
@@ -128,6 +128,9 @@ public final ... | avoid double classpath scan; add warning for too large scan scope | xvik_dropwizard-guicey | train |
88c1819e5c546e0cc3a6142d48926960c1b31213 | diff --git a/tests/test_renderers.py b/tests/test_renderers.py
index <HASH>..<HASH> 100644
--- a/tests/test_renderers.py
+++ b/tests/test_renderers.py
@@ -289,13 +289,14 @@ class TestRenderers(unittest.TestCase):
for _ in range(100):
output = renderer.rendered_text
- self.assertEqual(
- ... | Temporarily disable check while I investigate V<I> random numbers | peterbrittain_asciimatics | train |
8a7c8c2015f629be7ea376613d700a1400d14e3c | diff --git a/lib/praxis/types/media_type_common.rb b/lib/praxis/types/media_type_common.rb
index <HASH>..<HASH> 100644
--- a/lib/praxis/types/media_type_common.rb
+++ b/lib/praxis/types/media_type_common.rb
@@ -9,7 +9,7 @@ module Praxis
def describe(shallow = false)
hash = super
unless sh... | Fixed MediaType#describe to include the correct string representation of its identifier.
Fixes issue #<I>. | praxis_praxis | train |
5395801eadfdf3de50219b2df2b7a2a789e73b92 | diff --git a/lib/smartsheet/api/endpoint_spec.rb b/lib/smartsheet/api/endpoint_spec.rb
index <HASH>..<HASH> 100644
--- a/lib/smartsheet/api/endpoint_spec.rb
+++ b/lib/smartsheet/api/endpoint_spec.rb
@@ -5,12 +5,16 @@ module Smartsheet
class EndpointSpec
REQUIRED_KEYS = %i[symbol method url].freeze
OP... | Tidy up endpoint spec. | smartsheet-platform_smartsheet-ruby-sdk | train |
304ae8b4ca8f9216a6d133c91316bf2f4ebd36ef | diff --git a/more_itertools/more.py b/more_itertools/more.py
index <HASH>..<HASH> 100755
--- a/more_itertools/more.py
+++ b/more_itertools/more.py
@@ -672,8 +672,8 @@ def unique_to_each(*iterables):
return [list(filter(uniques.__contains__, it)) for it in pool]
-def windowed(seq, n, fillvalue=None, step=1):
- ... | refactor windowed part 3
smaller, faster, successfully pass tests )
flake8 is evil ( | erikrose_more-itertools | train |
0d4f2f80bf900729823f5d0ab29143479b0b0f0d | diff --git a/core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorScript.java b/core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorScript.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExe... | Fixed issue #<I> about console JS/JSS commands | orientechnologies_orientdb | train |
335e36de4540aea91e0863c8407f7a97aea2a815 | diff --git a/src/CrawlerDetect.php b/src/CrawlerDetect.php
index <HASH>..<HASH> 100644
--- a/src/CrawlerDetect.php
+++ b/src/CrawlerDetect.php
@@ -10,6 +10,46 @@ class CrawlerDetect
protected $matches = array();
+ /**
+ * List of strings to remove from the user agent before running the crawler regex
+ ... | Increase performance by over <I>% | JayBizzle_Crawler-Detect | train |
a43a376d6e8fd81a989fd93db533eaadf9b74717 | diff --git a/lib/redfish/buildr_integration.rb b/lib/redfish/buildr_integration.rb
index <HASH>..<HASH> 100644
--- a/lib/redfish/buildr_integration.rb
+++ b/lib/redfish/buildr_integration.rb
@@ -86,7 +86,7 @@ module Redfish
Redfish.domains.each do |domain|
buildr_project.instance_eval do
proj... | Re-add namespacing becuae it executes in the context of buildr projects | realityforge_redfish | train |
b20b73e087eda80168378317306804d80bb10768 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -12,7 +12,7 @@
#
import os
import sys
-sys.path.insert(0, os.path.abspath('../src'))
+sys.path.insert(0, os.path.abspath('../src/cltkv1/'))
# -- Project information -------------------------------------... | try abspath again for rtd | cltk_cltk | train |
e50feace918bc08750c4b0a816631aa19805461c | diff --git a/client/state/sites/reducer.js b/client/state/sites/reducer.js
index <HASH>..<HASH> 100644
--- a/client/state/sites/reducer.js
+++ b/client/state/sites/reducer.js
@@ -9,6 +9,7 @@ import pick from 'lodash/pick';
*/
import { plans } from './plans/reducer';
import domains from './domains/reducer';
+import ... | state.sites: add vouchers to its tree | Automattic_wp-calypso | train |
806a79a72aa517bb0280ea5a5ad995e820858263 | diff --git a/lib/couchrest/mixins/callbacks.rb b/lib/couchrest/mixins/callbacks.rb
index <HASH>..<HASH> 100644
--- a/lib/couchrest/mixins/callbacks.rb
+++ b/lib/couchrest/mixins/callbacks.rb
@@ -1,9 +1,30 @@
-require File.join(File.dirname(__FILE__), '..', 'support', 'class')
-
+# Copyright (c) 2006-2009 David Heinemei... | Enabled callback halting and added copyright notices | couchrest_couchrest | train |
807106846127c6616e9da6fe544573f30a45a0be | diff --git a/src/Cms/App/CmsRouterConfig.php b/src/Cms/App/CmsRouterConfig.php
index <HASH>..<HASH> 100644
--- a/src/Cms/App/CmsRouterConfig.php
+++ b/src/Cms/App/CmsRouterConfig.php
@@ -25,6 +25,9 @@ class CmsRouterConfig extends \Mmi\Mvc\RouterConfig {
//moduł + kontroler + akcja np. /cmsAdmin/text/display
$thi... | cms category homepage managable | milejko_mmi-cms | train |
bce877a3f0171569af6414bc8bdf91bbb9a842d0 | diff --git a/prow/cmd/deck/main.go b/prow/cmd/deck/main.go
index <HASH>..<HASH> 100644
--- a/prow/cmd/deck/main.go
+++ b/prow/cmd/deck/main.go
@@ -148,21 +148,31 @@ func staticHandlerFromDir(dir string) http.Handler {
var (
deckMetrics = struct {
httpRequestDuration *prometheus.HistogramVec
+ httpResponseSize ... | Expose the size of responses in deck metrics | kubernetes_test-infra | train |
a287f26aba9ed0fb74d9143f8c7072a32a030d41 | diff --git a/lib/array/bbarray.rb b/lib/array/bbarray.rb
index <HASH>..<HASH> 100644
--- a/lib/array/bbarray.rb
+++ b/lib/array/bbarray.rb
@@ -62,4 +62,17 @@ class Array
def to_tree_hash
TreeHash.new(self)
end
+
+ # Conventient way to join an array into a comma seperated list with the last two elements
+ #... | Added join_terms method. | bblack16_bblib-ruby | train |
363c8843906e79ebff42bda6b370bcc4332de826 | diff --git a/src/components/SecondaryPanes/index.js b/src/components/SecondaryPanes/index.js
index <HASH>..<HASH> 100644
--- a/src/components/SecondaryPanes/index.js
+++ b/src/components/SecondaryPanes/index.js
@@ -240,10 +240,10 @@ class SecondaryPanes extends Component<Props> {
items.push(this.getBreakpointsItem... | Fix pane ordering (#<I>) | firefox-devtools_debugger | train |
012702429a3bc278fb53f9668cf603dd615142ea | diff --git a/DemoPrograms/Demo_Dashboard.py b/DemoPrograms/Demo_Dashboard.py
index <HASH>..<HASH> 100644
--- a/DemoPrograms/Demo_Dashboard.py
+++ b/DemoPrograms/Demo_Dashboard.py
@@ -2,7 +2,6 @@ import PySimpleGUI as sg
"""
Dashboard using blocks of information.
- Requires 4.20.0.1 PySimpleGUI.py file so can... | Removed requirement of new theme_add_new function (added theme using old way for now) | PySimpleGUI_PySimpleGUI | train |
239dfc4f0cca5273fbdfc643c4c3249f9bc6c851 | diff --git a/lib/Handbrake.js b/lib/Handbrake.js
index <HASH>..<HASH> 100644
--- a/lib/Handbrake.js
+++ b/lib/Handbrake.js
@@ -216,6 +216,6 @@ Handbrake.prototype._emitComplete = function(){
};
Handbrake.prototype.exec = function(options, done){
- var cmd = util.format("'%s' %s", this.HandbrakeCLIPath, toSpawnAr... | hbjs.exec fix to please Windows | 75lb_handbrake-js | train |
d05034e76f75d58d1f86e7932232cb89cbe02b80 | diff --git a/.rubocop.yml b/.rubocop.yml
index <HASH>..<HASH> 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -102,7 +102,7 @@ Style/AlignHash:
Enabled: false
Metrics/ClassLength:
- Max: 115
+ Max: 120
Metrics/ModuleLength:
Max: 115
diff --git a/app/models/person.rb b/app/models/person.rb
index <HASH>..<H... | Allow limit to be passed to never_logged_in | ministryofjustice_peoplefinder | train |
49a6a69a32564b373dda4acc12a030b71758a220 | diff --git a/src/module-elasticsuite-virtual-category/Plugin/Catalog/Category/SaveProductsPositions.php b/src/module-elasticsuite-virtual-category/Plugin/Catalog/Category/SaveProductsPositions.php
index <HASH>..<HASH> 100644
--- a/src/module-elasticsuite-virtual-category/Plugin/Catalog/Category/SaveProductsPositions.ph... | Ensure products are reindexed when blacklisting/deblacklisting on category. | Smile-SA_elasticsuite | train |
53e412c1e56292305425aabb65ac65089a46faf2 | diff --git a/jptsmeta.py b/jptsmeta.py
index <HASH>..<HASH> 100644
--- a/jptsmeta.py
+++ b/jptsmeta.py
@@ -71,6 +71,32 @@ class JPTSMeta(object):
"""
return None
+ def getJournalID(self):
+ """
+ <journal-id> is a required, one or more, sub-element of <journal-meta>.
+ It... | Refactoring of identical code blocks in derived classes into base class function | SavinaRoja_OpenAccess_EPUB | train |
94bcf977456e89d54ddf5cc7c81efc343bc553e6 | diff --git a/nion/swift/DocumentController.py b/nion/swift/DocumentController.py
index <HASH>..<HASH> 100644
--- a/nion/swift/DocumentController.py
+++ b/nion/swift/DocumentController.py
@@ -409,13 +409,24 @@ class DocumentController(Window.Window):
def filtered_display_items_model(self):
return self.__fi... | Extract filter predicate into its own function. | nion-software_nionswift | train |
8323fd02d25dd33153978f2dc9bf9ab62207bc85 | diff --git a/src/Binding.js b/src/Binding.js
index <HASH>..<HASH> 100644
--- a/src/Binding.js
+++ b/src/Binding.js
@@ -65,7 +65,7 @@ throwPathMustPointToKey = function () {
};
getValueAtPath = function (backingValue, path) {
- return path.length > 0 ? backingValue.getIn(path) : backingValue;
+ return backingValue... | fix: isChanged now checks equality with Seq.equals
Deep Sequence.equals comparison prevents wrong checks when binding was
updated with the same data. | moreartyjs_moreartyjs | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.