hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
954e292895bfaae2e778e61b8587a789b20eac87 | diff --git a/lnwire/features.go b/lnwire/features.go
index <HASH>..<HASH> 100644
--- a/lnwire/features.go
+++ b/lnwire/features.go
@@ -103,11 +103,11 @@ const (
// WumboChannelsRequired is a required feature bit that signals that a
// node is willing to accept channels larger than 2^24 satoshis.
- WumboChannelsRe... | lnwire: fix minor typos in wumbo features | lightningnetwork_lnd | train | go |
106886f068b7056dff45ed6f5f8123aa37bbad2c | diff --git a/xarray/tests/test_missing.py b/xarray/tests/test_missing.py
index <HASH>..<HASH> 100644
--- a/xarray/tests/test_missing.py
+++ b/xarray/tests/test_missing.py
@@ -408,6 +408,7 @@ def test_ffill_limit():
result = da.ffill('time', limit=1)
expected = xr.DataArray(
[0, 0, np.nan, np.nan, np.... | Add missing assert to unit test (#<I>) | pydata_xarray | train | py |
037279cdbf533bc77b145286f9fa206ee9cb37be | diff --git a/app/Http/Forms/Posts/BasePostForm.php b/app/Http/Forms/Posts/BasePostForm.php
index <HASH>..<HASH> 100644
--- a/app/Http/Forms/Posts/BasePostForm.php
+++ b/app/Http/Forms/Posts/BasePostForm.php
@@ -41,14 +41,13 @@ class BasePostForm extends Form
return $item;
});
-
return v... | Apply fixes from StyleCI (#<I>)
[ci skip] [skip ci] | orchidsoftware_platform | train | php,php |
f965dc2ed08eb7d131fcaba218cecd197973d1fa | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -106,7 +106,11 @@ describe ( 'forge'
( 'should add methods to component definition'
, function ()
{ let def =
- { foo: function ()
+ { init ()
+ {... | Added test for init function. | lucidogen_lucy-forge | train | js |
08dbf01e89647133d7d1b87193e79d6a74ac2ff3 | diff --git a/src/Admin/Form/Fields/HasMany.php b/src/Admin/Form/Fields/HasMany.php
index <HASH>..<HASH> 100644
--- a/src/Admin/Form/Fields/HasMany.php
+++ b/src/Admin/Form/Fields/HasMany.php
@@ -118,7 +118,7 @@ class HasMany extends AbstractField
*/
private function processRelationItemUpdate( array $variable... | Fix 'has many' relation foreign key name | arbory_arbory | train | php |
9428a6181cd33b5847dd1a348a651a4c794092ab | diff --git a/salt/modules/logmod.py b/salt/modules/logmod.py
index <HASH>..<HASH> 100644
--- a/salt/modules/logmod.py
+++ b/salt/modules/logmod.py
@@ -10,7 +10,7 @@ It comes very handy when debugging complex Jinja templates, for example:
.. code-block:: jinja
{%- for var in range(10) %}
- {%- do salt.log.i... | Update jinja example to recommended syntax | saltstack_salt | train | py |
09496ed494ebe867f31eda00a11cd7ed4c491341 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,8 +6,8 @@ version = '2.1.0'
setup(name='dronekit',
zip_safe=True,
version=version,
- description='Python language bindings for the DroneApi',
- long_description='Python language bindings for the Dro... | Improve description of dronekit on PyPi | dronekit_dronekit-python | train | py |
98a3eb113eb74745e728a97ecd687deb8c56178a | diff --git a/krypy/tests/test_utils.py b/krypy/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/krypy/tests/test_utils.py
+++ b/krypy/tests/test_utils.py
@@ -174,10 +174,11 @@ def run_qr(X, inner_product, reorthos):
def test_angles():
FGs = [
numpy.eye(10,1),
+ 1j*numpy.eye(10,1),
... | [tests] angles(): add complex and range tests | andrenarchy_krypy | train | py |
7508ce46d44d1c823de09eb35dc2e0028ddaef47 | diff --git a/hydpy/core/magictools.py b/hydpy/core/magictools.py
index <HASH>..<HASH> 100644
--- a/hydpy/core/magictools.py
+++ b/hydpy/core/magictools.py
@@ -432,12 +432,12 @@ def progressbar(iterable, length=23):
indentation),
end='',
... | Fix `progressbar` (commit #<I>f3ba2).
Still not perfect, but acceptable for the given purpose. | hydpy-dev_hydpy | train | py |
d35c17d099efcd68ed5773bd4a6732f3c0d90574 | diff --git a/go/libkb/upgrade_instructions.go b/go/libkb/upgrade_instructions.go
index <HASH>..<HASH> 100644
--- a/go/libkb/upgrade_instructions.go
+++ b/go/libkb/upgrade_instructions.go
@@ -48,7 +48,7 @@ func linuxUpgradeInstructionsString() (string, error) {
var start string
if hasPackageManager("apt-get") {
- ... | cd out before running apt-get update, because it doesn't work inside KBFS | keybase_client | train | go |
7ea065cba63a86e24e90e0055c12a28e8066060b | diff --git a/packages/styled-components/src/base.js b/packages/styled-components/src/base.js
index <HASH>..<HASH> 100644
--- a/packages/styled-components/src/base.js
+++ b/packages/styled-components/src/base.js
@@ -21,6 +21,10 @@ import withTheme from './hoc/withTheme';
/* Import hooks */
import useTheme from './hook... | Expose version in API (#<I>)
* Export bundle version
* Comment for version export
* Better version comment | styled-components_styled-components | train | js |
5e69bd6b8834608d83da067cbb5ca9dd09b1be8c | diff --git a/src/resources/js/controllers.js b/src/resources/js/controllers.js
index <HASH>..<HASH> 100644
--- a/src/resources/js/controllers.js
+++ b/src/resources/js/controllers.js
@@ -101,6 +101,7 @@
);
LuyaLoading.stop();
$scope.data.list = response.data;
+ $scope.data.listArray = response.dat... | fixed sort and group and filters when pager is active | luyadev_luya-module-admin | train | js |
5de14cbf582662a9819e15bcae7c39800dc1a720 | diff --git a/pubsub_test.go b/pubsub_test.go
index <HASH>..<HASH> 100644
--- a/pubsub_test.go
+++ b/pubsub_test.go
@@ -347,11 +347,11 @@ var _ = Describe("PubSub", func() {
defer GinkgoRecover()
wg.Done()
-
+ defer wg.Done()
+
_, err := pubsub.ReceiveMessage()
Expect(err).To(MatchError("redis: cl... | ensure wait.done to avoid deadlock in test | go-redis_redis | train | go |
e7ba022716f0a155c40928c47ca125d375803a26 | diff --git a/lib/a9n/struct.rb b/lib/a9n/struct.rb
index <HASH>..<HASH> 100644
--- a/lib/a9n/struct.rb
+++ b/lib/a9n/struct.rb
@@ -7,7 +7,7 @@ module A9n
end
def fetch(name, default = nil)
- @table[name.to_sym] || default
+ @table.fetch(name.to_sym, default)
end
def method_missing(name... | Fix behavior of fetch method for false value | knapo_a9n | train | rb,rb |
8f636710e355be467adc977f47ebd7e9b7ba7b69 | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/ba/AnalysisContext.java b/findbugs/src/java/edu/umd/cs/findbugs/ba/AnalysisContext.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/ba/AnalysisContext.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/ba/AnalysisContext.java
@@ -37,9 +37,10 @... | Cache <I> ClassContext objects. This speeds things up significantly
vs. previous value of <I>, and at least for rt.jar, there is not a huge
memory use blowup.
git-svn-id: <URL> | spotbugs_spotbugs | train | java |
f8616ed54b9146a7e360035941c1aeb653a5737d | diff --git a/lib/PipeTransport.js b/lib/PipeTransport.js
index <HASH>..<HASH> 100644
--- a/lib/PipeTransport.js
+++ b/lib/PipeTransport.js
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-const {helper} = require('./helper');
+const {help... | fix(pipe): handle 'error' events on pipes to avoid crashing (#<I>)
Fix #<I> | GoogleChrome_puppeteer | train | js |
af2e61806175d77a661a7a92a2dddff43880e9d3 | diff --git a/pynipap/pynipap.py b/pynipap/pynipap.py
index <HASH>..<HASH> 100644
--- a/pynipap/pynipap.py
+++ b/pynipap/pynipap.py
@@ -981,10 +981,13 @@ class Prefix(Pynipap):
'alarm_priority': self.alarm_priority,
'monitor': self.monitor,
'vlan': self.vlan,
- 'status':... | Fix pynipap status value
If status hasn't been set we should default to whatever the backend
thinks ('assigned') but as pynipap used its default value of None, the
backend would try to honour that.
This changes that so we only send the status value to the backend if its
not None.
Fixes #<I>. | SpriteLink_NIPAP | train | py |
2e2fd9eac55eb38394e367c2d3bdfe3b4acd6bda | diff --git a/app/models/peritonitis_episode.rb b/app/models/peritonitis_episode.rb
index <HASH>..<HASH> 100644
--- a/app/models/peritonitis_episode.rb
+++ b/app/models/peritonitis_episode.rb
@@ -10,8 +10,7 @@ class PeritonitisEpisode < ActiveRecord::Base
has_many :infection_organisms, as: :infectable
has_many :or... | Removed reject_if statement for peritonitis medications to allow validations. | airslie_renalware-core | train | rb |
05dacf563f353175d02bc6b16ce3186cd73f2cbd | diff --git a/tests/test_validators.py b/tests/test_validators.py
index <HASH>..<HASH> 100644
--- a/tests/test_validators.py
+++ b/tests/test_validators.py
@@ -141,7 +141,7 @@ class jsonModelTests(jsonModel):
# print(self.validate(valid_input))
return self
-testModel = json.loads(open('../models/samp... | added init when name = main; | collectiveacuity_jsonModel | train | py |
8b5c4bfbc2c86499b54998b31587198248af55ac | diff --git a/src/Presenters/Presenter.php b/src/Presenters/Presenter.php
index <HASH>..<HASH> 100644
--- a/src/Presenters/Presenter.php
+++ b/src/Presenters/Presenter.php
@@ -201,7 +201,24 @@ abstract class Presenter extends BasePresenter
{
$src = $this->thumbSrc($width, $height, $options, $field);
- ... | img width and height + thumb2x method | TypiCMS_Core | train | php |
784b28f4b53bd183e26a25ddf8594f6f73b0a974 | diff --git a/docs/lib/url_generator.js b/docs/lib/url_generator.js
index <HASH>..<HASH> 100644
--- a/docs/lib/url_generator.js
+++ b/docs/lib/url_generator.js
@@ -54,17 +54,18 @@ function validateExternalUrl (href, source) {
return request(href)
.then((html) => {
+ return
// bail if we dont have a hash
... | docs: comment out external url validation until url linking strategy is more thoroughly discussed | cypress-io_cypress | train | js |
f51722a8407c81ee7c73f3bd261f2f836e1b434c | diff --git a/hazelcast/src/test/java/com/hazelcast/nio/tcp/FirewallingConnectionManager.java b/hazelcast/src/test/java/com/hazelcast/nio/tcp/FirewallingConnectionManager.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/nio/tcp/FirewallingConnectionManager.java
+++ b/hazelcast/src/test/java/c... | Check blocked addresses in FirewallingConnectionManager.transmit() | hazelcast_hazelcast | train | java |
9535dbfe87da7d6b2a39f69b9e840e67400e2dc9 | diff --git a/Generator/File.php b/Generator/File.php
index <HASH>..<HASH> 100644
--- a/Generator/File.php
+++ b/Generator/File.php
@@ -47,6 +47,14 @@ abstract class File extends Base {
}
/**
+ * Build the code files.
+ *
+ * Subclasses should implement this to add their file data to the list.
+ */
+ fu... | Added empty collectFiles() to File generator to improve DX in creating subclasses. | drupal-code-builder_drupal-code-builder | train | php |
d8594d27ae2a4181ff5282eb3eea56787fd9c0a6 | diff --git a/util.go b/util.go
index <HASH>..<HASH> 100644
--- a/util.go
+++ b/util.go
@@ -5,8 +5,10 @@
package btclog
import (
+ "fmt"
"github.com/conformal/seelog"
"io"
+ "os"
"strings"
)
@@ -36,3 +38,26 @@ func NewLoggerFromWriter(w io.Writer, minLevel LogLevel) (Logger, error) {
return NewSubsystem... | Add a func to get a default backend seelog logger.
This commit adds a new function, NewDefaultBackendLogger that can be used
to get a reasonable default seelog logger to be used as a backend logger. | btcsuite_btclog | train | go |
aea6778d79a694b00c64ee70f29f0c59cf46633b | diff --git a/examples/ping-ring/main.go b/examples/ping-ring/main.go
index <HASH>..<HASH> 100644
--- a/examples/ping-ring/main.go
+++ b/examples/ping-ring/main.go
@@ -75,7 +75,11 @@ func (w *worker) PingHandler(ctx json.Context, ping *Ping) (*Pong, error) {
handle, err := w.ringpop.HandleOrForward(ping.Key, ping.By... | Fix bug in pong example
WhoAmI() now returns an error if the Ringpop instance is not ready.
Change the handler to check for errors. | uber_ringpop-go | train | go |
943bf3c00a0ab7868d5e9e74beb78cc697c92619 | diff --git a/helper/schema/set.go b/helper/schema/set.go
index <HASH>..<HASH> 100644
--- a/helper/schema/set.go
+++ b/helper/schema/set.go
@@ -74,7 +74,7 @@ func (s *Set) List() []interface{} {
return result
}
-// Differences performs a set difference of the two sets, returning
+// Difference performs a set differ... | Use name of function in comment string
Name of function is Difference, not Differences. | hashicorp_terraform | train | go |
b21fabfbfedde7ca6e9caa16911a22940379b50e | diff --git a/lib/rango/ext/platform.rb b/lib/rango/ext/platform.rb
index <HASH>..<HASH> 100644
--- a/lib/rango/ext/platform.rb
+++ b/lib/rango/ext/platform.rb
@@ -9,7 +9,7 @@ module Rango
end
def windows?
- eql?("mswin|mingw")
+ eql?("win32")
end
def linux?
@@ -25,4 +25,4 @... | Better windows detection (suggested by deepj) | botanicus_rango | train | rb |
2c20327b78ab3e6c413760570270273c9807a030 | diff --git a/openpnm/algorithms/metrics/RelativePermeability.py b/openpnm/algorithms/metrics/RelativePermeability.py
index <HASH>..<HASH> 100644
--- a/openpnm/algorithms/metrics/RelativePermeability.py
+++ b/openpnm/algorithms/metrics/RelativePermeability.py
@@ -206,7 +206,7 @@ class RelativePermeability(GenericAlgorit... | The only problem is except KeyError():
catching classes that do not inherit from BaseException is not allowed!
If I remove KeyError(), it works, but another problem will rise: E<I> do not use bare except! | PMEAL_OpenPNM | train | py |
0c3bb9f99d57080adc90bca2e01115d5d3478739 | diff --git a/src/Utility/Security.php b/src/Utility/Security.php
index <HASH>..<HASH> 100644
--- a/src/Utility/Security.php
+++ b/src/Utility/Security.php
@@ -48,16 +48,6 @@ class Security
protected static $_instance;
/**
- * Generate authorization hash.
- *
- * @return string Hash
- */
- ... | Remove unused method
This used to be used for generating `Security.salt` and `Security.cipherSeed`, but the method is unused in 3.x | cakephp_cakephp | train | php |
59823a833c1dec759eb5ffe1d023ccad648af1b9 | diff --git a/src/Parts/TravisCI/Part.php b/src/Parts/TravisCI/Part.php
index <HASH>..<HASH> 100644
--- a/src/Parts/TravisCI/Part.php
+++ b/src/Parts/TravisCI/Part.php
@@ -10,7 +10,9 @@ class Part extends AbstractPart
public function setupPackage($composer, Filesystem $target)
{
- $target->write('.tra... | Ask for confirmation before setting up TravisCI. | franzliedke_studio | train | php |
f80540d309fa26ada886347dea3340a070777eca | diff --git a/tests/tests/web.structured-clone.js b/tests/tests/web.structured-clone.js
index <HASH>..<HASH> 100644
--- a/tests/tests/web.structured-clone.js
+++ b/tests/tests/web.structured-clone.js
@@ -1,6 +1,6 @@
// Originally from: https://github.com/web-platform-tests/wpt/blob/4b35e758e2fc4225368304b02bcec9133965f... | don't test the native source on node | zloirock_core-js | train | js |
ae81d2c1fcaa295b9d0e0ddc0dd4d26fca870354 | diff --git a/tests/test_trie.py b/tests/test_trie.py
index <HASH>..<HASH> 100644
--- a/tests/test_trie.py
+++ b/tests/test_trie.py
@@ -28,11 +28,8 @@ def test_trie():
assert 'Foo' in trie
assert trie['Foo'] == 10
- try:
+ with pytest.raises(KeyError):
x = trie['bar']
- assert 0 == 1, "... | improved tests: just discovered pytest.raises | pytries_datrie | train | py |
867038a29e5eaa5ba5bf01f9f9d36112f7c5bc97 | diff --git a/test/test-mapreduce.js b/test/test-mapreduce.js
index <HASH>..<HASH> 100755
--- a/test/test-mapreduce.js
+++ b/test/test-mapreduce.js
@@ -1,7 +1,7 @@
#!/usr/local/bin/node --harmony
var co = require('co');
-var UgridClient = require('../lib/co-ugrid.js');
+var UgridClient = require('../lib/ugrid-client... | modification library co-ugrid.js to client-ugrid.js | skale-me_skale | train | js |
73afe1cab1bc2510a133b069967057d6acd620bf | diff --git a/gns3converter/topology.py b/gns3converter/topology.py
index <HASH>..<HASH> 100644
--- a/gns3converter/topology.py
+++ b/gns3converter/topology.py
@@ -148,6 +148,8 @@ class LegacyTopology():
if item_type == 'SHAPE' and s_item == 'fill_color':
s_item = 'color'
... | Shapes were losing there rotation
Convert 'rotate' parameter to 'rotation'
Fixes #<I> | dlintott_gns3-converter | train | py |
99101c6745f6168dd6ec9cf4fad589aefe80bdc0 | diff --git a/src/main/java/com/nesscomputing/httpserver/GalaxyJetty8HttpServer.java b/src/main/java/com/nesscomputing/httpserver/GalaxyJetty8HttpServer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/nesscomputing/httpserver/GalaxyJetty8HttpServer.java
+++ b/src/main/java/com/nesscomputing/httpserver/GalaxyJet... | It seems that with jetty 8, the servlet handler must be added first, before all the logging handlers are added, because
otherwise the logging happens before the actual request. This fixes the "tracking token has disappeared" problem and maybe
also the request times problem. | NessComputing_components-ness-httpserver | train | java |
708cad35ff7a366e27ad063092092f7dc6634db4 | diff --git a/Neos.ContentRepository/Classes/Domain/Model/Node.php b/Neos.ContentRepository/Classes/Domain/Model/Node.php
index <HASH>..<HASH> 100644
--- a/Neos.ContentRepository/Classes/Domain/Model/Node.php
+++ b/Neos.ContentRepository/Classes/Domain/Model/Node.php
@@ -877,16 +877,21 @@ class Node implements NodeInter... | BUGFIX: Return ``null`` if image property comes back empty | neos_neos-development-collection | train | php |
62c28352470fe941467ec840e2f3b9ee193e1a0c | diff --git a/db_file_storage/storage.py b/db_file_storage/storage.py
index <HASH>..<HASH> 100644
--- a/db_file_storage/storage.py
+++ b/db_file_storage/storage.py
@@ -13,7 +13,6 @@ from django.utils.http import urlencode
from django.utils.deconstruct import deconstructible
-
NAME_FORMAT_HINT = '<app>.<model>/<con... | Save correct mimetype with Django <I> | victor-o-silva_db_file_storage | train | py |
1c63b62da01c0960c8b74e6e1b6d5e73e4fbf8e4 | diff --git a/AegeanTools/__init__.py b/AegeanTools/__init__.py
index <HASH>..<HASH> 100644
--- a/AegeanTools/__init__.py
+++ b/AegeanTools/__init__.py
@@ -1,3 +1,6 @@
#! /usr/bin/env python
-"""Dependencies for Aegean """
+""" """
+__author__ = 'Paul Hancock'
+__version__ = 'v1.9.7-31-ga1312df'
+__date__ = '2016-06-... | all author/version/date info is now project wide and contained within this file. | PaulHancock_Aegean | train | py |
162266289ab8324fa7f1360283946cd8dfe8a593 | diff --git a/src/Exchange/Asset.php b/src/Exchange/Asset.php
index <HASH>..<HASH> 100644
--- a/src/Exchange/Asset.php
+++ b/src/Exchange/Asset.php
@@ -205,5 +205,27 @@ class Asset extends \CFX\JsonApi\AbstractResource implements AssetInterface {
return $this->_setAttribute($field, $val);
}
+
+
+ ... | Added proper serialization to issuancecloseDate on assets | cfxmarkets_php-public-models | train | php |
e7393076a39dca3eede42ff3a3eae4c6f144cca6 | diff --git a/zen-rhino/src/main/resources/com/nominanuda/js/lib/obj.js b/zen-rhino/src/main/resources/com/nominanuda/js/lib/obj.js
index <HASH>..<HASH> 100644
--- a/zen-rhino/src/main/resources/com/nominanuda/js/lib/obj.js
+++ b/zen-rhino/src/main/resources/com/nominanuda/js/lib/obj.js
@@ -24,6 +24,13 @@ function map(o... | obj to arr helper | nominanuda_zen-project | train | js |
d7e7ace9a070415e359133fe509e8cc73fe1953d | diff --git a/test/storetest.py b/test/storetest.py
index <HASH>..<HASH> 100644
--- a/test/storetest.py
+++ b/test/storetest.py
@@ -47,7 +47,7 @@ def testStore(store):
# Check that after storage, getting returns the same result
store.storeAssociation(assoc)
retrieved_assoc = store.getAssociation(server_ur... | [project @ Provide more information on assertion error in storetest] | openid_python-openid | train | py |
e02564c42b23f38da792f7169c559c7f15b17cab | diff --git a/p2p/host/peerstore/pstoreds/ds_test.go b/p2p/host/peerstore/pstoreds/ds_test.go
index <HASH>..<HASH> 100644
--- a/p2p/host/peerstore/pstoreds/ds_test.go
+++ b/p2p/host/peerstore/pstoreds/ds_test.go
@@ -33,8 +33,6 @@ func TestDsPeerstore(t *testing.T) {
func TestDsAddrBook(t *testing.T) {
for name, dsFac... | test: don't run datastore tests in parallel
We have timing dependencies in some of these tests. | libp2p_go-libp2p | train | go |
9d5334958927a82fea3be63d7a3643326e729684 | diff --git a/lib/collection/proxy-config.js b/lib/collection/proxy-config.js
index <HASH>..<HASH> 100644
--- a/lib/collection/proxy-config.js
+++ b/lib/collection/proxy-config.js
@@ -1,4 +1,5 @@
var _ = require('../util').lodash,
+ querystring = require('querystring'),
Property = require('./property').Property... | Escape username and password in proxy auth | postmanlabs_postman-collection | train | js |
cd966c68261cf20e28605b08b2f52633dcdb6c76 | diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Controller/Contro... | [FrameworkBundle] minor fix
A small fix in the "parse" function of the "ControllerNameParser" Controller.
We should use "!==" instead of "!=" since it's better and faster in this case.
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | n... | symfony_symfony | train | php |
977ab4b0a32abf6195fd159170a065026452a23b | diff --git a/prospector/exceptions.py b/prospector/exceptions.py
index <HASH>..<HASH> 100644
--- a/prospector/exceptions.py
+++ b/prospector/exceptions.py
@@ -1,7 +1,11 @@
# -*- coding: utf-8 -*-
+
+# We are trying to handle pylint changes in their exception classes
try:
+ # pylint < 1.7
from pylint.utils imp... | Add comments about detecting pylint exception classes | PyCQA_prospector | train | py |
9539db636086a6b2922b6dca07611c377e83c765 | diff --git a/cookbooks/omnibus/recipes/default.rb b/cookbooks/omnibus/recipes/default.rb
index <HASH>..<HASH> 100644
--- a/cookbooks/omnibus/recipes/default.rb
+++ b/cookbooks/omnibus/recipes/default.rb
@@ -106,3 +106,13 @@ directory "/var/cache/omnibus" do
recursive true
end
+# Turn off strict host key checking ... | teach omnibus how to play nice with github ssh repos | chef_omnibus | train | rb |
518dbfc7f77be8d96fff661ed8201e475d7ed4aa | diff --git a/tests/EnumLocalizationTest.php b/tests/EnumLocalizationTest.php
index <HASH>..<HASH> 100644
--- a/tests/EnumLocalizationTest.php
+++ b/tests/EnumLocalizationTest.php
@@ -24,7 +24,7 @@ class EnumLocalizationTest extends TestCase
$app['path.lang'] = __DIR__."/lang";
}
- public function tes... | Updated text names to snake case for consistency | BenSampo_laravel-enum | train | php |
c69a701e96c32930c4fafa82c262ee29a4a00aef | diff --git a/src/Defaults.js b/src/Defaults.js
index <HASH>..<HASH> 100644
--- a/src/Defaults.js
+++ b/src/Defaults.js
@@ -6,6 +6,10 @@ module.exports = {
// point for the data that is sent to the server
attributes: [],
+ methods: {},
+
+ computed: {},
+
http: {
baseRoute: null, | Add two missing keys to the defaults | aarondfrancis_vue-model | train | js |
a2ed1e280d9c081415aade639eff544695078959 | diff --git a/examples/bootstrap.php b/examples/bootstrap.php
index <HASH>..<HASH> 100644
--- a/examples/bootstrap.php
+++ b/examples/bootstrap.php
@@ -1,9 +1,9 @@
<?php
// Don't allow direct access to the boostrap
-//if(basename($_SERVER['REQUEST_URI']) == 'bootstrap.php'){
-/// exit('bootstrap.php does nothing on ... | Prevent direct access to the bootstrap | BenExile_Dropbox | train | php |
885fd8082c4f431e68defdf49f552968a61a024f | diff --git a/cordova-lib/src/cordova/platform.js b/cordova-lib/src/cordova/platform.js
index <HASH>..<HASH> 100644
--- a/cordova-lib/src/cordova/platform.js
+++ b/cordova-lib/src/cordova/platform.js
@@ -170,10 +170,7 @@ function addHelper(cmd, hooksRunner, projectRoot, targets, opts) {
}).then(function... | Removed unnecessary check. This closes #<I> | apache_cordova-lib | train | js |
b3c6833e9993ae887d272798a8e93bea379fa128 | diff --git a/src/lib/add-attrs.js b/src/lib/add-attrs.js
index <HASH>..<HASH> 100644
--- a/src/lib/add-attrs.js
+++ b/src/lib/add-attrs.js
@@ -1,10 +1,11 @@
+import Vue from 'vue'
+
export default function addAttrs (vm, attrs) {
- const consoleWarnSave = console.error
- console.error = () => {}
+ Vue.config.silent ... | refactor: set Vue to silent when adding listeners
closes #<I> | vuejs_vue-test-utils | train | js,js |
b2cf7137908c78c442359478ab937e6d909fd75f | diff --git a/tornado/__init__.py b/tornado/__init__.py
index <HASH>..<HASH> 100644
--- a/tornado/__init__.py
+++ b/tornado/__init__.py
@@ -22,5 +22,5 @@
# is zero for an official release, positive for a development branch,
# or negative for a release candidate or beta (after the base version
# number has been increm... | Bump master branch to <I>.dev1 | tornadoweb_tornado | train | py |
dc3bb57059588be9828fe444ff23ca91c33c768f | diff --git a/system/modules/generalDriver/GeneralViewDefault.php b/system/modules/generalDriver/GeneralViewDefault.php
index <HASH>..<HASH> 100644
--- a/system/modules/generalDriver/GeneralViewDefault.php
+++ b/system/modules/generalDriver/GeneralViewDefault.php
@@ -1176,12 +1176,11 @@ class GeneralViewDefault extends ... | Use the automatic cbx class again | contao-community-alliance_dc-general | train | php |
547abe3fa844264aae168e61a156e812b6f99c64 | diff --git a/src/server/dryads.js b/src/server/dryads.js
index <HASH>..<HASH> 100644
--- a/src/server/dryads.js
+++ b/src/server/dryads.js
@@ -76,7 +76,7 @@ export function compileSynthDef(defName, sourceCode) {
const compiler = dryadic((context) => {
// Better to use an isolated sclang so any Quarks won't try ... | compileSynthDef: avoid { }.asSynthDef as this breaks if you already have an Out
use SynthDef(name, {}) directly | crucialfelix_supercolliderjs | train | js |
e5642dc20ad989de4b4fc761bad11f446a9847cb | diff --git a/go/mysql/binlog_event_rbr.go b/go/mysql/binlog_event_rbr.go
index <HASH>..<HASH> 100644
--- a/go/mysql/binlog_event_rbr.go
+++ b/go/mysql/binlog_event_rbr.go
@@ -449,11 +449,9 @@ func CellValue(data []byte, pos int, typ byte, metadata uint16, styp querypb.Typ
case TypeVarchar, TypeVarString:
// We tru... | varchar type can have only varchar or varbinary column types | vitessio_vitess | train | go |
38d4554fc4049ff04fc57032d49b88c99dafb343 | diff --git a/Kwc/Directories/Item/Directory/Trl/AdminModel.php b/Kwc/Directories/Item/Directory/Trl/AdminModel.php
index <HASH>..<HASH> 100644
--- a/Kwc/Directories/Item/Directory/Trl/AdminModel.php
+++ b/Kwc/Directories/Item/Directory/Trl/AdminModel.php
@@ -72,10 +72,7 @@ class Kwc_Directories_Item_Directory_Trl_Admin... | Possible fix for problem with not-found component
Maybe a copy-paste problem | koala-framework_koala-framework | train | php |
d3b57d53f2957aa544c3a33aab8a046b58a9f45b | diff --git a/transformers/uws/server.js b/transformers/uws/server.js
index <HASH>..<HASH> 100644
--- a/transformers/uws/server.js
+++ b/transformers/uws/server.js
@@ -48,7 +48,10 @@ module.exports = function server() {
if (secKey && secKey.length === 24) {
soc.setNoDelay(options.transport.noDelay);
- ... | [minor] Make the uws transformer work on Windows | primus_primus | train | js |
619f9210f36ab4e8665ba0e84b71c1904e1ae8c2 | diff --git a/cake/console/libs/testsuite.php b/cake/console/libs/testsuite.php
index <HASH>..<HASH> 100644
--- a/cake/console/libs/testsuite.php
+++ b/cake/console/libs/testsuite.php
@@ -356,25 +356,6 @@ class TestSuiteShell extends Shell {
}
/**
- * Sets some get vars needed for TestManager
- *
- * @return void
-... | Removing orphaned method. | cakephp_cakephp | train | php |
86f19941d596275248ec61170fe18ed338fcabe3 | diff --git a/ddb-dumper.py b/ddb-dumper.py
index <HASH>..<HASH> 100755
--- a/ddb-dumper.py
+++ b/ddb-dumper.py
@@ -23,6 +23,7 @@ parser.add_argument(
help="The region to connect to."
)
parser.add_argument(
+ '-s',
'--host',
type=str,
help="The host url to connect to (for use with DynamoDB Local... | Use '-s' as shorthand for '--host' in both tools | adamchainz_dynamodb_utils | train | py,py |
5ab34173aee6e1acff34a086c26030edb517db78 | diff --git a/fabric/connection.py b/fabric/connection.py
index <HASH>..<HASH> 100644
--- a/fabric/connection.py
+++ b/fabric/connection.py
@@ -109,7 +109,7 @@ class Connection(object):
"""
Initiate an SSH connection to the host/port this object is bound to.
"""
- SSHClient().connect(ho... | Extend mock test to include port | fabric_fabric | train | py,py |
2ad5a3ccabfb110b4edfc41d05aa69eb9440fa97 | diff --git a/lib/Scaffolding.js b/lib/Scaffolding.js
index <HASH>..<HASH> 100644
--- a/lib/Scaffolding.js
+++ b/lib/Scaffolding.js
@@ -61,11 +61,13 @@ function (helpers, Write, result, assert, assertType, Env,
fetch: {
json: (function () {
+ var Promise = (Promise) ? Promise : helpers.tools.fetch.P... | fix cases where Promise lib is needed | silverbucket_jaribu | train | js |
c6b8992f361d2725cfb7344cc292ec6a8c83d5be | diff --git a/src/Drupal/DrupalExtension/Context/RawDrupalContext.php b/src/Drupal/DrupalExtension/Context/RawDrupalContext.php
index <HASH>..<HASH> 100644
--- a/src/Drupal/DrupalExtension/Context/RawDrupalContext.php
+++ b/src/Drupal/DrupalExtension/Context/RawDrupalContext.php
@@ -584,8 +584,14 @@ class RawDrupalConte... | At the start of a webdriver session the user is not logged in. (#<I>) | jhedstrom_drupalextension | train | php |
177c9d72bf44074d8dece42a47cfedbdd8c5feec | diff --git a/cv/internal/gerrit/gerritfake/fake.go b/cv/internal/gerrit/gerritfake/fake.go
index <HASH>..<HASH> 100644
--- a/cv/internal/gerrit/gerritfake/fake.go
+++ b/cv/internal/gerrit/gerritfake/fake.go
@@ -102,6 +102,7 @@ func WithCLs(cs ...*Change) *Fake {
cpy := &Change{
Host: c.Host,
ACLs: c.ACLs,
+ ... | cv: fix bug in gerritfake.
proto.Merge needs existing proto object as destination.
Bug from <URL> | luci_luci-go | train | go |
6995fa1ff1f5161e550ef952dc5ac0012afdccc0 | diff --git a/test/fast_forward_test.go b/test/fast_forward_test.go
index <HASH>..<HASH> 100644
--- a/test/fast_forward_test.go
+++ b/test/fast_forward_test.go
@@ -44,10 +44,15 @@ func TestFastForwardBasic(t *testing.T) {
// Wait for the background update to fetch the head.
waitForStalledMDGetForTLF(),
un... | test: wait for fast-forwarding to complete
Issue: KBFS-<I> | keybase_client | train | go |
9a1adb2c3fad8e48b4cdd71c9c559de93a2d4910 | diff --git a/models/lobby.go b/models/lobby.go
index <HASH>..<HASH> 100644
--- a/models/lobby.go
+++ b/models/lobby.go
@@ -414,6 +414,9 @@ func (lobby *Lobby) AddPlayer(player *Player, slot int, password string) *helper
} else {
// assign the player to a new slot
// try to remove them from the old slot (in c... | AddPlayer(): Check if the slot needs a substitute | TF2Stadium_Helen | train | go |
cd8c7ea48638ad6b368a93ce20ec86904c0ea8ef | diff --git a/example/src/GalleryPage.react.js b/example/src/GalleryPage.react.js
index <HASH>..<HASH> 100644
--- a/example/src/GalleryPage.react.js
+++ b/example/src/GalleryPage.react.js
@@ -13,10 +13,11 @@ import json from "./data/Gallery.Items";
function GalleryPage(): React.Node {
const options = (
<React.F... | Added missing input and classNames | tabler_tabler-react | train | js |
b5ed5c715aa5777af1f4ed302e59dfa980b42afc | diff --git a/src/Resources/contao/languages/de/tl_cfg_tag.php b/src/Resources/contao/languages/de/tl_cfg_tag.php
index <HASH>..<HASH> 100644
--- a/src/Resources/contao/languages/de/tl_cfg_tag.php
+++ b/src/Resources/contao/languages/de/tl_cfg_tag.php
@@ -25,3 +25,8 @@ $GLOBALS['TL_LANG']['tl_cfg_tag']['new'] = ['Neues ... | Translated least and most occurences to german | codefog_tags-bundle | train | php |
226d66bac8d47b02ddc69d5cb7b25b07f0c6a2fc | diff --git a/terraform/state.go b/terraform/state.go
index <HASH>..<HASH> 100644
--- a/terraform/state.go
+++ b/terraform/state.go
@@ -175,7 +175,13 @@ func (s *State) addModule(path addrs.ModuleInstance) *ModuleState {
// This requires that none of the steps have instance keys, which is
// true for all addresses a... | core: include "root" element when constructing legacy ModuleState path
We've not yet adjusted any of the state structs to reflect our new address
types because they are used with encoding/json to produce our state file
format, but the shimming here previously was incorrect because it failed
to include the special "roo... | hashicorp_terraform | train | go |
524981f367505898b582dac4f47e0c1b7337c0d1 | diff --git a/agent/local/state_test.go b/agent/local/state_test.go
index <HASH>..<HASH> 100644
--- a/agent/local/state_test.go
+++ b/agent/local/state_test.go
@@ -246,6 +246,9 @@ func TestAgentAntiEntropy_EnableTagOverride(t *testing.T) {
EnableTagOverride: true,
}
a.State.AddService(srv1, "")
+ if err := a.Stat... | local state: fix TestAgentAntiEntropy_EnableTagOverride
The test had a race condition where it relied on the first service to be
synced to the remote catalog which sometimes failed. | hashicorp_consul | train | go |
47edef0e8adf20477a8c8a36ba3f2505d6f0ed67 | diff --git a/lib/pronto/rubocop.rb b/lib/pronto/rubocop.rb
index <HASH>..<HASH> 100644
--- a/lib/pronto/rubocop.rb
+++ b/lib/pronto/rubocop.rb
@@ -53,7 +53,7 @@ module Pronto
def processed_source_for(patch)
path = patch.new_file_full_path.to_s
- ::RuboCop::ProcessedSource.from_file(path)
+ ::Rub... | Specify ruby version explicitly to RuboCop
Since rubocop <I> has changed method signature of
`RuboCop::ProcessedSource.from_file`, we need to give a ruby version as
an argument.
<URL> | prontolabs_pronto-rubocop | train | rb |
9fe10cf06f07dc9f1638ed2221a3a6e7ddd54e4c | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -98,6 +98,7 @@ class PSHACalculator(base.HazardCalculator):
for grp_id in pmap:
if pmap[grp_... | Logged the number of effective sites per task [skip CI] | gem_oq-engine | train | py |
5ae720f2639fff0f125012367c902444c6a42f0b | diff --git a/lib/pancake/mixins/render.rb b/lib/pancake/mixins/render.rb
index <HASH>..<HASH> 100644
--- a/lib/pancake/mixins/render.rb
+++ b/lib/pancake/mixins/render.rb
@@ -96,8 +96,8 @@ module Pancake
view_context_before_render(view_context)
out = ""
- case with
- when Array... | Updates partial to use kind_of? Array rather than a straight array. DM collections didn;t like it the other way :( | hassox_pancake | train | rb |
8ee6d5c9d92419b39e97b93edb94f6c7bb5dbc40 | diff --git a/daemon/daemon.go b/daemon/daemon.go
index <HASH>..<HASH> 100644
--- a/daemon/daemon.go
+++ b/daemon/daemon.go
@@ -669,6 +669,8 @@ func NewDaemon(c *Config) (*Daemon, error) {
}
log.Infof("Local node-name: %s", nodeaddress.GetName())
+ log.Infof("Node-IPv6: %s", nodeaddress.GetIPv6())
+ log.Infof("Nod... | agent: Print IPv4/IPv6 node IPs when starting up | cilium_cilium | train | go |
5f6a987492ead07ec202f38445e07db3c4e72f42 | diff --git a/deep.js b/deep.js
index <HASH>..<HASH> 100644
--- a/deep.js
+++ b/deep.js
@@ -106,16 +106,6 @@ define([
deep.isNode = (typeof process !== 'undefined' && process.versions && process.versions.node);
/**
- * a magic context that follow promise context and switch automaticaly
- * @static
- * @property... | isolate context and refactor deep.context | deepjs_deepjs | train | js |
f45be8148e638c2d67b0aace83eae16a62d9b29c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -30,9 +30,15 @@ packages = find_packages()
print()
print("FOUND PACKAGES: ", packages)
-
scripts = glob.glob('voeventdb/server/bin/*.py')
+classifiers = [
+ "License :: OSI Approved :: BSD License",
+ "Programming... | Add a few choice PyPI classifiers. | timstaley_voeventdb | train | py |
c6b09f40bfa0197cd1f259a86aa1f3c1f2646dd6 | diff --git a/hdbscan/plots.py b/hdbscan/plots.py
index <HASH>..<HASH> 100644
--- a/hdbscan/plots.py
+++ b/hdbscan/plots.py
@@ -416,7 +416,7 @@ class SingleLinkageTree (object):
_line_width(y[1], self._linkage))
for y in Y]
else:
- linewidths = [... | Fix bug in non-varying linewidth plot of single linkage tree | scikit-learn-contrib_hdbscan | train | py |
da7582d32976edd151ea76dd05fcee05067d9e41 | diff --git a/tests/Doctrine/Tests/ORM/UnitOfWorkTest.php b/tests/Doctrine/Tests/ORM/UnitOfWorkTest.php
index <HASH>..<HASH> 100644
--- a/tests/Doctrine/Tests/ORM/UnitOfWorkTest.php
+++ b/tests/Doctrine/Tests/ORM/UnitOfWorkTest.php
@@ -419,7 +419,7 @@ class UnitOfWorkTest extends OrmTestCase
'empty strings,... | Typo fix: s/$booleanTrue/$booleanFalse (C&P mistake) | doctrine_orm | train | php |
012d537d9d030275e7f63a19e53aa787960aa66a | diff --git a/lib/roo_on_rails/context_logging.rb b/lib/roo_on_rails/context_logging.rb
index <HASH>..<HASH> 100644
--- a/lib/roo_on_rails/context_logging.rb
+++ b/lib/roo_on_rails/context_logging.rb
@@ -48,7 +48,7 @@ module RooOnRails
def current_context
# We use our object ID here to avoid conflictin... | Use a different variable name to ActiveSupport::TaggedLogging
The `@thread_key` variable name is used by
`ActiveSupport::TaggedLogging` to hold its thread key (not surprising
as that’s where I nicked most of the implementation from) but this
means if you use it together with ContextLogging then they use each
others th... | deliveroo_roo_on_rails | train | rb |
0c9384248b9ae856cc89b4957e0cb978731fdea4 | diff --git a/harpoon/ship/context.py b/harpoon/ship/context.py
index <HASH>..<HASH> 100644
--- a/harpoon/ship/context.py
+++ b/harpoon/ship/context.py
@@ -142,7 +142,17 @@ class ContextBuilder(object):
log.debug(stat)
fo = BytesIO(strm.read())
- ... | Fix opening tar from docker.get_archive
In newer versions of docker the return of get_archive is a gzipped tar
file, whereas in older dockers it is a normal tar file.
So we try to open it as gzip, which should fail quickly if it's a
normal tar, before trying to read it as a normal tar | delfick_harpoon | train | py |
668bb45b68dbd0104b459370f7c58de1f056fa46 | diff --git a/engine/models/Living.js b/engine/models/Living.js
index <HASH>..<HASH> 100644
--- a/engine/models/Living.js
+++ b/engine/models/Living.js
@@ -241,12 +241,13 @@ Living = new Class({
var command = params.shift();
var out = '';
var com = this.world.getCommand(command);
- if (com){
- params = param... | parseCommand now checks room directions before trying to load a command file. | Yuffster_discord-engine | train | js |
ef1e4a43948f1494a10aa962db9b88349d687974 | diff --git a/demo/demo/settings.py b/demo/demo/settings.py
index <HASH>..<HASH> 100644
--- a/demo/demo/settings.py
+++ b/demo/demo/settings.py
@@ -80,6 +80,8 @@ TEMPLATES = [
},
]
+X_FRAME_OPTIONS = 'SAMEORIGIN'
+
WSGI_APPLICATION = 'demo.wsgi.application'
ASGI_APPLICATION = 'demo.routing.application'
diff ... | Move to Django <I> (#<I>) | GibbsConsulting_django-plotly-dash | train | py,txt,py |
323887e9f3ddd3bcd6db7147de5c716af2cc19fe | diff --git a/packages/puppeteer-extra-plugin-stealth/index.js b/packages/puppeteer-extra-plugin-stealth/index.js
index <HASH>..<HASH> 100644
--- a/packages/puppeteer-extra-plugin-stealth/index.js
+++ b/packages/puppeteer-extra-plugin-stealth/index.js
@@ -80,7 +80,7 @@ class StealthPlugin extends PuppeteerExtraPlugin {
... | chore(plugin-stealth): Temp disable accept-language (#<I>) | berstend_puppeteer-extra | train | js |
817f6474488b764efb0697f4b66af1626c21f34a | diff --git a/src/Service/ActivityMonitor.php b/src/Service/ActivityMonitor.php
index <HASH>..<HASH> 100644
--- a/src/Service/ActivityMonitor.php
+++ b/src/Service/ActivityMonitor.php
@@ -87,8 +87,9 @@ class ActivityMonitor
// The progress bar will show elapsed time and the activity's state.
$bar = $... | Assume activity state is 'in progress' while reading the log | platformsh_platformsh-cli | train | php |
4a07f9ed246981df23045ab49cfd16ac6347a445 | diff --git a/tools/nni_trial_tool/log_utils.py b/tools/nni_trial_tool/log_utils.py
index <HASH>..<HASH> 100644
--- a/tools/nni_trial_tool/log_utils.py
+++ b/tools/nni_trial_tool/log_utils.py
@@ -85,6 +85,13 @@ class RemoteLogger(object):
'''
return PipeLogReader(self.logger, self.log_collection, loggi... | Fix trialkeeper flush (#<I>) | Microsoft_nni | train | py |
9515dd17fffc28f7ca9437c51c38a7c41e3fe4bc | diff --git a/salt/states/docker_container.py b/salt/states/docker_container.py
index <HASH>..<HASH> 100644
--- a/salt/states/docker_container.py
+++ b/salt/states/docker_container.py
@@ -1989,6 +1989,7 @@ def running(name,
if __opts__['test']:
ret['result'] = None
comments.append('Con... | docker_container.running: Fix regression in test mode
In the process of overhauling docker_container.running to support
network management for <I>, This line was deleted when it should
not have been. Adding it back to ensure we exit the state at the proper
place when state is run in test mode. | saltstack_salt | train | py |
c941f94bf9a19c67e3685711382f11c5bf0a67fd | diff --git a/externs/gecko_dom.js b/externs/gecko_dom.js
index <HASH>..<HASH> 100644
--- a/externs/gecko_dom.js
+++ b/externs/gecko_dom.js
@@ -1038,6 +1038,14 @@ Navigator.prototype.productSub;
Navigator.prototype.securityPolicy;
/**
+ * @param {string} url
+ * @param {ArrayBufferView|Blob|string|FormData=} opt_dat... | Add navigator.sendBeacon to closure's externs.
This function is currently implemented in Firefox
and Chrome, and is specified by
<URL> | google_closure-compiler | train | js |
72bf19f454c6822cfb2cf128c77ef8d70667df35 | diff --git a/app.go b/app.go
index <HASH>..<HASH> 100644
--- a/app.go
+++ b/app.go
@@ -251,7 +251,7 @@ func (a *Application) init() error {
if a.cmdGroup.have() {
var command []string
HelpCommand = a.Command("help", "Show help.").Action(func(c *ParseContext) error {
- a.Usage(command)
+ a.UsageForContext(c)... | Don't re-parse when applying "help" command. | alecthomas_kingpin | train | go |
49c4b75f6b5192dae049d973eab8825414559f91 | diff --git a/lib/tasks.js b/lib/tasks.js
index <HASH>..<HASH> 100644
--- a/lib/tasks.js
+++ b/lib/tasks.js
@@ -253,9 +253,10 @@ module.exports = function(self, options) {
var guids = _.uniq(_.map(relevant, 'workflowGuid'));
guids.sort(function(a, b) {
if (byGuid[a].length < byGuid[b].length... | choose the more popular guid rather than the less popular one, log about losers removed | apostrophecms_apostrophe-workflow | train | js |
5f56395e493407a041f91a4d2719ed0d16009ff1 | diff --git a/delocate/tools.py b/delocate/tools.py
index <HASH>..<HASH> 100644
--- a/delocate/tools.py
+++ b/delocate/tools.py
@@ -250,7 +250,8 @@ def set_install_id(filename, install_id):
RPATH_RE = re.compile("path (.*) \(offset \d+\)")
def get_rpaths(filename):
- """ Return a tuple of rpaths from the library ... | Expand the rpath search paths to include LD_LIBRARY_PATH as well | matthew-brett_delocate | train | py |
cd66fa940695a79b8465d802f28f20010b6f2148 | diff --git a/src/tree/elements/FileFunction.php b/src/tree/elements/FileFunction.php
index <HASH>..<HASH> 100644
--- a/src/tree/elements/FileFunction.php
+++ b/src/tree/elements/FileFunction.php
@@ -22,6 +22,5 @@ class FileFunction implements INodeElement
public function accept(INodeElementVisitor $visitor): void
... | Removed unecassary return, added new line at end of file | hostnet_dead | train | php |
44babcbdea4f342da948cfd3e8473a25f84b4155 | diff --git a/lib/pavlov/operation.rb b/lib/pavlov/operation.rb
index <HASH>..<HASH> 100644
--- a/lib/pavlov/operation.rb
+++ b/lib/pavlov/operation.rb
@@ -17,7 +17,11 @@ module Pavlov
end
def validate
- true
+ if respond_to? :valid?
+ valid?
+ else
+ true
+ end
end
... | Added compatability for ActiveModel::Validations | Factlink_pavlov | train | rb |
57f97a72e61f0ad0f5d7fd6d7e4bb3f4856c6d7a | diff --git a/tsdb/index.go b/tsdb/index.go
index <HASH>..<HASH> 100644
--- a/tsdb/index.go
+++ b/tsdb/index.go
@@ -1111,6 +1111,16 @@ type IndexSet struct {
fieldSets []*MeasurementFieldSet // field sets for _all_ indexes in this set's DB.
}
+// HasInmemIndex returns true if any in-memory index is in use.
+func (... | fix SHOW TAG KEYS perfomance regression | influxdata_influxdb | train | go |
9ad7fdd35460afd09e4c9160d415f9e3e14fd271 | diff --git a/templates/account.php b/templates/account.php
index <HASH>..<HASH> 100755
--- a/templates/account.php
+++ b/templates/account.php
@@ -700,7 +700,6 @@
false,
false,
false,
- false,
( $downgrade_confirmation_mess... | [add-on] [account] [downgrade] [bug-fix] Downgrading was not properly working. | Freemius_wordpress-sdk | train | php |
469d015c7d64b285977f9ab03cf9704d047fe696 | diff --git a/server/Component.rb b/server/Component.rb
index <HASH>..<HASH> 100644
--- a/server/Component.rb
+++ b/server/Component.rb
@@ -34,7 +34,7 @@ class Component
@outputs = Array.new
@thread = nil # Launcher attribute init
@filename = component_["exec"]
- @timeout = ... | increase timeout to <I> sec | openplacos_openplacos | train | rb |
fb0f902c133ebead49638cca3bf9c9e8a6f329df | diff --git a/activejdbc/src/main/java/org/javalite/activejdbc/Configuration.java b/activejdbc/src/main/java/org/javalite/activejdbc/Configuration.java
index <HASH>..<HASH> 100644
--- a/activejdbc/src/main/java/org/javalite/activejdbc/Configuration.java
+++ b/activejdbc/src/main/java/org/javalite/activejdbc/Configuratio... | #<I> - allow to find more than one activejdbc.properties file on classpath and load them all | javalite_activejdbc | train | java |
f6a0342ab21e1f4f0dbc659c337c49f96e0b6ab2 | diff --git a/src/main/java/org/kvstore/structures/btree/BplusTreeFile.java b/src/main/java/org/kvstore/structures/btree/BplusTreeFile.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/kvstore/structures/btree/BplusTreeFile.java
+++ b/src/main/java/org/kvstore/structures/btree/BplusTreeFile.java
@@ -1055,6 +1055,... | ensure redo Queue are clear before clear redo File | ggrandes_kvstore | train | java |
06d204c752b24267e473a570a3183fd7385bd2e5 | diff --git a/ext/java/org/msgpack/jruby/Factory.java b/ext/java/org/msgpack/jruby/Factory.java
index <HASH>..<HASH> 100644
--- a/ext/java/org/msgpack/jruby/Factory.java
+++ b/ext/java/org/msgpack/jruby/Factory.java
@@ -54,7 +54,7 @@ public class Factory extends RubyObject {
return Packer.newPacker(ctx, extensionRe... | fix to accept 2 arguments (src and options) | msgpack_msgpack-ruby | train | java |
121cd3ff9630d960b15592401192261f32ed87df | diff --git a/lib/screencap.rb b/lib/screencap.rb
index <HASH>..<HASH> 100644
--- a/lib/screencap.rb
+++ b/lib/screencap.rb
@@ -1,7 +1,7 @@
require "screencap/version"
require 'phantomjs.rb'
-
+require 'pathname'
module Screencap
SCREENCAP_ROOT = Pathname.new(File.dirname(__FILE__)) | pathname is in stdlib, but not always required | maxwell_screencap | train | rb |
7085b004de030cc5ecc575ed3710d6f01346937d | diff --git a/crontab/_crontab.py b/crontab/_crontab.py
index <HASH>..<HASH> 100644
--- a/crontab/_crontab.py
+++ b/crontab/_crontab.py
@@ -3,7 +3,7 @@
crontab.py
Written July 15, 2011 by Josiah Carlson
-Copyright 2011-2018 Josiah Carlson
+Copyright 2011-2020 Josiah Carlson
Released under the GNU LGPL v2.1 and v3
... | Fixed issue with comparing against None
Thanks to github user sidahmed-malaoui for the bug report | josiahcarlson_parse-crontab | train | py,py |
723e2499af580c5fd249de911a2a75451e1d66cb | diff --git a/src/main/java/io/innerloop/neo4j/ogm/impl/metadata/ClassMetadata.java b/src/main/java/io/innerloop/neo4j/ogm/impl/metadata/ClassMetadata.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/innerloop/neo4j/ogm/impl/metadata/ClassMetadata.java
+++ b/src/main/java/io/innerloop/neo4j/ogm/impl/metadata/Clas... | Fixed NPE on a field not existing but is in the DB. It simply won't map this value. | mangrish_java-neo4j-ogm | train | java |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.