hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
a9c22fd79b6022e035ba8c6bd843eec0415a3121 | diff --git a/pythonforandroid/toolchain.py b/pythonforandroid/toolchain.py
index <HASH>..<HASH> 100755
--- a/pythonforandroid/toolchain.py
+++ b/pythonforandroid/toolchain.py
@@ -11,7 +11,7 @@ from __future__ import print_function
import sys
from sys import stdout, stderr, platform
from os.path import (join, dirname... | Moved toolchain path info to Arch classes | kivy_python-for-android | train |
2457d0e52bf5a4c72530bbbea24b7084667b0327 | diff --git a/lib/CLIntegracon/file_tree_spec.rb b/lib/CLIntegracon/file_tree_spec.rb
index <HASH>..<HASH> 100644
--- a/lib/CLIntegracon/file_tree_spec.rb
+++ b/lib/CLIntegracon/file_tree_spec.rb
@@ -92,8 +92,12 @@ module CLIntegracon
produced_files = glob_all
unexpected_files = produced_files - expected_f... | Select only files for check_unexpected_files | mrackwitz_CLIntegracon | train |
5c04dc5d673aa11249310bcb6e382db4ee2bff7f | diff --git a/core/PaginatedList.php b/core/PaginatedList.php
index <HASH>..<HASH> 100644
--- a/core/PaginatedList.php
+++ b/core/PaginatedList.php
@@ -435,6 +435,13 @@ class PaginatedList extends SS_ListDecorator {
}
/**
+ * Returns the total number of items in the list
+ */
+ public function TotalItems() {
+ ... | ENHANCEMENT - Added new method to display the number of total items in a paginated list within templates | silverstripe_silverstripe-framework | train |
379a3714f71cb14235d00f76eed03c3f1bfc758c | diff --git a/uploadservice/src/main/java/net/gotev/uploadservice/Logger.java b/uploadservice/src/main/java/net/gotev/uploadservice/Logger.java
index <HASH>..<HASH> 100644
--- a/uploadservice/src/main/java/net/gotev/uploadservice/Logger.java
+++ b/uploadservice/src/main/java/net/gotev/uploadservice/Logger.java
@@ -1,5 +... | #<I> use weak reference to store logger delegate | gotev_android-upload-service | train |
61bb1b4f2358617d885da55f375fc497aa232ff8 | diff --git a/resources/lang/zh-TW/cachet.php b/resources/lang/zh-TW/cachet.php
index <HASH>..<HASH> 100644
--- a/resources/lang/zh-TW/cachet.php
+++ b/resources/lang/zh-TW/cachet.php
@@ -12,27 +12,28 @@
return [
// Components
'components' => [
- 'last_updated' => '最後更新',
+ 'last_updated' => '最後... | New translations cachet.php (Chinese Traditional) | CachetHQ_Cachet | train |
281f99152bf17eaee4b55c2415ababb90a54403b | diff --git a/scripts/tests.js b/scripts/tests.js
index <HASH>..<HASH> 100644
--- a/scripts/tests.js
+++ b/scripts/tests.js
@@ -66,7 +66,8 @@ if (!process.env.CI) {
// omit tests for watch cases if it runned on AppVeyor due to this issues:
// https://github.com/kulshekhar/ts-jest/issues/53
// http://help.appveyor.com... | Enable async tests for travis | kulshekhar_ts-jest | train |
282873dc2557d7bb3d8ebf4316921e0b44b772cb | diff --git a/scss/cssdefs.py b/scss/cssdefs.py
index <HASH>..<HASH> 100644
--- a/scss/cssdefs.py
+++ b/scss/cssdefs.py
@@ -207,7 +207,7 @@ FUNCTIONS_2D = 'matrix translate translateX translateY scale '\
'scale scaleX scaleY rotate skew skewX skewY'
# http://www.w3.org/TR/css3-3d-transforms/
FUNCTIONS_... | Add skew function from CSS3 3D Transforms list. (Thanks to QuLogic) | Kronuz_pyScss | train |
b24eb346a94c3ba12c1da1e564dbac1b498a77ce | diff --git a/ewma_test.go b/ewma_test.go
index <HASH>..<HASH> 100644
--- a/ewma_test.go
+++ b/ewma_test.go
@@ -3,7 +3,12 @@ package ewma
// Copyright (c) 2013 VividCortex, Inc. All rights reserved.
// Please see the LICENSE file for applicable license terms.
-import "testing"
+import (
+ "math"
+ "testing"
+)
+
+co... | tests: check for values within range instead of equality; #<I> (#<I>) | VividCortex_ewma | train |
7b15c207d6bda8d9e15fd1c8617c4cf0df502ecb | diff --git a/pdfwatermarker/utils/info.py b/pdfwatermarker/utils/info.py
index <HASH>..<HASH> 100644
--- a/pdfwatermarker/utils/info.py
+++ b/pdfwatermarker/utils/info.py
@@ -2,42 +2,54 @@
from pdfwatermarker.thirdparty.PyPDF2 import PdfFileReader
-def number_of_pages(path):
+def _reader(path, password):
+ """R... | Added _reader function to decrypt encrypted PDF | mrstephenneal_pdfconduit | train |
a1f1de47a7cc4ae915c50bf323efc304c5810383 | diff --git a/src/Field/Composite/AddressField.php b/src/Field/Composite/AddressField.php
index <HASH>..<HASH> 100644
--- a/src/Field/Composite/AddressField.php
+++ b/src/Field/Composite/AddressField.php
@@ -147,14 +147,24 @@ class AddressField extends Field implements RequiredInterface
*/
public function get... | Require address field requires correct fields | activecollab_databasestructure | train |
c55a3132a4ea334b3f92d9b7fe2c43e8c62e1bea | diff --git a/src/ol/PluggableMap.js b/src/ol/PluggableMap.js
index <HASH>..<HASH> 100644
--- a/src/ol/PluggableMap.js
+++ b/src/ol/PluggableMap.js
@@ -1026,7 +1026,11 @@ class PluggableMap extends BaseObject {
const interactionsArray = this.getInteractions().getArray().slice();
for (let i = interactionsAr... | Checks before calling handleEvent on interactions | openlayers_openlayers | train |
4bae1ca49b7039a82b9f6d051045cd07ff52aa44 | diff --git a/ci/github/release_notes.py b/ci/github/release_notes.py
index <HASH>..<HASH> 100644
--- a/ci/github/release_notes.py
+++ b/ci/github/release_notes.py
@@ -154,9 +154,9 @@ def create_release_notes():
if not section:
continue
- # Skip empty lines
- lin... | Don't strip whitespace to the left of content | SFDO-Tooling_CumulusCI | train |
625bd303d99408bca86b7002cd42b8716e2b267e | diff --git a/test/unit/core.js b/test/unit/core.js
index <HASH>..<HASH> 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -276,7 +276,7 @@ QUnit.test( "type for `Symbol`", function( assert ) {
// Prevent reference errors
if( typeof Symbol !== "function" ) {
assert.expect( 0 );
- return
+ return;
}
... | Tests: fix code style issues
Follow-up for 8a<I>f<I>dab5b8d<I>ecd<I>ae<I>ebd<I>c5 | jquery_jquery | train |
0f52e103770f5372d291d9682ff0c5339210fa12 | diff --git a/lib/govspeak/html_sanitizer.rb b/lib/govspeak/html_sanitizer.rb
index <HASH>..<HASH> 100644
--- a/lib/govspeak/html_sanitizer.rb
+++ b/lib/govspeak/html_sanitizer.rb
@@ -28,10 +28,14 @@ class Govspeak::HtmlSanitizer
# Kramdown uses text-align to allow table cells to be aligned
# http://kram... | Allow td and th elements without a style attribute
If no `style` was included `node['style'].match` returned a no method
error, so normal tables wouldn’t work correctly. | alphagov_govspeak | train |
53733a48005955ff09a6fa76fa871f1b6948cb2a | diff --git a/Service/OS/BlackberryNotification.php b/Service/OS/BlackberryNotification.php
index <HASH>..<HASH> 100644
--- a/Service/OS/BlackberryNotification.php
+++ b/Service/OS/BlackberryNotification.php
@@ -103,7 +103,7 @@ class BlackberryNotification implements OSNotificationServiceInterface
$data .= "-... | Added the missing device identifier for BB messages. | richsage_RMSPushNotificationsBundle | train |
b2c2db3f3bdac3a7c6075f05bb624fcb19dc10dd | diff --git a/example/Components/SetAsyncErrorsExample.js b/example/Components/SetAsyncErrorsExample.js
index <HASH>..<HASH> 100644
--- a/example/Components/SetAsyncErrorsExample.js
+++ b/example/Components/SetAsyncErrorsExample.js
@@ -71,7 +71,7 @@ const EnhancedForm = revalidation(Form)
class SetAsyncErrorsExample ex... | Updated setAsyncErrorsExample to clarify the use case | 25th-floor_revalidation | train |
2c52f3ddd913c1069002f9647a55ea348522929d | diff --git a/src/main/java/su/litvak/chromecast/api/v2/Response.java b/src/main/java/su/litvak/chromecast/api/v2/Response.java
index <HASH>..<HASH> 100644
--- a/src/main/java/su/litvak/chromecast/api/v2/Response.java
+++ b/src/main/java/su/litvak/chromecast/api/v2/Response.java
@@ -12,13 +12,15 @@ import java.util.Map;... | Added 'CLOSE' response | vitalidze_chromecast-java-api-v2 | train |
27bfd1e2d1d49d5170831b08b24cdafa6d6736fd | diff --git a/run.go b/run.go
index <HASH>..<HASH> 100644
--- a/run.go
+++ b/run.go
@@ -67,6 +67,12 @@ func execContainer(context *cli.Context, spec *specs.LinuxSpec) (int, error) {
// default action is to execute a container
func runAction(context *cli.Context) {
spec, err := loadSpec(context.Args().First())
+
+ no... | systemd integration with container runtime for supporting sd_notify protocol | opencontainers_runc | train |
3c1ccad00caff04dc5df5b81ad08b776f29b93c8 | diff --git a/ladybug/datacollection.py b/ladybug/datacollection.py
index <HASH>..<HASH> 100644
--- a/ladybug/datacollection.py
+++ b/ladybug/datacollection.py
@@ -137,8 +137,7 @@ class HourlyDiscontinuousCollection(BaseCollection):
return moy_dict
def filter_by_analysis_period(self, analysis_period):
- ... | feat(sun): Add a property for sun to get azimuth including north
I realized that this is needed for radiance skies. | ladybug-tools_ladybug | train |
96cdc0e211a0d6fec3274293934ac70995849007 | diff --git a/src/Composer/Package/VersionedPackage.php b/src/Composer/Package/VersionedPackage.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Package/VersionedPackage.php
+++ b/src/Composer/Package/VersionedPackage.php
@@ -177,7 +177,6 @@ class VersionedPackage implements PackageInterface
*/
public funct... | Fix VersionedPackage::getLatestVersion()
Before it was not taking the version of the package itself into
account. | tenside_core | train |
4beec55f09e619ff2c1bcbef469f12f152e4c78d | diff --git a/packages/react-dnd-html5-backend/src/HTML5Backend.js b/packages/react-dnd-html5-backend/src/HTML5Backend.js
index <HASH>..<HASH> 100644
--- a/packages/react-dnd-html5-backend/src/HTML5Backend.js
+++ b/packages/react-dnd-html5-backend/src/HTML5Backend.js
@@ -232,31 +232,12 @@ export default class HTML5Backe... | removing the Firefox quirk as they have improvised recently (> <I>) - <URL> | react-dnd_react-dnd | train |
864fc145459776773d55684049ea1f028cdc7e4d | diff --git a/atrcopy/parsers.py b/atrcopy/parsers.py
index <HASH>..<HASH> 100644
--- a/atrcopy/parsers.py
+++ b/atrcopy/parsers.py
@@ -191,7 +191,7 @@ def parsers_for_filename(name):
parsers = mime_parsers[mime]
found = None
for parser in parsers:
- print("parser: %s = %s" % (mime,... | parsers: changed print to log.debug | robmcmullen_atrcopy | train |
759c6818be079a0f117cef6a091c288c61860fbc | diff --git a/test/transform.js b/test/transform.js
index <HASH>..<HASH> 100644
--- a/test/transform.js
+++ b/test/transform.js
@@ -29,7 +29,11 @@ describe('gd', function () {
)
})
- // TODO: accurate tests for .watermark, .format, .quality, .compression .options
+ it('should .watermark() images pi... | Converted a TODO into pending tests | furagu_easy-gd | train |
1d1c017ac03be8e737d50af0dfabf31722ddc621 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ import versioneer
versioneer.VCS = 'git'
versioneer.versionfile_source = 'machinist/_version.py'
versioneer.versionfile_build = 'machinist/_version.py'
-versioneer.tag_prefix = '' # tags are like 1.2.0
+version... | Fix tag prefix so versions are correct. | ScatterHQ_machinist | train |
d687d03629c8c1bf240e8c3c1f10e737d44f621e | diff --git a/lib/mixpanel_client.rb b/lib/mixpanel_client.rb
index <HASH>..<HASH> 100644
--- a/lib/mixpanel_client.rb
+++ b/lib/mixpanel_client.rb
@@ -35,7 +35,7 @@ module Mixpanel
@format = params[:format]
- response = URI.parse("#{BASE_URI}/#{endpoint}/#{VERSION}/#{meth}?#{urlencode(params)}").read
+ ... | More tests and refactoring. | keolo_mixpanel_client | train |
f6ed28538731759f5021fb2c2406e48187a2b1a6 | diff --git a/edisgo/tools/pypsa_io.py b/edisgo/tools/pypsa_io.py
index <HASH>..<HASH> 100644
--- a/edisgo/tools/pypsa_io.py
+++ b/edisgo/tools/pypsa_io.py
@@ -8,6 +8,7 @@ from edisgo.grid.components import Transformer, Line, LVStation
import numpy as np
import pandas as pd
+import itertools
from math import pi, sq... | Add function to update load time series in pypsa representation | openego_eDisGo | train |
778fe9d9ae2c51f5552547b3a298c864f4bdc782 | diff --git a/event/src/main/java/com/proofpoint/event/client/JsonEventWriter.java b/event/src/main/java/com/proofpoint/event/client/JsonEventWriter.java
index <HASH>..<HASH> 100644
--- a/event/src/main/java/com/proofpoint/event/client/JsonEventWriter.java
+++ b/event/src/main/java/com/proofpoint/event/client/JsonEventW... | Remove ObjectMapper from JsonEventWriter | airlift_airlift | train |
5f548c7679dbc4c9ab0ff6ead0dacc77bbf719db | diff --git a/consensus/reactor.go b/consensus/reactor.go
index <HASH>..<HASH> 100644
--- a/consensus/reactor.go
+++ b/consensus/reactor.go
@@ -371,19 +371,21 @@ func (conR *ConsensusReactor) startBroadcastRoutine() error {
}
go func() {
+ var data interface{}
+ var ok bool
for {
select {
- case data, o... | consensus: close pubsub channels. fixes #<I> | tendermint_tendermint | train |
c3fb2b5966d98a1b5461b45f76a04271f27bd387 | diff --git a/openquake/commonlib/config.py b/openquake/commonlib/config.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/config.py
+++ b/openquake/commonlib/config.py
@@ -147,6 +147,7 @@ def flag_set(section, setting):
port = int(get('dbserver', 'port'))
+DBS_LISTEN = (get('dbserver', 'listen'), port)
DBS... | Differentiate listening interface and connect interface in dbserver
Former-commit-id: acd<I>ba<I>a<I>cb3e7c9e<I>cfa<I> | gem_oq-engine | train |
6ec08d2c7f438fe7c217c6dba5f07b27bf7182fb | diff --git a/yoke/templates.py b/yoke/templates.py
index <HASH>..<HASH> 100644
--- a/yoke/templates.py
+++ b/yoke/templates.py
@@ -71,8 +71,55 @@ DEFAULT_RESPONSES = {
'statusCode': '200'}
}
+APPLICATION_JSON_REQUEST = """\
+{
+ "operation": "{{ operation }}",
+ "parameters": {
+ "gateway": {
+ "id": "... | refactor(templates): make DEFAULT_REQUESTS easier to read/edit | rackerlabs_yoke | train |
9ba38f292ff62dc9e41516bd057b92f9b90df1e9 | diff --git a/multiqc/modules/gatk/base_recalibrator.py b/multiqc/modules/gatk/base_recalibrator.py
index <HASH>..<HASH> 100644
--- a/multiqc/modules/gatk/base_recalibrator.py
+++ b/multiqc/modules/gatk/base_recalibrator.py
@@ -15,34 +15,39 @@ class BaseRecalibratorMixin():
def parse_gatk_base_recalibrator(self):
... | Refactor to have data arranged as table_name -> sample_name -> table | ewels_MultiQC | train |
02e23f149e6c1e17634332ee5b5d4c7a8e3a8689 | diff --git a/p11/session.go b/p11/session.go
index <HASH>..<HASH> 100644
--- a/p11/session.go
+++ b/p11/session.go
@@ -19,8 +19,10 @@ type Session interface {
// https://github.com/letsencrypt/pkcs11key/blob/master/key.go for an example
// of managing login state with a mutex.
Login(pin string) error
- // Login l... | Expose login api for vendor specific login types (#<I>) | miekg_pkcs11 | train |
4a552cef0f3f6626247b4b2988cdb9e360d4387b | diff --git a/lib/giantbomb.rb b/lib/giantbomb.rb
index <HASH>..<HASH> 100644
--- a/lib/giantbomb.rb
+++ b/lib/giantbomb.rb
@@ -6,5 +6,5 @@ require 'httparty'
end
module GiantBomb
- VERSION = "0.0.2"
+ VERSION = "0.1.0"
end
\ No newline at end of file | bumped version to <I> | games-directory_api-giantbomb | train |
907885ae870d1476aa431af8b12808c551290ae6 | diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/src/DependencyInjection/Configuration.php
+++ b/src/DependencyInjection/Configuration.php
@@ -40,7 +40,12 @@ class Configuration implements ConfigurationInterface
... | Create separate Guzzle and configuration for the command API. | OpenConext_Stepup-Middleware-clientbundle | train |
d54f275333e4089e8193a917adc24142d770c594 | diff --git a/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js b/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
+++ b/src/frontend/org/voltdb/dbmonitor/js/voltdb.admin.ui.js
@@ -1810,7 +1810,8 @@ function loadAdminP... | Adding missing Statement to set Header for "Server Settings" column | VoltDB_voltdb | train |
48621b3c7e80faa70358db80902bb7d17e2ac809 | diff --git a/examples/api-routes-apollo-server-and-client/apollo/client.js b/examples/api-routes-apollo-server-and-client/apollo/client.js
index <HASH>..<HASH> 100644
--- a/examples/api-routes-apollo-server-and-client/apollo/client.js
+++ b/examples/api-routes-apollo-server-and-client/apollo/client.js
@@ -1,16 +1,15 @@... | Update to <I> in api-routes-apollo-server-and-client example (#<I>) | zeit_next.js | train |
63daea01a1287191958f814854488dc7f60bcf5c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -52,6 +52,7 @@ version = (
).read_text().strip()
setup(
+ name="dcor",
version=version,
include_package_data=True,
packages=find_packages(), | Update setup.py
Add name to have a list of dependents. | vnmabus_dcor | train |
f6d9fe37014f57dd542bdb4ad1a167c271e1b2e4 | diff --git a/sam/sam-agent/src/main/java/org/talend/esb/sam/agent/eventproducer/MessageToEventMapper.java b/sam/sam-agent/src/main/java/org/talend/esb/sam/agent/eventproducer/MessageToEventMapper.java
index <HASH>..<HASH> 100644
--- a/sam/sam-agent/src/main/java/org/talend/esb/sam/agent/eventproducer/MessageToEventMapp... | fixed the null operation name problem in the security fault case | Talend_tesb-rt-se | train |
a4f7b990ed83eabbcc4a08feacd1026695b8056d | diff --git a/src/org/zaproxy/zap/extension/pscan/scanner/InformationDisclosureSuspiciousComments.java b/src/org/zaproxy/zap/extension/pscan/scanner/InformationDisclosureSuspiciousComments.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/extension/pscan/scanner/InformationDisclosureSuspiciousComments.java
+++ ... | Changed the InformationDisclosureSuspiciousComments passive scanner to raise the alert with the id of the HistoryReference. | zaproxy_zaproxy | train |
b6fa14454e21f3fc5ec985840721a501fbc0dfb9 | diff --git a/gns3server/controller/topology.py b/gns3server/controller/topology.py
index <HASH>..<HASH> 100644
--- a/gns3server/controller/topology.py
+++ b/gns3server/controller/topology.py
@@ -100,6 +100,7 @@ def load_topology(path):
# first we backup the file
shutil.copy(path, path + ".backup{}".fo... | After conversion from 1.X check the topology before save to disk | GNS3_gns3-server | train |
092d40b5d2316eac04522333811eba7b122902f4 | diff --git a/app/policies/thredded/post_policy.rb b/app/policies/thredded/post_policy.rb
index <HASH>..<HASH> 100644
--- a/app/policies/thredded/post_policy.rb
+++ b/app/policies/thredded/post_policy.rb
@@ -53,7 +53,7 @@ module Thredded
end
def own_post?
- @user.id == @post.user_id
+ !anonymous? &... | Fix PostPolicy for posts with deleted users
`own_post?` would return true if the current user was not signed in,
so anyone was able to update/delete such posts. | thredded_thredded | train |
9697e8ca51e5bb418210e9cea168a2420b692218 | diff --git a/cli/lib/kontena/cli/services/remove_command.rb b/cli/lib/kontena/cli/services/remove_command.rb
index <HASH>..<HASH> 100644
--- a/cli/lib/kontena/cli/services/remove_command.rb
+++ b/cli/lib/kontena/cli/services/remove_command.rb
@@ -17,6 +17,7 @@ module Kontena::Cli::Services
client(token).delete... | Calm service delete polling interval (#<I>) | kontena_kontena | train |
048b9b15fc125dbc4c09f30790c575d15be520a0 | diff --git a/src/services/calendarHelper.js b/src/services/calendarHelper.js
index <HASH>..<HASH> 100644
--- a/src/services/calendarHelper.js
+++ b/src/services/calendarHelper.js
@@ -2,9 +2,7 @@
angular
.module('mwl.calendar')
- .service('calendarHelper', function (moment, calendarConfig) {
-
- var self = thi... | Refactor the calendar helper into a factory | mattlewis92_angular-bootstrap-calendar | train |
47234aabd570211ae82bbe3a5a9da99abfa3a740 | diff --git a/flink-clients/src/test/java/org/apache/flink/client/program/ClientTest.java b/flink-clients/src/test/java/org/apache/flink/client/program/ClientTest.java
index <HASH>..<HASH> 100644
--- a/flink-clients/src/test/java/org/apache/flink/client/program/ClientTest.java
+++ b/flink-clients/src/test/java/org/apach... | [hotfix][tests] Remove unnecessary catch blocks | apache_flink | train |
bdfc1b371670af5cfa3a2340da1d3ed697d1c4de | diff --git a/core/src/main/java/org/bitcoinj/core/Block.java b/core/src/main/java/org/bitcoinj/core/Block.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/core/Block.java
+++ b/core/src/main/java/org/bitcoinj/core/Block.java
@@ -314,8 +314,6 @@ public class Block extends Message {
/**
*... | JavaDoc: Fix exception not thrown. | bitcoinj_bitcoinj | train |
77a32bd5f43b06cff1c75adb6d81e5a5d968beb6 | diff --git a/lib/command_parser.rb b/lib/command_parser.rb
index <HASH>..<HASH> 100644
--- a/lib/command_parser.rb
+++ b/lib/command_parser.rb
@@ -2,7 +2,7 @@ class CommandParser
attr_reader :actions
def initialize
- @actions = {}
+ reset_actions
end
def turn(angle)
@@ -20,4 +20,8 @@ class Command... | Reset actions hash after each update | mrhead_ruby_arena | train |
14208e9213a58f0d91554e4479f23c1bd6636e10 | diff --git a/livereload/handlers.py b/livereload/handlers.py
index <HASH>..<HASH> 100644
--- a/livereload/handlers.py
+++ b/livereload/handlers.py
@@ -180,8 +180,12 @@ class StaticHandler(RequestHandler):
self.mime_type = mime_type
self.set_header('Content-Type', mime_type)
- with open(filepa... | Fix error to send image file on Python 3.x | lepture_python-livereload | train |
8f0fbbca80baa1ab27f1974eadf71af7eaca6acf | diff --git a/lib/mongodb/bson/bson.js b/lib/mongodb/bson/bson.js
index <HASH>..<HASH> 100644
--- a/lib/mongodb/bson/bson.js
+++ b/lib/mongodb/bson/bson.js
@@ -559,6 +559,10 @@ ObjectID.prototype.toJSON = function() {
return this.toHexString();
}
+ObjectID.prototype.equals = function(otherID) {
+ return this.id ==... | Modified ObjectID class to include a equals(anotherID) function for
quick comparison. | mongodb_node-mongodb-native | train |
08b69218256b90d1fd253f466057ca1105c1b2dd | diff --git a/gprof2dot.py b/gprof2dot.py
index <HASH>..<HASH> 100755
--- a/gprof2dot.py
+++ b/gprof2dot.py
@@ -2005,6 +2005,7 @@ class PerfParser(LineParser):
return callchain
call_re = re.compile(r'^\s+(?P<address>[0-9a-fA-F]+)\s+(?P<symbol>.*)\s+\((?P<module>.*)\)$')
+ addr2_re = re.compile(r'\+0x[... | Update for changes if perf output.
Courtesy of jrhacker, issue #<I>. | jrfonseca_gprof2dot | train |
608c0fdbc396585914b8565a097b187b8236a23c | diff --git a/src/broker/__tests__/metadata.spec.js b/src/broker/__tests__/metadata.spec.js
index <HASH>..<HASH> 100644
--- a/src/broker/__tests__/metadata.spec.js
+++ b/src/broker/__tests__/metadata.spec.js
@@ -36,6 +36,7 @@ describe('Broker > Metadata', () => {
)
expect(response).toMatchObject({
+ thr... | Expose allow auto topic creation to broker | tulios_kafkajs | train |
129976d9c44027bb4356fb7df40c15c642b51d7e | diff --git a/src/theme/weave.js b/src/theme/weave.js
index <HASH>..<HASH> 100644
--- a/src/theme/weave.js
+++ b/src/theme/weave.js
@@ -142,7 +142,7 @@ const weave = {
borderRadius: '4px',
- layer: {
+ layers: {
front: 1,
toolbar: 2,
notification: 3, | Renamed theme.layer to theme.layers | weaveworks_ui-components | train |
dc9e684e2fe9085395cb01bf1b3445859267ed4f | diff --git a/Cache/DoctrineProxyCache.php b/Cache/DoctrineProxyCache.php
index <HASH>..<HASH> 100644
--- a/Cache/DoctrineProxyCache.php
+++ b/Cache/DoctrineProxyCache.php
@@ -21,12 +21,14 @@ class DoctrineProxyCache implements CacheInterface
{
protected $name;
protected $doctrineCache;
+ protected $ttl... | Added TTL handling in Doctrine cache proxy + added ttl config option for drivers that support it. | TheBigBrainsCompany_TbbcCacheBundle | train |
36248ed5d312664d3544278719a29d93290f5074 | diff --git a/src/factories/implementations/dependency-injection-factory.php b/src/factories/implementations/dependency-injection-factory.php
index <HASH>..<HASH> 100644
--- a/src/factories/implementations/dependency-injection-factory.php
+++ b/src/factories/implementations/dependency-injection-factory.php
@@ -122,6 +12... | Fix bug where abstract classes would not be created as nulls | gios-asu_nectary | train |
e10cfc25cd1d6a19f72e915df6d39c8be90ca1f5 | diff --git a/openquake/baselib/__init__.py b/openquake/baselib/__init__.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/__init__.py
+++ b/openquake/baselib/__init__.py
@@ -23,7 +23,7 @@ from openquake.baselib.python3compat import configparser
from openquake.baselib.general import git_suffix
# the version is ... | update development version to <I> (postponed to release README.md mods)
Former-commit-id: ec<I>f<I>b<I>db<I>e0c<I>f6b1 | gem_oq-engine | train |
30a9f31aeba0193ab43945d065859d5bc6f7b995 | diff --git a/src/components/FormBuilder.js b/src/components/FormBuilder.js
index <HASH>..<HASH> 100644
--- a/src/components/FormBuilder.js
+++ b/src/components/FormBuilder.js
@@ -46,7 +46,7 @@ export default class extends Component {
this.builderReady.then(() => {
this.builder.instance.on('saveComponent', t... | Fix builder instance event name
Replace listener's event name from "deleteComponent" to "removeComponent" | formio_react-formio | train |
8a1007b6b3dfa428314e0a172e9f73eca3cc316a | diff --git a/core/server/master/src/main/java/alluxio/master/file/LostFileDetector.java b/core/server/master/src/main/java/alluxio/master/file/LostFileDetector.java
index <HASH>..<HASH> 100644
--- a/core/server/master/src/main/java/alluxio/master/file/LostFileDetector.java
+++ b/core/server/master/src/main/java/alluxio... | Downgraded log level to warning when a lost file does not exist | Alluxio_alluxio | train |
854e0e30b42f9ceb4b8396b6f15dfa7a425abb40 | diff --git a/forms/Form.php b/forms/Form.php
index <HASH>..<HASH> 100755
--- a/forms/Form.php
+++ b/forms/Form.php
@@ -1165,15 +1165,26 @@ class Form extends RequestHandler {
}
/**
- * Disable the requirement of a security token in the Form. This security protects
+ * Disable the requirement of a security toke... | ENHANCEMENT Added Form->enableSecurityToken() as a counterpart to the existing disableSecurityToken() (from r<I>)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9 | silverstripe_silverstripe-framework | train |
2e8a81574081e604daab5e63a1ec7c1873ccafb2 | diff --git a/lib/Host.js b/lib/Host.js
index <HASH>..<HASH> 100644
--- a/lib/Host.js
+++ b/lib/Host.js
@@ -34,7 +34,10 @@ Host.prototype.getSerializableConfig = function getSerializableConfig() {
// Convert `functions` to an array of names
return _.mapValues(serializableConfig, function(val, key) {
- return ... | Fixed a bug in host config file serialisation.
A config file without a functions declaration could cause errors to be raised during config serialisation. | markfinger_js-host | train |
255387bab53de1b3aa1f6755be3e1a839181187a | diff --git a/classes/Boom/Chunk.php b/classes/Boom/Chunk.php
index <HASH>..<HASH> 100644
--- a/classes/Boom/Chunk.php
+++ b/classes/Boom/Chunk.php
@@ -233,7 +233,7 @@ abstract class Boom_Chunk
if (is_array($slotname)) {
return $query
- ->where('slotname', $operator, $slotname)
+ ->where('slotname', 'in',... | Improved performance of Model_Page::readability_score() | boomcms_boom-core | train |
4b67e02a30b0e0708d3c7e0764d712f86ee121c4 | diff --git a/tools/voltdb-install.py b/tools/voltdb-install.py
index <HASH>..<HASH> 100755
--- a/tools/voltdb-install.py
+++ b/tools/voltdb-install.py
@@ -261,7 +261,7 @@ Description: %(description)s
arch = 'x86_64',
summary = self.summary,
license = self.license,
-... | rpm package builder: make the file layout identical to the debian package | VoltDB_voltdb | train |
4cf1e9881ef03c21cdbf4be4d114fbc974a7c689 | diff --git a/collectors/debug_bar.php b/collectors/debug_bar.php
index <HASH>..<HASH> 100644
--- a/collectors/debug_bar.php
+++ b/collectors/debug_bar.php
@@ -63,7 +63,7 @@ function register_qm_collectors_debug_bar() {
);
foreach ( $debug_bar->panels as $panel ) {
- $panel_id = strtolower( get_class( $panel ) );... | Add full support for namespaced Debug Bar add-on panels. Fixes #<I>. | johnbillion_query-monitor | train |
82e70baf8ccd54874ef0afb3dafd859c506afff2 | diff --git a/pauldron/lib/permission-handler.js b/pauldron/lib/permission-handler.js
index <HASH>..<HASH> 100644
--- a/pauldron/lib/permission-handler.js
+++ b/pauldron/lib/permission-handler.js
@@ -1,29 +1,31 @@
-const hash = require("object-hash");
const TimeStampedPermission = require("../model/TimeStampedPermissio... | rudimentary handling of denied permissions/scopes. | mojitoholic_pauldron | train |
4af28642cff1c7669faf1ec4c720688a0549f8ac | diff --git a/molgenis-omx-dataexplorer/src/main/resources/js/dataexplorer-filter.js b/molgenis-omx-dataexplorer/src/main/resources/js/dataexplorer-filter.js
index <HASH>..<HASH> 100644
--- a/molgenis-omx-dataexplorer/src/main/resources/js/dataexplorer-filter.js
+++ b/molgenis-omx-dataexplorer/src/main/resources/js/data... | Fix: AND filter is not applied issue "#<I>" | molgenis_molgenis | train |
cb540bebf862e1d5e75f376a963176a28a5ea13c | diff --git a/javascript/libjoynr-js/src/main/js/joynr/dispatching/subscription/SubscriptionManager.js b/javascript/libjoynr-js/src/main/js/joynr/dispatching/subscription/SubscriptionManager.js
index <HASH>..<HASH> 100644
--- a/javascript/libjoynr-js/src/main/js/joynr/dispatching/subscription/SubscriptionManager.js
+++ ... | [JS] Simplify subscriptionId creation in SubscriptionManager
Change-Id: I<I>bc7ccee1ee4c<I>e6a9f<I>f<I>c<I>b0b2fde | bmwcarit_joynr | train |
462fee5b36ef10b883617cba0bd779155273fe10 | diff --git a/lib/dest/index.js b/lib/dest/index.js
index <HASH>..<HASH> 100644
--- a/lib/dest/index.js
+++ b/lib/dest/index.js
@@ -17,6 +17,11 @@ var folderConfig = {
};
function dest(outFolder, opt) {
+ if (!outFolder) {
+ throw new Error('Invalid dest() folder argument.' +
+ ' Please specify a non-empty ... | Breaking: Throw when `dest()`/`symlink()` is called with invalid folder argument & unskip tests | gulpjs_vinyl-fs | train |
a17e01793e780c0dbc256720ba384f44f2b5841b | diff --git a/CliClient/tests/models_BaseItem.js b/CliClient/tests/models_BaseItem.js
index <HASH>..<HASH> 100644
--- a/CliClient/tests/models_BaseItem.js
+++ b/CliClient/tests/models_BaseItem.js
@@ -57,4 +57,16 @@ describe('models_BaseItem', function() {
expect(unserialized2.title).toBe(folder2.title);
}));
+ it... | All: Fix format of note timestamps (#<I>)
* Correct format of timestamps during unserialization.
* Add tests. | laurent22_joplin | train |
aa01f57b7f2f572570b196e19e82685e03031a33 | diff --git a/feature_adapter.go b/feature_adapter.go
index <HASH>..<HASH> 100644
--- a/feature_adapter.go
+++ b/feature_adapter.go
@@ -59,19 +59,19 @@ func MarshalToString(v interface{}) (string, error) {
//
// NewDecoder returns a new decoder that reads from r.
//
-// Instead of a json/encoding Decoder, an AdaptedD... | rename AdaptedDecoder => Decoder and AdaptedEncoder => Encoder | json-iterator_go | train |
0dddeae7494ccfe151e4626080bc576122586025 | diff --git a/presto-main/src/main/resources/webapp/assets/plan.js b/presto-main/src/main/resources/webapp/assets/plan.js
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/resources/webapp/assets/plan.js
+++ b/presto-main/src/main/resources/webapp/assets/plan.js
@@ -148,7 +148,7 @@ let LivePlan = React.createClass(... | Ignore additional query parameters in Web UI
Previously, the UI would break if links contained extra query
parameters. | prestodb_presto | train |
bd18f063c1c2d996b64237aac98953cf38cd0f69 | diff --git a/dimod/core/bqm.py b/dimod/core/bqm.py
index <HASH>..<HASH> 100644
--- a/dimod/core/bqm.py
+++ b/dimod/core/bqm.py
@@ -69,7 +69,7 @@ class Adjacency(BQMView):
def __getitem__(self, v):
if not self._bqm.has_variable(v):
raise KeyError('{} is not a variable'.format(v))
- retu... | Rename Neighbour to Neighborhood | dwavesystems_dimod | train |
441fe7e408d71f662a249791b2b06c435e1d262c | diff --git a/src/utils/throttle.js b/src/utils/throttle.js
index <HASH>..<HASH> 100644
--- a/src/utils/throttle.js
+++ b/src/utils/throttle.js
@@ -1,15 +1,17 @@
export default function (fn, limit = 250) {
let wait = false
+ let result
return function (...args) {
if (wait) {
- return
+ return re... | make throttle return last return value of throttled function (#<I>) | quasarframework_quasar | train |
91ecedd90391c1e61f0da8760f6dd471e2d8ac9d | diff --git a/src/org/nameapi/client/services/email/emailnameparser/EmailAddressParsingResultType.php b/src/org/nameapi/client/services/email/emailnameparser/EmailAddressParsingResultType.php
index <HASH>..<HASH> 100644
--- a/src/org/nameapi/client/services/email/emailnameparser/EmailAddressParsingResultType.php
+++ b/s... | emailnameparser service behaves as before in <I>, the <I> version features this change. | optimaize_nameapi-client-php | train |
5bae88b686566ff3dd427591928020d0fe4d7946 | diff --git a/user/tabs.php b/user/tabs.php
index <HASH>..<HASH> 100644
--- a/user/tabs.php
+++ b/user/tabs.php
@@ -7,7 +7,7 @@
error('You cannot call this script in that way');
}
- print_heading(fullname($user, isteacher($course)));
+ print_heading(fullname($user, isteacher($course->id)));
//if... | Fixed incorrect usage of isteacher(), didn't work and threw a warning. | moodle_moodle | train |
f0927ca07a609543d66744d84484b0559c8c1654 | diff --git a/addons/koji/common/src/main/java/org/commonjava/indy/koji/content/KojiContentManagerDecorator.java b/addons/koji/common/src/main/java/org/commonjava/indy/koji/content/KojiContentManagerDecorator.java
index <HASH>..<HASH> 100644
--- a/addons/koji/common/src/main/java/org/commonjava/indy/koji/content/KojiCon... | Fix ordering of ContentManager decorators to put Koji up front, and minor lambda reformats | Commonjava_indy | train |
f86e7208eed2180b9941c058b4104f1809404943 | diff --git a/.eslintrc.js b/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -29,8 +29,9 @@ const commonNoRestrictedSyntax = [
'message': 'Use for-of instead of forEach',
},
{
- 'selector': 'CallExpression[callee.property.name=/^(bind|call|apply)$/]',
- 'message': 'Don\... | style: Re-enable the prefer-spread eslint rule
The prefer-spread rule to prevent use of apply() was disabled, but we
had another custom rule that also prevented the use of apply(). This
re-enables the standard rule.
Issue #<I>
Change-Id: Ic<I>d<I>deb6cd5ed<I>ea<I>bb<I>ad<I> | google_shaka-player | train |
beecb9e210f7136b9fc8db7d7c922e70f1c54567 | diff --git a/processing/src/main/java/io/druid/segment/QueryableIndexStorageAdapter.java b/processing/src/main/java/io/druid/segment/QueryableIndexStorageAdapter.java
index <HASH>..<HASH> 100644
--- a/processing/src/main/java/io/druid/segment/QueryableIndexStorageAdapter.java
+++ b/processing/src/main/java/io/druid/seg... | Fix failing build, remove unused import (#<I>)
LGTM | apache_incubator-druid | train |
6c501b5dfc38487060f6bc649d97009806b69a11 | diff --git a/safe_qgis/report/test/test_html_renderer.py b/safe_qgis/report/test/test_html_renderer.py
index <HASH>..<HASH> 100644
--- a/safe_qgis/report/test/test_html_renderer.py
+++ b/safe_qgis/report/test/test_html_renderer.py
@@ -141,8 +141,7 @@ class HtmlRendererTest(unittest.TestCase):
14220, # as ... | Tests fixes for safe_qgis.report on windows. | inasafe_inasafe | train |
4c79e7ab0bac9a07bf79b6ca727c9630e1b5721c | diff --git a/src/main/java/net/bootsfaces/expressions/decorator/SearchExpressionsTagDecorator.java b/src/main/java/net/bootsfaces/expressions/decorator/SearchExpressionsTagDecorator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/bootsfaces/expressions/decorator/SearchExpressionsTagDecorator.java
+++ b/src/mai... | #<I> Make the search expressions accessible to standard JSF components | TheCoder4eu_BootsFaces-OSP | train |
7482a122a768a0cabc76cf835d4fe939f9b2e9da | diff --git a/translator/src/main/java/com/google/devtools/j2objc/TranslationProcessor.java b/translator/src/main/java/com/google/devtools/j2objc/TranslationProcessor.java
index <HASH>..<HASH> 100644
--- a/translator/src/main/java/com/google/devtools/j2objc/TranslationProcessor.java
+++ b/translator/src/main/java/com/go... | Removes debugging statement that accidentally got checked in. | google_j2objc | train |
d019dcf0a4518ba70e561ab9a9e79ae98fa267cc | diff --git a/src/language/LanguageManager.js b/src/language/LanguageManager.js
index <HASH>..<HASH> 100644
--- a/src/language/LanguageManager.js
+++ b/src/language/LanguageManager.js
@@ -956,6 +956,14 @@ define(function (require, exports, module) {
// store language to language map
_language... | Updated fix
Better way of dealing with this bug is just to remove invalid mappings
from the prefs state, and force an _updateToPrefs call when defining a
non-default language | adobe_brackets | train |
79d757f85ca86f2cacfde875cae2ebe34adbcf25 | diff --git a/cellbase-mongodb/src/main/java/org/opencb/cellbase/mongodb/db/VariantAnnotationMongoDBAdaptor.java b/cellbase-mongodb/src/main/java/org/opencb/cellbase/mongodb/db/VariantAnnotationMongoDBAdaptor.java
index <HASH>..<HASH> 100644
--- a/cellbase-mongodb/src/main/java/org/opencb/cellbase/mongodb/db/VariantAnno... | feature/variant-annotation: few changes made at variant annotation | opencb_cellbase | train |
7cbd7e1d9be2e529100d68a1f136a6be54867fe5 | diff --git a/go-build/go-build.go b/go-build/go-build.go
index <HASH>..<HASH> 100644
--- a/go-build/go-build.go
+++ b/go-build/go-build.go
@@ -6,6 +6,8 @@ import (
"encoding/json"
"flag"
"fmt"
+ "strings"
+
"io"
"io/ioutil"
"log"
@@ -13,7 +15,8 @@ import (
"os/exec"
"path"
"path/filepath"
- "strings"
... | allow uploading of builds to s3 | dynport_dgtk | train |
536edbd889bdfc68f887d273210bf76291ba1714 | diff --git a/hyperbahn/index.js b/hyperbahn/index.js
index <HASH>..<HASH> 100644
--- a/hyperbahn/index.js
+++ b/hyperbahn/index.js
@@ -27,6 +27,7 @@ var WrappedError = require('error/wrapped');
var timers = require('timers');
var util = require('util');
var EventEmitter = require('events').EventEmitter;
+var safeJso... | review comments: use safe-json-parse & standard temp file names | uber_tchannel-node | train |
8bfd9d63cf53cdaf2373add88ef2fbf52077321a | diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go
index <HASH>..<HASH> 100644
--- a/pkg/features/kube_features.go
+++ b/pkg/features/kube_features.go
@@ -815,7 +815,6 @@ const (
// owner: @deepakkinni @xing-yang
// kep: http://kep.k8s.io/2680
// alpha: v1.23
- // beta: v1.24
//
// Hon... | Rollback HonorPVReclaimPolicy feature to Alpha | kubernetes_kubernetes | train |
39c71b559d5da903159d17b8c6f670d3bd252a8d | diff --git a/src/blocks/scratch3_control.js b/src/blocks/scratch3_control.js
index <HASH>..<HASH> 100644
--- a/src/blocks/scratch3_control.js
+++ b/src/blocks/scratch3_control.js
@@ -28,15 +28,27 @@ Scratch3ControlBlocks.prototype.repeat = function(args, util) {
if (util.stackFrame.loopCounter === undefined) {
... | Update repeat implementation to execute once per frame | LLK_scratch-vm | train |
ad98fcb350fa3ce63389520a391e23274de11064 | diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index <HASH>..<HASH> 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -1512,6 +1512,19 @@ is not allowed.
...
ValueError: Use of .. or absolute path in a resource path \
is not allowed.
+
+ Blank values... | Add two tests capturing expectation for '' and None to _validate_resource_path. Ref #<I>. | pypa_setuptools | train |
d74864ce36171b4a214f47cecf52c5f71d01cc26 | diff --git a/src/main/java/com/xtremelabs/robolectric/shadows/ShadowService.java b/src/main/java/com/xtremelabs/robolectric/shadows/ShadowService.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/xtremelabs/robolectric/shadows/ShadowService.java
+++ b/src/main/java/com/xtremelabs/robolectric/shadows/ShadowServic... | Add a means to check for Service#svtopSelf being invoked | robolectric_robolectric | train |
2de5de25bdfacdc861e05cf524ca7addf44e39c7 | diff --git a/src/server.js b/src/server.js
index <HASH>..<HASH> 100644
--- a/src/server.js
+++ b/src/server.js
@@ -95,7 +95,6 @@ Server.Prototype = function() {
} else if(inputFormat === "substance") {
var converter = new Exporter();
var json = converter.export(input);
- //cb(null,json);
... | High-level test. Server export api. | substance_converter | train |
3e6a13ccb8ec1395d46925bc4c075cb32cf395a6 | diff --git a/daemon/health.go b/daemon/health.go
index <HASH>..<HASH> 100644
--- a/daemon/health.go
+++ b/daemon/health.go
@@ -10,7 +10,6 @@ import (
"time"
"github.com/docker/docker/api/types"
- containertypes "github.com/docker/docker/api/types/container"
"github.com/docker/docker/api/types/strslice"
"githu... | LCOW: fix using wrong shell for healthchecks
As reported in docker/compose#<I>, when deploying a Linux
container on Windows (LCOW), the daemon made the wrong assumption
when deciding which shell to use to execute the healthcheck, looking
at the host's platform instead of the container's platform.
This patch adds a ch... | moby_moby | train |
9c528fe5263f4ea8dffbb00d4746a8470edc31de | diff --git a/galpy/orbit_src/Orbit.py b/galpy/orbit_src/Orbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/Orbit.py
+++ b/galpy/orbit_src/Orbit.py
@@ -2332,9 +2332,6 @@ v obs=[X,Y,Z,vx,vy,vz] - (optional) position and velocity of observer
else:
return dist*_K*self._orb.pmll(*args... | rm part of vll function left behind during previous edit | jobovy_galpy | train |
3f26d428ec3aaa0a1647c8408cd9a2e0664078a1 | diff --git a/api/prometheus.go b/api/prometheus.go
index <HASH>..<HASH> 100644
--- a/api/prometheus.go
+++ b/api/prometheus.go
@@ -2,6 +2,7 @@ package api
import (
"context"
+ "errors"
"fmt"
"math"
"net/http"
@@ -53,10 +54,10 @@ func (s *Server) prometheusLabelValues(ctx *middleware.Context) {
name := ctx.... | bad request => bad request, not internal server error
also tweak some errors | grafana_metrictank | train |
032d2d046a783c71b04bb09d2d4a50046971bea5 | diff --git a/Log/file.php b/Log/file.php
index <HASH>..<HASH> 100644
--- a/Log/file.php
+++ b/Log/file.php
@@ -156,11 +156,11 @@ class Log_file extends Log
* In order to understand recursion, you must first understand
* recursion ...
*/
- if ($this->_mkpath(dirname($path), $mode) ==... | Remove a redundant dirname() call and actually set the mode of created
directories. | pear_Log | train |
c2162f5fca2d89829fda642957d5eec066a5cde1 | diff --git a/commands/init.js b/commands/init.js
index <HASH>..<HASH> 100644
--- a/commands/init.js
+++ b/commands/init.js
@@ -25,22 +25,18 @@ module.exports = function(topic) {
function createDockerfile(dir, lang) {
var dockerfile = path.join(dir, docker.filename);
+ var platform = lang ? platforms.find(lang) :... | always write Dockerfile contents; no special-case on empty | heroku_heroku-container-registry | train |
f71346e29a4f8554c66b27aa72db0321eb456a6d | diff --git a/lib/moodlelib.php b/lib/moodlelib.php
index <HASH>..<HASH> 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -1619,6 +1619,16 @@ function require_login($courseid=0, $autologinguest=true, $cm=null) {
notice(get_string('coursehidden'), $CFG->wwwroot .'/');
}
+ /... | require_login not working properly MDL-<I> | moodle_moodle | train |
96f5d4be5f0e9df0607671814bd079ef94d7d349 | diff --git a/Jenkinsfile.cd b/Jenkinsfile.cd
index <HASH>..<HASH> 100644
--- a/Jenkinsfile.cd
+++ b/Jenkinsfile.cd
@@ -975,17 +975,18 @@ def debPublishing(testEnv, directory, packageName, version, inStashName, outStas
def pythonWrapperPublishing(testEnv, isRelease, directory) {
+ def version = getSrcVersion("li... | Implemented common approach for python wrapper version setting | hyperledger_indy-sdk | train |
d18ab61c8464e33d3149f2ce3fc2041ad8877b87 | diff --git a/lib/qonfig/command_set.rb b/lib/qonfig/command_set.rb
index <HASH>..<HASH> 100644
--- a/lib/qonfig/command_set.rb
+++ b/lib/qonfig/command_set.rb
@@ -52,12 +52,10 @@ class Qonfig::CommandSet
# @version 0.19.0
def concat(command_set, &concant_condition)
thread_safe do
- command_set.each do |... | [freeze-state] some minor algorythm refactorings | 0exp_qonfig | train |
eb7831af0c2e3e531c0d6d270a94ec3ddd966a6a | diff --git a/dsUtils.js b/dsUtils.js
index <HASH>..<HASH> 100644
--- a/dsUtils.js
+++ b/dsUtils.js
@@ -2,6 +2,7 @@
var fs = require('fs'); // core
var util = require('util');
+var Bluebird = require('bluebird');
var request = require('request');
var async = require('async');
var temp = require('temp');
@@ -92,61... | refactor makeRequest to return a promise | docusign_docusign-node-client | train |
acd2f0f9bd36cae3d860e3b0d73700db010e6d87 | diff --git a/handlers.go b/handlers.go
index <HASH>..<HASH> 100644
--- a/handlers.go
+++ b/handlers.go
@@ -44,7 +44,7 @@ func get(w http.ResponseWriter, r *http.Request) {
writeJSON(w, body, http.StatusOK)
}
-func post(w http.ResponseWriter, r *http.Request) {
+func requestWithBody(w http.ResponseWriter, r *http.R... | Add /put /patch /delete handlers | mccutchen_go-httpbin | train |
e9980356f1c6163adfa82620a9c18ab1ae0f4f02 | diff --git a/cli/cluster/cluster.go b/cli/cluster/cluster.go
index <HASH>..<HASH> 100644
--- a/cli/cluster/cluster.go
+++ b/cli/cluster/cluster.go
@@ -22,9 +22,9 @@ import (
"strings"
"time"
+ "github.com/docker/machine/drivers/virtualbox"
"github.com/docker/machine/libmachine"
"github.com/docker/machine/libm... | Remove out-of-process driver startup. | kubernetes_minikube | train |
f6cf220c402ecb11737444517baa1648bb664620 | diff --git a/VERSION.txt b/VERSION.txt
index <HASH>..<HASH> 100644
--- a/VERSION.txt
+++ b/VERSION.txt
@@ -6,4 +6,4 @@
// +---------------------------------------------------------------------------------------------------+ //
///////////////////////////////////////////////////////////////////////////////////////////... | Merging fixes and enhancements into trunk.
Revision: [<I>]
Merging changes made to model_php5.php
Revision: [<I>]
Adding fix for empty values being set for an update.
Fixed problem with view paths being set wrong on Windows.
Revision: [<I>]
Adding additional condition operators
Revision: [<I>]
Adding fix for Ticket... | cakephp_cakephp | train |
3663814e9d064ead54d6e637975ab87ca73bb307 | diff --git a/app/routes/evidence.rb b/app/routes/evidence.rb
index <HASH>..<HASH> 100644
--- a/app/routes/evidence.rb
+++ b/app/routes/evidence.rb
@@ -1,11 +1,14 @@
require 'bel'
require 'multi_json'
+require 'cgi'
module OpenBEL
module Routes
class Evidence < Base
+ PAGE_SIZES = 1..1000
+
... | evidence resource collection, filtering, faceting
refs #<I> | OpenBEL_openbel-api | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.