hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
7c02deefae336a44a45cddc3be6167040c8326bd | diff --git a/shinken/daemons/brokerdaemon.py b/shinken/daemons/brokerdaemon.py
index <HASH>..<HASH> 100644
--- a/shinken/daemons/brokerdaemon.py
+++ b/shinken/daemons/brokerdaemon.py
@@ -361,7 +361,18 @@ class Broker(BaseSatellite):
# self.schedulers.clear()
for sched_id in conf['schedulers']:
... | Fix : the last enhancement was a bit too optimist. Mush find a better way for conf identification than just ids. | Alignak-monitoring_alignak | train |
2942e0fc753aca6a3e62fa738eddc43e41aa5f6b | diff --git a/src/saml2/extension/pefim.py b/src/saml2/extension/pefim.py
index <HASH>..<HASH> 100644
--- a/src/saml2/extension/pefim.py
+++ b/src/saml2/extension/pefim.py
@@ -3,6 +3,7 @@
import saml2
from saml2 import SamlBase
from xmldsig import X509Data
+from xmldsig import KeyInfo
NAMESPACE = 'urn:net:eustix:n... | Correction for PEFIM.
<AuthnRequest> elements must contain the encryption certificate used to encrypt the assertion with the attribute statement. The encryption key is represented within a <ds:KeyInfo> element. Its XPath is: /samlp:AuthnRequest/samlp:extension/pefim:SPCertEnc/ds:KeyInfo/ ds:X<I>Data/ds:X<I>Certificate... | IdentityPython_pysaml2 | train |
f4e32db81abb0b242e0ccadf2f2d87a011eeb5e6 | diff --git a/ddg.py b/ddg.py
index <HASH>..<HASH> 100644
--- a/ddg.py
+++ b/ddg.py
@@ -12,7 +12,8 @@ l.setLevel(logging.DEBUG)
MAX_BBL_ANALYZE_TIMES = 4
class DDG(object):
- def __init__(self, cfg, entry_point):
+ def __init__(self, project, cfg, entry_point):
+ self._project = project
self._c... | Avoided issues in reusing IRSB in ARM mode. | angr_angr | train |
50bf73062e1363c33b8fc25e4ce147b100c96a5d | diff --git a/libfs/file.go b/libfs/file.go
index <HASH>..<HASH> 100644
--- a/libfs/file.go
+++ b/libfs/file.go
@@ -78,7 +78,7 @@ func (f *File) ReadAt(p []byte, off int64) (n int, err error) {
if err != nil {
return 0, err
}
- if int(readBytes) < n {
+ if int(readBytes) < len(p) {
// ReadAt is more strict tha... | libfs: address review feedback
Suggested by jzila.
Issue: #<I> | keybase_client | train |
9a5fb8f16e11f54e2cba235952db1917967f3a08 | diff --git a/modin/backends/pandas/query_compiler.py b/modin/backends/pandas/query_compiler.py
index <HASH>..<HASH> 100644
--- a/modin/backends/pandas/query_compiler.py
+++ b/modin/backends/pandas/query_compiler.py
@@ -1722,6 +1722,8 @@ class PandasQueryCompiler(BaseQueryCompiler):
DataManager containing t... | Fix issue with `sort_values` after transpose (#<I>)
* Fix issue with `sort_values` after transpose
* Resolves #<I>
* Also add logic to handle update_inplace with transposed QueryCompiler
* Resolves #<I>
* Lint
* Revert change introducing bug | modin-project_modin | train |
d603dd7f33650a0977c820f9e4722c302eadc598 | diff --git a/bitset.go b/bitset.go
index <HASH>..<HASH> 100644
--- a/bitset.go
+++ b/bitset.go
@@ -475,12 +475,12 @@ func (b *BitSet) Count() uint {
return 0
}
-// Equal tests the equvalence of two BitSets.
+// Equal tests the equivalence of two BitSets.
// False if they are of different sizes, otherwise true
//... | Fix Equal() on a nil bitset receiver
- Two nil bitsets are considered equal
- Protect against a nil bitset receiver and not nil bitset argument to
Equal() | willf_bitset | train |
7773c428829512b44e0fa973c1ed13a74d791c22 | diff --git a/aeron-samples/src/main/java/io/aeron/samples/cluster/ClusterConfig.java b/aeron-samples/src/main/java/io/aeron/samples/cluster/ClusterConfig.java
index <HASH>..<HASH> 100644
--- a/aeron-samples/src/main/java/io/aeron/samples/cluster/ClusterConfig.java
+++ b/aeron-samples/src/main/java/io/aeron/samples/clus... | [Java] Fully qualify javadoc references to fix warnings on some JDKs. | real-logic_aeron | train |
20131e5cddd9b070b58e853d0649d40ebe9ac947 | diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php
index <HASH>..<HASH> 100644
--- a/lib/db/upgrade.php
+++ b/lib/db/upgrade.php
@@ -1472,6 +1472,20 @@ function xmldb_main_upgrade($oldversion) {
// Main savepoint reached.
upgrade_main_savepoint(true, 2012111200.01);
}
+ if ($oldversion < 201... | MDL-<I> calendar: upgrade code for adding eventtype field to all existing installs | moodle_moodle | train |
7ad19f67c144c298fadac5f702378fafc402b1ef | diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/linking/impl/Linker.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/linking/impl/Linker.java
index <HASH>..<HASH> 100755
--- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/linking/impl/Linker.java
+++ b/plugins/org.eclipse.xtext/src/org/eclipse/xtex... | feedback from ed - various improvements
Change-Id: I<I>b<I>c<I>c2fd<I>ad<I>bc9a4b<I>f<I> | eclipse_xtext-core | train |
8e0daa7a007fa463e29f831e7db214a4332764eb | diff --git a/packages/records/src/common.js b/packages/records/src/common.js
index <HASH>..<HASH> 100644
--- a/packages/records/src/common.js
+++ b/packages/records/src/common.js
@@ -1,7 +1,5 @@
// @flow
-import produce from "immer";
-
// Straight from nbformat
export type MultilineString = string | Array<string>;... | write conversion directly for mimebundle records | nteract_nteract | train |
866b07d3b9379b4462134119d68209c19b584ebf | diff --git a/src/components/themr.js b/src/components/themr.js
index <HASH>..<HASH> 100644
--- a/src/components/themr.js
+++ b/src/components/themr.js
@@ -60,7 +60,7 @@ export default (componentName, localTheme, options = DEFAULT_OPTIONS) => (Themed
function themeable(style = {}, theme) {
if (!theme) return style
... | Check theme[key] is a string | javivelasco_react-css-themr | train |
efea02671c48ba8a1001528db07f33bf475059c4 | diff --git a/katversion/__init__.py b/katversion/__init__.py
index <HASH>..<HASH> 100644
--- a/katversion/__init__.py
+++ b/katversion/__init__.py
@@ -14,7 +14,7 @@
# limitations under the License.
################################################################################
-from .version import get_version, bu... | Flake8 cleanup
Ignore some import warnings. The E<I> in build.py could probably
also be solved by replacing the if-statement above it by a
try-except-ImportError (why not this?).
Add spaces before class definitions, but also space out the rest of the
lines to separate each main step in `setuptools_entry`.
Relax the ... | ska-sa_katversion | train |
b1cf901d282c869c670fa4246be5ce40116112c9 | diff --git a/lib/active_storage/log_subscriber.rb b/lib/active_storage/log_subscriber.rb
index <HASH>..<HASH> 100644
--- a/lib/active_storage/log_subscriber.rb
+++ b/lib/active_storage/log_subscriber.rb
@@ -1,7 +1,5 @@
require "active_support/log_subscriber"
-# Implements the ActiveSupport::LogSubscriber for logging... | Copypasta comments
# Conflicts:
# lib/active_storage/engine.rb
# lib/active_storage/service.rb
# lib/active_storage/service/disk_service.rb
# lib/active_storage/service/s3_service.rb
# test/service/s3_service_test.rb
# test/test_helper.rb | rails_rails | train |
1c153ac1e4f7e10c641d6524a19f664923041d52 | diff --git a/bin/hash_db_password.py b/bin/hash_db_password.py
index <HASH>..<HASH> 100644
--- a/bin/hash_db_password.py
+++ b/bin/hash_db_password.py
@@ -20,10 +20,10 @@ except:
try:
- print "using connection string: {}".format(app.config['SQLALCHEMY_DATABASE_URI'])
+ print "using connection string: {0}".fo... | Update hash_db_password.py | dpgaspar_Flask-AppBuilder | train |
fb48a7aca5a145c0add0f9fb9ed06197221f7183 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -15,10 +15,13 @@ function JSHinter (inputNode, options) {
if (!(this instanceof JSHinter)) return new JSHinter(inputNode, options);
options = options || {};
+ if (!options.hasOwnProperty('persist')) {
+ options.per... | Disable persistence for unit tests testing side-effects. | rwjblue_broccoli-jshint | train |
c4a75532df3bb2a6cf2b9fb72fdd336974db496f | diff --git a/django_extensions/management/commands/graph_models.py b/django_extensions/management/commands/graph_models.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/graph_models.py
+++ b/django_extensions/management/commands/graph_models.py
@@ -43,15 +43,18 @@ class Command(BaseCommand):
... | strip "-svn" from pygraphviz version string, fixes ticket #<I>, thanks jjconti! | django-extensions_django-extensions | train |
a3d2b0210ececaf7049a5f37d61aabdc5973c157 | diff --git a/tests/fetch_data.py b/tests/fetch_data.py
index <HASH>..<HASH> 100644
--- a/tests/fetch_data.py
+++ b/tests/fetch_data.py
@@ -1,6 +1,7 @@
import os
import hashlib
import urllib
+import gzip
def load_from_s3(path, md5hash):
@@ -21,6 +22,11 @@ def load_from_s3(path, md5hash):
def main():
+ if... | Added face detect cascade to fetch_data.py | bwhite_hadoopy | train |
6aa5dd9dfc56a64038c0131ddbbb9b6d15ed2a7e | diff --git a/tasks/install.php b/tasks/install.php
index <HASH>..<HASH> 100644
--- a/tasks/install.php
+++ b/tasks/install.php
@@ -31,6 +31,13 @@ class FluxBB_Install_Task extends Task
public function run($arguments = array())
{
+ $this->structure();
+
+ $this->seed();
+ }
+
+ public function structure()
+ {
... | Seed the database, too, when installing. | fluxbb_core | train |
446140b1ae8871c10451d496f9aee6c20ba709a8 | diff --git a/jwk/interface.go b/jwk/interface.go
index <HASH>..<HASH> 100644
--- a/jwk/interface.go
+++ b/jwk/interface.go
@@ -21,9 +21,9 @@ type JSONWebKey interface {
Kty() string
}
-// Essential defines the common data that any JSONWebKey may
+// EssentialHeader defines the common data that any JSONWebKey may
... | Align struct name with other packages | lestrrat-go_jwx | train |
8ae8bc542c9952faf4e572d4a120a01e4990b78f | diff --git a/js/gateio.js b/js/gateio.js
index <HASH>..<HASH> 100755
--- a/js/gateio.js
+++ b/js/gateio.js
@@ -2041,7 +2041,23 @@ module.exports = class gateio extends Exchange {
const defaultType = this.safeString2 (this.options, 'createOrder', 'defaultType', 'spot');
const marketType = this.safeStri... | gateio createOrder clientOrderId unified | ccxt_ccxt | train |
13b93172518f5f43829db97d5cd0ce432ba5b0ad | diff --git a/graphsrv/application.py b/graphsrv/application.py
index <HASH>..<HASH> 100644
--- a/graphsrv/application.py
+++ b/graphsrv/application.py
@@ -12,6 +12,7 @@ import vodka.app
import vodka.data
import vodka.data.renderers
import vodka.config
+import vodka.config.shared
import vodka.plugins
import vodka.p... | includes attribute to config.shared.Container | 20c_graphsrv | train |
58ebf302b206ed30568da60d7f3b124b26e9325b | diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index <HASH>..<HASH> 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* The exists? class method should treat a string argument as an id rather than as conditions. #5698 [jeremy@planetargon.com]
+
* Fixed to_xml wit... | The exists? class method should treat a string argument as an id rather than as conditions. Closes #<I>.
git-svn-id: <URL> | rails_rails | train |
57e32e61a59a02219e06bcb4a1fb132fd381a9a9 | diff --git a/sos/report/__init__.py b/sos/report/__init__.py
index <HASH>..<HASH> 100644
--- a/sos/report/__init__.py
+++ b/sos/report/__init__.py
@@ -660,7 +660,7 @@ class SoSReport(SoSComponent):
def _set_all_options(self):
if self.opts.alloptions:
for plugname, plug in self.loaded_plugins:... | [report] Fix setting of all options via `-a`
Fixes an issue where the use of `-a` would fail due to trying to
iterate over the key of the plugin's options dict rather than the actual
`PluginOpt` value.
Closes: #<I> | sosreport_sos | train |
57869f18af54697b1f25b6ef9e3372a7c1650cd6 | diff --git a/pandas/core/nanops.py b/pandas/core/nanops.py
index <HASH>..<HASH> 100644
--- a/pandas/core/nanops.py
+++ b/pandas/core/nanops.py
@@ -1,3 +1,5 @@
+import sys
+
import numpy as np
from pandas.core.common import isnull, notnull
@@ -112,10 +114,14 @@ def nanmin(values, axis=None, skipna=True, copy=True):
... | BUG: handle datetime.datetime in nanmin/nanmax, on Python 2 at least, GH #<I> | pandas-dev_pandas | train |
6bd41d13e1dfe9ea3ccfdeae21d93c0705378d4a | diff --git a/lib/agent/cli.js b/lib/agent/cli.js
index <HASH>..<HASH> 100644
--- a/lib/agent/cli.js
+++ b/lib/agent/cli.js
@@ -97,7 +97,7 @@ pid.store(pid_file, function(err, running){
if (process.stdout._type == 'tty') {
var run_time_str = run_time.toString().substring(0,5);
- logger.write('\nLive instanc... | Simpler checks for Windows service creation/deletion. | prey_prey-node-client | train |
162cbfef2d7cd62509241261fb976828dd1423af | diff --git a/pylint/checkers/imports.py b/pylint/checkers/imports.py
index <HASH>..<HASH> 100644
--- a/pylint/checkers/imports.py
+++ b/pylint/checkers/imports.py
@@ -51,7 +51,7 @@ import copy
import os
import sys
from distutils import sysconfig
-from typing import Any, Dict, List, Set, Tuple, Union
+from typing imp... | Add ``no-implicit-optional`` flag to ``mypy`` (#<I>) | PyCQA_pylint | train |
5c9efc809860fcbc11fff45a122b5bfa0f9cc3aa | diff --git a/starlette/convertors.py b/starlette/convertors.py
index <HASH>..<HASH> 100644
--- a/starlette/convertors.py
+++ b/starlette/convertors.py
@@ -20,7 +20,7 @@ class StringConvertor(Convertor):
def to_string(self, value: typing.Any) -> str:
value = str(value)
- assert "/" not in value, "... | Friendly spellcheck in convertor assertion (#<I>) | encode_starlette | train |
e00ccf18bde11a4d03e8969a88f35f17e0b155a2 | diff --git a/ui/src/shared/components/OptIn.js b/ui/src/shared/components/OptIn.js
index <HASH>..<HASH> 100644
--- a/ui/src/shared/components/OptIn.js
+++ b/ui/src/shared/components/OptIn.js
@@ -17,7 +17,7 @@ class OptIn extends Component {
useRightValue,
leftValue,
rightValue: value || '',
- ... | Comment out click handler for left field until right input is clickable | influxdata_influxdb | train |
1f1601732814d0bec9bae157ee46b2aa0e67879b | diff --git a/pyvista/plotting/scalar_bars.py b/pyvista/plotting/scalar_bars.py
index <HASH>..<HASH> 100644
--- a/pyvista/plotting/scalar_bars.py
+++ b/pyvista/plotting/scalar_bars.py
@@ -46,7 +46,8 @@ class ScalarBars():
except AttributeError:
return
- for name in self._scalar_bar_mappers... | Convert scalar bar keys to list (#<I>) | vtkiorg_vtki | train |
2d699e24ff10158c0831cf6b7f5e5b12ac41903a | diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1 +1,5 @@
+* Quote database name in db:create grant statement (when database_user does not have access to create the database).
+
+ *Rune Philosof*
+
P... | Fix quoting in db:create grant all statement.
The database name used in the test would have actually shown this if it
had tried to execute on a real Mysql instead of being stubbed out
(dashes in database names needs quotes). | rails_rails | train |
9b9db3a1c982036bdc19302700e78d8db4f2be0d | diff --git a/hprof-heap/src/main/java/org/gridkit/jvmtool/heapdump/HeapWalker.java b/hprof-heap/src/main/java/org/gridkit/jvmtool/heapdump/HeapWalker.java
index <HASH>..<HASH> 100644
--- a/hprof-heap/src/main/java/org/gridkit/jvmtool/heapdump/HeapWalker.java
+++ b/hprof-heap/src/main/java/org/gridkit/jvmtool/heapdump/H... | Primitive array support for valueOf(Instance) | aragozin_jvm-tools | train |
1b99559d5b745fa8c6228ee405ea8babcf778005 | diff --git a/lib/buildpack/packager.rb b/lib/buildpack/packager.rb
index <HASH>..<HASH> 100644
--- a/lib/buildpack/packager.rb
+++ b/lib/buildpack/packager.rb
@@ -47,6 +47,7 @@ module Buildpack
def build_zip_file(zip_file_path, temp_dir)
exclude_files = buildpack[:exclude_files].collect { |e| "--exclu... | cleanup zip file before creating new one [#<I>] | cloudfoundry_buildpack-packager | train |
4fbb12491e219e9652c90a25d89d1bf4aab81e8f | diff --git a/lib/Sabre/DAV/Exception/ServiceUnavailable.php b/lib/Sabre/DAV/Exception/ServiceUnavailable.php
index <HASH>..<HASH> 100644
--- a/lib/Sabre/DAV/Exception/ServiceUnavailable.php
+++ b/lib/Sabre/DAV/Exception/ServiceUnavailable.php
@@ -10,12 +10,12 @@ use Sabre\DAV;
* This exception is thrown in case the s... | fixing copyright
use correct exception base class | sabre-io_dav | train |
dfbfc71887b85bb1d67a5fabdfc62e189775bb66 | diff --git a/Thru/ActiveRecord/ActiveRecord.php b/Thru/ActiveRecord/ActiveRecord.php
index <HASH>..<HASH> 100644
--- a/Thru/ActiveRecord/ActiveRecord.php
+++ b/Thru/ActiveRecord/ActiveRecord.php
@@ -6,7 +6,7 @@ use Thru\ActiveRecord\DatabaseLayer\TableBuilder;
class ActiveRecord
{
- static protected $MYSQL_FORMA... | Add support for MD5 and SHA1 types | Thruio_ActiveRecord | train |
fc572b1622a1f3303cce83e65d74a6aec487e2bd | diff --git a/src/main/java/com/etnetera/qa/seleniumbrowser/page/Page.java b/src/main/java/com/etnetera/qa/seleniumbrowser/page/Page.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/etnetera/qa/seleniumbrowser/page/Page.java
+++ b/src/main/java/com/etnetera/qa/seleniumbrowser/page/Page.java
@@ -31,6 +31,10 @@ ab... | add url and urlRegex into PageConfig annotation | etnetera_seb | train |
5a4495c694013696d56c8658f7e3327652890fec | diff --git a/inherited_resources.gemspec b/inherited_resources.gemspec
index <HASH>..<HASH> 100644
--- a/inherited_resources.gemspec
+++ b/inherited_resources.gemspec
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{inherited_resources}
- s.version = "1.1.0"
+ s.version = "1.1.1"
s.required_ruby... | Updated to be compatible with Rails master. | activeadmin_inherited_resources | train |
6a13007fcd19a9547106adfef66cad32c07dea1c | diff --git a/source/Plx.js b/source/Plx.js
index <HASH>..<HASH> 100644
--- a/source/Plx.js
+++ b/source/Plx.js
@@ -159,7 +159,7 @@ const FILTER_PROPERTIES = [
];
// Props to be removed from passing directly to the component element
-const PROPS_TO_OMIT = [
+const PROPS_TO_OMIT = new Set([
'animateWhenNotInViewpo... | [fix] Fix some performance bottlenecks (#<I>)
* [fix] Fix some bottlenecks
* [refactor] Simplified maxScroll calculation method | Stanko_react-plx | train |
b76015539688d9779d0e5b39a93f36092862b462 | diff --git a/src/js/features/progress.js b/src/js/features/progress.js
index <HASH>..<HASH> 100644
--- a/src/js/features/progress.js
+++ b/src/js/features/progress.js
@@ -494,7 +494,7 @@ Object.assign(MediaElementPlayer.prototype, {
player.setCurrentRail(e);
}
updateSlider();
- } else if (!broadcast |... | fixes the forceLive always adding "Live Broadcast" memory leak (#<I>)
* fixes the forceLive always adding "Live Broadcast" memory leak
* fixing the if condition only no need for another if | mediaelement_mediaelement | train |
eb2bc6b86b63e07d0f2c15d1e64a32ed90340405 | diff --git a/kubespawner/objects.py b/kubespawner/objects.py
index <HASH>..<HASH> 100644
--- a/kubespawner/objects.py
+++ b/kubespawner/objects.py
@@ -97,7 +97,7 @@ def make_pod_spec(
{
'name': 'notebook',
'image': image_spec,
- 'command': cm... | specifying command should set args, not command
- `command` in pod spec sets ENTRYPOINT
- `args` in pod spec sets CMD
we want to set the equivalent of CMD, not ENTRYPOINT | jupyterhub_kubespawner | train |
137f3ea0b809c39cafe6f16638d88c59e8bf4f93 | diff --git a/lib/yoti/http/profile_request.rb b/lib/yoti/http/profile_request.rb
index <HASH>..<HASH> 100644
--- a/lib/yoti/http/profile_request.rb
+++ b/lib/yoti/http/profile_request.rb
@@ -18,6 +18,7 @@ module Yoti
yoti_request.encrypted_connect_token = @encrypted_connect_token
yoti_request.http_method ... | SDK-<I>: Do not set X-Yoti-Auth-Key by default, only on requests that
require it | getyoti_yoti-ruby-sdk | train |
2fbf834731d37d53d81238f58866ff90edca5cbb | diff --git a/src/editor/components/RefComponent.js b/src/editor/components/RefComponent.js
index <HASH>..<HASH> 100644
--- a/src/editor/components/RefComponent.js
+++ b/src/editor/components/RefComponent.js
@@ -16,7 +16,7 @@ export default class RefComponent extends NodeComponent {
return $$('div').addClass('sc-re... | Set data-id on ref component. | substance_texture | train |
25dd35a51f2fc4d3eec039c3692ab09431bdfe92 | diff --git a/Eloquent/Model.php b/Eloquent/Model.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Model.php
+++ b/Eloquent/Model.php
@@ -98,6 +98,11 @@ abstract class Model implements ArrayAccess, ArrayableInterface, JsonableInterfa
protected $visible = array();
/**
+ * The accessors to append to the model's array... | Add ability to append items to model arrays / JSON. | illuminate_database | train |
b3eba009283d11fd0f2ae22fd05890cd30ef8beb | diff --git a/src/ClientAbstract.js b/src/ClientAbstract.js
index <HASH>..<HASH> 100644
--- a/src/ClientAbstract.js
+++ b/src/ClientAbstract.js
@@ -115,22 +115,6 @@ class ClientAbstract extends EventEmitter {
this.ws.terminate()
}
- isOpening () {
- return this.ws.readyState === this.ws.CONNECTING
- }
-
-... | ClientAbstract: move functions around | SEAPUNK_socketeer | train |
62d30c763174bb3741e1e63f258aff9fa4221b95 | diff --git a/samples/flushfs/flush_fs_test.go b/samples/flushfs/flush_fs_test.go
index <HASH>..<HASH> 100644
--- a/samples/flushfs/flush_fs_test.go
+++ b/samples/flushfs/flush_fs_test.go
@@ -122,6 +122,19 @@ func (t *FlushFSTest) setFsyncError(err error) {
t.fsyncErr = err
}
+// Like syscall.Dup2, but correctly an... | Fixed a deadlock in FlushFSTest.Dup2. | jacobsa_fuse | train |
ace7d261cc1f83b0c0695ccdef72d7142172ac77 | diff --git a/auth/token.go b/auth/token.go
index <HASH>..<HASH> 100644
--- a/auth/token.go
+++ b/auth/token.go
@@ -134,6 +134,10 @@ func createPasswordToken(u *User) (*PasswordToken, error) {
return &t, nil
}
+func (t *PasswordToken) user() (*User, error) {
+ return GetUserByEmail(t.UserEmail)
+}
+
func getPasswo... | auth: added method user to the PasswordToken type | tsuru_tsuru | train |
68acc362a31ddcfcb5c31fa2c7b9eefddc40456f | diff --git a/test/test_parser.py b/test/test_parser.py
index <HASH>..<HASH> 100644
--- a/test/test_parser.py
+++ b/test/test_parser.py
@@ -2045,6 +2045,31 @@ print(1)
wf = script.workflow()
Base_Executor(wf).run()
+ def testSequentialSubsteps(self):
+ '''Test sequential execution of subste... | Add tests for limited concurrency #<I> | vatlab_SoS | train |
e43aaf849c5552082fec83301bbf4d3f5d586b10 | diff --git a/moneta-core/src/main/java/org/javamoney/moneta/FastMoney.java b/moneta-core/src/main/java/org/javamoney/moneta/FastMoney.java
index <HASH>..<HASH> 100644
--- a/moneta-core/src/main/java/org/javamoney/moneta/FastMoney.java
+++ b/moneta-core/src/main/java/org/javamoney/moneta/FastMoney.java
@@ -647,7 +647,7 ... | Avoid intermediate object when creating BigDecimal
Currently in some places a BigDecimal is created from an unscaled value
and a scale using an intermediate BigDecimal. This creates unnecessary
object churn. Such a BigDecimal can be created directly. | JavaMoney_jsr354-ri | train |
b7ec7d8b74f420d06fabffefca45ef2808089bd4 | diff --git a/jsr330activator.implementation/src/main/java/no/steria/osgi/jsr330activator/Jsr330Activator.java b/jsr330activator.implementation/src/main/java/no/steria/osgi/jsr330activator/Jsr330Activator.java
index <HASH>..<HASH> 100644
--- a/jsr330activator.implementation/src/main/java/no/steria/osgi/jsr330activator/J... | Made correct use of BundleWiring.listResources.
Changes:
- Changed listResources arguments to make it scan just the bundle recursively for class files (a bitwise OR of two values)
- Modify the returned resources into loadable class names (strip ".class" and change "/" to ".") | sbang_jsr330activator | train |
0560fa0368580027190a6b11c52f8deb3a827a92 | diff --git a/src/main/java/org/primefaces/component/accordionpanel/AccordionPanelRenderer.java b/src/main/java/org/primefaces/component/accordionpanel/AccordionPanelRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/primefaces/component/accordionpanel/AccordionPanelRenderer.java
+++ b/src/main/java/org/p... | Missing part ofs onTabClose merge | primefaces_primefaces | train |
d0c79c4333cf4a2231c6ba79e5ab49068889845d | diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/integration/__init__.py
+++ b/tests/integration/__init__.py
@@ -512,10 +512,10 @@ class SaltMaster(SaltDaemonScriptBase):
cli_script_name = 'salt-master'
def get_check_ports(self):
- ret... | Check all ports on the salt-master | saltstack_salt | train |
c8bc719ff6c688295d59ff35b68405e1ecbd86f6 | diff --git a/modules/discopower/config-templates/module_discopower.php b/modules/discopower/config-templates/module_discopower.php
index <HASH>..<HASH> 100644
--- a/modules/discopower/config-templates/module_discopower.php
+++ b/modules/discopower/config-templates/module_discopower.php
@@ -36,6 +36,15 @@ $config = arra... | discopower: Allow configuring of the lifetime of the CDC cookie. | simplesamlphp_saml2 | train |
d7559f67ba24eddde83d4406e027c6cad970b3ff | diff --git a/lib/guard/dsl_describer.rb b/lib/guard/dsl_describer.rb
index <HASH>..<HASH> 100644
--- a/lib/guard/dsl_describer.rb
+++ b/lib/guard/dsl_describer.rb
@@ -35,8 +35,6 @@ module Guard
# @see CLI#list
#
def list
- _evaluate_guardfile
-
names = ::Guard::PluginUtil.plugin_names.sort.un... | list cmd should not eval guardfile | guard_guard | train |
ad1642263f9286a0f4d20c6d8c15979e3d4dc18a | diff --git a/pyxel/draw_command.py b/pyxel/draw_command.py
index <HASH>..<HASH> 100644
--- a/pyxel/draw_command.py
+++ b/pyxel/draw_command.py
@@ -218,10 +218,13 @@ class DrawCommand:
data[SIZE_W_INDEX] = w
data[SIZE_H_INDEX] = h
- def bltm(self, x, y, img, tm, tu, tv, tw, th, colkey=None):
- ... | Removed the img argument from the bltm command | kitao_pyxel | train |
b19d2d856f1ed77cd34351a35f9ae7864d39048e | diff --git a/zipline/core/component.py b/zipline/core/component.py
index <HASH>..<HASH> 100644
--- a/zipline/core/component.py
+++ b/zipline/core/component.py
@@ -19,6 +19,7 @@ import gevent_zeromq
# zmq_ctypes
#import zmq_ctypes
+from zipline.protocol import CONTROL_UNFRAME
from zipline.utils.gpoll import _Poller... | Selectively backport portions of new component.py | quantopian_zipline | train |
e5dfd73767a82563ec6aee2e2011187437b84a0d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -68,7 +68,7 @@ Catalog.DEFAULT_IDENTIFIERS = (function () {
// Same as what Jed.js uses
Catalog.CONTEXT_DELIMITER = String.fromCharCode(4);
-Catalog.prototype.messageToKey = function messageToKey (msgid, msgctxt) {
+Catalo... | Expose `messageToKey` on exports
Not just on prototype | gabegorelick_gettext-catalog | train |
fddaa17afb2428314278995182cd2693f2eb5418 | diff --git a/tests/Cache/MemcacheTestCase.php b/tests/Cache/MemcacheTestCase.php
index <HASH>..<HASH> 100644
--- a/tests/Cache/MemcacheTestCase.php
+++ b/tests/Cache/MemcacheTestCase.php
@@ -41,7 +41,11 @@ class Doctrine_Cache_Memcache_TestCase extends Doctrine_UnitTestCase
class Doctrine_Cache_Memcache_Mock extends D... | Adding conditional class definition so that people who use the 'memcache' pecl module can run the tests. | doctrine_orm | train |
d675f10621e5d252dab4a6929c4982895b748e94 | diff --git a/lib/utils.js b/lib/utils.js
index <HASH>..<HASH> 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -118,6 +118,23 @@ function buildOptions(projectConfig, templateCompilerPath, pluginInfo) {
return htmlbarsOptions;
}
+const hasGlobalThis = (function () {
+ try {
+ let context = vm.createContext();
+... | Ensure global is present for Node <I> + globalThis polyfill
The prior method (`typeof globalThis` in the currently running context)
cannot properly indicate if `globalThis` will be available within the
sandboxed context. | ember-cli_ember-cli-htmlbars | train |
6b5548f127ddbd4ab7bd341d92d9b146bf7a59bc | diff --git a/src/drawNode.js b/src/drawNode.js
index <HASH>..<HASH> 100644
--- a/src/drawNode.js
+++ b/src/drawNode.js
@@ -11,7 +11,7 @@ import {roundTo4Decimals} from "./utils";
export function drawNode(x, y, nodeId, attributes={}, options={}) {
attributes = Object.assign({}, attributes);
if (attributes.sty... | Refactor: An invisible node is an empty selection, not null | magjac_d3-graphviz | train |
d83ee0bf3cddfb19957d91947a961900d1ffc174 | diff --git a/plenum/server/replicas.py b/plenum/server/replicas.py
index <HASH>..<HASH> 100644
--- a/plenum/server/replicas.py
+++ b/plenum/server/replicas.py
@@ -47,7 +47,17 @@ class Replicas:
extra={"tags": ["node-replica"]})
return self.num_replicas
- def shrink(self, index: int... | INDY-<I>: divide method shrink to shrink() and remove_replica() | hyperledger_indy-plenum | train |
4dd0bb6b32a71878b156847f2f955c78a26f061e | diff --git a/js/chrome/save.js b/js/chrome/save.js
index <HASH>..<HASH> 100644
--- a/js/chrome/save.js
+++ b/js/chrome/save.js
@@ -21,7 +21,9 @@ $document.bind('jsbinReady', function () {
$document.bind('codeChange', function (event, data) {
// savingLabels[data.panelId].text('Saving');
- savingLabels[data... | Small JS error when code change triggered | jsbin_jsbin | train |
43785e0d07baf85f9155183b383d02d1e828277e | diff --git a/maildir_deduplicate/deduplicate.py b/maildir_deduplicate/deduplicate.py
index <HASH>..<HASH> 100644
--- a/maildir_deduplicate/deduplicate.py
+++ b/maildir_deduplicate/deduplicate.py
@@ -46,13 +46,30 @@ class DuplicateSet(object):
Implements all deletion strategies applicable to a set of duplicate mail... | Initialize the duplicate set at instanciation and freeze the pool. | kdeldycke_maildir-deduplicate | train |
b9125f23da4ae4b2cdfbf799e10a89a784891d92 | diff --git a/examples/genkey.rb b/examples/genkey.rb
index <HASH>..<HASH> 100755
--- a/examples/genkey.rb
+++ b/examples/genkey.rb
@@ -1,29 +1,33 @@
#!/usr/bin/env ruby
require 'gpgme'
-ctx = GPGME::Ctx.new
+# If you do not have gpg-agent installed, comment out the following
+# and set it as :passphrase_callback.
+... | Add comment on passphrase callback if gpg-agent is not available. | ueno_ruby-gpgme | train |
618fb2b83963d7b5d1cfe7ea6d953c56b793230a | diff --git a/common/concurrent/ManagedBlockingQueue.java b/common/concurrent/ManagedBlockingQueue.java
index <HASH>..<HASH> 100644
--- a/common/concurrent/ManagedBlockingQueue.java
+++ b/common/concurrent/ManagedBlockingQueue.java
@@ -22,6 +22,12 @@ import java.util.concurrent.ForkJoinPool;
import java.util.concurrent... | ParallelIterators untrack ForkJoinTasks of producers | graknlabs_grakn | train |
7507edb7dd83b96f6ee55f8f7e9a0641e8ceb9ce | diff --git a/testgrid/jenkins_verify/jenkins_validate.go b/testgrid/jenkins_verify/jenkins_validate.go
index <HASH>..<HASH> 100644
--- a/testgrid/jenkins_verify/jenkins_validate.go
+++ b/testgrid/jenkins_verify/jenkins_validate.go
@@ -76,7 +76,7 @@ func main() {
}
// Also check k/k presubmit, prow postsubmit and ... | * Try to fix failure
Testgrid group mlkube-build-presubmit does not have a matching jenkins or prow job
by considering all presubmit jobs; not just presubmit jobs for repo: kubernetes/kubernetes.
* The change to only consider kubernetes/kubernetes was added in
<URL> | kubernetes_test-infra | train |
4881bc88cd20b100589c929b80abed4809d97947 | diff --git a/modules/social_features/social_activity/modules/social_activity_filter/src/Form/FilterSettingsForm.php b/modules/social_features/social_activity/modules/social_activity_filter/src/Form/FilterSettingsForm.php
index <HASH>..<HASH> 100644
--- a/modules/social_features/social_activity/modules/social_activity_f... | Issue #<I> by SV: Replace node_type_get_types - social_activity_filter module | goalgorilla_open_social | train |
d6598723cc0e6ed15b455a402b85c0c92e7117de | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -11,8 +11,10 @@ var tests = [
0x80, -0x80, 0x100, -0x100, 0x200, -0x100,
0x1000, -0x1000, 0x10000, -0x10000,
0x20000, -0x20000, 0x40000,-0x40000,
- 10, 100, 1000, 10000, 100000, 1000000,
- -10, -100, -1000, -10000, -100... | Add more <I>-bit tests | creationix_msgpack-js | train |
4b3a99539ef070ca615cea17f04a5a23bd9eccfc | diff --git a/bezier/curve.py b/bezier/curve.py
index <HASH>..<HASH> 100644
--- a/bezier/curve.py
+++ b/bezier/curve.py
@@ -100,3 +100,31 @@ class Curve(object):
# Here: Value will be 1x2, we just want the 1D point.
return value.flatten()
+
+ def evaluate_multi(self, s_vals):
+ r"""Evaluate... | Adding Curve.evaluate_multi().
Punting on making it performant, and adding a unit test to
assert the general structure of the impl. (i.e. it calls
Curve.evaluate()). | dhermes_bezier | train |
47b8d847f1d13cb4bea3b94f6c436447510b2e19 | diff --git a/Extractor.php b/Extractor.php
index <HASH>..<HASH> 100644
--- a/Extractor.php
+++ b/Extractor.php
@@ -204,7 +204,7 @@ class Extractor
// Strip away the docblock header and footer to ease parsing of one line annotations
$docblock = substr($docblock, 3, -2);
- if (preg_match_all('/... | Fix issue #<I>
Fix an error when nullable is at the end of the annotation line | calinrada_php-apidoc | train |
6f76442e906bdaa431b8ca13a99f2db606061f6b | diff --git a/test/unit/test-adapter.js b/test/unit/test-adapter.js
index <HASH>..<HASH> 100644
--- a/test/unit/test-adapter.js
+++ b/test/unit/test-adapter.js
@@ -6,7 +6,7 @@ var getRandomPort = require('get-random-port');
var systemUnderTest = require('../../dist/adapter');
var SlackMessageAdapter = systemUnderTest.... | add options callback id registration tests by reusing tests from actions registration | slackapi_node-slack-interactive-messages | train |
bf99f1cd24a28fa5a6931b2549034c17a8c8cb6c | diff --git a/lib/core/Stager.js b/lib/core/Stager.js
index <HASH>..<HASH> 100644
--- a/lib/core/Stager.js
+++ b/lib/core/Stager.js
@@ -453,7 +453,7 @@
Stager.prototype.addStep = function(step) {
var res, unique;
unique = true;
- res = this.checkStepValidity(step, unique);
+ res = ch... | Removed Stager prvate methods from prototype | nodeGame_nodegame-client | train |
bf88405121f91b48b18ca46bc0101a026bbbb140 | diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/webservices/WebServicesAutoConfiguration.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/webservices/WebServicesAutoConfiguration.java
index <HASH>..<... | Flag BeanDefinitionRegistryPostProcessor beans with role infrastructure
Closes gh-<I> | spring-projects_spring-boot | train |
8bc4accd6c35392d84a4e116b3b996321292ffdf | diff --git a/common-core-open/src/main/java/com/bbn/bue/common/MakeCrossValidationBatches.java b/common-core-open/src/main/java/com/bbn/bue/common/MakeCrossValidationBatches.java
index <HASH>..<HASH> 100644
--- a/common-core-open/src/main/java/com/bbn/bue/common/MakeCrossValidationBatches.java
+++ b/common-core-open/sr... | Change numbatches constraint to < 1. | BBN-E_bue-common-open | train |
49732d24fbd2f10129cbef747a85a7bc09fd7ec7 | diff --git a/repo/repo.go b/repo/repo.go
index <HASH>..<HASH> 100644
--- a/repo/repo.go
+++ b/repo/repo.go
@@ -5,7 +5,6 @@ import (
datastore "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore"
config "github.com/jbenet/go-ipfs/repo/config"
- util "github.com/jbenet/go-ipfs/util"
)
... | Dead code cleanup: repo.IsInitialized
The version actually used is in fsrepo, and belongs there as it knows
about fsrepo file layout. | ipfs_go-ipfs | train |
ebfa742eb9627ab10b3ad72d323857256b8719d1 | diff --git a/History.md b/History.md
index <HASH>..<HASH> 100644
--- a/History.md
+++ b/History.md
@@ -12,6 +12,7 @@ Release date: unreleased
* Selenium driver with Chrome should support multiple file upload [Thomas Walpole]
* Fix visible: :hidden with :text option behavior [Thomas Walpole]
* App exceptions with mul... | ignore Selenium UnknownError during quit | teamcapybara_capybara | train |
a978975eea56bad12bbcea1fecff665f038b0b83 | diff --git a/xl-erasure-v1-metadata.go b/xl-erasure-v1-metadata.go
index <HASH>..<HASH> 100644
--- a/xl-erasure-v1-metadata.go
+++ b/xl-erasure-v1-metadata.go
@@ -29,6 +29,7 @@ type xlMetaV1 struct {
Size int64 `json:"size"`
ModTime time.Time `json:"modTime"`
Version int64 `json:"version"`
+ Delete... | xl: add quorum support for DeleteFile() (#<I>)
Fixes #<I> | minio_minio | train |
35d3ae3298dc77664c0b2ef8fc636821dafbec28 | diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adap... | Switch Postgres statement pool to use the AR connection
We're still ultimately accessing the raw connection directly, but this
is necessary to keep the statement pool working across full reconnects. | rails_rails | train |
558f82bf2bd48a0b522e0937f23b65b4ab7dcdd8 | diff --git a/tests/test_io.py b/tests/test_io.py
index <HASH>..<HASH> 100644
--- a/tests/test_io.py
+++ b/tests/test_io.py
@@ -34,11 +34,7 @@ class MonkeyPatchingTestCase(StateClearingTestCase):
assert open is _open
assert file is _file
-class EpollSocketTestCase(StateClearingTestCase):
- def set... | some reorg in the IO tests to make omit poller type tests on platforms that don't have them | teepark_greenhouse | train |
ced20411502623be42c6f28cac7a8c43dd4e8562 | diff --git a/lightfm/evaluation.py b/lightfm/evaluation.py
index <HASH>..<HASH> 100644
--- a/lightfm/evaluation.py
+++ b/lightfm/evaluation.py
@@ -62,8 +62,11 @@ def precision_at_k(model, test_interactions, train_interactions=None,
item_features=item_features,
... | Update evaluation.py - include case where k = 1
For the case where k = 1, setting all the rank=0 values to '1' is immediately overwritten. By saving-off the indices first, the ranks data is updated without this issue. | lyst_lightfm | train |
b08b1d5e18de8df48072c4fc04c9c714bb6fbc81 | diff --git a/client/state/test/initial-state.js b/client/state/test/initial-state.js
index <HASH>..<HASH> 100644
--- a/client/state/test/initial-state.js
+++ b/client/state/test/initial-state.js
@@ -1,17 +1,31 @@
-require( 'lib/react-test-env-setup' )();
/**
* External dependencies
*/
import { expect } from 'chai... | State: Improve tear-down of initial state testing | Automattic_wp-calypso | train |
449a9725fa8ba7078c36d7439444f56a352903c2 | diff --git a/atomic_reactor/plugins/exit_koji_import.py b/atomic_reactor/plugins/exit_koji_import.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/plugins/exit_koji_import.py
+++ b/atomic_reactor/plugins/exit_koji_import.py
@@ -117,7 +117,8 @@ class KojiImportPlugin(ExitPlugin):
if platform == "... | koji_import: don't overwrite 'id' with None
When pulp_pull sees a v2 digest from Crane it returns None. In this
case, don't overwrite the reported image ID. | projectatomic_atomic-reactor | train |
ab9dc877054a5822e168d0e772b2a82b90cd4908 | diff --git a/frontend/dockerfile/builder/build.go b/frontend/dockerfile/builder/build.go
index <HASH>..<HASH> 100644
--- a/frontend/dockerfile/builder/build.go
+++ b/frontend/dockerfile/builder/build.go
@@ -130,8 +130,15 @@ func Build(ctx context.Context, c client.Client) (*client.Result, error) {
name := "load bui... | dockerfile: allow lowercase dockerfile name
This was supported by the legacy builder moby/moby#<I> | moby_buildkit | train |
531eeae29b94ce1cbdaec8c6ce7bbafba770aae9 | diff --git a/pyzcasp/potassco/__init__.py b/pyzcasp/potassco/__init__.py
index <HASH>..<HASH> 100644
--- a/pyzcasp/potassco/__init__.py
+++ b/pyzcasp/potassco/__init__.py
@@ -16,7 +16,19 @@
# along with caspo. If not, see <http://www.gnu.org/licenses/>.import random
# -*- coding: utf-8 -*-
+from adapters import *
... | - Register metasp encodings
- Add marker interfaces to solvers | svidela_pyzcasp | train |
68810a5559349b0d2dbc25896bc8e8db02433459 | diff --git a/spyderlib/plugins/inspector.py b/spyderlib/plugins/inspector.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/inspector.py
+++ b/spyderlib/plugins/inspector.py
@@ -457,14 +457,24 @@ class ObjectInspector(SpyderPluginWidget):
if self._starting_up:
self._starting_up = False
... | Object Inspector: Fix showing intro message when rich text mode is not available | spyder-ide_spyder | train |
81870261ee860b9d19b8a512d21302a19c11d1d0 | diff --git a/src/FormFactory.php b/src/FormFactory.php
index <HASH>..<HASH> 100644
--- a/src/FormFactory.php
+++ b/src/FormFactory.php
@@ -60,7 +60,7 @@ class FormFactory
// Create an id if needed, this speeds up finding the element again
if (!$id) {
- $id = spl_object_hash($e... | Reuse filtered value if asked for | xtreamwayz_html-form-validator | train |
b7703e5d3568a60301a220369f7e229f16e671cb | diff --git a/lib/amq/protocol/frame.rb b/lib/amq/protocol/frame.rb
index <HASH>..<HASH> 100644
--- a/lib/amq/protocol/frame.rb
+++ b/lib/amq/protocol/frame.rb
@@ -14,7 +14,7 @@ module AMQ
# The channel number is 0 for all frames which are global to the connection and 1-65535 for frames that refer to specific c... | Fixed an instance of accidental assignment
Had to add an extra check for nil. | ruby-amqp_amq-protocol | train |
8e656d798a6898ea2e90932c1e6ea6eb716fc42b | diff --git a/src/Service/QueryModifier/UseQuery/UseQueryFromDotNotation.php b/src/Service/QueryModifier/UseQuery/UseQueryFromDotNotation.php
index <HASH>..<HASH> 100644
--- a/src/Service/QueryModifier/UseQuery/UseQueryFromDotNotation.php
+++ b/src/Service/QueryModifier/UseQuery/UseQueryFromDotNotation.php
@@ -135,7 +13... | fix(QueryModifier): useless backtick removed | wollanup_php-api-rest | train |
21f7c2d92a8a1d1ca15692d22a1ed38ed85bcc9a | diff --git a/cmd/swagger/commands/generate/model.go b/cmd/swagger/commands/generate/model.go
index <HASH>..<HASH> 100644
--- a/cmd/swagger/commands/generate/model.go
+++ b/cmd/swagger/commands/generate/model.go
@@ -25,6 +25,7 @@ type Model struct {
Name []string `long:"name" short:"n" description:"the model... | support --skip-flatten for model generation | go-swagger_go-swagger | train |
ed413ceda7faac862823e8f859e24d41e3e4042d | diff --git a/lib/how_is.rb b/lib/how_is.rb
index <HASH>..<HASH> 100644
--- a/lib/how_is.rb
+++ b/lib/how_is.rb
@@ -58,8 +58,7 @@ module HowIs
# @return [Boolean] +true+ if HowIs can export to the file, +false+
# if it can't.
def self.can_export_to?(file)
- # TODO: Check if the file is writable?
- suppo... | Use File.extname() instead of doing it manually. | duckinator_inq | train |
81ad53f2d8226021f4402ecb020a4b78b0f1ae15 | diff --git a/apiserver/admin.go b/apiserver/admin.go
index <HASH>..<HASH> 100644
--- a/apiserver/admin.go
+++ b/apiserver/admin.go
@@ -227,6 +227,11 @@ func (a *admin) authenticate(req params.LoginRequest) (*authResult, error) {
if entity != nil {
if machine, ok := entity.(*state.Machine); ok && machine.IsManager(... | apiserver: don't run pingers for other controllers | juju_juju | train |
d76a9be27b33ad9fca50bc7dcd5bd583659741ce | diff --git a/lib/infoblox/resource/network.rb b/lib/infoblox/resource/network.rb
index <HASH>..<HASH> 100644
--- a/lib/infoblox/resource/network.rb
+++ b/lib/infoblox/resource/network.rb
@@ -7,8 +7,18 @@ module Infoblox
wapi_object "network"
- def next_available_ip(num=1)
- JSON.parse(connection.post(r... | Fully-supported 'next_available_ip' invocation on Network resource | govdelivery_infoblox | train |
964fea099d3cf3e2c3f50f000a1759dc6d1bfb29 | diff --git a/lib/rest-ftp-daemon/notification.rb b/lib/rest-ftp-daemon/notification.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-ftp-daemon/notification.rb
+++ b/lib/rest-ftp-daemon/notification.rb
@@ -9,11 +9,11 @@ module RestFtpDaemon
attr_accessor :status
attr_accessor :url
attr_accessor :job
- at... | notification identifier is now called @id instead of @key, removing its accessor | bmedici_rest-ftp-daemon | train |
13c931baec1eb8b6b23ed3d7ff707b9d0bd2ea38 | diff --git a/tasks/lib/po.js b/tasks/lib/po.js
index <HASH>..<HASH> 100644
--- a/tasks/lib/po.js
+++ b/tasks/lib/po.js
@@ -81,7 +81,7 @@ PO.parse = function (contents) {
}
var po = new PO,
- messages = contents.replace(/(?:\r\n)/g, '\n').split('\n\n'),
+ messages = contents.replace(/\r\n/g, '\n').split('\n\n'),... | Cleaned up a pointless non-capturing group | warmrobot_po2json | train |
d1654b9bf4da0ab6158bb0f49479eb7f01bbc7f6 | diff --git a/src/Psalm/DocComment.php b/src/Psalm/DocComment.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/DocComment.php
+++ b/src/Psalm/DocComment.php
@@ -49,7 +49,8 @@ class DocComment
$last = false;
} elseif ($last !== false) {
$old_last_line = $lines[$last];
- ... | Ignore @return with a newline after @return | vimeo_psalm | train |
356a0689dcf419baba0aff6df3569cd389140585 | diff --git a/src/Palladium/Mapper/NonceIdentity.php b/src/Palladium/Mapper/NonceIdentity.php
index <HASH>..<HASH> 100644
--- a/src/Palladium/Mapper/NonceIdentity.php
+++ b/src/Palladium/Mapper/NonceIdentity.php
@@ -31,10 +31,10 @@ class NonceIdentity extends DataMapper
$statement = $this->connection->prepare... | Covering the mapping for nonce identity | teresko_palladium | train |
99f8bc304006b25eb827e7055b56ae8ae62a5594 | diff --git a/tests/src/main/java/org/hibernate/beanvalidation/tck/tests/valueextraction/unwrapping/ValueExtractionUnwrappingTest.java b/tests/src/main/java/org/hibernate/beanvalidation/tck/tests/valueextraction/unwrapping/ValueExtractionUnwrappingTest.java
index <HASH>..<HASH> 100644
--- a/tests/src/main/java/org/hiber... | BVTCK-<I> Test with WrapperWithDisabledUnwrapping should be based on presence of violation | beanvalidation_beanvalidation-tck | train |
1f1050e48d3f8fed7f8e475f9f977a94a4dc96a3 | diff --git a/server_modules/dnsbl.js b/server_modules/dnsbl.js
index <HASH>..<HASH> 100644
--- a/server_modules/dnsbl.js
+++ b/server_modules/dnsbl.js
@@ -26,7 +26,7 @@ module.on('irc connecting', function (event, event_data) {
isBlacklisted(client_addr, function(is_blocked) {
if (is_blocked) {
- ... | DNSBL: Include blocked address in error log | prawnsalad_KiwiIRC | train |
ecf5521a665b9c0692b5447a9365f6a10b64111d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,4 @@
+import setuptools
from distutils.core import setup
import os | import setuptools to enable bdist_wheel | jgm_pandocfilters | train |
34a3deacb11498642de4a0cfce3305e9f84f4107 | diff --git a/server/src/main/java/com/orientechnologies/orient/server/network/protocol/binary/ONetworkProtocolBinary.java b/server/src/main/java/com/orientechnologies/orient/server/network/protocol/binary/ONetworkProtocolBinary.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/com/orientechnologies/orient/ser... | Fixed issue <I>. Now if the updated record not exists a ORecordNotFoundException exception is thrown | orientechnologies_orientdb | train |
11e56b4b2a1fe5ac1a1cfa181f33c9401316c88a | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -60,7 +60,9 @@ gulp.task('mocha', function () {
return gulp.src(paths.mochaSrc, {read: false})
.pipe(mocha({
reporter: 'spec'
- }));
+ })).once('end', function () {
+ process.exit();
+ ... | adding single run to gulp mocha | back4app_back4app-entity-mongodb | train |
bda385019999309d2cd2117099223ec23802ce62 | diff --git a/lib/passenger/abstract_server.rb b/lib/passenger/abstract_server.rb
index <HASH>..<HASH> 100644
--- a/lib/passenger/abstract_server.rb
+++ b/lib/passenger/abstract_server.rb
@@ -88,11 +88,18 @@ class AbstractServer
class ServerError < StandardError
end
+ # The last time when this AbstractServer had ... | Refactoring: move spawn server idle time information to AbstractServer. This makes it easier in the future to have dynamic, configurable spawn server timeouts. | phusion_passenger | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.