hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
846ca4b52b11e68a121252390144bb6ea4f2a172 | diff --git a/molgenis-data-mapper/src/main/java/org/molgenis/data/mapper/service/impl/MappingServiceImpl.java b/molgenis-data-mapper/src/main/java/org/molgenis/data/mapper/service/impl/MappingServiceImpl.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-mapper/src/main/java/org/molgenis/data/mapper/service/impl/Mapp... | Check if there are self referencing attributes and apply mapping twice | molgenis_molgenis | train |
983d36b7eed36fe43bfb9536f81f245e12aee562 | diff --git a/src/Forms/FormRequestHandler.php b/src/Forms/FormRequestHandler.php
index <HASH>..<HASH> 100644
--- a/src/Forms/FormRequestHandler.php
+++ b/src/Forms/FormRequestHandler.php
@@ -260,7 +260,7 @@ class FormRequestHandler extends RequestHandler
);
}
- return $this->httpError(404... | FIX: Better message when form action handler not found.
Fixes #<I> to some extent, although this fix will be most useful when
<URL> | silverstripe_silverstripe-framework | train |
25a9fa7925a74581ebabe5ef74cabdea82b053ba | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,7 +1,7 @@
var fs = require('fs');
var path = require('path');
-var potentialFilenames = ['LICENSE', 'README', 'README.md', 'README.markdown','license.txt'];
+var potentialFilenames = ['LICENSE', 'LICENSE.md', 'README', ... | some repos have license.md listed so github lists it licely. | AceMetrix_package-license | train |
5523c37b65f3225ee0b55386c75598f43975c8ac | diff --git a/lib/mongodb/commands/base_command.js b/lib/mongodb/commands/base_command.js
index <HASH>..<HASH> 100644
--- a/lib/mongodb/commands/base_command.js
+++ b/lib/mongodb/commands/base_command.js
@@ -1,15 +1,17 @@
/**
Base object used for common functionality
**/
-var BaseCommand = exports.BaseCommand = fun... | Added setReadPReference on BaseCommand | mongodb_node-mongodb-native | train |
80588a0d787bcc955e027ed13e9b6f30eaa7c41b | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -15,7 +15,7 @@ import (
//"encoding/base64"
)
-var plat string
+var plat, appPath, version, genDir string
type current struct {
Version string
@@ -58,21 +58,14 @@ func newGzReader(r io.ReadCloser) io.ReadCloser {
retur... | Added ability to specify a directory of binaries for cross compiling | sqs_go-selfupdate | train |
5b084007671dd4ee10e601f4fda68faa6bbaf31c | diff --git a/src/components/Overlay.js b/src/components/Overlay.js
index <HASH>..<HASH> 100644
--- a/src/components/Overlay.js
+++ b/src/components/Overlay.js
@@ -22,6 +22,10 @@ class Overlay extends React.Component {
updateOverlay(overlay) {
const overlayOptions = this.props.pickOverlayOptions(this.props);
+... | #<I> children in componentDidMount issue | zeakd_react-naver-maps | train |
65a46facc102c75323d65e5857172e8ac328d146 | diff --git a/baton/_baton_mappers.py b/baton/_baton_mappers.py
index <HASH>..<HASH> 100644
--- a/baton/_baton_mappers.py
+++ b/baton/_baton_mappers.py
@@ -15,20 +15,20 @@ from baton.mappers import DataObjectMapper, CollectionMapper, IrodsEntityMapper,
from baton.models import DataObject, Collection, PreparedSpecificQu... | Fixed issue with interface for #<I>. | wtsi-hgi_python-baton-wrapper | train |
adc3761bfc868f0349e238769871070b8ca18ab2 | diff --git a/plugin/pkg/scheduler/factory/plugins.go b/plugin/pkg/scheduler/factory/plugins.go
index <HASH>..<HASH> 100644
--- a/plugin/pkg/scheduler/factory/plugins.go
+++ b/plugin/pkg/scheduler/factory/plugins.go
@@ -19,6 +19,7 @@ package factory
import (
"fmt"
"regexp"
+ "sort"
"strings"
"sync"
@@ -317,5 ... | Doc page for scheduler is not stable (for man pages)
Need to sort maps | kubernetes_kubernetes | train |
02c2d2468842ef6802f41c39bb5b609e0c8ccc20 | diff --git a/buildbot/master.py b/buildbot/master.py
index <HASH>..<HASH> 100644
--- a/buildbot/master.py
+++ b/buildbot/master.py
@@ -217,7 +217,7 @@ class BotMaster(service.MultiService):
if t2 is None:
return -1
return cmp(t1, t2)
- builders.sort(cmp=... | (closes #<I>) don't use keyword arguments to List.sort | buildbot_buildbot | train |
a9c29bbd259990168cdc6c4163a5e18ab2df005c | diff --git a/rtv/content.py b/rtv/content.py
index <HASH>..<HASH> 100644
--- a/rtv/content.py
+++ b/rtv/content.py
@@ -6,7 +6,7 @@ from datetime import datetime
import six
import praw
-from praw.errors import InvalidSubreddit, NotFound
+from praw.errors import InvalidSubreddit
from kitchen.text.display import wrap... | Remove use of python 3 specific tuple unpacking | michael-lazar_rtv | train |
c6b48fdb96a6c21b3e5e374b532f903032082877 | diff --git a/singularity/build/google.py b/singularity/build/google.py
index <HASH>..<HASH> 100644
--- a/singularity/build/google.py
+++ b/singularity/build/google.py
@@ -282,7 +282,7 @@ def run_build(logfile=None):
"metadata": json.dumps(metadata)}
# Did the user specify a specific log ... | modified: singularity/build/google.py | singularityhub_singularity-python | train |
007df950fc9e9fad255167db74517095a8326f25 | diff --git a/src/java/org/apache/cassandra/db/CommitLog.java b/src/java/org/apache/cassandra/db/CommitLog.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/db/CommitLog.java
+++ b/src/java/org/apache/cassandra/db/CommitLog.java
@@ -24,6 +24,7 @@ import org.apache.cassandra.io.DataInputBuffer;
import... | add missing while loop on periodic commitlog sync thread.
patch by jbellis; reviewed by Chris Goffinet for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train |
bab7a8450b8e390811bd62525182a7e609c56dbf | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -118,19 +118,23 @@ Prompt.prototype._run = function(callback) {
var keyUps = events.keypress.filter(function(evt) {
return evt.key.name === 'up';
- }).share();
+ }).share();
+
+ var keyDo... | Add missing `.` shortcut (select the current directory) | KamiKillertO_inquirer-select-directory | train |
a138dba91a3b39aa6d5598fbdab0ee2d25dc9365 | diff --git a/src/Toolbar/Toolbar.react.js b/src/Toolbar/Toolbar.react.js
index <HASH>..<HASH> 100644
--- a/src/Toolbar/Toolbar.react.js
+++ b/src/Toolbar/Toolbar.react.js
@@ -86,47 +86,54 @@ const contextTypes = {
uiTheme: PropTypes.object.isRequired,
};
-function getStyles(props, context) {
- const { toolba... | Fix style of toolbar's searching | xotahal_react-native-material-ui | train |
9d8b1a40b14ccc012ce688874a655a387091e8b7 | diff --git a/mrivis/__init__.py b/mrivis/__init__.py
index <HASH>..<HASH> 100644
--- a/mrivis/__init__.py
+++ b/mrivis/__init__.py
@@ -5,11 +5,13 @@
__author__ = """Pradeep Reddy Raamana"""
__email__ = 'raamana@gmail.com'
-__all__ = ['checkerboard', 'color_mix', 'voxelwise_diff', 'collage', 'aseg_on_mri', 'color_ma... | exposing the new classes at the top level [skip ci] | raamana_mrivis | train |
7c7d5801d9f8dfa99790f9103c3f570c05ba152b | diff --git a/framework/Commands/Migrate.php b/framework/Commands/Migrate.php
index <HASH>..<HASH> 100644
--- a/framework/Commands/Migrate.php
+++ b/framework/Commands/Migrate.php
@@ -183,17 +183,6 @@ class {$className}
public function down()
{
}
- /*
- // Use transactionalUp/transactionalDown to do mi... | - remove transactionalUp/transactionalDown methods from Migration class
- add direct methods for transactions(begin,rollback,commit) to Migration class | pr-of-it_t4 | train |
a66e1507d4784d9f777cfac031ff74dd8efe246c | diff --git a/web/concrete/src/Localization/Service/LanguageList.php b/web/concrete/src/Localization/Service/LanguageList.php
index <HASH>..<HASH> 100644
--- a/web/concrete/src/Localization/Service/LanguageList.php
+++ b/web/concrete/src/Localization/Service/LanguageList.php
@@ -15,7 +15,7 @@ class LanguageList
*/... | Remove country and script specifications from languages
A language is only 'en', a locale is 'en_US': remove country codes from
getLanguageList so that we have only languages and not locales.
Furthermore we don't need to tell Punic which is the active locale:
Localization::changeLocale already sets the Punic default ... | concrete5_concrete5 | train |
cb79b60ebc32ed762a2373bee43a0cabe5406b4f | diff --git a/worker/hostkeyreporter/shim.go b/worker/hostkeyreporter/shim.go
index <HASH>..<HASH> 100644
--- a/worker/hostkeyreporter/shim.go
+++ b/worker/hostkeyreporter/shim.go
@@ -5,6 +5,7 @@ package hostkeyreporter
import (
"github.com/juju/errors"
+
"github.com/juju/juju/api/base"
apihostkeyreporter "gith... | worker/hostkeyreporter: Give up if /etc/ssh doesn't exist
This situation most likely means that the agent is running in a test
situation with a fake root directory. We don't want the worker being
continually restarted in this case. | juju_juju | train |
1b481f45f23dd94cb40840b813d7d603874a0049 | diff --git a/src/rules/media-feature-range-operator-space-after/__tests__/index.js b/src/rules/media-feature-range-operator-space-after/__tests__/index.js
index <HASH>..<HASH> 100644
--- a/src/rules/media-feature-range-operator-space-after/__tests__/index.js
+++ b/src/rules/media-feature-range-operator-space-after/__te... | Add accuracy for media-feature-range-operator-space-after | stylelint_stylelint | train |
6f9382cce1d07c9eab5813cfbf60e020942c92a4 | diff --git a/go/libkb/constants.go b/go/libkb/constants.go
index <HASH>..<HASH> 100644
--- a/go/libkb/constants.go
+++ b/go/libkb/constants.go
@@ -250,6 +250,7 @@ const (
SCChatDuplicateMessage = int(keybase1.StatusCode_SCChatDuplicateMessage)
SCChatClientError = int(keybase1.StatusCode_SCChatClientErr... | Add systest of IdentifyLite | keybase_client | train |
285b70b77c37b3ff4d9e6166a8d5c9896095148f | diff --git a/django_auth_ldap/backend.py b/django_auth_ldap/backend.py
index <HASH>..<HASH> 100644
--- a/django_auth_ldap/backend.py
+++ b/django_auth_ldap/backend.py
@@ -143,6 +143,9 @@ class LDAPBackend:
#
def authenticate(self, request, username=None, password=None, **kwargs):
+ if username is Non... | Reject requests with no username
When a request comes in with no username, an exception is thrown:
```
AttributeError at /
'NoneType' object has no attribute 'strip'
```
A correct LDAP user always needs a username,
so we can reject any request that has no username. | django-auth-ldap_django-auth-ldap | train |
440c994f47738110bff3107e917fba9428c4831f | diff --git a/tenacity-core/src/main/java/com/yammer/tenacity/core/properties/ArchaiusPropertyRegister.java b/tenacity-core/src/main/java/com/yammer/tenacity/core/properties/ArchaiusPropertyRegister.java
index <HASH>..<HASH> 100644
--- a/tenacity-core/src/main/java/com/yammer/tenacity/core/properties/ArchaiusPropertyReg... | split on , for archaius register | yammer_tenacity | train |
589bd433ca0d5f9396032e7a5c23ba8281d5d9e2 | diff --git a/lib/rest-core/event_source.rb b/lib/rest-core/event_source.rb
index <HASH>..<HASH> 100644
--- a/lib/rest-core/event_source.rb
+++ b/lib/rest-core/event_source.rb
@@ -15,6 +15,7 @@ class RestCore::EventSource < Struct.new(:client, :path, :query, :opts,
o = {REQUEST_HEADERS => {'Accept' => 'text/event-s... | return self so we can chain them... | godfat_rest-core | train |
480c7bcd4f2411f1efe8e896da860cf0d7ec1960 | diff --git a/spec/pivotal-ui-react/expander/expander_spec.js b/spec/pivotal-ui-react/expander/expander_spec.js
index <HASH>..<HASH> 100644
--- a/spec/pivotal-ui-react/expander/expander_spec.js
+++ b/spec/pivotal-ui-react/expander/expander_spec.js
@@ -91,7 +91,7 @@ describe('ExpanderTrigger', function() {
var Expan... | feat(expander): ExpanderTrigger no longer wraps the given child
This avoids some accessibility problems we had before. Also updates the
documentation to clarify that the trigger must be a link or button.
[Finishes #<I>]
BREAKING CHANGE: The DOM for ExpanderTrigger has changed. There is no longer a wrapping div. | pivotal-cf_pivotal-ui | train |
6022fea9e24930a40049024755d6301784a4f441 | diff --git a/src/main/java/org/jmxtrans/embedded/EmbeddedJmxTrans.java b/src/main/java/org/jmxtrans/embedded/EmbeddedJmxTrans.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jmxtrans/embedded/EmbeddedJmxTrans.java
+++ b/src/main/java/org/jmxtrans/embedded/EmbeddedJmxTrans.java
@@ -132,7 +132,7 @@ public class ... | Remove `State.STARTED` and `State.STOPPED` as suggested by @YannRobert.
Introduce a `State.ERROR` when `start()` or `stop()` fail. | jmxtrans_embedded-jmxtrans | train |
b939ed17971786a10de4a00633f616944a8a2e2c | diff --git a/spec/lib/capistrano/version_validator_spec.rb b/spec/lib/capistrano/version_validator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/capistrano/version_validator_spec.rb
+++ b/spec/lib/capistrano/version_validator_spec.rb
@@ -89,6 +89,29 @@ module Capistrano
end
end
end... | Add a couple of tests for multiple version definitions
Since I'm about to document this. | capistrano_capistrano | train |
400b8f43db207a3dae5f73bf89291870191a368a | diff --git a/py3status/modules/frame.py b/py3status/modules/frame.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/frame.py
+++ b/py3status/modules/frame.py
@@ -103,6 +103,10 @@ class Py3status:
out += [{'full_text': self.format_separator}]
output += out
+ # ... | Remove additional separator at the end of frames | ultrabug_py3status | train |
37a4c6675cc74ace2040eb08d5be77781fcc811b | diff --git a/AlphaTwirl/Counter/KeyValueComposer.py b/AlphaTwirl/Counter/KeyValueComposer.py
index <HASH>..<HASH> 100755
--- a/AlphaTwirl/Counter/KeyValueComposer.py
+++ b/AlphaTwirl/Counter/KeyValueComposer.py
@@ -63,7 +63,6 @@ class KeyValueComposer(object):
# ]
if not self._use_backref:
- ... | apply binnings later in _fast_path_without_backref() | alphatwirl_alphatwirl | train |
34d2533ac3bb63365587ed33910ee8e42e5d1258 | diff --git a/common/digestauth.py b/common/digestauth.py
index <HASH>..<HASH> 100644
--- a/common/digestauth.py
+++ b/common/digestauth.py
@@ -72,7 +72,7 @@ class auth(object):
return self.send401UnauthorizedResponse()
if requestHeader[0:7] != "Digest ":
# client has attem... | allow standard uncompliant clients (usually Microsoft junk) by default | proycon_clam | train |
738fb56dd6f3412a95141995058a632677219e7a | diff --git a/safe/messaging/item/numbered_list.py b/safe/messaging/item/numbered_list.py
index <HASH>..<HASH> 100644
--- a/safe/messaging/item/numbered_list.py
+++ b/safe/messaging/item/numbered_list.py
@@ -76,6 +76,6 @@ class NumberedList(AbstractList):
else:
text = ''
for i, item in... | made NumberedList starting from 1 | inasafe_inasafe | train |
b260be151c6280f8a8f7f799876077e4fe3fec0d | diff --git a/lib/active_scaffold/data_structures/association/active_mongoid.rb b/lib/active_scaffold/data_structures/association/active_mongoid.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/data_structures/association/active_mongoid.rb
+++ b/lib/active_scaffold/data_structures/association/active_mongoid.rb
@... | fix reverse association for active_mongoid | activescaffold_active_scaffold | train |
a5d0aa6340443611a8c64bc7b9286f96bcd3d8bc | diff --git a/mockito/invocation.py b/mockito/invocation.py
index <HASH>..<HASH> 100644
--- a/mockito/invocation.py
+++ b/mockito/invocation.py
@@ -117,8 +117,9 @@ class MatchingInvocation(Invocation):
return False
for key, p1 in sorted(
- self.named_params.iteritems(),
- ... | Do not unpack tuple in lambda arg position | kaste_mockito-python | train |
6210928940129aa063955e238011d73546b9023c | diff --git a/js/test/beautify-tests.js b/js/test/beautify-tests.js
index <HASH>..<HASH> 100755
--- a/js/test/beautify-tests.js
+++ b/js/test/beautify-tests.js
@@ -509,7 +509,8 @@ function run_beautifier_tests(test_obj, Urlencoded, js_beautify)
bt('var a = new function() {};');
bt('var a = new function... | Test for another brace indenting case
Closes #<I> | beautify-web_js-beautify | train |
80e36b17776e6c472c2bf547c890ac5f9971dff4 | diff --git a/spec/integrations/shared_examples.rb b/spec/integrations/shared_examples.rb
index <HASH>..<HASH> 100644
--- a/spec/integrations/shared_examples.rb
+++ b/spec/integrations/shared_examples.rb
@@ -17,10 +17,10 @@ shared_examples_for 'Firehose::Rack::App' do
end
before(:each) { WebMock.disable! }
- af... | Integrations pump <I> messages instead of 2,<I> for faster run times. | firehoseio_firehose | train |
6589de3f28461e137ba7fa9c94c598530425c4c9 | diff --git a/lib/scene_toolkit/cli/verify.rb b/lib/scene_toolkit/cli/verify.rb
index <HASH>..<HASH> 100644
--- a/lib/scene_toolkit/cli/verify.rb
+++ b/lib/scene_toolkit/cli/verify.rb
@@ -6,9 +6,9 @@ module SceneToolkit
class CLI < Optitron::CLI
desc "Verify library or release. Executes all validations if none s... | Use dashes instead of underscores for command params | knoopx_scene-toolkit | train |
81cb0141e5dab05caae4148dfc464854f1f1218a | diff --git a/salt/transport/road/raet/stacking.py b/salt/transport/road/raet/stacking.py
index <HASH>..<HASH> 100644
--- a/salt/transport/road/raet/stacking.py
+++ b/salt/transport/road/raet/stacking.py
@@ -96,7 +96,7 @@ class StackUdp(object):
main=main,
... | started fixing raet header format | saltstack_salt | train |
a77374e37ed1171e588e67958334772e0432739d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -3,10 +3,10 @@
var request = require('request');
var CouchDBClient = function (options) {
this.options = {};
- Object.assign(this.options, options, {
+ Object.assign(this.options, {
host: '127.0.0.1',
... | fixed CouchDBClient constructor so that user defined host and port can be used without being overwritten by default values | legodude17_couchdb-client | train |
d247ea1df12d41c735407b4015d98fb1470a2d5b | diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index <HASH>..<HASH> 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -244,11 +244,8 @@ class EditCommand(ExternalCommand):
:param thread: run asynchronously, don't block alot
:type thread: bool
"""
- ... | make EditCommand use spawn/thread parms directly
This makes the command use its spawn and thread parameters
and fall back to the values given in the config | pazz_alot | train |
0a28712551388ae8ba5107a982941acc94fb74ad | diff --git a/examples/map.py b/examples/map.py
index <HASH>..<HASH> 100755
--- a/examples/map.py
+++ b/examples/map.py
@@ -23,7 +23,7 @@ try:
from PIL import Image
except ImportError:
# PIL not in search path. Let's see if it can be found in the parent folder
- sys.stderr.write("Module PIL/Image not found. PIL can... | Recommend Pillow instead of PIL library | twoolie_NBT | train |
b2f7134bdce86d99dd5fccdeeab959b5b97d673e | diff --git a/packages/generator-nitro/generators/app/index.js b/packages/generator-nitro/generators/app/index.js
index <HASH>..<HASH> 100644
--- a/packages/generator-nitro/generators/app/index.js
+++ b/packages/generator-nitro/generators/app/index.js
@@ -98,6 +98,7 @@ module.exports = class extends Generator {
},
... | fix(generator): Do not install on project update | namics_generator-nitro | train |
2bd15efbda56fe4ca3d5d7cd27b6cd5aac98f651 | diff --git a/lib/savon/request.rb b/lib/savon/request.rb
index <HASH>..<HASH> 100644
--- a/lib/savon/request.rb
+++ b/lib/savon/request.rb
@@ -55,12 +55,19 @@ module Savon
def build
configure_proxy
configure_timeouts
+ configure_headers
configure_ssl
configure_auth
configure... | Add headers configuration to WSDLRequest#build (#<I>)
e.g. some proxy servers may require
```ruby
{ "Proxy-Authorization" => "Basic base<I>EncodedAuthHash" }
```
as part of the headers.
In particular we ran into issues with using the Proximo Heroku Add-On.
This fixes #<I> and may be considered as a late ... | savonrb_savon | train |
b34db0dfdea7981ef0c60dff1fd7e8e95fae5f58 | diff --git a/tensorflow_datasets/translate/wmt.py b/tensorflow_datasets/translate/wmt.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/translate/wmt.py
+++ b/tensorflow_datasets/translate/wmt.py
@@ -789,7 +789,7 @@ def _parse_parallel_sentences(f1, f2):
if split_path[-1] == "gz":
lang = split_path... | Another utf-8 fix for WMT dataset. This time, we should make sure to treat the gz files as binary.
PiperOrigin-RevId: <I> | tensorflow_datasets | train |
cac7815a249d8a79b89c2fc5c60b6dc65d230a8c | diff --git a/packages/components/bolt-video/plugins/cue-points.js b/packages/components/bolt-video/plugins/cue-points.js
index <HASH>..<HASH> 100644
--- a/packages/components/bolt-video/plugins/cue-points.js
+++ b/packages/components/bolt-video/plugins/cue-points.js
@@ -26,7 +26,10 @@ export function cuePointsPlugin(pl... | chore: confirm the video player overlay exists before attempting to render a CTA inside of it | bolt-design-system_bolt | train |
1a1123c7dabbe480aff345b695e13d3a735c9c8e | diff --git a/lib/ProMotion/table/table.rb b/lib/ProMotion/table/table.rb
index <HASH>..<HASH> 100644
--- a/lib/ProMotion/table/table.rb
+++ b/lib/ProMotion/table/table.rb
@@ -125,12 +125,16 @@ module ProMotion
table_cell
end
- def update_table_data(index_paths = nil)
- if index_paths
- inde... | Allow args to be just an NSIndexPath or an array of them. | infinitered_ProMotion | train |
1cc79351eee9763cc592f7d0678e290cf8887109 | diff --git a/Vps/Exception.php b/Vps/Exception.php
index <HASH>..<HASH> 100644
--- a/Vps/Exception.php
+++ b/Vps/Exception.php
@@ -38,7 +38,8 @@ class Vps_Exception extends Vps_Exception_NoLog
$user = "guest";
try {
if ($u = Zend_Registry::get('userModel')->getAuthedUser()) {
- ... | if user::__toString throws an exception we get an fatal error here
and we can't catch that. How great is Php | koala-framework_koala-framework | train |
4037098eba7661297ef4eb93155e1f15d1b85cc2 | diff --git a/admin/settings/appearance.php b/admin/settings/appearance.php
index <HASH>..<HASH> 100644
--- a/admin/settings/appearance.php
+++ b/admin/settings/appearance.php
@@ -102,6 +102,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_configcheck... | MDL-<I> navigation: Added setting to control display of front page activities on the navigation | moodle_moodle | train |
97e8e8346cb3463670cea51e88ef26bc186d811f | diff --git a/i3pystatus/reddit.py b/i3pystatus/reddit.py
index <HASH>..<HASH> 100644
--- a/i3pystatus/reddit.py
+++ b/i3pystatus/reddit.py
@@ -62,7 +62,6 @@ class Reddit(IntervalModule):
}
on_leftclick = "open_permalink"
- on_click = "open_link"
_permalink = ""
_url = ""
@@ -136,6 +135,9 @@ c... | Added method to open users mailbox. | enkore_i3pystatus | train |
63057c6fc2f89fb326d4d280123d7c1d2de863ab | diff --git a/packages/vaex-jupyter/vaex/jupyter/_version.py b/packages/vaex-jupyter/vaex/jupyter/_version.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-jupyter/vaex/jupyter/_version.py
+++ b/packages/vaex-jupyter/vaex/jupyter/_version.py
@@ -1,2 +1,2 @@
-__version_tuple__ = (0, 7, 0)
-__version__ = '0.7.0'
+__vers... | 🔖 vaex-jupyter <I> released | vaexio_vaex | train |
fc460248be5f079bca23c17e962a764a6aa0831a | diff --git a/generators/crud/Generator.php b/generators/crud/Generator.php
index <HASH>..<HASH> 100644
--- a/generators/crud/Generator.php
+++ b/generators/crud/Generator.php
@@ -67,6 +67,7 @@ class Generator extends \yii\gii\Generator
[['modelClass'], 'validateClass', 'params' => ['extends' => BaseActiveR... | Fix #<I>
Adding a new additional validation rule in the gii-crud generator enforcing the expected format. | yiisoft_yii2-gii | train |
fe9e282f42bb7304dc849d6deffac9c7085ace0a | diff --git a/riak/tests/test_btypes.py b/riak/tests/test_btypes.py
index <HASH>..<HASH> 100644
--- a/riak/tests/test_btypes.py
+++ b/riak/tests/test_btypes.py
@@ -88,3 +88,19 @@ class BucketTypeTests(object):
buckets.extend(nested_buckets)
self.assertIn(bucket, buckets)
+
+ @unittest.skipIf(S... | Add bucket-type test for list-keys, fix bug in resources.py | basho_riak-python-client | train |
a19c9dad4dd9f81b5d4b59aecf682138c0f36e84 | diff --git a/netmiko/cisco/cisco_ios.py b/netmiko/cisco/cisco_ios.py
index <HASH>..<HASH> 100644
--- a/netmiko/cisco/cisco_ios.py
+++ b/netmiko/cisco/cisco_ios.py
@@ -20,6 +20,27 @@ class CiscoIosBase(CiscoBaseConnection):
self.disable_paging()
self.set_base_prompt()
+ def set_base_prompt(
+ ... | Fix Cisco IOS, IOS-XE, and IOS-XR abbreviating prompt in config mode issue (#<I>) | ktbyers_netmiko | train |
4a9265be11c07f12d95da90c3545462d606f645d | diff --git a/go/vt/schemamanager/schemamanager.go b/go/vt/schemamanager/schemamanager.go
index <HASH>..<HASH> 100644
--- a/go/vt/schemamanager/schemamanager.go
+++ b/go/vt/schemamanager/schemamanager.go
@@ -88,8 +88,10 @@ func Run(ctx context.Context, controller Controller, executor Executor) error {
controller.OnRe... | make schema manager stop early if there is no schema change | vitessio_vitess | train |
50c5eb508d297f8514438e3c65366c2cfda45e71 | diff --git a/addon/-task-group.js b/addon/-task-group.js
index <HASH>..<HASH> 100644
--- a/addon/-task-group.js
+++ b/addon/-task-group.js
@@ -1,4 +1,5 @@
import Ember from 'ember';
+const { computed } = Ember;
import { objectAssign, _ComputedProperty } from './utils';
import TaskStateMixin from './-task-state-mixin... | Make TaskGroup.isRunning also return a boolean | machty_ember-concurrency | train |
52fce0ae30304d48b803fa526852884f682c11db | diff --git a/src/acdhOeaw/schema/Object.php b/src/acdhOeaw/schema/Object.php
index <HASH>..<HASH> 100644
--- a/src/acdhOeaw/schema/Object.php
+++ b/src/acdhOeaw/schema/Object.php
@@ -64,6 +64,15 @@ abstract class Object {
private $id;
/**
+ * Allows to keep track of the corresponding repository resource... | schema\Object class provides information about corresponding repository
resource state | acdh-oeaw_repo-php-util | train |
a84a2edfdd57c1428a74410548b3afdd88aaf928 | diff --git a/src/Illuminate/Database/Eloquent/Relations/Relation.php b/src/Illuminate/Database/Eloquent/Relations/Relation.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Eloquent/Relations/Relation.php
+++ b/src/Illuminate/Database/Eloquent/Relations/Relation.php
@@ -478,13 +478,7 @@ abstract class Relat... | [8.x] Add forwardDecoratedCallTo (#<I>)
* [8.x] Add forwardDecoratedCallTo
* Code style
* Update ForwardsCalls.php | laravel_framework | train |
1ce693048156c01af607dd2fbebeb421deca0093 | diff --git a/lib/kickscraper/client.rb b/lib/kickscraper/client.rb
index <HASH>..<HASH> 100644
--- a/lib/kickscraper/client.rb
+++ b/lib/kickscraper/client.rb
@@ -26,8 +26,8 @@ module Kickscraper
self::process_api_call "project", id_or_slug.to_s
end
- def search_projects(q, page = nil)
- ... | Fixing a bug where Faraday double escaped spaces in the search query (closes #<I>) | markolson_kickscraper | train |
edbf428ad5752a18e865bc42d7154387a1ea9b28 | diff --git a/plotnine/utils.py b/plotnine/utils.py
index <HASH>..<HASH> 100644
--- a/plotnine/utils.py
+++ b/plotnine/utils.py
@@ -623,6 +623,9 @@ def groupby_apply(df, cols, func, *args, **kwargs):
as it calls fn twice on the first dataframe. If the nested code also
does the same thing, it can be very expens... | Make groupby_apply handle empty data
Empty data leads to pd.concat([]) and pd.concat cannot handle an
empty list. We have to bail early to avoid that failure. | has2k1_plotnine | train |
ecb14178120021d96da14c08836b805489c06672 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -372,6 +372,10 @@ function morphdom(fromNode, toNode, options) {
delete fromNodesLookup[toElKey];
}
+ if (toNode.isSameNode(fromNode)) {
+ return;
+ }
+
... | provides simple mechanism to support using cached nodes and nodes that get augmented outside of the morphdom render cycle | patrick-steele-idem_morphdom | train |
12df5879545c337cfd11441d3190a9cbb023b80e | diff --git a/reference.go b/reference.go
index <HASH>..<HASH> 100644
--- a/reference.go
+++ b/reference.go
@@ -106,8 +106,7 @@ func (r *JsonReference) parse(jsonReferenceString string) error {
}
r.HasFileScheme = r.referenceUrl.Scheme == "file"
-
- r.HasFullFilePath = strings.HasPrefix(r.GetUrl().Path, "//")
+... | fixed bad path on URL parsing ( go <I> to go <I> issue ) | xeipuuv_gojsonreference | train |
179f798d18b5f1c4a3dc660ef34a8eb2f1a9dbc9 | diff --git a/inc/sass-get-var.js b/inc/sass-get-var.js
index <HASH>..<HASH> 100644
--- a/inc/sass-get-var.js
+++ b/inc/sass-get-var.js
@@ -24,7 +24,7 @@ function gather (variable, node) {
module.exports = (variable, node) => {
if (!variable || typeof variable !== 'string' || !node || typeof node !== 'object') ret... | added better compatibility with sass variables | arpadHegedus_postcss-plugin-utilities | train |
0ba8ae05a2c9dba86975bd5b10789acdabc1461d | diff --git a/lib/heroku/command/apps.rb b/lib/heroku/command/apps.rb
index <HASH>..<HASH> 100644
--- a/lib/heroku/command/apps.rb
+++ b/lib/heroku/command/apps.rb
@@ -181,18 +181,18 @@ class Heroku::Command::Apps < Heroku::Command::Base
validate_arguments!
info = api.post_app({ "name" => name, "stack" =>... | update apps:create to use action helper | heroku_legacy-cli | train |
7305fe70cbafb83c960222107074b70ad0ad0310 | diff --git a/HISTORY.rst b/HISTORY.rst
index <HASH>..<HASH> 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -3,6 +3,12 @@
History
-------
+3.2.0 (2014-03-11)
+++++++++++++++++++
+
+* support for addons
+
+
3.1.0 (2014-03-03)
++++++++++++++++++
diff --git a/bootstrap3/__init__.py b/bootstrap3/__init__.py
index <HA... | <I>, adds support for addons | dyve_django-bootstrap3 | train |
bdd97480f22ad51d3b4b9b08c7600f92c904f408 | diff --git a/CHANGES.md b/CHANGES.md
index <HASH>..<HASH> 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,4 +1,5 @@
#### [unreleased]
+* add `github_updater_unset_auth_header` filter to return array of URL host parts to remove Basic Auth headers
#### 9.3.0 / 2020-02-06
* remove GitHub deprecation notice
diff --git ... | use filter to unset user added URL host | afragen_github-updater | train |
35714414a2ab18e7833b39b7e006121fe567ddb9 | diff --git a/core/frontier.js b/core/frontier.js
index <HASH>..<HASH> 100644
--- a/core/frontier.js
+++ b/core/frontier.js
@@ -119,11 +119,7 @@ exports.icFrontier = function (config) {
// get one level deeper for scalra system servers (monitor, entry...)
if (owner === 'scalra') {
owner = words[words.length-4]... | fix: cannot find proper scalra path when deployed on dev server | imonology_scalra | train |
fa95270c37a52241d9a54bac5f2a4796d62ae371 | diff --git a/contrib/demo1.py b/contrib/demo1.py
index <HASH>..<HASH> 100644
--- a/contrib/demo1.py
+++ b/contrib/demo1.py
@@ -149,10 +149,8 @@ latline_online.printAllElements()
# get configuration of 'Q1'
print latline_online.getAllConfig(fmt='dict')['Q1']
-
eleb1.printConfig()
-
eleQ1all = latline_online.getE... | draw() method return patches, anote, xyrange | archman_beamline | train |
45d02338a694922ed3009b8703b74abcc59dafe1 | diff --git a/intake/catalog/entry.py b/intake/catalog/entry.py
index <HASH>..<HASH> 100644
--- a/intake/catalog/entry.py
+++ b/intake/catalog/entry.py
@@ -129,14 +129,14 @@ class CatalogEntry(DictSerialiseMixin):
def _ipython_display_(self):
"""Display the entry as a rich object in an IPython session."""
... | Annotate flake8 expected failures. | intake_intake | train |
19da4cf8f323a31eec1eb0538a1c0e6a141bd3fd | diff --git a/spock-core/src/main/java/org/spockframework/runtime/extension/builtin/AutoCleanupExtension.java b/spock-core/src/main/java/org/spockframework/runtime/extension/builtin/AutoCleanupExtension.java
index <HASH>..<HASH> 100644
--- a/spock-core/src/main/java/org/spockframework/runtime/extension/builtin/AutoClean... | fields now @AutoCleanup'ed after cleanup(Spec) of subclass (rather than base class) has run | spockframework_spock | train |
391ffcf108e556f6426c4753a5309c8cdab4b3ad | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -48,12 +48,39 @@ test('single entry chunk', async t => {
const appDistJs = readFileSync(join(out, 'app-dist.js'), 'utf8');
t.regex(mainDistHtml, /^<!DOCTYPE html>/, 'no prelude');
+ t.notRegex(mainDistHtm... | tests: check for no semicolons, move now-redundant "use [name]" test | erikdesjardins_inert-entry-webpack-plugin | train |
156b7888ba0004c8df05e288fe3049805265b282 | diff --git a/src/main/java/com/redhat/darcy/ui/api/elements/Button.java b/src/main/java/com/redhat/darcy/ui/api/elements/Button.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/redhat/darcy/ui/api/elements/Button.java
+++ b/src/main/java/com/redhat/darcy/ui/api/elements/Button.java
@@ -19,5 +19,5 @@
package ... | Don't extend Element on purely role interfaces
"HasValue" is not really an "Element," and making it not an element
prevents implementations from being encouraged to handle clients trying
to ask for an element of type "HasValue" or any of the other mere role
interfaces like Disableable or Clickable. | darcy-framework_darcy-ui | train |
484cfd6f0d060c1e3d3e67072f7f15821032d838 | diff --git a/indra/db/database_manager.py b/indra/db/database_manager.py
index <HASH>..<HASH> 100644
--- a/indra/db/database_manager.py
+++ b/indra/db/database_manager.py
@@ -371,8 +371,10 @@ class DatabaseManager(object):
# 1. fast_raw_pa_link
# 2. evidence_counts
# 3. pa_meta
- ... | Tweak the documentation a bit more. | sorgerlab_indra | train |
91295546c20222ba2e204e7b07e2051a592e3412 | diff --git a/Neos.Flow/Classes/Mvc/Routing/Dto/UriConstraints.php b/Neos.Flow/Classes/Mvc/Routing/Dto/UriConstraints.php
index <HASH>..<HASH> 100644
--- a/Neos.Flow/Classes/Mvc/Routing/Dto/UriConstraints.php
+++ b/Neos.Flow/Classes/Mvc/Routing/Dto/UriConstraints.php
@@ -236,13 +236,13 @@ final class UriConstraints
... | TASK: Adjust replacement use, adjust prefix handling
Takes a (fixed) version of the replacement use suggested by @aberl,
adjusts the prefix replacement the same way as the suffix replacement
and removed methods no longer needed. | neos_flow-development-collection | train |
536b67c24b2f56879f8e9c25e22a2a8055ac6a0e | diff --git a/django_core/models.py b/django_core/models.py
index <HASH>..<HASH> 100644
--- a/django_core/models.py
+++ b/django_core/models.py
@@ -29,7 +29,13 @@ class AbstractBaseModel(models.Model):
class Meta:
abstract = True
- ordering = ['-created_dttm']
+ # Default ordering is by id ... | added doc and changed the default ordering to be by -id. | InfoAgeTech_django-core | train |
34e9c7ef9667f2a6aef02e74a6657dd1503af993 | diff --git a/Library/Compiler.php b/Library/Compiler.php
index <HASH>..<HASH> 100755
--- a/Library/Compiler.php
+++ b/Library/Compiler.php
@@ -457,13 +457,14 @@ class Compiler
*/
$needConfigure = $this->createConfigFiles($namespace);
$needConfigure |= $this->createProjectFiles($namespace);
+ $needConfigure ... | Checking if project needs to be phpized [ci skip] | phalcon_zephir | train |
7aeb715bcc831aafd4ca49c82f0ec26471eeed21 | diff --git a/packages/material-ui/src/Dialog/Dialog.js b/packages/material-ui/src/Dialog/Dialog.js
index <HASH>..<HASH> 100644
--- a/packages/material-ui/src/Dialog/Dialog.js
+++ b/packages/material-ui/src/Dialog/Dialog.js
@@ -95,7 +95,7 @@ const DialogPaper = styled(Paper, {
return [
styles.paper,
s... | [Dialog] Fix override paper styles (#<I>) | mui-org_material-ui | train |
2be2dc993b95905b97465100892accde82885ab8 | diff --git a/docs/change_log.rst b/docs/change_log.rst
index <HASH>..<HASH> 100644
--- a/docs/change_log.rst
+++ b/docs/change_log.rst
@@ -1,6 +1,13 @@
更新记录
===========================
+2018.6.6 v1.0.14
+---------------------------
+
+* issue ID use directly on github
+* 36, common, edit function :meth:`fish_common... | <I> <I> update issue ID change to use github, version number in the document change to <I> | chinapnr_fishbase | train |
7647c3bc340f0058fb437daacdccb1089486a6f0 | diff --git a/tests/SystemTest.php b/tests/SystemTest.php
index <HASH>..<HASH> 100644
--- a/tests/SystemTest.php
+++ b/tests/SystemTest.php
@@ -24,7 +24,7 @@ class SystemTest extends PHPUnit_Framework_TestCase
public function testTheSystem()
{
// Don't run system tests on Travis
- if (getenv('T... | fixes SystemTest and skipping feature for Travis | gerbenjacobs_HabboAPI | train |
8db1470818c3ffbf16bed89fbf4be46a84f37576 | diff --git a/core/interpreter/src/main/java/org/overture/interpreter/runtime/Context.java b/core/interpreter/src/main/java/org/overture/interpreter/runtime/Context.java
index <HASH>..<HASH> 100644
--- a/core/interpreter/src/main/java/org/overture/interpreter/runtime/Context.java
+++ b/core/interpreter/src/main/java/org... | Thread LexNameToken Assistant into LexNameMap | overturetool_overture | train |
1f3ebc854118b7f9210a2c60275695468f54c91a | diff --git a/PyFunceble/abstracts/infrastructure.py b/PyFunceble/abstracts/infrastructure.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/abstracts/infrastructure.py
+++ b/PyFunceble/abstracts/infrastructure.py
@@ -118,3 +118,10 @@ class Infrastructure:
:type: str
"""
+
+ REPO_LINK = "https://git.io/vpZo... | Reduce length of the first line in all the outputed files.
Contributors:
* @spirillen | funilrys_PyFunceble | train |
6055bbedaa4b7b4bb2377ac87147196eebb2edc1 | diff --git a/activerecord/lib/active_record/associations/association_collection.rb b/activerecord/lib/active_record/associations/association_collection.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/associations/association_collection.rb
+++ b/activerecord/lib/active_record/associations/association... | Raise ActiveRecord::RecordNotSaved if an AssociationCollection fails to be replaced | rails_rails | train |
1888e48a34e9c5d62d73ffbf89f45489a239af7d | diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -23,7 +23,7 @@ module.exports = {
return _.startCase(str);
},
- slugify: str => _.kebabCase(_.deburr(str)).toLowerCase(),
+ slugify: str => _.deburr(str).replace(/\s+/g, '-').toLowerCase()... | fix(components): prevent underscores in component names getting converted to dashes
closes #<I> | frctl_fractal | train |
e46c560064021840c811ba0ab3713a7229f0a544 | diff --git a/para-server/src/main/java/com/erudika/para/Para.java b/para-server/src/main/java/com/erudika/para/Para.java
index <HASH>..<HASH> 100644
--- a/para-server/src/main/java/com/erudika/para/Para.java
+++ b/para-server/src/main/java/com/erudika/para/Para.java
@@ -137,8 +137,7 @@ public final class Para {
ex... | rewrote searchQuery() to detect and restore objects from index | Erudika_para | train |
c2d2a294c55edb549592b961734f91c28b8aef22 | diff --git a/src/Sonata/OrderBundle/Entity/BaseOrder.php b/src/Sonata/OrderBundle/Entity/BaseOrder.php
index <HASH>..<HASH> 100644
--- a/src/Sonata/OrderBundle/Entity/BaseOrder.php
+++ b/src/Sonata/OrderBundle/Entity/BaseOrder.php
@@ -206,7 +206,7 @@ abstract class BaseOrder implements OrderInterface
*/
publ... | fix Order __toString method | sonata-project_ecommerce | train |
7c77db8d3c0ed1de6777a484f52e1477d8c8113b | diff --git a/panicwrap.go b/panicwrap.go
index <HASH>..<HASH> 100644
--- a/panicwrap.go
+++ b/panicwrap.go
@@ -3,9 +3,8 @@
package bugsnag
import (
+ "github.com/ConradIrwin/panicwrap"
"github.com/bugsnag/bugsnag-go/errors"
- "github.com/mitchellh/panicwrap"
- "os"
)
// NOTE: this function does not return whe... | Upgrade panicwrap to use Monitor where possible
This lets signal handling continue to work correctly,
which is a significant advantage for running golang processes
under supervision. | bugsnag_bugsnag-go | train |
daaca3e80d5a2a1d61168fda5fe7ed21b05a0e4f | diff --git a/src/Interfaces/Uri.php b/src/Interfaces/Uri.php
index <HASH>..<HASH> 100644
--- a/src/Interfaces/Uri.php
+++ b/src/Interfaces/Uri.php
@@ -44,16 +44,6 @@ interface Uri
public function getScheme();
/**
- * Retrieve the scheme specific part of the URI.
- *
- * If no specific part infor... | Simplify League Uri Interface
Uri::getSchemeSpecificPart is now protected.
The League\Uri\Interfaces\Uri now exposes the same interface
as PSR-7 UriInterface but the wording are different for the Scheme
part which requires a separate interface | thephpleague_uri-manipulations | train |
2417031b4690f5df1057421d1b3c3bd33c31d008 | diff --git a/src/main/java/org/efaps/ui/wicket/behaviors/AjaxFieldUpdateBehavior.java b/src/main/java/org/efaps/ui/wicket/behaviors/AjaxFieldUpdateBehavior.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/efaps/ui/wicket/behaviors/AjaxFieldUpdateBehavior.java
+++ b/src/main/java/org/efaps/ui/wicket/behaviors/Aj... | - webapp: fieldupdate event was executed multiple times
git-svn-id: <URL> | eFaps_eFaps-WebApp | train |
a9f995b28353d97e7a754174695df1e36966f802 | diff --git a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesBinaryExpressionMultiTypeDispatcher.java b/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesBinaryExpressionMultiTypeDispatcher.java
index <HASH>..<HASH> 100644
--- a/src/main/org/codehaus/groovy/classgen/asm/sc/StaticTypesBinaryExpressionMulti... | GROOVY-<I>: Collection#putAt should be refused by the type checker | groovy_groovy-core | train |
04caa85b56aaf463af0166dd48926b56ac501446 | diff --git a/lib/ghee/api/labels.rb b/lib/ghee/api/labels.rb
index <HASH>..<HASH> 100644
--- a/lib/ghee/api/labels.rb
+++ b/lib/ghee/api/labels.rb
@@ -12,7 +12,6 @@ class Ghee
module Labels
class Proxy < ::Ghee::ResourceProxy
- include Ghee::CUD
end
end | tighting up repo#labels | huboard_ghee | train |
04f698f4623bfb5a5246e8efa1dd0f3c100621c3 | diff --git a/test/same.js b/test/same.js
index <HASH>..<HASH> 100644
--- a/test/same.js
+++ b/test/same.js
@@ -1419,21 +1419,3 @@ test("Test that must be done at the end because they extend some primitive's pro
// between RegExp and Function constructor because typeof on a RegExpt instance is "function"
equal... | Cleaning up rubble from the previous commit. | JamesMGreene_qunit-assert-html | train |
5d655ea3320a8ebd7d07e63359e48b21c0e9f908 | diff --git a/rpcserver.go b/rpcserver.go
index <HASH>..<HASH> 100644
--- a/rpcserver.go
+++ b/rpcserver.go
@@ -945,6 +945,11 @@ func (r *rpcServer) AddInvoice(ctx context.Context,
"(maxsize=%v)", len(invoice.Receipt), channeldb.MaxReceiptSize)
}
+ // Finally, the value of an invoice MUST NOT be zero.
+ if invoi... | rpcserver: disallow zero valued invoices | lightningnetwork_lnd | train |
dac172fc73c449068f19e401a2f08dff031bbf23 | diff --git a/core/Db.php b/core/Db.php
index <HASH>..<HASH> 100644
--- a/core/Db.php
+++ b/core/Db.php
@@ -786,7 +786,7 @@ class Db
{
if (is_null(self::$lockPrivilegeGranted)) {
try {
- Db::lockTables(Common::prefixTable('log_visit'));
+ Db::lockTables(Common::pr... | Don't lock log_visit table to check if privilege is granted (#<I>)
Instead use a table we write to less frequently. Otherwise, whenever we over privacy settings or when it is trying to delete unused actions it will lock the log_visit table for a short time that could cause random tracking issues (eg heap of requests p... | matomo-org_matomo | train |
54f209f556cb9cf1c63c0938a825a7ef15eb073d | diff --git a/extra/influx-copy/src/main/java/com/github/groupon/monsoon/history/influx/FileConvert.java b/extra/influx-copy/src/main/java/com/github/groupon/monsoon/history/influx/FileConvert.java
index <HASH>..<HASH> 100644
--- a/extra/influx-copy/src/main/java/com/github/groupon/monsoon/history/influx/FileConvert.jav... | Use src iteration during copy. | groupon_monsoon | train |
dc3d707141a39bb4dedee3f8e86d6b7ad39f2591 | diff --git a/packages/ember-metal/lib/mixin.js b/packages/ember-metal/lib/mixin.js
index <HASH>..<HASH> 100644
--- a/packages/ember-metal/lib/mixin.js
+++ b/packages/ember-metal/lib/mixin.js
@@ -167,6 +167,7 @@ function giveMethodSuper(obj, key, method, values, descs) {
if (hasSuper === undefined) {
hasSuper ... | Prevent extra method.toString checks.
It appears that the intent here was to only check the
`method.toString().indexOf('_super')` once, and store the result so that
we do not need to check the same method twice, but we were never actual
storing `__hasSuper` on the method so it was just always going to check
the `toStr... | emberjs_ember.js | train |
7129af7ed75f0e5130aed7c85a250d7edfdd41a9 | diff --git a/src/change-observer.js b/src/change-observer.js
index <HASH>..<HASH> 100644
--- a/src/change-observer.js
+++ b/src/change-observer.js
@@ -27,7 +27,10 @@ class ChangeObserver {
if (this.__observers.length > 0) {
var currentValues = Immutable.Map()
- this.__observers.forEach(entry => {
+ ... | Iterate over copy of observers for notifyObservers [Fixes #<I>] | optimizely_nuclear-js | train |
381304726faeca3450b83dc7ccf8363222f4c902 | diff --git a/lib/instrument.js b/lib/instrument.js
index <HASH>..<HASH> 100644
--- a/lib/instrument.js
+++ b/lib/instrument.js
@@ -50,7 +50,7 @@ Instrument.prototype.timeAsyncFunction = function(name, func) {
var self = this;
return function() {
- var work = self.work(name)
+ var work = self.work(name),
... | fix(instrument): Add a missing comma so that args and callback are scoped properly. | jirwin_node-zither | train |
a024ea2146257ec9ff127c3919ebcc74114c6090 | diff --git a/cloudvolume/skeletonservice.py b/cloudvolume/skeletonservice.py
index <HASH>..<HASH> 100644
--- a/cloudvolume/skeletonservice.py
+++ b/cloudvolume/skeletonservice.py
@@ -438,11 +438,11 @@ class PrecomputedSkeleton(object):
if skel.edges.size == 0:
return skel, []
- index = defaultdict(list... | fix(skeletonservice): _compute_components wasn't treating loops correctly
Added check for visited. | seung-lab_cloud-volume | train |
565ff76422c132250a88995b43ec387717e88e0f | diff --git a/edeposit/amqp/settings.py b/edeposit/amqp/settings.py
index <HASH>..<HASH> 100644
--- a/edeposit/amqp/settings.py
+++ b/edeposit/amqp/settings.py
@@ -30,18 +30,22 @@ RABBITMQ_PORT = '5672' #:
RABBITMQ_USER_NAME = 'guest' #:
RABBITMQ_USER_PASSWORD = 'guest' #:
+# aleph's settings
RABBITMQ_ALEPH_VIRT... | Added comments to settings.py. | edeposit_edeposit.amqp | train |
4cd5222ee077f8cc1016c3338ea8ff7676322b72 | diff --git a/core/client/app/routes/posts.js b/core/client/app/routes/posts.js
index <HASH>..<HASH> 100644
--- a/core/client/app/routes/posts.js
+++ b/core/client/app/routes/posts.js
@@ -9,7 +9,8 @@ export default AuthenticatedRoute.extend(ShortcutsRoute, PaginationRouteMixin, {
paginationModel: 'post',
pagin... | Update author query to use filter
refs #<I> | TryGhost_Ghost | train |
3a4c322b9d7eb2b9654f01061571a9be10b9d221 | diff --git a/mutable_tree.go b/mutable_tree.go
index <HASH>..<HASH> 100644
--- a/mutable_tree.go
+++ b/mutable_tree.go
@@ -207,10 +207,11 @@ func (tree *MutableTree) recursiveRemove(node *Node, key []byte, orphans *[]*Nod
if len(*orphans) == 0 {
return node.hash, node, nil, value
- } else if newLeftHash == ni... | bugfix: orphans are not totally collected when Remove (#<I>) | tendermint_iavl | train |
13614f24b22e2f4da348b118b222cc7f308685d1 | diff --git a/lib-dempsycore/src/main/java/com/nokia/dempsy/monitoring/StatsCollector.java b/lib-dempsycore/src/main/java/com/nokia/dempsy/monitoring/StatsCollector.java
index <HASH>..<HASH> 100644
--- a/lib-dempsycore/src/main/java/com/nokia/dempsy/monitoring/StatsCollector.java
+++ b/lib-dempsycore/src/main/java/com/n... | Register Eviction Counts with Stats Collector | Dempsy_dempsy | train |
3f5fc52279413edb0151f51ccdd746612c669f75 | diff --git a/ped_parser/parser.py b/ped_parser/parser.py
index <HASH>..<HASH> 100755
--- a/ped_parser/parser.py
+++ b/ped_parser/parser.py
@@ -40,12 +40,14 @@ class FamilyParser(object):
super(FamilyParser, self).__init__()
self.family_type = family_type
self.families = {}
- self.heade... | Fixed problem with non existing header and bumoed versio to <I> | moonso_ped_parser | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.