hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
5af49852d19d7ce194f45d75cafaece08c3d1e7c | diff --git a/leaflet-search.js b/leaflet-search.js
index <HASH>..<HASH> 100644
--- a/leaflet-search.js
+++ b/leaflet-search.js
@@ -18,6 +18,7 @@ L.Control.Search = L.Control.extend({
propFilter: 'title', //property of elements filtered
initial: true,
autoPan: false, //auto panTo when click on tooltip
+ animP... | added animation after panning, added animPan option | stefanocudini_leaflet-search | train |
1aaab00e071af129000da6cdfaa582bfc227225a | diff --git a/lib/reek/smells/duplicate_method_call.rb b/lib/reek/smells/duplicate_method_call.rb
index <HASH>..<HASH> 100644
--- a/lib/reek/smells/duplicate_method_call.rb
+++ b/lib/reek/smells/duplicate_method_call.rb
@@ -78,7 +78,7 @@ module Reek
method_ctx.local_nodes(:attrasgn) do |asgn_node|
re... | Improve SmellOfMatcher
This change improves SmellOfMatcher in the following ways:
- Correctly report no match if smell properties do not match
- Improve message when smell properties do not match
- Clean up code to clearly show different ways matching may fail
On Ruby <I>, this improved SmellOfMatcher revealed an imp... | troessner_reek | train |
56505fb62394c5723b02d48701f3bed251344a7d | diff --git a/decidim-proposals/app/events/decidim/proposals/admin/proposal_note_created_event.rb b/decidim-proposals/app/events/decidim/proposals/admin/proposal_note_created_event.rb
index <HASH>..<HASH> 100644
--- a/decidim-proposals/app/events/decidim/proposals/admin/proposal_note_created_event.rb
+++ b/decidim-propo... | Fix notifications when there is a note proposal in other spaces than processes (#<I>) | decidim_decidim | train |
eaebb55ec4d453eca9eb8f7c566c215e7656a66d | diff --git a/spec/platform/overlay_cache_spec.rb b/spec/platform/overlay_cache_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/platform/overlay_cache_spec.rb
+++ b/spec/platform/overlay_cache_spec.rb
@@ -53,7 +53,7 @@ describe Platform::OverlayCache do
end
it "should have extensions" do
- @cache.extensions.sh... | Make sure the extension names are sorted. | ronin-ruby_ronin | train |
0dfa63bad944126a56b2bdef1b8f57c621d3d3dd | diff --git a/packages/react-dnd/src/DragDropContextProvider.js b/packages/react-dnd/src/DragDropContextProvider.js
index <HASH>..<HASH> 100644
--- a/packages/react-dnd/src/DragDropContextProvider.js
+++ b/packages/react-dnd/src/DragDropContextProvider.js
@@ -29,32 +29,40 @@ export default class DragDropContextProvider ... | DragDropContextProvider don't recreate child context (#<I>)
* DragDropContextProvider don't recreate child context
* . | react-dnd_react-dnd | train |
bd95afbafd30cb6911c582f6fcea7a97af5974ae | diff --git a/tests/test_core.py b/tests/test_core.py
index <HASH>..<HASH> 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -303,14 +303,6 @@ class TestPath:
assert '/pets' in paths
assert '/v1/pets' not in paths
- def test_add_path_strips_path_base_path(self, spec):
- spec.optio... | Remove duplicate test
This is a remain from Path removal. | marshmallow-code_apispec | train |
898f04d9cf888c36275c65f31a27df126d56aba4 | diff --git a/mod/quiz/format/multianswer/format.php b/mod/quiz/format/multianswer/format.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/format/multianswer/format.php
+++ b/mod/quiz/format/multianswer/format.php
@@ -147,7 +147,7 @@ class quiz_file_format extends quiz_default_format {
/// multianswer import
... | Allow cloze questions to contain quotes | moodle_moodle | train |
39556cc20f663412b8ae653196a306414955ac7f | diff --git a/oauthlib/parameters.py b/oauthlib/parameters.py
index <HASH>..<HASH> 100644
--- a/oauthlib/parameters.py
+++ b/oauthlib/parameters.py
@@ -9,3 +9,97 @@ This module contains methods related to `section 3.5`_ of the OAuth 1.0a spec.
.. _`section 3.5`: http://tools.ietf.org/html/rfc5849#section-3.5
"""
+fr... | First stab at parameters.py
Implements section <I> of the spec | oauthlib_oauthlib | train |
3572bb5c0e67223b6252a2ae254852fe6769c0bb | diff --git a/doc/source/reference/potential.rst b/doc/source/reference/potential.rst
index <HASH>..<HASH> 100644
--- a/doc/source/reference/potential.rst
+++ b/doc/source/reference/potential.rst
@@ -342,7 +342,6 @@ As an example, we integrate the Sun's orbit for 10 Gyr in
which gives
.. image:: ../images/orbit-sun-... | Fix parsing of DiskSCFPotential to C in the case where type == 'exp' but Rhole is in the list of parameters (so type should be expwhole) | jobovy_galpy | train |
6582ef1a499391bf1d76da92065751dd7afcd36a | diff --git a/lib/xcode/parsers/plutil_project_parser.rb b/lib/xcode/parsers/plutil_project_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/xcode/parsers/plutil_project_parser.rb
+++ b/lib/xcode/parsers/plutil_project_parser.rb
@@ -1,4 +1,5 @@
require 'json'
+require 'plist'
module Xcode
@@ -7,10 +8,11 @@ module... | Use plutil -convert xml1 as json doesnt exist on snow leopard | rayh_xcoder | train |
995a35c16ec9b4e2f7138ce13d6916aa722dfd5e | diff --git a/tests/test_request_construction.py b/tests/test_request_construction.py
index <HASH>..<HASH> 100644
--- a/tests/test_request_construction.py
+++ b/tests/test_request_construction.py
@@ -178,36 +178,70 @@ def test_element_references_to_different_namespaces():
</SOAP-ENV:Envelope>""")
-def test_extra... | refactor the extra parameter reporting test
This is a preparation step for extending the test suite with similar tests done
using functions taking no parameters or a single parameter, which need to use a
bit different wording in their exception strings. | suds-community_suds | train |
b75d6131f89fcc86f4198bcbde2ded2cdfe1a39f | diff --git a/lib/greeklish/greeklish_converter.rb b/lib/greeklish/greeklish_converter.rb
index <HASH>..<HASH> 100644
--- a/lib/greeklish/greeklish_converter.rb
+++ b/lib/greeklish/greeklish_converter.rb
@@ -44,6 +44,10 @@ module Greeklish
# @param token_length the length of the input token
# @return A list of... | Transform "ς" to "σ" | skroutz_greeklish | train |
f3cdf351b76a5a6b3f6f35c5d265392e76a0882b | diff --git a/src/utils/Sorter.js b/src/utils/Sorter.js
index <HASH>..<HASH> 100644
--- a/src/utils/Sorter.js
+++ b/src/utils/Sorter.js
@@ -168,8 +168,8 @@ module.exports = Backbone.View.extend({
// TODO: Cache ?!?
var frameRect = frame.getBoundingClientRect();
var ownerDocBodyRect = frame.ownerDocu... | Block component drag helper position - account for scroll in the editor canvas | artf_grapesjs | train |
2a462f9ae668740d52d4dea46c690ecd6dd3456e | diff --git a/src/Main.js b/src/Main.js
index <HASH>..<HASH> 100644
--- a/src/Main.js
+++ b/src/Main.js
@@ -165,7 +165,7 @@ Main.prototype.printHelp =
function(parser) {
var buf = parser.help();
- console.log(buf);
+ this.getOutput().log(buf);
};
/**
@@ -176,9 +176,7 @@ Main.prototype.printVersion =
f... | Main: Use output for printing help and version | crosswalk-project_crosswalk-app-tools | train |
86ec22ad524b6f1f929b400085c8cbb925588959 | diff --git a/docs/app/js/codepen.js b/docs/app/js/codepen.js
index <HASH>..<HASH> 100644
--- a/docs/app/js/codepen.js
+++ b/docs/app/js/codepen.js
@@ -158,8 +158,13 @@
// module needs to match so that the $templateCache is populated with the necessary
// assets.
function replaceDemoModuleWithCodepenModul... | fix(demos): CodePen launches fixed
Fixes #<I>. | angular_material | train |
7d6ed530ca01c23159eae86f4c4c5e0db594ea1f | diff --git a/lib/Cldr.js b/lib/Cldr.js
index <HASH>..<HASH> 100644
--- a/lib/Cldr.js
+++ b/lib/Cldr.js
@@ -6,6 +6,7 @@ var Path = require('path'),
libxmljs = require('libxmljs'),
seq = require('seq'),
normalizeLocaleId = require('./normalizeLocaleId'),
+ convertObjectsWithIntegerKeysToArrays = require... | Cldr.extract{Era,Quarter,Cyclic,Day,Month}Names: Output arrays instead of objects with all integer keys. | papandreou_node-cldr | train |
d203a74a770964d01f8fcb918b6b9d5aa0198d86 | diff --git a/benchexec/tools/hiptnt.py b/benchexec/tools/hiptnt.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/hiptnt.py
+++ b/benchexec/tools/hiptnt.py
@@ -21,6 +21,18 @@ import benchexec.util as util
import benchexec.tools.template
import benchexec.result as result
+REQUIRED_PATHS = [
+ "fi... | Add required files for HIPTNT | sosy-lab_benchexec | train |
ccac442d0d65e0cd7e9867c449e100fc0e5456bf | diff --git a/test/unit/esl/connection.test.js b/test/unit/esl/connection.test.js
index <HASH>..<HASH> 100644
--- a/test/unit/esl/connection.test.js
+++ b/test/unit/esl/connection.test.js
@@ -95,6 +95,34 @@ describe('esl.Connection', function() {
);
});
});
+
+ describe('.ex... | test: add regression test for Connection.execute
Ensures that the modifications to the execute callback handling does not
accidentally trigger other events.
Sends a different event before the actual response to ensure that
<URL> | englercj_node-esl | train |
f5a20108be15ca995b32e98162ea76f7fdaff757 | diff --git a/search/mongo_search.go b/search/mongo_search.go
index <HASH>..<HASH> 100644
--- a/search/mongo_search.go
+++ b/search/mongo_search.go
@@ -125,7 +125,7 @@ func dateSelector(date *Date, prefix Prefix) bson.M {
}
case GT:
timeCriteria = bson.M{
- "$gte": date.RangeHighExcl(),
+ "$gt": date.RangeLo... | Fix implementation of gt searches, based on clarificaton provided at <URL> | intervention-engine_fhir | train |
632adeb6c771606e0506701db4b64f4596dec377 | diff --git a/modules/core/src/main/java/org/torquebox/core/analysis/DefaultNodeVisitor.java b/modules/core/src/main/java/org/torquebox/core/analysis/DefaultNodeVisitor.java
index <HASH>..<HASH> 100644
--- a/modules/core/src/main/java/org/torquebox/core/analysis/DefaultNodeVisitor.java
+++ b/modules/core/src/main/java/o... | Quiet down injection analyzer (TORQUE-<I>) | torquebox_torquebox | train |
b1039368725bb49402ef8660103ff359b86f2c88 | diff --git a/src/main/java/com/bazaarvoice/jolt/Shiftr.java b/src/main/java/com/bazaarvoice/jolt/Shiftr.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/bazaarvoice/jolt/Shiftr.java
+++ b/src/main/java/com/bazaarvoice/jolt/Shiftr.java
@@ -156,6 +156,16 @@ import java.util.Map;
* aka "tag-Pro" and "tag-Con... | Doc-ed the '|' wildcard. | bazaarvoice_jolt | train |
6ee2259b3c60c5af5c6adfd5be9e99fb0f32588c | diff --git a/iotilebuild/RELEASE.md b/iotilebuild/RELEASE.md
index <HASH>..<HASH> 100644
--- a/iotilebuild/RELEASE.md
+++ b/iotilebuild/RELEASE.md
@@ -2,6 +2,11 @@
All major changes in each released version of IOTileBuild are listed here.
+## 2.6.9
+
+- Add architecture overrides for qemu unit tests so that they t... | Hardcode cortex-m0 architecture for qemu unit tests (#<I>) | iotile_coretools | train |
d3fa817e3f5ad437f12463b0aee19f0e00549050 | diff --git a/network.js b/network.js
index <HASH>..<HASH> 100644
--- a/network.js
+++ b/network.js
@@ -988,8 +988,8 @@ function handleJoint(ws, objJoint, bSaved, callbacks){
unlock();
console.log("############################## transient error "+error);
joint_storage.removeUnhandledJointAndDependencie... | don't delete from hash_tree_balls after getting a transient error | byteball_ocore | train |
adea6c4cf251a11a61b6d58ab589320eb0f74f98 | diff --git a/lib/ViewModels/ToolsPanelViewModel.js b/lib/ViewModels/ToolsPanelViewModel.js
index <HASH>..<HASH> 100644
--- a/lib/ViewModels/ToolsPanelViewModel.js
+++ b/lib/ViewModels/ToolsPanelViewModel.js
@@ -386,7 +386,10 @@ function requestTiles(toolsPanel, requests, minLevel, maxLevel) {
popup.mes... | Only show the suggesteed blacklist if there is one. | TerriaJS_terriajs | train |
424e676cd44a5c0fef0e38a69cf77ef5f866a8e5 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -101,11 +101,12 @@ define( 'WP_REDIS_SERVERS', [
### Replication (Redis Sentinel)
```php
+define( 'WP_REDIS_CLIENT', 'predis' );
define( 'WP_REDIS_SENTINEL', 'mymaster' );
-define( 'WP_REDIS_SERVERS', [
- 'tcp://12... | Extend and debug sentinel support (#<I>)
* extend sentinel support
* update sentinel documentation
* update version number
* fix typo | tillkruss_redis-cache | train |
3595c7d2ae9b1324fa51999c60b91d45511e034f | diff --git a/src/nwmatcher-base.js b/src/nwmatcher-base.js
index <HASH>..<HASH> 100644
--- a/src/nwmatcher-base.js
+++ b/src/nwmatcher-base.js
@@ -110,7 +110,7 @@
extendedValidator = standardValidator.replace(pseudoclass, '.*'),
- reValidator = global.RegExp(standardValidator, 'g'),
+ reValidator = global.RegE... | fix for invalid selector can cause match() to hang #<I> (@domenic) | dperini_nwmatcher | train |
6f5c70418de4e6e56f4fe9698e60d65640c030a4 | diff --git a/src/Encryptor/MCryptEncryptor.php b/src/Encryptor/MCryptEncryptor.php
index <HASH>..<HASH> 100644
--- a/src/Encryptor/MCryptEncryptor.php
+++ b/src/Encryptor/MCryptEncryptor.php
@@ -54,9 +54,11 @@ class MCryptEncryptor implements EncryptorInterface
*/
public function encrypt($data)
{
- ... | fix: avoid double encryption/decryption | rafrsr_crypto | train |
d6e4c36ce36ea0c52b24f8b968dbd8b51056ee3b | diff --git a/libkbfs/folder_branch_ops.go b/libkbfs/folder_branch_ops.go
index <HASH>..<HASH> 100644
--- a/libkbfs/folder_branch_ops.go
+++ b/libkbfs/folder_branch_ops.go
@@ -5511,6 +5511,11 @@ func (fbo *folderBranchOps) maybeFastForward(ctx context.Context,
fbo.mdWriterLock.Lock(lState)
defer fbo.mdWriterLock.U... | folder_branch_ops: don't fast forward while dirty
Fast-forward while dirty can cause the device to unlink unflushed
nodes that have been made while disconnected, but it won't actually
delete the dir entries from the dirty blocks. So when the flush
finally happens, the journal will reference non-existent blocks, and
a... | keybase_client | train |
f6a930bfc23be8cc02f8901b415ebfcf142a94e7 | diff --git a/sonnet/python/modules/basic.py b/sonnet/python/modules/basic.py
index <HASH>..<HASH> 100644
--- a/sonnet/python/modules/basic.py
+++ b/sonnet/python/modules/basic.py
@@ -1241,18 +1241,20 @@ class MergeDims(base.AbstractModule):
middle = [np.prod(middle)]
static_shape = initial + middle + final
... | MergeDims: also handle dimensions of size zero.
PiperOrigin-RevId: <I> | deepmind_sonnet | train |
55525696c9354ccb15409d685ec63c5ffaf174ea | diff --git a/pkg/chart/chart.go b/pkg/chart/chart.go
index <HASH>..<HASH> 100644
--- a/pkg/chart/chart.go
+++ b/pkg/chart/chart.go
@@ -356,26 +356,26 @@ func loadTar(r *tar.Reader) (*tarChart, error) {
return c, nil
}
-// ChartMember is a file in a chart.
-type ChartMember struct {
+// Member is a file in a chart.... | ref(chart): refactor ChartMember -> Member
* Fixes some style errors in #<I> | helm_helm | train |
356c487b1cafcafb9cdd62a88ce062895a0d62e7 | diff --git a/tests/unit/date/test_daterange.py b/tests/unit/date/test_daterange.py
index <HASH>..<HASH> 100644
--- a/tests/unit/date/test_daterange.py
+++ b/tests/unit/date/test_daterange.py
@@ -234,3 +234,19 @@ def test_intersection_preserves_boundaries():
assert DateRange('20110101', '20110102', OPEN_OPEN) == Da... | added test_intersection_contains | manahl_arctic | train |
0f2aaced43d20a342e477800a014a7be68fdc373 | diff --git a/lib/gds.js b/lib/gds.js
index <HASH>..<HASH> 100644
--- a/lib/gds.js
+++ b/lib/gds.js
@@ -40,7 +40,7 @@ module.exports = exports = gds = function init(config) {
user: config.username,
pass: config.password
}
-console.log(opts)
+
return request(opts, function(error, response, body) {... | I/O extract: defaults to JSON | ibm-watson-data-lab_--deprecated--nodejs-graph | train |
e6e3c4ad0c543f739d78b6cb0015330701f7d3eb | diff --git a/cmd/crio/main.go b/cmd/crio/main.go
index <HASH>..<HASH> 100644
--- a/cmd/crio/main.go
+++ b/cmd/crio/main.go
@@ -6,6 +6,7 @@ import (
"fmt"
"io/ioutil"
"net/http"
+ _ "net/http/pprof"
"os"
"os/signal"
"path/filepath" | Bring back pprof
Commit <I>f<I> (Oct <I> <I>, "Update golangci lint and apply fixes")
inadvertently removed the pprof import, as a result, pprof can't be used
even when enabled during runtime (via --profile flag), giving <I> on
every URL.
Bring it back. | cri-o_cri-o | train |
574cfd24d835a5efd34d0f3833292f6e3935a660 | diff --git a/lib/assets/javascripts/magic_grid.js b/lib/assets/javascripts/magic_grid.js
index <HASH>..<HASH> 100644
--- a/lib/assets/javascripts/magic_grid.js
+++ b/lib/assets/javascripts/magic_grid.js
@@ -20,7 +20,7 @@ $(function () {
is_manual = (e.type == 'search' || e.type == 'change'),
... | Send grid id in ajax requests, in theory to allow partials to be used for response | rmg_magic_grid | train |
4c72ae91edc2bebbe13ca1f8eee32547826a8f15 | diff --git a/RAPIDpy/goodnessOfFit.py b/RAPIDpy/goodnessOfFit.py
index <HASH>..<HASH> 100644
--- a/RAPIDpy/goodnessOfFit.py
+++ b/RAPIDpy/goodnessOfFit.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
##
## goodnessOfFit.py
## RAPIDpy
diff --git a/RAPIDpy/helper_functions.py b/RAPIDpy/helper_functions.py
index <HASH>..... | added utf-8 coding comment at top of files | erdc_RAPIDpy | train |
3a88003793d38cbb2cad61de634798e1d5d56832 | diff --git a/src/Flex.php b/src/Flex.php
index <HASH>..<HASH> 100644
--- a/src/Flex.php
+++ b/src/Flex.php
@@ -74,6 +74,7 @@ class Flex implements PluginInterface, EventSubscriberInterface
'remove' => false,
'unpack' => true,
];
+ private $shouldUpdateComposerLock = false;
public functi... | fixed wrong content hash in composer.lock (again) | symfony_flex | train |
35091dea4762b59b9cafe42c722c348851999ec8 | diff --git a/doc/DocumentationReader.js b/doc/DocumentationReader.js
index <HASH>..<HASH> 100644
--- a/doc/DocumentationReader.js
+++ b/doc/DocumentationReader.js
@@ -47,7 +47,9 @@ var DocumentationReader = DocumentationController.extend({
},
panelOrder: ['toc'],
containerId: 'body',
- isEdita... | Hide private methods and abstract classes. | substance_substance | train |
81ea091b88d9b24ae3ebab5fc1e5117d0836d1b3 | diff --git a/lib/switch_point/model.rb b/lib/switch_point/model.rb
index <HASH>..<HASH> 100644
--- a/lib/switch_point/model.rb
+++ b/lib/switch_point/model.rb
@@ -11,7 +11,7 @@ module SwitchPoint
module ClassMethods
def connection_with_switch_point
- if @switch_point_name
+ if switch_point_p... | Ask to switch_point_proxy rather than @switch_point_name | eagletmt_switch_point | train |
9e8ae39711143648158f555757296c613175c819 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
* Fix #3445: TokenRefreshInterceptor throws when running incluster config
* Fix #3456: io.fabric8:crd-generator README should reference crd-generator-apt instead of now removed crd-generator arti... | fix #<I>: ensuring that only one close method is called successfully | fabric8io_kubernetes-client | train |
8b6c69a969dc07372d4b5d0abe6e06717d01a528 | diff --git a/tryp/tc/base.py b/tryp/tc/base.py
index <HASH>..<HASH> 100644
--- a/tryp/tc/base.py
+++ b/tryp/tc/base.py
@@ -3,6 +3,8 @@ import abc
from typing import GenericMeta, Dict # type: ignore
from functools import partial
+from fn import _, F
+
from tryp.util.string import snake_case
from tryp.lazy import ... | improve type class instance lookup
test instances for inheritance of the target type class, so that when
searching for a Functor, a Monad is treated as a match | tek_amino | train |
29cdf39eb56944ffe8e45dd73ee77a87d66b0b9a | diff --git a/test/schema_object_base_test.rb b/test/schema_object_base_test.rb
index <HASH>..<HASH> 100644
--- a/test/schema_object_base_test.rb
+++ b/test/schema_object_base_test.rb
@@ -80,6 +80,12 @@ describe Scorpio::SchemaObjectBase do
end
end
describe 'initialization' do
+ describe 'on Base' do
+ ... | test initialization of SchemaObjectBase itself | notEthan_jsi | train |
b4aa83da62a21144aa85c016448e28212de1596d | diff --git a/zzk/zkdao.go b/zzk/zkdao.go
index <HASH>..<HASH> 100644
--- a/zzk/zkdao.go
+++ b/zzk/zkdao.go
@@ -83,23 +83,10 @@ func (zkdao *ZkDao) AddService(service *service.Service) error {
return AddService(conn, service)
}
-type ServiceNode struct {
- Service *service.Service
- version interface{}
-}
-
-func (... | moved service node referenced to zzk/service | control-center_serviced | train |
68b9cd4a38238a55bf0a446c140c4c13406788e3 | diff --git a/src/Refinery29.php b/src/Refinery29.php
index <HASH>..<HASH> 100644
--- a/src/Refinery29.php
+++ b/src/Refinery29.php
@@ -92,6 +92,7 @@ class Refinery29 extends Config
'single_array_no_trailing_comma' => true,
'single_blank_line_before_namespace' => true,
'single_quot... | Enhancement: Enable spaces_after_semicolon fixer | refinery29_php-cs-fixer-config | train |
b94fb960b75983b878b192b9ee00e578145f09ac | diff --git a/src/Sulu/Bundle/WebsiteBundle/Analytics/AnalyticsManager.php b/src/Sulu/Bundle/WebsiteBundle/Analytics/AnalyticsManager.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/WebsiteBundle/Analytics/AnalyticsManager.php
+++ b/src/Sulu/Bundle/WebsiteBundle/Analytics/AnalyticsManager.php
@@ -101,9 +101,13 @@ ... | Enhance domain events for analytics (#<I>)
* Fix domain events for analytics
* Fix review | sulu_sulu | train |
1e97f3e1f2862611055998d7e9d055084b09e677 | diff --git a/src/helpers/DbConn.php b/src/helpers/DbConn.php
index <HASH>..<HASH> 100644
--- a/src/helpers/DbConn.php
+++ b/src/helpers/DbConn.php
@@ -45,7 +45,7 @@ final class DbConn extends PDO implements DbConnInterface
*/
private static function loadDotenv()
{
- $dotenv = new \Dotenv\Dotenv(_... | Make Dotenv to search for .env file in the document root always | kola-er_potato-orm | train |
3a56a6653d651f5f2480ee19f931be2c2f8f5c88 | diff --git a/lib/chewy/type/adapter/sequel.rb b/lib/chewy/type/adapter/sequel.rb
index <HASH>..<HASH> 100644
--- a/lib/chewy/type/adapter/sequel.rb
+++ b/lib/chewy/type/adapter/sequel.rb
@@ -1,4 +1,4 @@
-require 'chewy/type/adapter/orm'
+require 'chewy/type/adapter/base'
module Chewy
class Type
@@ -77,7 +77,7 @@ ... | Do not assume DB connection in the constant DB in sequel adapter | toptal_chewy | train |
e0e668a268932a51825fdd0cccae33efdc03e74d | diff --git a/Slim/App.php b/Slim/App.php
index <HASH>..<HASH> 100644
--- a/Slim/App.php
+++ b/Slim/App.php
@@ -1300,7 +1300,7 @@ class App extends \Pimple
$message = $e->getMessage();
$file = $e->getFile();
$line = $e->getLine();
- $trace = $e->getTraceA... | Separate individual stack trace lines with div elements | slimphp_Slim | train |
fdf1f4caa956e1ff76f83905928cfda84f5b0541 | diff --git a/mapping/core/src/main/java/it/unibz/inf/ontop/spec/mapping/transformer/impl/MappingDataTypeCompletion.java b/mapping/core/src/main/java/it/unibz/inf/ontop/spec/mapping/transformer/impl/MappingDataTypeCompletion.java
index <HASH>..<HASH> 100644
--- a/mapping/core/src/main/java/it/unibz/inf/ontop/spec/mappin... | accept triples in MappingDatatypeCompletion | ontop_ontop | train |
0401c7d7af7489b70a411707e8e6d2622538ca6b | diff --git a/src/__tests__/YouTube-test.js b/src/__tests__/YouTube-test.js
index <HASH>..<HASH> 100644
--- a/src/__tests__/YouTube-test.js
+++ b/src/__tests__/YouTube-test.js
@@ -23,6 +23,7 @@ const playerMock = {
destroy: jest.genMockFunction(),
addEventListener: jest.genMockFunction(),
removeEventListener: j... | Fix test broken by iframe check | troybetz_react-youtube | train |
0f71ba3de1ad9d1e5ad50864722e57f7f74cf0c5 | diff --git a/core/message.go b/core/message.go
index <HASH>..<HASH> 100644
--- a/core/message.go
+++ b/core/message.go
@@ -88,6 +88,11 @@ func (msg *Message) GetStreamID() MessageStreamID {
return msg.data.streamID
}
+// GetOrigStreamID returns the original/first streamID
+func (msg *Message) GetOrigStreamID() Mes... | added Message.GetOrigStreamID() | trivago_gollum | train |
1e6a7ca15d1084d29f36cb1c0c4b87a0d2946fe3 | diff --git a/src/ProxyManager/ProxyGenerator/LazyLoadingGhost/MethodGenerator/MagicIsset.php b/src/ProxyManager/ProxyGenerator/LazyLoadingGhost/MethodGenerator/MagicIsset.php
index <HASH>..<HASH> 100644
--- a/src/ProxyManager/ProxyGenerator/LazyLoadingGhost/MethodGenerator/MagicIsset.php
+++ b/src/ProxyManager/ProxyGen... | Reducing code size, removing variables and mutability | Ocramius_ProxyManager | train |
eb060742f54aa1c1b772470f53927eb9bf1755bb | diff --git a/actor/v7action/application.go b/actor/v7action/application.go
index <HASH>..<HASH> 100644
--- a/actor/v7action/application.go
+++ b/actor/v7action/application.go
@@ -43,13 +43,17 @@ func (actor Actor) DeleteApplicationByNameAndSpace(name, spaceGUID string, delet
}
}
- jobURL, deleteAppWarnings, err ... | Wait for app to finish deleting before starting deletion of routes
- We saw a CATS failure in the new v7 CATS pipeline related to deletions
happening out of order, it would cause weird failures, see <URL> | cloudfoundry_cli | train |
9d607130ca2faae0e1db5c1824ea65b69afb0d04 | diff --git a/bundles/org.eclipse.orion.client.cf/web/cfui/plugins/wizards/common/corePageBuilder.js b/bundles/org.eclipse.orion.client.cf/web/cfui/plugins/wizards/common/corePageBuilder.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.cf/web/cfui/plugins/wizards/common/corePageBuilder.js
+++ b/bund... | Bug <I> - Launch conf wizard does not show the right org and space | eclipse_orion.client | train |
2fa7abaad2a2b6ddbdb0949576d9cfb7fbb44e88 | diff --git a/django_base64field/tests/models.py b/django_base64field/tests/models.py
index <HASH>..<HASH> 100644
--- a/django_base64field/tests/models.py
+++ b/django_base64field/tests/models.py
@@ -38,3 +38,13 @@ class Helper(models.Model):
return base64.encode(self.pk)
return self.ek
+
+
+clas... | Add CustomReceiver model
Passing custom receiver to generate `youyouid` with a custom receiver. | Alir3z4_django-base64field | train |
d5ab0a256bbaaf0be3d05376d33a676d69e0a3a8 | diff --git a/pyemma/coordinates/api.py b/pyemma/coordinates/api.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/api.py
+++ b/pyemma/coordinates/api.py
@@ -8,7 +8,7 @@ __docformat__ = "restructuredtext en"
from pyemma.util.annotators import deprecated
from pyemma.util.log import getLogger
-from pyemma.coordi... | [coor/api] added data_in_memory to wrap numpy arrays and numpy- and csv readers. | markovmodel_PyEMMA | train |
02a436159a57dd5dc0e323a126cfa7d39d8e3e6f | diff --git a/pysat/_files.py b/pysat/_files.py
index <HASH>..<HASH> 100644
--- a/pysat/_files.py
+++ b/pysat/_files.py
@@ -282,13 +282,13 @@ class Files(object):
# # Ensure files are in order
# self.files = files_info.sort_index()
+ # Attach data
+ self.files = files_in... | BUG: Removed name on Series aa part of _load | rstoneback_pysat | train |
da6bc9c9e43e03997080364234dcc04f5f4245e0 | diff --git a/angular-multi-select.js b/angular-multi-select.js
index <HASH>..<HASH> 100644
--- a/angular-multi-select.js
+++ b/angular-multi-select.js
@@ -35,7 +35,7 @@
var angular_multi_select = angular.module( 'angular-multi-select', ['ng'] );
-angular_multi_select.directive( 'angularMultiSelect' , [ '$sce', '$t... | Stop injecting things we won't use | alexandernst_angular-multi-select | train |
15b2a2575d9f9940232e3fc656c3d2b264e520f0 | diff --git a/pyerarchy/__init__.py b/pyerarchy/__init__.py
index <HASH>..<HASH> 100644
--- a/pyerarchy/__init__.py
+++ b/pyerarchy/__init__.py
@@ -1,3 +1,6 @@
__author__ = 'bagrat'
import core
+import ex
+
+from core.node import Node | refac: Reorganized module import structure
Node can be imported directly from pyerarchy. | bagrat_pyerarchy | train |
ac7701fa0e3bcf305c3767f3a32be1db0324fa8c | diff --git a/errors.js b/errors.js
index <HASH>..<HASH> 100644
--- a/errors.js
+++ b/errors.js
@@ -237,36 +237,36 @@ module.exports.SocketClosedError = TypedError({
reason: null
});
-module.exports.TChannelDuplicateInitRequestError = TypedError({
- type: 'tchannel.init.duplicate-init-request',
- message: ... | alphabetical order to the erros | uber_tchannel-node | train |
2d16374c1146a27e8e11ac2f4c2c94b185d327d0 | diff --git a/charmhelpers/contrib/openstack/utils.py b/charmhelpers/contrib/openstack/utils.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/openstack/utils.py
+++ b/charmhelpers/contrib/openstack/utils.py
@@ -41,6 +41,7 @@ UBUNTU_OPENSTACK_RELEASE = OrderedDict([
('quantal', 'folsom'),
('raring', 'g... | Add support for icehouse cloud archive pockets | juju_charm-helpers | train |
1633206cc9d4b58b2f4cdaa8755f74d9561b6e7f | diff --git a/src/Illuminate/Database/Migrations/Migrator.php b/src/Illuminate/Database/Migrations/Migrator.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Migrations/Migrator.php
+++ b/src/Illuminate/Database/Migrations/Migrator.php
@@ -192,14 +192,18 @@ class Migrator
$this->note("<comment>Mig... | Add runtime for each migration to output | laravel_framework | train |
b6f025049f2f9dd948bfe8506c953f97296d0d7f | diff --git a/src/bp/ui-admin/src/Pages/Users.js b/src/bp/ui-admin/src/Pages/Users.js
index <HASH>..<HASH> 100644
--- a/src/bp/ui-admin/src/Pages/Users.js
+++ b/src/bp/ui-admin/src/Pages/Users.js
@@ -80,7 +80,7 @@ Password: ${payload.tempPassword}`
if (window.confirm(`Are you sure you want to reset ${user.email}'s ... | replacing id for email in reset password form | botpress_botpress | train |
0e6f030ffb6c65fa38b1f0b858d1b32ab24d5081 | diff --git a/djangoratings/__init__.py b/djangoratings/__init__.py
index <HASH>..<HASH> 100644
--- a/djangoratings/__init__.py
+++ b/djangoratings/__init__.py
@@ -45,27 +45,24 @@ class RatingManager(object):
if is_anonymous and not self.field.allow_anonymous:
raise TypeError("user must be a user, ... | refactored some code (DRY) | dcramer_django-ratings | train |
56f4c704c542dffb29df1977d014da442b332eb4 | diff --git a/spec/support/performance_helper.rb b/spec/support/performance_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/support/performance_helper.rb
+++ b/spec/support/performance_helper.rb
@@ -8,8 +8,8 @@ module PerformanceHelper
def stop_profiling(profile_name = nil)
result = RubyProf.stop
+ puts "#... | Print time taken to the log in CI as well as locally. | envato_double_entry | train |
5800ea0bf3bd719090bc8f062981b3ae3836fcec | diff --git a/lib/sprockets/sass_template.rb b/lib/sprockets/sass_template.rb
index <HASH>..<HASH> 100644
--- a/lib/sprockets/sass_template.rb
+++ b/lib/sprockets/sass_template.rb
@@ -11,13 +11,15 @@ module Sprockets
new.call(*args)
end
- def initialize
+ def initialize(options = {})
unless ::... | Allow custom cache key version to be passed to sass template | rails_sprockets | train |
28989568f3da32c3f3283d7b92b0912bc26b5c64 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,8 @@
# Changelog
-#### 2.1.0-beta
+#### 2.1.0
-* [Doctrine2][Symfony2] em_service config option moved to Symfony2 module *2015-06-03*
+* [Doctrine2][Symfony2] `symfony_em_service` config option mov... | moved em_service from Doctrine2 to Symfony2 module | Codeception_Codeception | train |
ee39ceb65b89bc35cab5e01c454bc205d0892784 | diff --git a/lib/upnp/control_point/device.rb b/lib/upnp/control_point/device.rb
index <HASH>..<HASH> 100644
--- a/lib/upnp/control_point/device.rb
+++ b/lib/upnp/control_point/device.rb
@@ -232,6 +232,7 @@ module UPnP
def extract_description(ddf)
log "<#{self.class}> Extracting basic attributes from de... | Added extraction of missing basic description attribs | turboladen_playful | train |
2965e285d8fd4aa9346157984b6812ece7f80175 | diff --git a/errors.go b/errors.go
index <HASH>..<HASH> 100644
--- a/errors.go
+++ b/errors.go
@@ -180,20 +180,28 @@ func Appendf(e error, format string, args ...interface{}) Error {
}
// Check whether e is equal to or wraps the original, at any depth
-func Is(e error, original error) bool {
- for {
- if e == orig... | Allow Is to test against a set of errors | ansel1_merry | train |
ef2deddbc15bb33ca70a57504b7261a4d03642b6 | diff --git a/isort/isort.py b/isort/isort.py
index <HASH>..<HASH> 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -452,9 +452,18 @@ class SortImports(object):
"""
sort_ignore_case = self.config.get('force_alphabetical_sort', False)
+ sections = itertools.chain(self.sections, self.config['... | Add support for Plone style imports | timothycrosley_isort | train |
b59e684c05bfc83573baf97f5f3bb73c41eb09b0 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -46,7 +46,7 @@ module.exports = function(grunt) {
},
pkg: pkg,
gitinfo: {},
- browserify: require('./grunt/tasks/browserify').task(),
+ browserify: require('./grunt/tasks/browserify').task... | Fix banner source-maps being wrongly offset
Prepend the default prelude which is used by browser-pack
(<URL>) so source-maps matches real source code | CartoDB_carto.js | train |
5c5c633beeb85d385ef3eddb32d61555902e1946 | diff --git a/instaloader/instaloader.py b/instaloader/instaloader.py
index <HASH>..<HASH> 100644
--- a/instaloader/instaloader.py
+++ b/instaloader/instaloader.py
@@ -701,6 +701,8 @@ class Instaloader:
"""
Download the Posts returned by given Post Iterator.
+ ..versionadded:: 4.4
+
:... | Catch Exceptions raised during filter evaluation
Closes #<I>. | instaloader_instaloader | train |
7050045dea34dc80d73f2870a9e2b36d28749cfa | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -837,10 +837,12 @@ describe('struct', function () {
return this.area() * this.l;
};
- (func.is(Rectangle.prototype.area));
- (Nil.is(Rectangle.prototype.volum... | test: fixed typo and added test for prototype.constructor | gcanti_tcomb | train |
7f4f8b14093ce0259673c1e4bef7b6aad86a8b37 | diff --git a/api/auth.go b/api/auth.go
index <HASH>..<HASH> 100644
--- a/api/auth.go
+++ b/api/auth.go
@@ -344,7 +344,7 @@ func removeUser(w http.ResponseWriter, r *http.Request, t auth.Token) error {
return err
}
email := r.URL.Query().Get("user")
- if email != "" {
+ if email != "" && u.Email != email {
if ... | api/auth: allow users to remove their own account providing the email
Currently, tsuru-client always provides the email, even when the users
are removing theirselves. | tsuru_tsuru | train |
eeba128f8abae40d87465ed69ec3b9740d47fbb3 | diff --git a/tasks/build_task.js b/tasks/build_task.js
index <HASH>..<HASH> 100644
--- a/tasks/build_task.js
+++ b/tasks/build_task.js
@@ -44,6 +44,7 @@ module.exports = function(grunt) {
grunt.config('copy.backend_files', {
expand: true,
src: ['conf/*', 'vendor/**/*', '!conf/grafana.dev.ini'],... | Fixed release tar/zip keeping execution mode on phantomjs | grafana_grafana | train |
afd4d6afca124571ca438f0236fe60e8006492e2 | diff --git a/src/GitHub_Updater/Basic_Auth_Loader.php b/src/GitHub_Updater/Basic_Auth_Loader.php
index <HASH>..<HASH> 100644
--- a/src/GitHub_Updater/Basic_Auth_Loader.php
+++ b/src/GitHub_Updater/Basic_Auth_Loader.php
@@ -244,8 +244,8 @@ class Basic_Auth_Loader {
* @return array $args
*/
public function http_r... | Adjusted variable name to comply with WP standards. | afragen_github-updater | train |
708820e91c0c37d993efd50b5d395c9a07fbc42d | diff --git a/neutronclient/neutron/v2_0/__init__.py b/neutronclient/neutron/v2_0/__init__.py
index <HASH>..<HASH> 100644
--- a/neutronclient/neutron/v2_0/__init__.py
+++ b/neutronclient/neutron/v2_0/__init__.py
@@ -91,7 +91,7 @@ def find_resourceid_by_name_or_id(client, resource, name_or_id):
def add_show_list_common_... | Some edits for help strings
Some edits for neutron help strings as noticed by Lana during review of
this patch:
<URL> | rackerlabs_rackspace-python-neutronclient | train |
c5541ba049e8377bfad5b61e4f841df76f0c19ea | diff --git a/dscan/plugins/internal/base_plugin_internal.py b/dscan/plugins/internal/base_plugin_internal.py
index <HASH>..<HASH> 100644
--- a/dscan/plugins/internal/base_plugin_internal.py
+++ b/dscan/plugins/internal/base_plugin_internal.py
@@ -23,6 +23,12 @@ def handle_interrupt(signal, stack):
signal.signal(sign... | Remove super annoying warning by urllib3. | droope_droopescan | train |
4a20aea828abf06e334d47eb7caab1e1a5e59693 | diff --git a/test/errors-component-spec.js b/test/errors-component-spec.js
index <HASH>..<HASH> 100644
--- a/test/errors-component-spec.js
+++ b/test/errors-component-spec.js
@@ -105,11 +105,7 @@ describe('<Errors />', () => {
</Provider>
);
- const input = TestUtils.findRenderedDOMComponentWithTag(for... | Adding unit tests for supporting form errors in <Errors> | davidkpiano_react-redux-form | train |
8145fe18e361b94459da3aa63180e1e385a775e3 | diff --git a/cas-server-support-saml/src/main/java/org/jasig/cas/support/saml/util/Saml10ObjectBuilder.java b/cas-server-support-saml/src/main/java/org/jasig/cas/support/saml/util/Saml10ObjectBuilder.java
index <HASH>..<HASH> 100644
--- a/cas-server-support-saml/src/main/java/org/jasig/cas/support/saml/util/Saml10Objec... | moved encoder up; added overloaded method for confirmation method | apereo_cas | train |
f54265e9a57f1a3ca4acd334008ab1a0276c2ebf | diff --git a/packages/button/src/react/index.js b/packages/button/src/react/index.js
index <HASH>..<HASH> 100644
--- a/packages/button/src/react/index.js
+++ b/packages/button/src/react/index.js
@@ -104,9 +104,10 @@ renderIcon.propTypes = {
icon: PropTypes.element
}
-const Button = React.forwardRef((props, ref) =... | fix: removes conditional uses of useRef | pluralsight_design-system | train |
12a82237d5764bc0be21d6df0c4f442a2a0646fc | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -136,8 +136,7 @@ export default class InputNumber extends React.Component {
if (selectionRange &&
typeof selectionRange === 'function' &&
this.start !== undefined &&
- this... | Keep cursor position when focus input-number
close ant-design/ant-design#<I>
the code removed in this commit was added at <URL> | react-component_input-number | train |
fc66283175a5512d56e50a63f62dfbdf129e44f1 | diff --git a/app/transitions/fly-to.js b/app/transitions/fly-to.js
index <HASH>..<HASH> 100644
--- a/app/transitions/fly-to.js
+++ b/app/transitions/fly-to.js
@@ -11,15 +11,26 @@ export default function flyTo(opts={}) {
var oldOffset = this.oldElement.offset();
var newOffset = this.newElement.offset();
- var m... | new `movingSide` option on the fly-to transition
This lets you pick whether the old or new element will be the one that
animates. The motion is the same either way (always from the position &
size of the old element to the position and size of the new
element). But the content of the moving element will vary. | ember-animation_liquid-fire | train |
1285f01be63e5bddd1cc6dc821d040b57058a4ee | diff --git a/lib/slimmer/tag_mover.rb b/lib/slimmer/tag_mover.rb
index <HASH>..<HASH> 100644
--- a/lib/slimmer/tag_mover.rb
+++ b/lib/slimmer/tag_mover.rb
@@ -16,9 +16,11 @@ module Slimmer
end.compact.sort
end
- def wrap_node(node)
- wrap = node.delete('slimmer-wrap-with')
- "<!--[if #{wrap}]... | Work out if tag is wrapped by comment dynamically
Using a propriatory attribute was fragile and crufty. Now looks at the
previous and next node in the tree and copies the whole block over to
the template if they match a conditional comment. | alphagov_slimmer | train |
5b2326a93c1c926ee0c302f57e46edabf8638fc7 | diff --git a/spec/unit/provider/user_spec.rb b/spec/unit/provider/user_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/provider/user_spec.rb
+++ b/spec/unit/provider/user_spec.rb
@@ -452,11 +452,20 @@ describe Chef::Provider::User do
it "should raise an error if we can't translate the group name during resou... | Add recommended test from btm | chef_chef | train |
2267236970abae693e470e1a006e6049518c9c7b | diff --git a/demo/index.html b/demo/index.html
index <HASH>..<HASH> 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -11,6 +11,7 @@
<title>Demo</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+ <link ... | modify to accept props from a theme object for colorscheme | FormidableLabs_victory | train |
6aabed2c26e6490efdeeefaea3586a0272f391b9 | diff --git a/gcolor/dsatur/__init__.py b/gcolor/dsatur/__init__.py
index <HASH>..<HASH> 100755
--- a/gcolor/dsatur/__init__.py
+++ b/gcolor/dsatur/__init__.py
@@ -98,13 +98,4 @@ def get_amount_color(node_indexes, coloring, color_number):
def get_neighbors(node_index, data):
- return [ index for index in rang... | 3-D representation of connections have been support for 'nnet.som'; Added method for obtaining P-matrix; Cosmetic changes | annoviko_pyclustering | train |
4a83e6f453c8bf838abe00d7d6fc9b3ea2569b90 | diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go
index <HASH>..<HASH> 100644
--- a/cmd/prometheus/main.go
+++ b/cmd/prometheus/main.go
@@ -1145,25 +1145,6 @@ func reloadConfig(filename string, expandExternalLabels, enableExemplarStorage b
}
}
- // Perform validation for Agent-compatible configs and r... | Remove agent mode warnings when loading configs (#<I>)
PR #<I> introduced failing to load the config file when agent mode is
configured to run with unspported settings. This made the block that
logs a warning on their configuration no-op, which is now removed. | prometheus_prometheus | train |
07e3d90b3aea1b07110b0d8cff4e72c270cc9b6d | diff --git a/concrete/src/Page/Single.php b/concrete/src/Page/Single.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Page/Single.php
+++ b/concrete/src/Page/Single.php
@@ -135,7 +135,7 @@ class Single
{
$pathToFile = static::getPathToNode($cPath, $pkg);
$txt = Loader::helper('text');
- ... | Fix checking the global single page is already exists | concrete5_concrete5 | train |
ac5a2cf1e1267ef5be5b95b5158565a4bd885f13 | diff --git a/hpcbench/api.py b/hpcbench/api.py
index <HASH>..<HASH> 100644
--- a/hpcbench/api.py
+++ b/hpcbench/api.py
@@ -18,6 +18,19 @@ __all__ = [
Metric = namedtuple("Metric", "unit type")
+class UnexpectedMetricsException(Exception):
+ def __init__(self, unset_metrics, metrics):
+ self.unset_metrics... | API change: raise a dedicated exception when metric are unexpected | BlueBrain_hpcbench | train |
42ccd0764b7beb801fadd7055f247be7cda0d7de | diff --git a/lib/types.js b/lib/types.js
index <HASH>..<HASH> 100644
--- a/lib/types.js
+++ b/lib/types.js
@@ -56,6 +56,9 @@ var _types = {
},
'DATE': {
format: function(value) {
+ if(!(value instanceof Date))
+ value = new Date(value);
+
return value.getFullYea... | Date formatters will attempt to coerce data into a date object | tritech_node-icalendar | train |
46f2c582493011413e58cd43c8ae59c2a067d1af | diff --git a/lib/datasource/maven/index.js b/lib/datasource/maven/index.js
index <HASH>..<HASH> 100644
--- a/lib/datasource/maven/index.js
+++ b/lib/datasource/maven/index.js
@@ -137,6 +137,9 @@ async function downloadHttpProtocol(pkgUrl) {
} catch (err) {
if (isNotFoundError(err)) {
logger.debug(`Url no... | refactor(maven): log host error separately | renovatebot_renovate | train |
d346ccb1511e4251304889a1aeeba21005ca3f5b | diff --git a/src/bernard/platforms/facebook/web.py b/src/bernard/platforms/facebook/web.py
index <HASH>..<HASH> 100644
--- a/src/bernard/platforms/facebook/web.py
+++ b/src/bernard/platforms/facebook/web.py
@@ -63,7 +63,7 @@ async def receive_events(request: Request):
"""
Here Facebook might send us a bunch o... | Improve the unload notifier
Store Bernard user in session to allow page changes | BernardFW_bernard | train |
6c4018b73aedbac5c0d011c55ae2cc9a0deb8dfc | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ with open(os.path.join(here, "CHANGES.rst")) as changes:
CHANGES = changes.read()
with open(os.path.join(here, name, "__init__.py")) as v_file:
- version = re.compile(r".*__version__ = '(.*?)'", re.S)... | Fix setup.py after black run | Gandi_pyramid_kvs | train |
e8588b1cc45e531e5c99d94bdb6e430a6ac81c6b | diff --git a/test/component-view-test.js b/test/component-view-test.js
index <HASH>..<HASH> 100644
--- a/test/component-view-test.js
+++ b/test/component-view-test.js
@@ -14,7 +14,6 @@ var queues = require("can-queues");
var getFragment = require("can-fragment");
var viewCallbacks = require("can-view-callbacks");
va... | removing can-observe from test that doesn't use it | canjs_can-component | train |
8c661be201b7d5a4faf16a9267d5f384a9dd88df | diff --git a/src/BootstrapForm.php b/src/BootstrapForm.php
index <HASH>..<HASH> 100644
--- a/src/BootstrapForm.php
+++ b/src/BootstrapForm.php
@@ -446,7 +446,7 @@ class BootstrapForm
{
$label = $label === false ? null : $this->getLabelTitle($label, $name);
- $value = !$value && $value != 0 ? $lab... | Refactor
Add suggested refactor to work for any false value and not just zero | dwightwatson_bootstrap-form | train |
9032ebb45a28deb57fef2928acd72fca25aabbef | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -42,7 +42,7 @@ function parsePath(url) {
output.protocols = protocols(parsed)
output.protocol = output.protocols[0]
output.port = parsed.port
- output.resource = parsed.host
+... | fix: use hostname instead of host | IonicaBizau_parse-path | train |
e0b613e488f30762222bb3d48c8df273a4f8282c | diff --git a/emirdrp/processing/info.py b/emirdrp/processing/info.py
index <HASH>..<HASH> 100644
--- a/emirdrp/processing/info.py
+++ b/emirdrp/processing/info.py
@@ -63,9 +63,9 @@ def gather_info(recipeinput):
val = getattr(recipeinput, key)
if isinstance(val, DataFrame):
metadata[key] =... | Support passing a DB ObservationResult | guaix-ucm_pyemir | train |
c6c8b765064c3ed19e5d2acc5452523f9ee930b5 | diff --git a/samples/booking/app/controllers/hotels.go b/samples/booking/app/controllers/hotels.go
index <HASH>..<HASH> 100644
--- a/samples/booking/app/controllers/hotels.go
+++ b/samples/booking/app/controllers/hotels.go
@@ -1,6 +1,7 @@
package controllers
import (
+ "code.google.com/p/go.crypto/bcrypt"
"databa... | Update bookings SaveSettings page to bcrypt | revel_revel | train |
1748f7fa973dd66e2fab2baee48678610a4c6c94 | diff --git a/lib/adhearsion/initializer/asterisk.rb b/lib/adhearsion/initializer/asterisk.rb
index <HASH>..<HASH> 100644
--- a/lib/adhearsion/initializer/asterisk.rb
+++ b/lib/adhearsion/initializer/asterisk.rb
@@ -50,7 +50,7 @@ module Adhearsion
end
def ami_options
- %w(host port username ... | Respect the :auto_reconnect setting for AMI | adhearsion_adhearsion | train |
645e4007476d20244304dcb5d96874a54a4f6f9c | diff --git a/sdk/framework/backend_test.go b/sdk/framework/backend_test.go
index <HASH>..<HASH> 100644
--- a/sdk/framework/backend_test.go
+++ b/sdk/framework/backend_test.go
@@ -2,8 +2,6 @@ package framework
import (
"context"
- "github.com/hashicorp/go-secure-stdlib/strutil"
- "github.com/stretchr/testify/requir... | Run `make fmt` (#<I>) | hashicorp_vault | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.