hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
8dedb04ff6b00198e0403f0f1157c056b9d9fd0d | diff --git a/src/cli.js b/src/cli.js
index <HASH>..<HASH> 100755
--- a/src/cli.js
+++ b/src/cli.js
@@ -45,15 +45,29 @@ cmd.option('cwd', {
}
})
+/*
+ yargs will coerce this function multiple times while executing one command for unknown
+ reasons. When a positional optional argument is present, it will go as fa... | Add network cache to fix yargs repeated coercion | aragon_aragon-cli | train |
3f7e2bab7a5d4df96333c1e99134d92d91edad25 | diff --git a/src/geoQuery.js b/src/geoQuery.js
index <HASH>..<HASH> 100644
--- a/src/geoQuery.js
+++ b/src/geoQuery.js
@@ -93,7 +93,10 @@ var GeoQuery = function (firebaseRef, queryCriteria) {
for (var key in _locations) {
if (_locations.hasOwnProperty(key)) {
if (!_geohashInSomeQuery(_locations[ke... | sanity check for removing locations | firebase_geofire-js | train |
4acbf96dacaa6c7fdb57ec95dd452ae08a58b000 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -124,7 +124,7 @@ module.exports = {
launch: function () {
var deferred = Q.defer();
var stream = '';
- this.spawned = spawn(iedriver.path, ['--port=' + this.getPort(), '--host=' + this.getHost()]);
+ this.sp... | Fixed Windows XP process kill issue | dalekjs_dalek-browser-ie | train |
bd3b68c8a7a08b4fef407f68cef14b30dd88336e | diff --git a/login/token.php b/login/token.php
index <HASH>..<HASH> 100644
--- a/login/token.php
+++ b/login/token.php
@@ -64,6 +64,15 @@ if (!empty($user)) {
}
}
+ // Check whether the user should be changing password.
+ if (get_user_preferences('auth_forcepasswordchange', false, $user)) {
+ ... | MDL-<I> webservices: Check if the user must be changing password | moodle_moodle | train |
9b5eb2599af8cd8cf5ca464dce86e1fe1f28984e | diff --git a/lib/dm-core/query.rb b/lib/dm-core/query.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/query.rb
+++ b/lib/dm-core/query.rb
@@ -588,6 +588,11 @@ module DataMapper
@property ? @property.field(*args) : nil
end
+ # more duck typing
+ def to_sym
+ @property ? @property.to_s... | Don't override property if it is already set and duck type Query::Path a bit more | datamapper_dm-core | train |
69b8254e4457a916f50cb8ab5ce40d110582cf4b | diff --git a/py/selenium/webdriver/chrome/webdriver.py b/py/selenium/webdriver/chrome/webdriver.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/chrome/webdriver.py
+++ b/py/selenium/webdriver/chrome/webdriver.py
@@ -26,14 +26,6 @@ class WebDriver(RemoteWebDriver):
browser_name='chrome', platform... | DavidBurns refactored duplicate code to the remote driver instead of individual drivers
r<I> | SeleniumHQ_selenium | train |
96f19f6cf62fb4705a75cf4a81e4e2f145a4cee2 | diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -32,6 +32,12 @@ module ActiveRecord
end
end
+ class PendingMigrationError <... | raise error for pending migration
can be configured by setting config.active_record.migration. Setting to :page_load will raise an error on each page refresh if there are migrations that are pending. Setting to :page_load is defaulted in development for new applications. | rails_rails | train |
c025d9457aa000d0f23252e07ce6f2e2c3c5d971 | diff --git a/releaf-core/app/assets/config/releaf_core_manifest.js b/releaf-core/app/assets/config/releaf_core_manifest.js
index <HASH>..<HASH> 100644
--- a/releaf-core/app/assets/config/releaf_core_manifest.js
+++ b/releaf-core/app/assets/config/releaf_core_manifest.js
@@ -1,3 +1,4 @@
//= link_tree ../images
+//= lin... | Fix releaf ckeditor assets copying | cubesystems_releaf | train |
2942697faeb7419ae7a8ead378736fcc3ba586ff | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
+## [Unreleased]
+### Changed
+- Use built-in app.name i... | Refactor code to no longer require sitename to be set seperately (there is already a field app.name to use instead) | taskforcedev_laravel-support | train |
84b48c87b522ee2c8fbb4137497cb45b90f7dd5b | diff --git a/lib/app.js b/lib/app.js
index <HASH>..<HASH> 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -64,7 +64,9 @@ var makeApp = function(config, callback) {
firehose: "ofirehose.com",
requireEmail: false,
disableRegistration: false,
- ... | Use a wrapper to ensure correct OAuth signatures when behind a proxy | pump-io_pump.io | train |
b4fcd26ddb76ea9e8a8043c0b07264edc72cc961 | diff --git a/lib/dragonfly/data_storage/s3data_store.rb b/lib/dragonfly/data_storage/s3data_store.rb
index <HASH>..<HASH> 100644
--- a/lib/dragonfly/data_storage/s3data_store.rb
+++ b/lib/dragonfly/data_storage/s3data_store.rb
@@ -29,7 +29,7 @@ module Dragonfly
end
def store(temp_object, opts={})
- ... | was trying to re-create the bucket if it was a us one | markevans_dragonfly | train |
4eb22aeb7c48f0553a31923810593c131bddcf02 | diff --git a/pyphi/models/actual_causation.py b/pyphi/models/actual_causation.py
index <HASH>..<HASH> 100644
--- a/pyphi/models/actual_causation.py
+++ b/pyphi/models/actual_causation.py
@@ -54,6 +54,9 @@ class AcMip(cmp.Orderable, namedtuple('AcMip', _acmip_attributes)):
unorderable_unless_eq = ['direction']
... | Fix `PICK_SMALLEST_PURVIEW` behavior for `AcMip` | wmayner_pyphi | train |
05f2ebbd13f49167a591b888dadff8a7ebff9dc5 | diff --git a/react-native/react/native/remote-component.desktop.js b/react-native/react/native/remote-component.desktop.js
index <HASH>..<HASH> 100644
--- a/react-native/react/native/remote-component.desktop.js
+++ b/react-native/react/native/remote-component.desktop.js
@@ -1,7 +1,6 @@
import React, {Component} from '... | Fix src using file:// fixes some lint issues | keybase_client | train |
1d6b04d2c87eda93d1c393f76c1c9bb6e470f530 | diff --git a/bosh-director/lib/bosh/director/api/task_helper.rb b/bosh-director/lib/bosh/director/api/task_helper.rb
index <HASH>..<HASH> 100644
--- a/bosh-director/lib/bosh/director/api/task_helper.rb
+++ b/bosh-director/lib/bosh/director/api/task_helper.rb
@@ -20,8 +20,17 @@ module Bosh::Director
logger.info... | extract remove_old_task into a private method | cloudfoundry_bosh | train |
24b0ca4941ad6ff11b7b566260debf33006cf89e | diff --git a/Resources/Public/pz2-client.js b/Resources/Public/pz2-client.js
index <HASH>..<HASH> 100644
--- a/Resources/Public/pz2-client.js
+++ b/Resources/Public/pz2-client.js
@@ -50,10 +50,6 @@ var germanTerms = {
'detail-label-series-title': 'Reihe',
'detail-label-issn': 'ISSN',
'detail-label-acronym-issn': ... | pz2: Simplify ISSN display to a single line
* put issn, eissn, pissn there
* try to specify the ISSN type
* try to remove duplicates | subugoe_typo3-pazpar2 | train |
d4bfd4df5369d0be7626d9fc53492b094812d771 | diff --git a/crawler.js b/crawler.js
index <HASH>..<HASH> 100644
--- a/crawler.js
+++ b/crawler.js
@@ -122,7 +122,7 @@ Crawler.prototype._requestUrl = function(options, callback) {
this.workExecutor.submit(request, null, [options, callback], function shouldSkip() {
var url = options.url;
- var willSkip = _... | If the url should not be crawled as configured, then it will not be crawled. | antivanov_js-crawler | train |
2b40a539f4a9ace48b15292549ee735f89383678 | diff --git a/grunt-tasks/versions.js b/grunt-tasks/versions.js
index <HASH>..<HASH> 100644
--- a/grunt-tasks/versions.js
+++ b/grunt-tasks/versions.js
@@ -62,11 +62,12 @@ module.exports = function GruntfileVersions(grunt) {
var line = stdout.split('\n')[0];
// "emcc (Emscripten GCC-like replacement) 1.3... | feature(build): emcc version output may not contain a commit hash | medialize_sass.js | train |
ab838790b3b2c337ab756925752b091280f1b0c6 | diff --git a/sync-android/src/test/java/com/cloudant/sync/datastore/encryption/ProviderTestUtil.java b/sync-android/src/test/java/com/cloudant/sync/datastore/encryption/ProviderTestUtil.java
index <HASH>..<HASH> 100644
--- a/sync-android/src/test/java/com/cloudant/sync/datastore/encryption/ProviderTestUtil.java
+++ b/s... | Provide way to get Android app context in tests
Provide a way using the InstrumentationRegistry class to get
the context that the target application is running in. | cloudant_sync-android | train |
4acc52cb0eb78a2a664fd7cff13cc4ba4fd6d512 | diff --git a/lib/authn/session.rb b/lib/authn/session.rb
index <HASH>..<HASH> 100644
--- a/lib/authn/session.rb
+++ b/lib/authn/session.rb
@@ -25,8 +25,13 @@ module AuthN
destroy_session klass
end
- private
+ def current_user(klass = AuthN.config.account_klass)
+ @current_user ||= get... | WRiting a method to get the current user and set it to an ivar | krainboltgreene_authn | train |
424900d146b460de27fcead176370dc2c0f2429e | diff --git a/mpop/satin/viirs_sdr.py b/mpop/satin/viirs_sdr.py
index <HASH>..<HASH> 100644
--- a/mpop/satin/viirs_sdr.py
+++ b/mpop/satin/viirs_sdr.py
@@ -101,6 +101,7 @@ class HDF5MetaData(object):
if long_key is not None:
raise KeyError("Multiple keys called %s" % key)
... | Temporary hack to solve for hdf5 files with more than one granule per file | pytroll_satpy | train |
53bd42d44c2425ad40517aaba499e93d58aa573f | diff --git a/pyChemometrics/PLSDAPlotMixin.py b/pyChemometrics/PLSDAPlotMixin.py
index <HASH>..<HASH> 100644
--- a/pyChemometrics/PLSDAPlotMixin.py
+++ b/pyChemometrics/PLSDAPlotMixin.py
@@ -4,6 +4,7 @@ import numpy as np
from copy import deepcopy
from pyChemometrics.ChemometricsPLSDA import ChemometricsPLSDA
+
cl... | ploting mixins from notebook added - to test and fix sometime later | Gscorreia89_pyChemometrics | train |
bd6a7cf4f6855891000b0e1b49d826bab9e1376a | diff --git a/spacy/de/download.py b/spacy/de/download.py
index <HASH>..<HASH> 100644
--- a/spacy/de/download.py
+++ b/spacy/de/download.py
@@ -1,5 +1,8 @@
-from ..deprecated import ModelDownload as download
+# coding: utf8
+from __future__ import unicode_literals
+
+from ..deprecated import depr_model_download
if ... | Simplify deprecated model downloading
Only relevant for spaCy < <I>. | explosion_spaCy | train |
9e1a119cadae8844b801d6e417d0bae89f9725b6 | diff --git a/intranet/apps/eighth/urls.py b/intranet/apps/eighth/urls.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/eighth/urls.py
+++ b/intranet/apps/eighth/urls.py
@@ -89,6 +89,7 @@ eighth_admin_patterns = [
url(r"^rooms/sanity_check$", rooms.room_sanity_check_view, name="eighth_admin_room_sanity_check"),
... | redirect to page with IDs in url | tjcsl_ion | train |
8dce20a1c6f515a218cdf9251ba6683b23ef1ebd | diff --git a/bcbio/upload/filesystem.py b/bcbio/upload/filesystem.py
index <HASH>..<HASH> 100644
--- a/bcbio/upload/filesystem.py
+++ b/bcbio/upload/filesystem.py
@@ -10,7 +10,7 @@ from bcbio.upload import shared
def copy_finfo(finfo, storage_dir):
"""Copy a file into the output storage directory.
"""
- i... | Use standard exist instead of checking file size when transferring directories to final location. Touch final copied directories to avoid multiple transfers with time preserving copytree. Fixes #<I> | bcbio_bcbio-nextgen | train |
98e7e22effbcd2588b7de3b9ec494be1183810ce | diff --git a/bootstrap.js b/bootstrap.js
index <HASH>..<HASH> 100644
--- a/bootstrap.js
+++ b/bootstrap.js
@@ -37,9 +37,14 @@ var StaticString = function StaticString(domain, key, params) {
}
if (!seen[domain][key]) {
+
+ // This won't happen right now, so already set it to true
+ seen[domain][key] = true;
+
... | Register items in a low-priority kind of way, to speed up booting | skerit_alchemy-i18n | train |
c03d396760447ed1f61c7a79e205d78ad0c0d999 | diff --git a/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java b/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
index <HASH>..<HASH> 100644
--- a/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+++ b/src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
@@ -998,38 +998,73 @@ pub... | Properly attribute type annotations
Warn against duplicate type annotations | wmdietl_jsr308-langtools | train |
13000b7503a284510e9e726cb2a0211ddec8406c | diff --git a/python/ray/local_scheduler/local_scheduler_services.py b/python/ray/local_scheduler/local_scheduler_services.py
index <HASH>..<HASH> 100644
--- a/python/ray/local_scheduler/local_scheduler_services.py
+++ b/python/ray/local_scheduler/local_scheduler_services.py
@@ -5,6 +5,7 @@ from __future__ import print_... | Start processes using the same version of Python that was used to start Ray. (#<I>)
* Make local scheduler start workers using the same version of Python that was used to start the local scheduler.
* Use current version of python to start new processes instead of hardcoded python executable.
* Fix linting. | ray-project_ray | train |
08ba1a0e3fda1604de84fa6c79ed09bcea1bb6de | diff --git a/test/build-test.js b/test/build-test.js
index <HASH>..<HASH> 100644
--- a/test/build-test.js
+++ b/test/build-test.js
@@ -60,13 +60,20 @@ describe('build', function() {
expect(secondP).to.eventually.be.ok;
});
- it('should create posts', function() {
- var firstP = fs.readFileAsync('blog/MJhd... | test: Add test for blog index page | stellojs_stello-tpl-starter | train |
472fa6e909c1246280608b637de948fdff7d132c | diff --git a/oandapyV20/endpoints/transactions.py b/oandapyV20/endpoints/transactions.py
index <HASH>..<HASH> 100644
--- a/oandapyV20/endpoints/transactions.py
+++ b/oandapyV20/endpoints/transactions.py
@@ -1,29 +1,19 @@
"""Handle transactions endpoints."""
-from .apirequest import APIRequest, dyndoc_insert, get_endpo... | decorator based handling of transactions, each endpoint it's own class | hootnot_oanda-api-v20 | train |
e21b6f1b3cca08837ff0f6ab12a661acbe81b106 | diff --git a/tests/helpers/CMTest/library/CMTest/TestCase.php b/tests/helpers/CMTest/library/CMTest/TestCase.php
index <HASH>..<HASH> 100644
--- a/tests/helpers/CMTest/library/CMTest/TestCase.php
+++ b/tests/helpers/CMTest/library/CMTest/TestCase.php
@@ -652,14 +652,15 @@ abstract class CMTest_TestCase extends PHPUnit_... | Allow DateTime for assertSameTime | cargomedia_cm | train |
3b7e73891d34e7786277282dd88d0a947901c642 | diff --git a/pyialarm/pyialarm.py b/pyialarm/pyialarm.py
index <HASH>..<HASH> 100644
--- a/pyialarm/pyialarm.py
+++ b/pyialarm/pyialarm.py
@@ -8,6 +8,8 @@ import dicttoxml
import xmltodict
log = logging.getLogger(__name__)
+# dicttoxml is very verbose at INFO level
+logging.getLogger("dicttoxml").setLevel(logging.C... | Decrease the dicttoxml verbosity level | RyuzakiKK_pyialarm | train |
36ab4937ef2005c16534eb8b0ec9f245a6215419 | diff --git a/src/Pixel418/Iniliq/Stack/Util/IniParser.php b/src/Pixel418/Iniliq/Stack/Util/IniParser.php
index <HASH>..<HASH> 100644
--- a/src/Pixel418/Iniliq/Stack/Util/IniParser.php
+++ b/src/Pixel418/Iniliq/Stack/Util/IniParser.php
@@ -175,6 +175,8 @@ class IniParser {
protected function appendingValues( &$value... | BugFix the result of an appending must always be an array | Elephant418_Iniliq | train |
0eae54c902199e63901d3724fa8f2fa5271ad500 | diff --git a/svc/svc_common_test.go b/svc/svc_common_test.go
index <HASH>..<HASH> 100644
--- a/svc/svc_common_test.go
+++ b/svc/svc_common_test.go
@@ -41,35 +41,3 @@ func makeProgram(startCalled, stopCalled, initCalled *int) *mockProgram {
},
}
}
-
-func equal(t *testing.T, expected, actual interface{}) {
- if !r... | test: move helper functions to svc_windows_test.go | judwhite_go-svc | train |
32033fe381031525259c56f6227eeffab443048d | diff --git a/lib/librarian.rb b/lib/librarian.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian.rb
+++ b/lib/librarian.rb
@@ -93,7 +93,7 @@ module Librarian
unless lockfile_path.exist?
resolve!
end
- manifests = lockfile.load(lockfile_path.read)
+ manifests = lockfile.load(lockfile_path.read).ma... | The lockfile should be a persistent representation of a resolution. | applicationsonline_librarian | train |
acfd8b74a95f223822e317df0f69fef7044af178 | diff --git a/SingularityService/src/main/java/com/hubspot/singularity/resources/TaskResource.java b/SingularityService/src/main/java/com/hubspot/singularity/resources/TaskResource.java
index <HASH>..<HASH> 100644
--- a/SingularityService/src/main/java/com/hubspot/singularity/resources/TaskResource.java
+++ b/Singularit... | allow a user requested kill to override all but the user requested destroy | HubSpot_Singularity | train |
27237e32ddb34c919d1d6e969625e5b7810578a8 | diff --git a/lib/motion-phrase.rb b/lib/motion-phrase.rb
index <HASH>..<HASH> 100644
--- a/lib/motion-phrase.rb
+++ b/lib/motion-phrase.rb
@@ -28,13 +28,13 @@ namespace :phrase do
desc "Push your Localizable.strings files to PhraseApp"
task :push do
- result = `phrase push ./resources`
+ result = `phrase ... | added correct push action in rake task | phrase_motion-phrase | train |
36fbac5296062f3b178bf137cdb93ac7090316d7 | diff --git a/lib/rest_adapter.rb b/lib/rest_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/rest_adapter.rb
+++ b/lib/rest_adapter.rb
@@ -1,6 +1,5 @@
require 'pathname'
require 'rexml/document'
-require 'rubygems'
require 'cgi' # for CGI.escape
require 'extlib'
diff --git a/spec/spec_helper.rb b/spec/spec_helpe... | [dm-more] Remove rubygems usage from libraries
* No longer require dm-core inside the plugins. Expected usage is to
require dm-core prior to requiring the plugin.
* Updated pathname creation to using Pathname#/ where possible | datamapper_dm-rest-adapter | train |
2b490df7ef195d6b3964ec48064749353a9d8a82 | diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py
index <HASH>..<HASH> 100644
--- a/pandas/core/algorithms.py
+++ b/pandas/core/algorithms.py
@@ -1661,6 +1661,40 @@ def take(arr, indices, axis: int = 0, allow_fill: bool = False, fill_value=None)
return result
+def _take_preprocess_indexer_and_... | REF: separate out indexer/mask preprocessing code in algorithms.take_nd (#<I>) | pandas-dev_pandas | train |
24d81901b360216c9635c2ede0bc4e5815857c00 | diff --git a/ivoire/standalone.py b/ivoire/standalone.py
index <HASH>..<HASH> 100644
--- a/ivoire/standalone.py
+++ b/ivoire/standalone.py
@@ -196,25 +196,18 @@ class ExampleGroup(object):
describe = ExampleGroup
-class Context(object):
- def __init__(self, name):
- self.name = name
-
-
@contextmanager
... | Move towards having something else create Contexts.
We'll anyways need to store context depth somewhere, so let's bite the bullet. | Julian_Ivoire | train |
4b9385c41578088a575a76572098012ae4d84656 | diff --git a/spec/live/ticket_spec.rb b/spec/live/ticket_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/live/ticket_spec.rb
+++ b/spec/live/ticket_spec.rb
@@ -51,7 +51,7 @@ describe ZendeskAPI::Ticket do
it "is able to do next" do
first = results.to_a.first
- recent_url = "api/v2/exports/tickets\\?st... | re-fix incremental export ticket test | zendesk_zendesk_api_client_rb | train |
2411f63953ef0c8fa14a7f00e14f203125e2c8bf | diff --git a/marshmallow/exceptions.py b/marshmallow/exceptions.py
index <HASH>..<HASH> 100644
--- a/marshmallow/exceptions.py
+++ b/marshmallow/exceptions.py
@@ -5,7 +5,6 @@ from marshmallow.compat import basestring
class MarshmallowError(Exception):
"""Base class for all marshmallow-related errors."""
- pa... | Minor rework in exceptions.py | marshmallow-code_marshmallow | train |
9f7bd4ef259ee84bd5c985de07a4bc17aff9982d | diff --git a/oled/const.py b/oled/const.py
index <HASH>..<HASH> 100644
--- a/oled/const.py
+++ b/oled/const.py
@@ -32,6 +32,7 @@ class common(object):
INVERTDISPLAY = 0xA7
SETREMAP = 0xA0
SETMULTIPLEX = 0xA8
+ SETCONTRAST = 0x81
class ssd1306(common):
@@ -43,7 +44,6 @@ class ssd1306(common):
... | Move contrast constant up into common
Not having it there causes emulators to crash when device.contrast(..) called. | rm-hull_luma.oled | train |
530a08d007e35a3230a15bedd4dab7d72670fc63 | diff --git a/java/server/src/org/openqa/grid/internal/utils/configuration/GridConfiguration.java b/java/server/src/org/openqa/grid/internal/utils/configuration/GridConfiguration.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/grid/internal/utils/configuration/GridConfiguration.java
+++ b/java/server/s... | [grid] cleanUpCycle option can be specified for a node too | SeleniumHQ_selenium | train |
b410ca73a8a285f8799dc0b336c673b79c62ec42 | diff --git a/system/ThirdParty/Kint/Utils.php b/system/ThirdParty/Kint/Utils.php
index <HASH>..<HASH> 100644
--- a/system/ThirdParty/Kint/Utils.php
+++ b/system/ThirdParty/Kint/Utils.php
@@ -109,6 +109,10 @@ final class Utils
if (\file_exists($installed) && \is_readable($installed)) {
$pac... | chore: update Kint to <I> in ThirdParty | codeigniter4_CodeIgniter4 | train |
2c919c6927f605d54d82aff27fa43865355ac560 | diff --git a/lib/controllers/components/admin/AdminComponent.php b/lib/controllers/components/admin/AdminComponent.php
index <HASH>..<HASH> 100644
--- a/lib/controllers/components/admin/AdminComponent.php
+++ b/lib/controllers/components/admin/AdminComponent.php
@@ -502,7 +502,14 @@ class AdminComponent extends Compone... | Worked on the redirections in console mode and non console modes | ntentan_ntentan | train |
c0907f1902198018f891b5575a5b0e1a23000493 | diff --git a/lib/node_modules/@stdlib/math/base/dist/beta/pdf/test/test.factory.js b/lib/node_modules/@stdlib/math/base/dist/beta/pdf/test/test.factory.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/math/base/dist/beta/pdf/test/test.factory.js
+++ b/lib/node_modules/@stdlib/math/base/dist/beta/pdf/test/t... | Fix tests
Reverting back to the previous almostEqual check as using the tolerance tol * abs( b ) always fails when a is equal to 0. | stdlib-js_stdlib | train |
b3ca47b4651bb9c35997d5e8ea0800ee4472454d | diff --git a/example/api-walkthrough.card.js b/example/api-walkthrough.card.js
index <HASH>..<HASH> 100644
--- a/example/api-walkthrough.card.js
+++ b/example/api-walkthrough.card.js
@@ -3,7 +3,7 @@ import React from 'react';
import { sourceLink } from './misc';
-var definecard = devboard.ns('API Walkthrough');
+v... | Number namespaces, they should be rendered sorted | glenjamin_devboard | train |
0d9cc6ab25a5ffaad0ad7950790563f3296948c3 | diff --git a/saspy/sasioiom.py b/saspy/sasioiom.py
index <HASH>..<HASH> 100644
--- a/saspy/sasioiom.py
+++ b/saspy/sasioiom.py
@@ -1293,7 +1293,7 @@ Will use HTML5 for this SASsession.""")
if datar.count(logcodeo) >= 1:
break
try:
- data ... | don't transcode utf8 stream | sassoftware_saspy | train |
527200355304559c1aa11ad6ce2d0d94e7c09b84 | diff --git a/lib/TransactionBoundaries.js b/lib/TransactionBoundaries.js
index <HASH>..<HASH> 100644
--- a/lib/TransactionBoundaries.js
+++ b/lib/TransactionBoundaries.js
@@ -186,6 +186,11 @@ TransactionBoundaries.prototype._addOverlay = function(shape, waypoint) {
position.bottom = -margin;
position.left = w... | fix(lib): include overlays.add | bpmn-io_camunda-transaction-boundaries | train |
c7e140d1a35f2e18c56621b21222beec0db1fd7e | diff --git a/salt/modules/win_dns_client.py b/salt/modules/win_dns_client.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_dns_client.py
+++ b/salt/modules/win_dns_client.py
@@ -5,10 +5,13 @@ Module for configuring DNS Client on Windows systems
# Import python libs
import re
+import logging
# Import salt li... | Use wmi instead of netsh to determine dns servers | saltstack_salt | train |
8901d62235e0b56d360606e764bdf97d2191520d | diff --git a/src/CRUDlex/CRUDControllerProvider.php b/src/CRUDlex/CRUDControllerProvider.php
index <HASH>..<HASH> 100644
--- a/src/CRUDlex/CRUDControllerProvider.php
+++ b/src/CRUDlex/CRUDControllerProvider.php
@@ -235,8 +235,7 @@ class CRUDControllerProvider implements ControllerProviderInterface {
if ($defin... | using the symfony streamed response instead of echo and header when rendering a file | philiplb_CRUDlex | train |
fe72b12777c52bb4238efa0cc60fee46a2e1431a | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -81,7 +81,7 @@ test('interact.set', function () {
expectedResize = true,
expectedGesture = true,
expectedAutoScroll = false,
- expectedClassName = 'interact-node interact-dragg... | test gesture scale and rotation on gesture move | taye_interact.js | train |
1e5e7dccaee8aa22670d78fe762f0c838da23057 | diff --git a/client/oide/editor/editor.js b/client/oide/editor/editor.js
index <HASH>..<HASH> 100644
--- a/client/oide/editor/editor.js
+++ b/client/oide/editor/editor.js
@@ -213,6 +213,7 @@ angular.module('oide.editor', ['ngRoute','ui.bootstrap','ui.ace','treeControl'])
parentNode = getNodeFromPath(dirpath,treeDa... | Filetree selections are described after file removal. | SandstoneHPC_sandstone-ide | train |
5f9b1be63f458984ed46ff1f44d958684e44a81b | diff --git a/pytablewriter/style/_style.py b/pytablewriter/style/_style.py
index <HASH>..<HASH> 100644
--- a/pytablewriter/style/_style.py
+++ b/pytablewriter/style/_style.py
@@ -141,17 +141,6 @@ class Style(object):
raise TypeError("align must be a {} instancce".format(expected_type.__name__))
@sta... | Remove a method that no longer used | thombashi_pytablewriter | train |
a0e5f0dc912a9e0483a19b099569384e2e6b40e8 | diff --git a/src/main/php/pdo/PdoQueryResult.php b/src/main/php/pdo/PdoQueryResult.php
index <HASH>..<HASH> 100644
--- a/src/main/php/pdo/PdoQueryResult.php
+++ b/src/main/php/pdo/PdoQueryResult.php
@@ -21,14 +21,14 @@ class PdoQueryResult implements QueryResult
/**
* result set
*
- * @type \PDOSt... | be more specific about what's inside | stubbles_stubbles-dbal | train |
5dc5c694712a63ed5cd0063c67a99b5c0838f2f9 | diff --git a/cmd2/utils.py b/cmd2/utils.py
index <HASH>..<HASH> 100644
--- a/cmd2/utils.py
+++ b/cmd2/utils.py
@@ -357,32 +357,30 @@ def expand_user_in_tokens(tokens: List[str]) -> None:
tokens[index] = expand_user(tokens[index])
-def is_executable(path) -> bool:
- """Return True if specified path is ex... | Updated utils.find_editor() to include more Windows editors | python-cmd2_cmd2 | train |
7a04e358910a5fd8d4d342c8321dee8fa5dd9214 | diff --git a/src/infi/projector/helper/assertions/__init__.py b/src/infi/projector/helper/assertions/__init__.py
index <HASH>..<HASH> 100644
--- a/src/infi/projector/helper/assertions/__init__.py
+++ b/src/infi/projector/helper/assertions/__init__.py
@@ -35,7 +35,7 @@ def assert_no_uncommitted_changes():
repositor... | TRIVIAL change warning text when there are changes pending commit | Infinidat_infi.projector | train |
af660dd5ef048a4b33b1b6718e88fb64566d678b | diff --git a/src/Statement.js b/src/Statement.js
index <HASH>..<HASH> 100644
--- a/src/Statement.js
+++ b/src/Statement.js
@@ -250,7 +250,7 @@ export default class Statement {
}
mark () {
- if ( this.included ) return; // prevent infinite loops
+ if ( this.isIncluded ) return; // prevent infinite loops
this.... | I think it should be `this.isIncluded`. | rollup_rollup | train |
c7e24e6dbf7ead6c9be316e6ca99e680991788c2 | diff --git a/generate_id_constants_from_stableid.py b/generate_id_constants_from_stableid.py
index <HASH>..<HASH> 100644
--- a/generate_id_constants_from_stableid.py
+++ b/generate_id_constants_from_stableid.py
@@ -92,8 +92,15 @@ def parse_simple(d, data):
if not key:
continue
-
- units[m... | Fix missing upgrade by adding an index to enum name | Dentosal_python-sc2 | train |
d542fa996f4dcd62cc81289b4a3e8f7066c84b64 | diff --git a/examples/seed-stream/main.go b/examples/seed-stream/main.go
index <HASH>..<HASH> 100644
--- a/examples/seed-stream/main.go
+++ b/examples/seed-stream/main.go
@@ -4,44 +4,56 @@ import (
"bufio"
"fmt"
"os"
+ "sync"
- "github.com/harlow/kinesis-connectors"
- "github.com/joho/godotenv"
- "github.com/se... | Use AWS SDK and concurrency | harlow_kinesis-consumer | train |
d32b3ac1780a96f66ed3601ddbe7dd8b1bc587c9 | diff --git a/swapi/settings.py b/swapi/settings.py
index <HASH>..<HASH> 100644
--- a/swapi/settings.py
+++ b/swapi/settings.py
@@ -4,8 +4,12 @@
Settings and stuff.
'''
-
-BASE_URL = 'http://swapi.co/api'
+import os
+DEBUG = bool(os.environ.get(('DEBUG'), False))
+if DEBUG:
+ BASE_URL = 'http://localhost:8000/api... | fix debug settings once and for all | phalt_swapi-python | train |
7279ba8f55dcef4b33fda2112d61bcf4cb4eea6c | diff --git a/salt/renderers/yaml.py b/salt/renderers/yaml.py
index <HASH>..<HASH> 100644
--- a/salt/renderers/yaml.py
+++ b/salt/renderers/yaml.py
@@ -20,4 +20,4 @@ def render(yaml_data, env='', sls='', **kws):
log.warn(
"{warn} found in salt://{sls} environment={env}".format(
... | Fix the case of getting an empty salt file during a second read attempt. | saltstack_salt | train |
0ad9aae981cf168f27c4b4bc89d63a5acd739326 | diff --git a/lib/Thelia/Core/Template/ParserContext.php b/lib/Thelia/Core/Template/ParserContext.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/Core/Template/ParserContext.php
+++ b/lib/Thelia/Core/Template/ParserContext.php
@@ -113,11 +113,12 @@ class ParserContext implements \IteratorAggregate
// Set for... | Add validation groups in form from parser context | thelia_core | train |
7c3ecf8d4da6d08da7478938de352df3e52a58fd | diff --git a/packages/colony-js-client/src/getNetworkClient.js b/packages/colony-js-client/src/getNetworkClient.js
index <HASH>..<HASH> 100644
--- a/packages/colony-js-client/src/getNetworkClient.js
+++ b/packages/colony-js-client/src/getNetworkClient.js
@@ -37,7 +37,7 @@ const getInfuraProvider = (network: string, inf... | Skip network check for Goerli
Also set Goerli as the default for NetworkLoader. | JoinColony_colonyJS | train |
524ece3a100e7e9e3466db107085943287113e7a | diff --git a/squad/core/notification.py b/squad/core/notification.py
index <HASH>..<HASH> 100644
--- a/squad/core/notification.py
+++ b/squad/core/notification.py
@@ -2,6 +2,7 @@ from collections import OrderedDict
from squad.mail import Message
from django.conf import settings
import django.template
+import logging... | core: notification: avoid sending emails when body >1MB | Linaro_squad | train |
fd5666336889c58467e0e453e7b8cb3557b113d5 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,36 +1,27 @@
'use strict';
-const UNNAMED = /import\s*['"]([^'"]+)['"];?/gi;
-const NAMED = /import\s*(\*\s*as)?\s*(\w*?)\s*,?\s*(?:\{([\s\S]*?)\})?\s*from\s*['"]([^'"]+)['"];?/gi;
+var UNNAMED = /import\s... | golf: consolidate & rewrite in ES5 | lukeed_rewrite-imports | train |
02ad3c017d44433b44420c4a5a24218350f440d9 | diff --git a/openquake/commands/webui.py b/openquake/commands/webui.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/webui.py
+++ b/openquake/commands/webui.py
@@ -15,9 +15,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with OpenQuake. If not, see <http://www.gnu.... | Run the webui commands only if the user is the DB owner
and start the dbserver only when really needed | gem_oq-engine | train |
2e904df238fcde9b8bc3f5e63d7c4d5232fc6c4f | diff --git a/src/server/pfs/server/driver.go b/src/server/pfs/server/driver.go
index <HASH>..<HASH> 100644
--- a/src/server/pfs/server/driver.go
+++ b/src/server/pfs/server/driver.go
@@ -653,7 +653,7 @@ func (d *driver) finishCommit(ctx context.Context, commit *pfs.Commit, tree *pfs
return err
}
if commitInfo.Fi... | Fix a couple of bugs that caused worker hangs. | pachyderm_pachyderm | train |
0e7018f4422cbfd4256ff9db139d86ecfa716e09 | diff --git a/packages/react-jsx-highcharts/src/components/Axis/Axis.js b/packages/react-jsx-highcharts/src/components/Axis/Axis.js
index <HASH>..<HASH> 100644
--- a/packages/react-jsx-highcharts/src/components/Axis/Axis.js
+++ b/packages/react-jsx-highcharts/src/components/Axis/Axis.js
@@ -1,4 +1,4 @@
-import React, { ... | Dont attempt to clone invalid elements | whawker_react-jsx-highcharts | train |
b25166048f308081304fcdeb61197a6a5852f46c | diff --git a/lib/zfs.js b/lib/zfs.js
index <HASH>..<HASH> 100644
--- a/lib/zfs.js
+++ b/lib/zfs.js
@@ -147,11 +147,15 @@ function get(opts, cb) {
var params = [ 'get', '-pH' ];
if (opts.source) {
- params.push('-s');
- params.push(opts.source);
+ params.push('-s', opts.source);
}
+... | Add support for retrieving properties of a specific dataset | calmh_node-zfs | train |
64ac1bb7a50810e9e4abe288169b3667ed4818fa | diff --git a/lib/electronBuilder.js b/lib/electronBuilder.js
index <HASH>..<HASH> 100644
--- a/lib/electronBuilder.js
+++ b/lib/electronBuilder.js
@@ -5,26 +5,29 @@ import shell from 'shelljs';
import path from 'path';
import fs from 'fs';
import rimraf from 'rimraf';
-
+import spawn from 'cross-spawn';
import Log ... | Kill orphaned MSBuild processes | wojtkowiak_meteor-desktop | train |
95cf4596842422c49a6e8ea08107c334fafd24a9 | diff --git a/lib/jss/api_connection.rb b/lib/jss/api_connection.rb
index <HASH>..<HASH> 100644
--- a/lib/jss/api_connection.rb
+++ b/lib/jss/api_connection.rb
@@ -911,8 +911,12 @@ module JSS
@my_distribution_point = nil if refresh
return @my_distribution_point if @my_distribution_point
- my_net_seg... | Bugfix in api_connection.rb
Changed the logic in the my_distribution_point method to correctly return a DistributionPoint object instead of a string. | PixarAnimationStudios_ruby-jss | train |
c95522329885f7e27db0cc77e0d99ddc50583c0e | diff --git a/redis_test.go b/redis_test.go
index <HASH>..<HASH> 100644
--- a/redis_test.go
+++ b/redis_test.go
@@ -306,7 +306,7 @@ func (t *RedisTest) TestGetSpecChars(c *C) {
}
func (t *RedisTest) TestGetBigVal(c *C) {
- val := string(bytes.Repeat([]byte{'*'}, 2<<16))
+ val := string(bytes.Repeat([]byte{'*'}, 1<<1... | Add another test for getting many keys. | go-redis_redis | train |
7607065b90d448e7bf75520fe1e2535e8ae5aa8b | diff --git a/lib/jza.js b/lib/jza.js
index <HASH>..<HASH> 100644
--- a/lib/jza.js
+++ b/lib/jza.js
@@ -521,6 +521,40 @@ var addNeighborChords = function (jza) {
});
};
+var addPassingChords = function (jza) {
+ // Only add diatonic passing sequences
+ var passingSequences = [
+ ['I', 'ii', 'iii', 'Tonic'],
+... | Added diatonic passing chords | jsrmath_sharp11 | train |
9154352c94e14281b20d51ecc90502fb6c9f9c88 | diff --git a/test/geocoders/mapzen.py b/test/geocoders/mapzen.py
index <HASH>..<HASH> 100644
--- a/test/geocoders/mapzen.py
+++ b/test/geocoders/mapzen.py
@@ -32,7 +32,7 @@ class MapzenTestCase(GeocoderTestBase): # pylint: disable=R0904,C0111
Mapzen.geocode unicode
"""
self.geocode_run(
- ... | Update mapzen test to support unicode redux
no longer need 'u' which was causing syntax error in python <I> | geopy_geopy | train |
c6f3ddeffe140584e4072c81ba972c6ded637e23 | diff --git a/master/buildbot/www/service.py b/master/buildbot/www/service.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/www/service.py
+++ b/master/buildbot/www/service.py
@@ -145,6 +145,7 @@ class BuildbotSite(server.Site):
self.session_secret = None
def _openLogFile(self, path):
+ self._... | use _nativeize=True to fix logfile encoding issue | buildbot_buildbot | train |
f757e414609bc436c529e94916211fa51ca6d3de | diff --git a/src/main/java/com/jayway/maven/plugins/android/standalonemojos/ZipalignMojo.java b/src/main/java/com/jayway/maven/plugins/android/standalonemojos/ZipalignMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/jayway/maven/plugins/android/standalonemojos/ZipalignMojo.java
+++ b/src/main/java/com/jayw... | Finally got tests cross-platformed
(cherry picked from commit <I>f<I>c4) | simpligility_android-maven-plugin | train |
2cfd12ff75384219c24ece83b6d0368a5f534f7d | diff --git a/lib/diagnostics/sample/measure.rb b/lib/diagnostics/sample/measure.rb
index <HASH>..<HASH> 100644
--- a/lib/diagnostics/sample/measure.rb
+++ b/lib/diagnostics/sample/measure.rb
@@ -3,9 +3,9 @@ module Diagnostics
class Measure
Dependency.activate(self)
Initializer.activate(self)
+ C... | Use of extend Configure::Macro is replaced with Configure.activate | eventide-project_diagnostics-sample | train |
9b20d5e1eb5d1305b5b06889e4a01da66da6572f | diff --git a/guacamole-common-js/src/main/resources/keyboard.js b/guacamole-common-js/src/main/resources/keyboard.js
index <HASH>..<HASH> 100644
--- a/guacamole-common-js/src/main/resources/keyboard.js
+++ b/guacamole-common-js/src/main/resources/keyboard.js
@@ -330,33 +330,32 @@ Guacamole.Keyboard = function(element) ... | Streamline identifier parse logic, ensure case is consistent across browsers, use keyIdentifier if it exists and a corresponding keypress is unlikely. | glyptodon_guacamole-client | train |
3b93c7f39979b2c41fa409bf2d3851c9195adfd9 | diff --git a/lib/watch/assets.js b/lib/watch/assets.js
index <HASH>..<HASH> 100644
--- a/lib/watch/assets.js
+++ b/lib/watch/assets.js
@@ -29,13 +29,11 @@ function watchResource(src) {
if (!localPath || !isLocal || !ext || ext === '.js' || parsedSheet)
return
- watch(localPath, absolutePath => {
- const f... | fix Chokidar does not give absolutepath | porsager_wright | train |
7fce529b2abbf19327b2be38f87daf338203d760 | diff --git a/actionpack/test/controller/base_test.rb b/actionpack/test/controller/base_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/controller/base_test.rb
+++ b/actionpack/test/controller/base_test.rb
@@ -82,16 +82,14 @@ class ControllerInstanceTests < Test::Unit::TestCase
assert_equal Set.new('pub... | Mocha <I> mixes in more public instance methods, confusing controller identification of action methods. Closes #<I>.
git-svn-id: <URL> | rails_rails | train |
b5ebdc22065be89b524b2d01b7f3967c138faa70 | diff --git a/cleverhans/attacks.py b/cleverhans/attacks.py
index <HASH>..<HASH> 100644
--- a/cleverhans/attacks.py
+++ b/cleverhans/attacks.py
@@ -44,6 +44,7 @@ class Attack(object):
if sess is None:
sess = tf.get_default_session()
+ assert isinstance(sess, tf.Session)
import cleverhans.attacks_... | add type check on sess in attacks inteface | tensorflow_cleverhans | train |
e06842107089160e0f2047486eaa4460df5b064e | diff --git a/lib/dradis/plugins/projects/gem_version.rb b/lib/dradis/plugins/projects/gem_version.rb
index <HASH>..<HASH> 100644
--- a/lib/dradis/plugins/projects/gem_version.rb
+++ b/lib/dradis/plugins/projects/gem_version.rb
@@ -10,7 +10,7 @@ module Dradis
MAJOR = 3
MINOR = 14
TINY = 0
- ... | Make blank nil
`''` should have been `nil` in the `PRE` space. | dradis_dradis-projects | train |
a588ac00492c765911727ab3ad9f6d2b80077200 | diff --git a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDatabase.php
+++ b/src/Illuminate/Foundation/Testing/Concerns/InteractsWithDa... | Added doc blocks and make use of the null safe operator instead of using a temp var | laravel_framework | train |
7551930d0fccc57393eab55f1d26e4e3eb3456b1 | diff --git a/src/WebSockHop.js b/src/WebSockHop.js
index <HASH>..<HASH> 100644
--- a/src/WebSockHop.js
+++ b/src/WebSockHop.js
@@ -5,28 +5,42 @@ import Events from "./Events";
import ErrorEnumValue from "./ErrorEnumValue";
import { StringFormatter, JsonFormatter } from "./formatters";
-function defaultCreateSocket(... | Support for "protocols" in opts, simplified API by moving protocols into opts | fanout_websockhop | train |
dc04d36a0a95e8e60fc4e973c39e8b96bbeceda2 | diff --git a/src/to-vdom.js b/src/to-vdom.js
index <HASH>..<HASH> 100644
--- a/src/to-vdom.js
+++ b/src/to-vdom.js
@@ -59,7 +59,9 @@ export default function (dom) {
const walker = document.createTreeWalker(
dom,
- SHOW_DOCUMENT_FRAGMENT | SHOW_ELEMENT | SHOW_TEXT
+ SHOW_DOCUMENT_FRAGMENT | SHOW_ELEMENT ... | refactor: Try and fix IE. | skatejs_dom-diff | train |
319008b98e88e685f5edc1a4cb46a06e6b0e9987 | diff --git a/src/sos/executor_utils.py b/src/sos/executor_utils.py
index <HASH>..<HASH> 100644
--- a/src/sos/executor_utils.py
+++ b/src/sos/executor_utils.py
@@ -386,8 +386,8 @@ def reevaluate_output():
return
# handle dynamic args
args = [x.resolve() if isinstance(x, dynamic) else x for x in args]
... | Report named output for dynamic output #<I> | vatlab_SoS | train |
2727bb74a6cb0a7c8340358e67dbeb2dd1935f2f | diff --git a/application/hooks/patterns/pattern.js b/application/hooks/patterns/pattern.js
index <HASH>..<HASH> 100644
--- a/application/hooks/patterns/pattern.js
+++ b/application/hooks/patterns/pattern.js
@@ -97,7 +97,6 @@ export class Pattern {
for (let transform of transforms) {
let fn = this.transforms[... | Fix some serious bugs concerning demo rendering, make index.html available as <Pattern /> along with all dependencies | patternplate-archive_patternplate-server | train |
58d861761c29df70f795321fe03a72ed03173560 | diff --git a/molo/commenting/admin.py b/molo/commenting/admin.py
index <HASH>..<HASH> 100644
--- a/molo/commenting/admin.py
+++ b/molo/commenting/admin.py
@@ -54,6 +54,10 @@ class MoloCommentAdmin(CommentsAdmin):
content.allow_tags = True
content.short_description = 'Content'
+ def flag_comments(self, re... | changed short description for flag_comments action | praekeltfoundation_molo.commenting | train |
c10dfa8358d4103d17b7c5d3c261b7cec0d52955 | diff --git a/src/main/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java b/src/main/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java
index <HASH>..<HASH> 100644
--- a/src/main/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java
+++ b/src/main/org/codehaus/groovy/transform/stc/... | GROOVY-<I>: Fix potential NPE and reorder tests for faster execution | groovy_groovy-core | train |
e15e2ade41cb8da8eed4a3a4976677e5d19f5484 | diff --git a/helpers.go b/helpers.go
index <HASH>..<HASH> 100644
--- a/helpers.go
+++ b/helpers.go
@@ -224,14 +224,17 @@ func godef(ds design.DataStructure, tabs int, jsonTags, inner, res bool) string
var tags string
if jsonTags {
var omit string
- var gorm string
+ var gorm, sql string
if !def... | support gorma#sqltag and insert value into sql: in struct tags | goadesign_gorma | train |
5b709b2b0a2d3650c909d0a25cfbfadf7b824d41 | diff --git a/pkg/minikube/exit/exit.go b/pkg/minikube/exit/exit.go
index <HASH>..<HASH> 100644
--- a/pkg/minikube/exit/exit.go
+++ b/pkg/minikube/exit/exit.go
@@ -20,8 +20,10 @@ package exit
import (
"fmt"
"os"
+ "strings"
"github.com/golang/glog"
+ "github.com/pkg/errors"
"k8s.io/minikube/pkg/minikube/conso... | Failure to read documentation isn't really a crash | kubernetes_minikube | train |
b27adba5b6d6e4be4595f36a7c38ee9794d8dd7b | diff --git a/lib/voom/presenters/web_client/markdown_render.rb b/lib/voom/presenters/web_client/markdown_render.rb
index <HASH>..<HASH> 100644
--- a/lib/voom/presenters/web_client/markdown_render.rb
+++ b/lib/voom/presenters/web_client/markdown_render.rb
@@ -1,16 +1,27 @@
class CustomRender < Redcarpet::Render::Safe
... | Added postprocessor to strip trailing <br/> from markdown.
It was messing up the list line layout. | rx_presenters | train |
3ef17a73531bbaff3834ecc376b707b156a1db1f | diff --git a/agrona/src/main/java/org/agrona/BufferUtil.java b/agrona/src/main/java/org/agrona/BufferUtil.java
index <HASH>..<HASH> 100644
--- a/agrona/src/main/java/org/agrona/BufferUtil.java
+++ b/agrona/src/main/java/org/agrona/BufferUtil.java
@@ -44,6 +44,7 @@ public final class BufferUtil
/**
* Byte arr... | Suppress deprecation warnings for Java <I> for Unsafe usage. | real-logic_agrona | train |
d2d1e26bb7556e9cbbc8da0b6098392cb4c71bf4 | diff --git a/log.go b/log.go
index <HASH>..<HASH> 100644
--- a/log.go
+++ b/log.go
@@ -379,6 +379,15 @@ func (l *Log) setCommitIndex(index uint64) error {
entry.event.returnValue = returnValue
entry.event.c <- err
}
+
+ _, isJoinCommand := command.(JoinCommand)
+
+ // we can only commit up to the most rece... | fix(join safty) only allow commit to the most recent join command if there is one | influxdata_influxdb | train |
b224d0c795687c65f7d5ff9144079b78ccbc2d19 | diff --git a/src/Silex/Application.php b/src/Silex/Application.php
index <HASH>..<HASH> 100644
--- a/src/Silex/Application.php
+++ b/src/Silex/Application.php
@@ -17,6 +17,14 @@ class Application extends \Silex\Application {
function __construct($launch, array $values = array()) {
global $CFG;
pa... | Add PSR4 loader for AppBundle | tsugiproject_tsugi-php | train |
4501d1f30f3381a235e447567018e6d5646ec069 | diff --git a/Configuration/TCA/tt_address.php b/Configuration/TCA/tt_address.php
index <HASH>..<HASH> 100755
--- a/Configuration/TCA/tt_address.php
+++ b/Configuration/TCA/tt_address.php
@@ -193,7 +193,7 @@ return [
'slug' => [
'exclude' => true,
'label' => 'LLL:EXT:core/Resources/Pri... | [BUGFIX] replace displayCondition for slug field (#<I>) | FriendsOfTYPO3_tt_address | train |
97d8530436926cb244d4209ae8d07f7465ac227e | diff --git a/src/main/java/co/paralleluniverse/galaxy/core/NodeOrderedThreadPoolExecutor.java b/src/main/java/co/paralleluniverse/galaxy/core/NodeOrderedThreadPoolExecutor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/co/paralleluniverse/galaxy/core/NodeOrderedThreadPoolExecutor.java
+++ b/src/main/java/co/paral... | set NodeOrderedThreadPoolExecutor as deamonsPool | puniverse_galaxy | train |
ed7df54217d889a5dfa25adb8a5b7850d9691d3b | diff --git a/grammpy/HashContainer.py b/grammpy/HashContainer.py
index <HASH>..<HASH> 100644
--- a/grammpy/HashContainer.py
+++ b/grammpy/HashContainer.py
@@ -17,13 +17,15 @@ class HashContainer:
self.add(items)
# Helpers
- def is_iterable(param):
+ @staticmethod
+ def is_iterable(param: Iterab... | Helper functions of HashContainer marked as static method | PatrikValkovic_grammpy | train |
dc603a4015dd54ee8c04405aca5f440501959e78 | diff --git a/test/spec/geo/cartodb-layer-group.spec.js b/test/spec/geo/cartodb-layer-group.spec.js
index <HASH>..<HASH> 100644
--- a/test/spec/geo/cartodb-layer-group.spec.js
+++ b/test/spec/geo/cartodb-layer-group.spec.js
@@ -8,7 +8,7 @@ var TorqueLayer = require('../../../src/geo/map/torque-layer');
var GMapsBaseLay... | Remove xdescribe from cartodb-layer-group tests | CartoDB_carto.js | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.