hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
7246585a705ee0ac5370e7b5c4ee3b8fea924d9f | diff --git a/lib/db/access.php b/lib/db/access.php
index <HASH>..<HASH> 100644
--- a/lib/db/access.php
+++ b/lib/db/access.php
@@ -150,8 +150,8 @@ $moodle_capabilities = array(
'guest' => CAP_PREVENT,
'student' => CAP_PREVENT,
'teacher' => CAP_PREVENT,
- 'editingteacher... | setting default value for backup/restore capabilities for teacheredit and coursecreators | moodle_moodle | train | php |
aa0e1bb71fa13e2332aa1ae87bbeaa8cec54ccb0 | diff --git a/lib/filesystem.js b/lib/filesystem.js
index <HASH>..<HASH> 100644
--- a/lib/filesystem.js
+++ b/lib/filesystem.js
@@ -106,6 +106,7 @@ function fsSize(callback) {
exec(cmd, { maxBuffer: 1024 * 1024 }, function (error, stdout) {
if (!error) {
let lines = stdout.toString().spl... | fsSize() adapted parsing linux | sebhildebrandt_systeminformation | train | js |
164ddfc5271f04ff27b6557f40199978453268d7 | diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -45,8 +45,8 @@ class TestCode(unittest.TestCase):
:return: nothing
"""
- for i in range(len(self.raw_dividers)):
- try:
+ try:
+ for i in range(len(self.raw_dividers)):
... | Put a pass in the finally wrapper | area4lib_area4 | train | py |
cf75d69030a59b50bdfc02d332b864bffb353651 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ version = '1.0.6'
install_requires = [
"djangorestframework>=3.7.7",
"django>=2.2.1",
- "PyJWT>=1.6.1",
+ "PyJWT==1.6.1",
"requests>=2.20.0",
"cryptography>=2.3",
] | Lock pyjwt version to <I> | ridi_django-oauth2 | train | py |
0f85a7660f47466f97ae864f3c8a0a786c539ef7 | diff --git a/lib/active_job/queue_adapters/disc_adapter.rb b/lib/active_job/queue_adapters/disc_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/active_job/queue_adapters/disc_adapter.rb
+++ b/lib/active_job/queue_adapters/disc_adapter.rb
@@ -4,11 +4,11 @@ require 'msgpack'
module ActiveJob
module QueueAdapters
... | ActiveJob wants clas methods | pote_disc | train | rb |
6bafb1fa5ccaa2e08c6068712f5f60d7d2ef79aa | diff --git a/symphony/lib/toolkit/class.databasequery.php b/symphony/lib/toolkit/class.databasequery.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/class.databasequery.php
+++ b/symphony/lib/toolkit/class.databasequery.php
@@ -454,10 +454,11 @@ class DatabaseQuery extends DatabaseStatement
*/
pub... | Ignore order by, limit and offset in new counts
They are not needed !
Picked from <I>faa
Picked from c<I>ceb<I>d
Picked from c<I>c3b0 | symphonycms_symphony-2 | train | php |
3a40c0e44f9f7118f8afb12b0a917f9843110fc0 | diff --git a/reactfx/src/main/java/org/reactfx/EitherEventStream.java b/reactfx/src/main/java/org/reactfx/EitherEventStream.java
index <HASH>..<HASH> 100644
--- a/reactfx/src/main/java/org/reactfx/EitherEventStream.java
+++ b/reactfx/src/main/java/org/reactfx/EitherEventStream.java
@@ -70,6 +70,24 @@ public interface E... | Add some convenient split() methods to EitherEventStream. | TomasMikula_ReactFX | train | java |
6776b22d717acd3af9e1c018c8aaf842c1bc23b4 | diff --git a/lib/chef/application.rb b/lib/chef/application.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/application.rb
+++ b/lib/chef/application.rb
@@ -84,11 +84,11 @@ class Chef::Application
Chef::Config.merge!(config)
rescue SocketError => error
- Chef::Application.fatal!("Error getting config f... | CHEF-<I>: fixed config_file path lookup in exception text | chef_chef | train | rb |
c11181b35c1e917aed824db7de01bf1137e48e2f | diff --git a/libraries/lithium/action/Request.php b/libraries/lithium/action/Request.php
index <HASH>..<HASH> 100644
--- a/libraries/lithium/action/Request.php
+++ b/libraries/lithium/action/Request.php
@@ -350,7 +350,7 @@ class Request extends \lithium\core\Object {
while (in_array(basename($base), array('app', 'we... | Refactoring `Router`, `action\Request` to properly calculate base directory for links and assets. | UnionOfRAD_framework | train | php,php |
3d551e25e01bd95c190766869bf0260debe07ead | diff --git a/configs/config_build.go b/configs/config_build.go
index <HASH>..<HASH> 100644
--- a/configs/config_build.go
+++ b/configs/config_build.go
@@ -1,6 +1,8 @@
package configs
import (
+ "sort"
+
version "github.com/hashicorp/go-version"
"github.com/hashicorp/hcl2/hcl"
)
@@ -28,7 +30,16 @@ func buildChi... | configs: BuildConfig sorts child modules by name
This is not strictly necessary, but since this is not a
performance-critical codepath we'll do this because it makes life easier
for callers that want to print out user-facing logs about build process,
or who are logging actions taken as part of a unit test. | hashicorp_terraform | train | go |
f3c1cbbd54497fa002169413d915d0a7f28ba21b | diff --git a/lib/cassette/http/request.rb b/lib/cassette/http/request.rb
index <HASH>..<HASH> 100644
--- a/lib/cassette/http/request.rb
+++ b/lib/cassette/http/request.rb
@@ -26,7 +26,7 @@ module Cassette
end
def log_request
- -> (request) { Cassette.logger.debug "Request: #{request.inspect}" }
+... | Back to <I>.x compatible lambdas | locaweb_cassette | train | rb,rb |
8ee11e437c62d5b9ca475fe088ebc885dc21a8ba | diff --git a/umap/sparse_nndescent.py b/umap/sparse_nndescent.py
index <HASH>..<HASH> 100644
--- a/umap/sparse_nndescent.py
+++ b/umap/sparse_nndescent.py
@@ -27,7 +27,7 @@ from umap.rp_tree import search_sparse_flat_tree
locale.setlocale(locale.LC_NUMERIC, "C")
-@numba.njit(parallel=True)
+@numba.njit()
def spar... | Remove some parallels in sparse nndescent | lmcinnes_umap | train | py |
bcfbbce9828d68297b90a342c535b6bc0c20e80a | diff --git a/lib/declarative_authorization/obligation_scope.rb b/lib/declarative_authorization/obligation_scope.rb
index <HASH>..<HASH> 100644
--- a/lib/declarative_authorization/obligation_scope.rb
+++ b/lib/declarative_authorization/obligation_scope.rb
@@ -107,9 +107,16 @@ module Authorization
end
# R... | Fixes third possible unnecessary query on AR proxy [ledermann] | stffn_declarative_authorization | train | rb |
66892dbca8fd46175cc5a31179c1610975e3c436 | diff --git a/lxd/instance/instance_interface.go b/lxd/instance/instance_interface.go
index <HASH>..<HASH> 100644
--- a/lxd/instance/instance_interface.go
+++ b/lxd/instance/instance_interface.go
@@ -182,4 +182,5 @@ type CriuMigrationArgs struct {
type Info struct {
Name string // Name of an instance driver, e.g. ... | lxd/instance/instance/interface: Adds Error field to Info struct
For returning driver availability errors. | lxc_lxd | train | go |
58ec903cd4eb9790d1a757a9d680d03d801d794d | diff --git a/actionpack/test/controller/redirect_test.rb b/actionpack/test/controller/redirect_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/controller/redirect_test.rb
+++ b/actionpack/test/controller/redirect_test.rb
@@ -266,15 +266,17 @@ class RedirectTest < ActionController::TestCase
end
def tes... | Added assertion for error messages for redirection to nil and params
As both `redirect_to_nil` and `redirect_to_params` are raising same `ActionController::ActionControllerError` so it’s good to assert error messages as well | rails_rails | train | rb |
533a320a942fd8722cbaa196142d3972a69572b0 | diff --git a/plugins/gradle/src/main/java/org/wildfly/swarm/plugin/gradle/PackageTask.java b/plugins/gradle/src/main/java/org/wildfly/swarm/plugin/gradle/PackageTask.java
index <HASH>..<HASH> 100644
--- a/plugins/gradle/src/main/java/org/wildfly/swarm/plugin/gradle/PackageTask.java
+++ b/plugins/gradle/src/main/java/or... | SWARM-<I>: Gradle plugin does not package archiveTask (#<I>) | thorntail_thorntail | train | java |
202113efa1487eaaaf38a34b892ed648ff6d0869 | diff --git a/lib/chamber/version.rb b/lib/chamber/version.rb
index <HASH>..<HASH> 100644
--- a/lib/chamber/version.rb
+++ b/lib/chamber/version.rb
@@ -1,3 +1,3 @@
module Chamber
- VERSION = '2.1.7'
+ VERSION = '2.1.8'
end | Version Bump to <I> | thekompanee_chamber | train | rb |
897e2fc721f696e0be281d5fa52f6982970697d1 | diff --git a/src/main/java/com/kurento/ktool/rom/processor/model/Model.java b/src/main/java/com/kurento/ktool/rom/processor/model/Model.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/kurento/ktool/rom/processor/model/Model.java
+++ b/src/main/java/com/kurento/ktool/rom/processor/model/Model.java
@@ -157,6 +15... | Set kurentoVersion as Version if it is not set
This should happen only with core project
Change-Id: I9f3d<I>aebfad<I>ff<I>d6fd9fbfa<I>c<I>f | Kurento_kurento-module-creator | train | java |
917aeb7677d601a9f34a29f782cb0e6c05f26741 | diff --git a/spinoff/util/python.py b/spinoff/util/python.py
index <HASH>..<HASH> 100644
--- a/spinoff/util/python.py
+++ b/spinoff/util/python.py
@@ -104,3 +104,11 @@ def clean_tb_twisted(tb_lines):
('twisted/python/failure.py', 'throwExceptionIntoGenerator'),
]
return clean_tb(tb_lines, excludes)
+... | Added the dump_method_call utility for convenient tracing of method call signatures | eallik_spinoff | train | py |
632b5e0bab4c6eb89f6647cb25dbdcf049ea89c5 | diff --git a/lib/rack/handler/reel.rb b/lib/rack/handler/reel.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/handler/reel.rb
+++ b/lib/rack/handler/reel.rb
@@ -76,6 +76,7 @@ module Rack
def normalize_options(options)
options = options.inject({}) { |h, (k,v)| h[k.downcase] = v ; h }
options[:rack... | Ensure that we have fixnum port in options | celluloid_reel | train | rb |
40563839fd655c876aab7068e8d56cdb6cf9564f | diff --git a/src/Command/Snapshot/SnapshotListCommand.php b/src/Command/Snapshot/SnapshotListCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/Snapshot/SnapshotListCommand.php
+++ b/src/Command/Snapshot/SnapshotListCommand.php
@@ -51,15 +51,16 @@ class SnapshotListCommand extends CommandBase
return... | Show if a snapshot failed in snapshot:list | platformsh_platformsh-cli | train | php |
de9224d1609e3cc0932e24fecfcca7b35de015a4 | diff --git a/src/utils/clone.js b/src/utils/clone.js
index <HASH>..<HASH> 100644
--- a/src/utils/clone.js
+++ b/src/utils/clone.js
@@ -1,9 +1,23 @@
-define( function () {
+define([
+ 'utils/isArray'
+], function (
+ isArray
+) {
'use strict';
return function ( source ) {
- var target = {}, key;
+ var target, ... | make clone module general-purpose | ractivejs_ractive | train | js |
7e906a10ffd7d6de46b876c8625aef72daf4238f | diff --git a/karaage/pbsmoab/logs.py b/karaage/pbsmoab/logs.py
index <HASH>..<HASH> 100755
--- a/karaage/pbsmoab/logs.py
+++ b/karaage/pbsmoab/logs.py
@@ -113,7 +113,7 @@ def parse_logs(log_list, date, machine_name, log_type):
avail_mem_per_core = machine.mem_per_core * 1024
if data['list_pm... | Multiply both sides of equation by data['cores'].
No changes to algorithm. | Karaage-Cluster_karaage | train | py |
e5b1467572d851afe9af1f60bdb4f98b4c5e04a9 | diff --git a/classes/apis.php b/classes/apis.php
index <HASH>..<HASH> 100644
--- a/classes/apis.php
+++ b/classes/apis.php
@@ -473,6 +473,10 @@ class ShopgatePluginApi extends ShopgateObject implements ShopgatePluginApiInter
$responseData["currency"] = $cartData['currency'];
}
+ if (!empty($cartData['custom... | extend the check_cart response with customer_groups | shopgate_cart-integration-sdk | train | php |
dfc0cbbe77c41165cf724d9e2e80fbf661386e87 | diff --git a/config/application.rb b/config/application.rb
index <HASH>..<HASH> 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -5,6 +5,7 @@ require 'configuration_extensions/configuration_extensions'
require 'radius'
require 'trusty_cms/extension_loader'
require 'trusty_cms/initializer'
+require '... | Modify application config so compass gets recognized | pgharts_trusty-cms | train | rb |
44b1f7ca70f102881dfd34d1d5623485376c7e55 | diff --git a/lib/zipkin-tracer/zipkin_null_tracer.rb b/lib/zipkin-tracer/zipkin_null_tracer.rb
index <HASH>..<HASH> 100644
--- a/lib/zipkin-tracer/zipkin_null_tracer.rb
+++ b/lib/zipkin-tracer/zipkin_null_tracer.rb
@@ -7,5 +7,9 @@ module Trace
span = Span.new(name, trace_id)
yield span
end
+
+ def... | Add a noop flush! in null tracer | openzipkin_zipkin-ruby | train | rb |
512b6294047655f87c385487f4469de9f70edb24 | diff --git a/lib/random_bytes.rb b/lib/random_bytes.rb
index <HASH>..<HASH> 100644
--- a/lib/random_bytes.rb
+++ b/lib/random_bytes.rb
@@ -15,7 +15,7 @@ module RandomBytes
module_function
def buf(size)
- buf = Sodium::Buffer.new(:void, size, true)
+ buf = Sodium::Buffer.new(:void, size)
randombytes_b... | no need to initialize buf with zeros | Asmod4n_ruby-ffi-libsodium | train | rb |
d4213e4b55672363313bd91a98fe878b12390667 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ readme.close()
setup(
name='django-bootstrap-pagination',
- version='0.1.8',
+ version='0.1.9',
keywords="django bootstrap pagination templatetag",
author=u'Jason McClellan',
author_em... | Incrementing version to <I> | jmcclell_django-bootstrap-pagination | train | py |
2cb8405736ca2a88954b0575a9df627fff72a1cc | diff --git a/src/wait-for.js b/src/wait-for.js
index <HASH>..<HASH> 100644
--- a/src/wait-for.js
+++ b/src/wait-for.js
@@ -94,7 +94,7 @@ function waitFor(
if (!usingFakeTimers) {
clearInterval(intervalId)
- setImmediate(() => observer.disconnect())
+ observer.disconnect()
}
... | fix: Disconnect MutationObserver synchronously in wait-for (#<I>)
* Disconnect MutationObserver synchronously in wait-for
* Revert the pre-commit change to be able to commit
* Remove legacy disconnect | testing-library_dom-testing-library | train | js |
54eddf467cfb9d7c5ccd6dba001859f3c5b035c4 | diff --git a/src/Command/GenerateCommand.php b/src/Command/GenerateCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/GenerateCommand.php
+++ b/src/Command/GenerateCommand.php
@@ -32,7 +32,8 @@ class GenerateCommand extends Command
'pattern',
'p',
InputOption::VALUE_REQUIRED,
- 'The printf patt... | Switch back to printf format with default "%s" pattern. | bit3archive_faker-cli | train | php |
4c02887ceb28cddd53d45d9eaa555d76774ff79e | diff --git a/blockstack_zones/parse_zone_file.py b/blockstack_zones/parse_zone_file.py
index <HASH>..<HASH> 100644
--- a/blockstack_zones/parse_zone_file.py
+++ b/blockstack_zones/parse_zone_file.py
@@ -10,6 +10,7 @@ Known limitations:
'TXT', 'SRV', 'SPF', 'URI'
"""
+import os
import copy
import datetime
imp... | don't report parse errors unless BLOCKSTACK_DEBUG is set (thanks @cryptocracy!) | blockstack_zone-file-py | train | py |
294b9bc13016c6e1236305366c5ac7653edf7fdb | diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index <HASH>..<HASH> 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -5,6 +5,6 @@
Changelog
=========
-* 1.0.0 [2016-04-23]: Final release of 1.0.0 branch
-* 1.0.0rc1 [2016-04-22]: Initial commit, forked a subset from putil PyPI
+* 1.0.0 [2016-05-01]: Final release of 1.... | Bumped version to <I> | pmacosta_pexdoc | train | rst,py,py |
123d3041f4d0f2620f16e7286dd6e76f324e6bd7 | diff --git a/lib/fog/connection.rb b/lib/fog/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/connection.rb
+++ b/lib/fog/connection.rb
@@ -56,12 +56,11 @@ unless Fog.mocking?
if params[:body]
if params[:body].is_a?(String)
- body = StringIO.new(params[:body])
+ connec... | simplify connection.write when body is string | fog_fog | train | rb |
6e184035ef063dba82def927f6d11292c5d20b20 | diff --git a/src/Native5/Route/UrlInterpreter.php b/src/Native5/Route/UrlInterpreter.php
index <HASH>..<HASH> 100644
--- a/src/Native5/Route/UrlInterpreter.php
+++ b/src/Native5/Route/UrlInterpreter.php
@@ -55,7 +55,7 @@ class UrlInterpreter {
} else {
$controllerName = $commandArray[0];
... | Fixed issue with case interpretation of URL's | native5_native5-sdk-client-php | train | php |
4121284fcf2c05c4a349edf1ec20fbfa04269e3f | diff --git a/src/App.php b/src/App.php
index <HASH>..<HASH> 100644
--- a/src/App.php
+++ b/src/App.php
@@ -10,6 +10,8 @@ final class App
{
/** @var ContainerInterface */
private $container;
+ /** @var MiddlewarePipe */
+ private $pipe;
/** @var View\Manager */
private $view;
@@ -126,7 +128... | Don't you scrutinize me! | tonis-io-legacy_tonis | train | php,php |
77520b676937bcf88997913bd77daf949ac91060 | diff --git a/cwltool/job.py b/cwltool/job.py
index <HASH>..<HASH> 100644
--- a/cwltool/job.py
+++ b/cwltool/job.py
@@ -26,7 +26,7 @@ _logger = logging.getLogger("cwltool")
needs_shell_quoting_re = re.compile(r"""(^$|[\s|&;()<>\'"$@])""")
-FORCE_SHELLED_POPEN = os.getenv("CWLTOOL_FORCE_SHELL_POPEN", "1") == "1"
+FO... | Disable job script stuff by default to restore old behavior if not using job script extension. | common-workflow-language_cwltool | train | py |
f89078c5aaf0a044b8d5fe86ba49a9e765f8a29c | diff --git a/jodd-core/src/main/java/jodd/io/ZipUtil.java b/jodd-core/src/main/java/jodd/io/ZipUtil.java
index <HASH>..<HASH> 100644
--- a/jodd-core/src/main/java/jodd/io/ZipUtil.java
+++ b/jodd-core/src/main/java/jodd/io/ZipUtil.java
@@ -227,7 +227,14 @@ public class ZipUtil {
}
}
- File file = (destDir !... | Fix the Zip slip (closes #<I>) | oblac_jodd | train | java |
25881e38c8b15e14933cc8fda869722d973fb6a5 | diff --git a/lib/seed-fu/seeder.rb b/lib/seed-fu/seeder.rb
index <HASH>..<HASH> 100644
--- a/lib/seed-fu/seeder.rb
+++ b/lib/seed-fu/seeder.rb
@@ -76,7 +76,7 @@ module SeedFu
end
def find_or_initialize_record(data)
- @model_class.where(constraint_conditions(data)).first ||
+ @model_class.w... | Remove implicit ordering when searching existing row by constraint | mbleigh_seed-fu | train | rb |
3f42562de766a90f35ffa9a9efd1234814ad390c | diff --git a/dist/vue.js b/dist/vue.js
index <HASH>..<HASH> 100644
--- a/dist/vue.js
+++ b/dist/vue.js
@@ -83,7 +83,7 @@ function toString (val) {
}
/**
- * Convert a input value to a number for persistence.
+ * Convert an input value to a number for persistence.
* If the conversion fails, return original string.... | chore: fix comment typo (#<I>)
correct "a input" to "an input" | kaola-fed_megalo | train | js |
3c8e758caa11abe63040058ba136a68d2b620ea3 | diff --git a/setuptools/tests/fixtures.py b/setuptools/tests/fixtures.py
index <HASH>..<HASH> 100644
--- a/setuptools/tests/fixtures.py
+++ b/setuptools/tests/fixtures.py
@@ -6,9 +6,6 @@ import pytest
from . import contexts
-SRC_DIR = pathlib.Path(__file__).parents[2]
-
-
@pytest.fixture
def user_override(monkey... | Avoid indirection in src_dir | pypa_setuptools | train | py |
6c78a462856ef44af7272492f260769a308576bf | diff --git a/src/ocrmypdf/optimize.py b/src/ocrmypdf/optimize.py
index <HASH>..<HASH> 100644
--- a/src/ocrmypdf/optimize.py
+++ b/src/ocrmypdf/optimize.py
@@ -172,14 +172,6 @@ def extract_image_generic(
# jpeg_quality_estimate = 117.0 * (bytes_per_pixel ** 0.213)
# if jpeg_quality_estimate < 65:
... | optimize: remove inaccurate about ICCs
pikepdf will now get the ICC profile out and put it in the JPEG. | jbarlow83_OCRmyPDF | train | py |
76fe696118a57f9b662ec52838f159482a931502 | diff --git a/modules/components/Route.js b/modules/components/Route.js
index <HASH>..<HASH> 100644
--- a/modules/components/Route.js
+++ b/modules/components/Route.js
@@ -72,7 +72,7 @@ var Route = React.createClass({
getUnreservedProps: function (props) {
return withoutProperties(props, RESERVED_PROPS);
-... | Removed trailing comma
Trailing commas don't work in old versions of IE, and are not present
in the rest of the codebase. Removed the one that remained, which
allows Google Closure compiler to compiles this code. | taion_rrtr | train | js |
601915cede0b0e64aaf55458047e2031b16d2505 | diff --git a/wireprotocol/3_2_support.js b/wireprotocol/3_2_support.js
index <HASH>..<HASH> 100644
--- a/wireprotocol/3_2_support.js
+++ b/wireprotocol/3_2_support.js
@@ -329,6 +329,11 @@ WireProtocol.prototype.getMore = function(
queryOptions.session = cursorState.session;
}
+ // We need to increment the st... | refactor(wire-protocol): ensure stmtId is incremented on getMore | mongodb_node-mongodb-native | train | js |
74161992e1010fbf687d57cc285c2c3dd7ffa752 | diff --git a/test/fixture/nuxt.config.js b/test/fixture/nuxt.config.js
index <HASH>..<HASH> 100644
--- a/test/fixture/nuxt.config.js
+++ b/test/fixture/nuxt.config.js
@@ -54,7 +54,5 @@ module.exports = {
method: 'GET'
}
]
- },
-
-
+ }
} | chore: fix lint issues | nuxt-community_pwa-module | train | js |
9c2cb644964e8b523511b84b916e81d824dafe71 | diff --git a/lib/tools/system-calls.js b/lib/tools/system-calls.js
index <HASH>..<HASH> 100644
--- a/lib/tools/system-calls.js
+++ b/lib/tools/system-calls.js
@@ -871,12 +871,12 @@ systemCallMethods.ls = async function (remotePath, opts = []) {
*/
systemCallMethods.fileSize = async function (remotePath) {
try {
-... | Fix the list of acceptable chars in permissions string (#<I>) | appium_appium-adb | train | js |
836cae0e9be4035c16b17430f6d4273e68f5d518 | diff --git a/wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/rest/OrientDBHttpAPIResource.java b/wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/rest/OrientDBHttpAPIResource.java
index <HASH>..<HASH> 100644
--- a/wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/rest/OrientDBHttpAPIResour... | Remove extra ? in url to orientdb http API | OrienteerBAP_wicket-orientdb | train | java |
b1525325a55268512863c76cec1c461075c792df | diff --git a/cwltool/draft2tool.py b/cwltool/draft2tool.py
index <HASH>..<HASH> 100644
--- a/cwltool/draft2tool.py
+++ b/cwltool/draft2tool.py
@@ -372,9 +372,9 @@ class CommandLineTool(Process):
"writable": t.get("writable")
}
else:
- ... | Fix entryname and writable
In InitialWorkDirRequirement section
if listing is set as Expression that
returns list of objects like
[
{
"entry": inputs.input_name
}
]
where input_name is File, cwltool
shouldn't fail trying to get
"entryname" or "writable" fields
from the Dict. | common-workflow-language_cwltool | train | py |
4be983dbf42b019930449af1a3c46f76aa40781a | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -1133,7 +1133,7 @@ function handleWSMessage(opts, data, flags) {
if (_data.is_private) {
if (client.directMessages[channelID]) return;
- client.directMessages[channelID] = new DMChannel(DMTranslat... | Fix crashes on creation/deletion of DMChannels | izy521_discord.io | train | js |
a31c1902f1d8bde9c36091cab5fd0eebe4ce4628 | diff --git a/lib/fog/aws/models/storage/file.rb b/lib/fog/aws/models/storage/file.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/aws/models/storage/file.rb
+++ b/lib/fog/aws/models/storage/file.rb
@@ -76,6 +76,9 @@ module Fog
if @acl
options['x-amz-acl'] ||= @acl
end
+ if conte... | [aws|storage] pass content_type through model correctly | fog_fog | train | rb,rb |
a0f826127d115360b17ac73f39cfe1e569db731f | diff --git a/addon/components/sl-date-time.js b/addon/components/sl-date-time.js
index <HASH>..<HASH> 100755
--- a/addon/components/sl-date-time.js
+++ b/addon/components/sl-date-time.js
@@ -62,9 +62,11 @@ export default Ember.Component.extend( TooltipEnabled, {
switch ( this.get( 'format' ) ) {
c... | Add "break" that should have been added in prior refactor | softlayer_sl-ember-components | train | js |
84f551137556a56ff4d11c6d159a98c1a5fb1d28 | diff --git a/w1thermsensor/cli.py b/w1thermsensor/cli.py
index <HASH>..<HASH> 100644
--- a/w1thermsensor/cli.py
+++ b/w1thermsensor/cli.py
@@ -10,8 +10,6 @@ from itertools import count
from .core import W1ThermSensor
-W1ThermSensor.BASE_DIRECTORY = "test/mockedsensors"
-
def resolve_type_name(ctx, param, value)... | Remove mocked sensor from cli | timofurrer_w1thermsensor | train | py |
e03ad0d52f5300b38a8eeef7882ef7110c985587 | diff --git a/src/Server.php b/src/Server.php
index <HASH>..<HASH> 100644
--- a/src/Server.php
+++ b/src/Server.php
@@ -48,10 +48,12 @@ class Server implements EmitterAwareInterface
/**
* New server instance
+ *
+ * @param string $pathToPrivateKey
*/
- public function __construct()
+ pub... | Server constructor expects path to private key | thephpleague_oauth2-server | train | php |
7f8a17c0b054c81fe7f264d4204df025cd812b9f | diff --git a/src/Behat/Testwork/Tester/Result/TestResults.php b/src/Behat/Testwork/Tester/Result/TestResults.php
index <HASH>..<HASH> 100644
--- a/src/Behat/Testwork/Tester/Result/TestResults.php
+++ b/src/Behat/Testwork/Tester/Result/TestResults.php
@@ -12,7 +12,6 @@ namespace Behat\Testwork\Tester\Result;
use Arra... | TestResults does not need Iterator | Behat_Behat | train | php |
f0c96c1e1eca6c04257bcc45f208df808a53cc6b | diff --git a/extensions/guacamole-auth-totp/src/main/java/org/apache/guacamole/auth/totp/user/UserVerificationService.java b/extensions/guacamole-auth-totp/src/main/java/org/apache/guacamole/auth/totp/user/UserVerificationService.java
index <HASH>..<HASH> 100644
--- a/extensions/guacamole-auth-totp/src/main/java/org/ap... | GUACAMOLE-<I>: Take configured "totp-period" into account when generating tokens. | glyptodon_guacamole-client | train | java |
695e568f24df284e7a10d14d34606277f7073034 | diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py
index <HASH>..<HASH> 100644
--- a/pandas/core/indexes/base.py
+++ b/pandas/core/indexes/base.py
@@ -220,7 +220,7 @@ class Index(IndexOpsMixin, PandasObject):
_typ = "index"
_data: Union[ExtensionArray, np.ndarray]
- _id: _Identity
+ ... | BUG: Index._id (#<I>) | pandas-dev_pandas | train | py |
fab6a899d8443ead2d39827b630b40cb87ce3ad2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -120,7 +120,8 @@ function gatherReferences(file, project) {
var cache = {};
var filePath = file.filePath();
var directory = file.directory;
- var ast = file.namespace('mdast').ast;
+ var space = file.names... | Add support for future changes in unified | remarkjs_remark-validate-links | train | js |
2cc2904bec4a56c2966d8c94cec372e917af270a | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -396,7 +396,7 @@ var Umzug = module.exports = redefine.Class(/** @lends Umzug.prototype */ {
},
/**
- * Loads all migrations.
+ * Loads all migrations in ascending order.
*
* @returns {Promise.<Migration[]>... | Move sort from `pending` to `_findMigrations` | sequelize_umzug | train | js |
42a05c1df51d2aebcc516226a6a3d709c108ec7a | diff --git a/gulp/tasks/watch.js b/gulp/tasks/watch.js
index <HASH>..<HASH> 100644
--- a/gulp/tasks/watch.js
+++ b/gulp/tasks/watch.js
@@ -17,6 +17,7 @@ export default function(gulp, plugins, args, config, taskTarget, browserSync) {
if (!args.production) {
// Styles
gulp.watch([
+ path.join('*... | Gulp now also watches the main plugin files | Dan503_mq-scss | train | js |
7ca6c09c4428c9b8a07d66562cb0a758a69f064c | diff --git a/packages/insomnia-smoke-test/core/app.test.js b/packages/insomnia-smoke-test/core/app.test.js
index <HASH>..<HASH> 100644
--- a/packages/insomnia-smoke-test/core/app.test.js
+++ b/packages/insomnia-smoke-test/core/app.test.js
@@ -123,7 +123,7 @@ describe('Application launch', function() {
await expect... | Deploy to portal smoke test works again (#<I>) | getinsomnia_insomnia | train | js |
605c92ba362d21722099fb8429ca47a05001ceb9 | diff --git a/lib/js/scope.js b/lib/js/scope.js
index <HASH>..<HASH> 100644
--- a/lib/js/scope.js
+++ b/lib/js/scope.js
@@ -119,12 +119,15 @@ function process(ast, scope){
var isVariableInit = isVariableDeclarator && parent.init === token;
var isLeftOfAssignment = isAssignmentExpression && parent.left ... | js/scope: mark for..in var name as used | basisjs_basisjs-tools-ast | train | js |
dc3806c672ab8cd4ec0e03add1cf138c69cfd444 | diff --git a/tools/profiling/microbenchmarks/bm_json.py b/tools/profiling/microbenchmarks/bm_json.py
index <HASH>..<HASH> 100644
--- a/tools/profiling/microbenchmarks/bm_json.py
+++ b/tools/profiling/microbenchmarks/bm_json.py
@@ -203,4 +203,5 @@ def expand_json(js, js2 = None):
row['real_time'] = bm2['real_... | Fix a noise creating bug in bm_json (for bm_diff) | grpc_grpc | train | py |
901b873268a283a479c5ae7d69cc7c86ecff3377 | diff --git a/core/file-tree/index.js b/core/file-tree/index.js
index <HASH>..<HASH> 100644
--- a/core/file-tree/index.js
+++ b/core/file-tree/index.js
@@ -65,7 +65,7 @@ function fileTree(dir) {
var urlToFile = dir + '/' + targetFile,
baseName = path.basename(dir);
- urlToFile = path.norma... | Fix for windows environment.
Because of backslashes in windows urls to files were not created. Simple string manipulation fixed the issue. | sourcejs_Source | train | js |
30bf93534ab6a7def75a9ffb72f7310203fdd613 | diff --git a/modules/activiti-cycle/src/test/java/org/activiti/cycle/impl/connector/demo/DemoConnectorTest.java b/modules/activiti-cycle/src/test/java/org/activiti/cycle/impl/connector/demo/DemoConnectorTest.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-cycle/src/test/java/org/activiti/cycle/impl/connector/de... | fixed test case after refactoring form handling for artifact actions | Activiti_Activiti | train | java |
ad046f6470da63798552bb83925c86890cc0e8d7 | diff --git a/classes/phing/filters/ConcatFilter.php b/classes/phing/filters/ConcatFilter.php
index <HASH>..<HASH> 100644
--- a/classes/phing/filters/ConcatFilter.php
+++ b/classes/phing/filters/ConcatFilter.php
@@ -87,7 +87,7 @@ class ConcatFilter extends BaseParamFilterReader implements ChainableReader
* ... | Fixed wrong init value (#<I>) | phingofficial_phing | train | php |
8abb132f8aea29561841036f8824b0bd02fbf121 | diff --git a/src/Contracts/Hydrator/HydratesRelatedInterface.php b/src/Contracts/Hydrator/HydratesRelatedInterface.php
index <HASH>..<HASH> 100644
--- a/src/Contracts/Hydrator/HydratesRelatedInterface.php
+++ b/src/Contracts/Hydrator/HydratesRelatedInterface.php
@@ -43,7 +43,7 @@ interface HydratesRelatedInterface
... | [Refactor] Allow hydrates related to return null
Some hydration of related resource do not require any related
records to be returned for persistence. As such, allow a hydrator
that implements this interface to return a void (null) result. | cloudcreativity_json-api | train | php |
15fb53bfbb96d1df41bcf34e048207b3af3bf33a | diff --git a/h2o-core/src/main/java/water/rapids/ast/prims/mungers/AstDdply.java b/h2o-core/src/main/java/water/rapids/ast/prims/mungers/AstDdply.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/rapids/ast/prims/mungers/AstDdply.java
+++ b/h2o-core/src/main/java/water/rapids/ast/prims/mungers/AstDdpl... | Fix leak of a temporary frame in AstDdply | h2oai_h2o-3 | train | java |
4ed45539e964f99a55f13dbe20eb4a55b617be6b | diff --git a/test/utils/shared.js b/test/utils/shared.js
index <HASH>..<HASH> 100644
--- a/test/utils/shared.js
+++ b/test/utils/shared.js
@@ -4,6 +4,12 @@ var expect = chai.expect;
var utils = require('../../dist/utils/shared');
describe ('utils/shared', () => {
+ describe ('idKeys', () => {
+ it ('should spli... | Add tests for new utils/shared/idKeys | cloudfour_drizzle-builder | train | js |
deee1328de154183301a54741bc41dae8659c072 | diff --git a/lib/rspec-puppet/example/function_example_group.rb b/lib/rspec-puppet/example/function_example_group.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec-puppet/example/function_example_group.rb
+++ b/lib/rspec-puppet/example/function_example_group.rb
@@ -15,6 +15,8 @@ module RSpec::Puppet
# This method... | Make sure all parameters are frozen before executing a function | rodjek_rspec-puppet | train | rb |
a19fd6ed6e3f35be6cfc646dd29861265981fae7 | diff --git a/images/image.go b/images/image.go
index <HASH>..<HASH> 100644
--- a/images/image.go
+++ b/images/image.go
@@ -315,7 +315,8 @@ func Children(ctx context.Context, provider content.Provider, desc ocispec.Descr
MediaTypeDockerSchema2LayerForeign, MediaTypeDockerSchema2LayerForeignGzip,
MediaTypeDockerSch... | Add checkpoint media types to handler | containerd_containerd | train | go |
b3d1b8e5271e51a348f3fddb9b1188e50c8869f3 | diff --git a/core/src/main/java/com/dtolabs/rundeck/plugins/scm/ImportResult.java b/core/src/main/java/com/dtolabs/rundeck/plugins/scm/ImportResult.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/dtolabs/rundeck/plugins/scm/ImportResult.java
+++ b/core/src/main/java/com/dtolabs/rundeck/plugins/scm/ImportR... | import result includes previous import metadata in result job | rundeck_rundeck | train | java |
a352b53f905c940c6f967d489aa3466ec22ee63e | diff --git a/src/providers/chartbeat/chartbeat-test.js b/src/providers/chartbeat/chartbeat-test.js
index <HASH>..<HASH> 100644
--- a/src/providers/chartbeat/chartbeat-test.js
+++ b/src/providers/chartbeat/chartbeat-test.js
@@ -26,7 +26,7 @@
expect(window.pSUPERFLY).to.exist;
expect(window._sf_... | increasing timeout on chartbeat test so that it passes | segmentio_analytics.js-core | train | js |
5ee7ff336ded3f14fcc69084c19bd450eca15524 | diff --git a/src/Manager.php b/src/Manager.php
index <HASH>..<HASH> 100644
--- a/src/Manager.php
+++ b/src/Manager.php
@@ -309,7 +309,7 @@ class Manager
$functions = ['trans', 'trans_choice', 'Lang::get', 'Lang::choice', 'Lang::trans', 'Lang::transChoice', '@lang', '@choice'];
$pattern =
- ... | ignore concatenated vars when syncing | themsaid_laravel-langman | train | php |
130121711c3258cc5cb6123379f2b4b419851c6e | diff --git a/dev/run-tests.py b/dev/run-tests.py
index <HASH>..<HASH> 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -249,15 +249,6 @@ def get_zinc_port():
return random.randrange(3030, 4030)
-def kill_zinc_on_port(zinc_port):
- """
- Kill the Zinc process running on the given port, if one exist... | fix security issue of zinc(update run-tests.py) | apache_spark | train | py |
46f63c30e30364eb04160df71056d4d34e97af21 | diff --git a/git/cmd.py b/git/cmd.py
index <HASH>..<HASH> 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -4,7 +4,7 @@
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
-import os, sys
+import os, sys, platform, time
from util import *
from ... | Hacked the wait function so that it works with pyside in OS X by using "sleep()". | gitpython-developers_GitPython | train | py |
56dea6a3ca7a71215cf7aa126a84528d00bfb722 | diff --git a/spec/support/mock_http_service.rb b/spec/support/mock_http_service.rb
index <HASH>..<HASH> 100644
--- a/spec/support/mock_http_service.rb
+++ b/spec/support/mock_http_service.rb
@@ -27,6 +27,9 @@ module Koala
SECRET = OAUTH_DATA['secret']
SUBSCRIPTION_DATA = TEST_DATA["subscription_test_data"]
... | Mock tests use the okjson engine to ensure consistent behavior (e.g. string formation) across environments. | arsduo_koala | train | rb |
04cedea7e4c53ae5aefd27ad65a32ee5c2106db0 | diff --git a/packages/gluestick/src/commands/autoUpgrade/updateDependencies.js b/packages/gluestick/src/commands/autoUpgrade/updateDependencies.js
index <HASH>..<HASH> 100644
--- a/packages/gluestick/src/commands/autoUpgrade/updateDependencies.js
+++ b/packages/gluestick/src/commands/autoUpgrade/updateDependencies.js
@... | don't reorder fileds in package.json | TrueCar_gluestick | train | js |
43dddcafe4bc6b013615acdac0bf54313bb648e1 | diff --git a/aiogram/contrib/middlewares/i18n.py b/aiogram/contrib/middlewares/i18n.py
index <HASH>..<HASH> 100644
--- a/aiogram/contrib/middlewares/i18n.py
+++ b/aiogram/contrib/middlewares/i18n.py
@@ -50,7 +50,7 @@ class I18nMiddleware(BaseMiddleware):
translations = {}
for name in os.listdir(self... | Oops. Wrong path. | aiogram_aiogram | train | py |
86992971f852159956ad29f8eedde715ec4bbc89 | diff --git a/code/model/UserDefinedForm.php b/code/model/UserDefinedForm.php
index <HASH>..<HASH> 100755
--- a/code/model/UserDefinedForm.php
+++ b/code/model/UserDefinedForm.php
@@ -280,10 +280,10 @@ class UserDefinedForm extends Page {
*
* @return ArrayList
*/
- public function FilteredEmailRecipients() {
+ ... | FEATURE: Add data and form arguments to Filtered Email Recipients
Most use cases for Filtered Email Recipients will probably require
using the data submitted via the user form. | silverstripe_silverstripe-userforms | train | php |
c87501f9aaf91540cc6841f16f7619a4b536cb70 | diff --git a/lib/css/base.js b/lib/css/base.js
index <HASH>..<HASH> 100644
--- a/lib/css/base.js
+++ b/lib/css/base.js
@@ -357,30 +357,23 @@
},
remove: {
- value: function (propagate) {
- if (!propagate) {
- this.detach();
- }
-
- this.forEach(function (child) {
- child.remove(true);
- });... | merged 'remove' and 'detach' methods | stylecow_stylecow | train | js |
3693a27ec70b77c6ac53d40543cb32826084c242 | diff --git a/addons/info/src/components/Node.js b/addons/info/src/components/Node.js
index <HASH>..<HASH> 100644
--- a/addons/info/src/components/Node.js
+++ b/addons/info/src/components/Node.js
@@ -58,14 +58,15 @@ export default function Node(props) {
paddingRight: 3,
};
- Object.assign(containerStyle, left... | Fix storybooks/storybook#<I> - issue with react fiber and immutable props. | storybooks_storybook | train | js |
bb9de101a23c29b898bf91a1f7619d807d132583 | diff --git a/topydo/cli/TopydoCompleter.py b/topydo/cli/TopydoCompleter.py
index <HASH>..<HASH> 100644
--- a/topydo/cli/TopydoCompleter.py
+++ b/topydo/cli/TopydoCompleter.py
@@ -30,7 +30,9 @@ from topydo.lib.RelativeDate import relative_date_to_date
def _subcommands(p_word_before_cursor):
""" Generator for sub... | Add aliases into completion in prompt mode | bram85_topydo | train | py |
5cad718c225fe8120b3ae39c3c470eb6c496f465 | diff --git a/opinel/utils/aws.py b/opinel/utils/aws.py
index <HASH>..<HASH> 100644
--- a/opinel/utils/aws.py
+++ b/opinel/utils/aws.py
@@ -125,7 +125,7 @@ def handle_truncated_response(callback, params, entities):
for entity in entities:
if entity in response:
results[... | Add one marker value (for resourcetaggingapi) | nccgroup_opinel | train | py |
9b0929582874cab3b3d18e283a841c43fd198eaf | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,13 +4,19 @@ import sys
import setuptools
-root_dir = pathlib.Path(__file__).parent.resolve()
+root_dir = pathlib.Path(__file__).parent
description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)"
... | Adjust f<I>a4ad for compatibility with Python <I>. | aaugustin_websockets | train | py |
eac0dee9d6110d340ea7df6885486b4327052d2f | diff --git a/pkg/ipam/node.go b/pkg/ipam/node.go
index <HASH>..<HASH> 100644
--- a/pkg/ipam/node.go
+++ b/pkg/ipam/node.go
@@ -1002,10 +1002,6 @@ func (n *Node) syncToAPIServer() (err error) {
}
for retry := 0; retry < 2; retry++ {
- if node.Spec.IPAM.Pool == nil {
- node.Spec.IPAM.Pool = ipamTypes.AllocationM... | ipam: Remove superfluous if statement
The `node.Spec.IPAM.Pool` value is always overwritten after the removed
`if` statement, so there is no need to initialize it. | cilium_cilium | train | go |
500b3c43bb637e1f72c4067867902d5f1ae90945 | diff --git a/addon/components/sl-modal-header.js b/addon/components/sl-modal-header.js
index <HASH>..<HASH> 100755
--- a/addon/components/sl-modal-header.js
+++ b/addon/components/sl-modal-header.js
@@ -45,7 +45,13 @@ export default Ember.Component.extend({
ariaLabelledBy: Ember.computed(
'elementId',
... | Closes softlayer/sl-ember-components#<I> | softlayer_sl-ember-components | train | js |
731b344316a5a3c86148cabf9ceb9577ece4eb35 | diff --git a/src/test/java/org/kaazing/gateway/service/http/directory/DirectoryServiceEmbeddedGWTestIT.java b/src/test/java/org/kaazing/gateway/service/http/directory/DirectoryServiceEmbeddedGWTestIT.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/kaazing/gateway/service/http/directory/DirectoryServiceEmbedded... | Removed bridge requests that are no longer used | kaazing_gateway | train | java |
ff41b02fb6755b19f8049cf66f05e77251370f99 | diff --git a/src/Ractive.prototype/observe.js b/src/Ractive.prototype/observe.js
index <HASH>..<HASH> 100644
--- a/src/Ractive.prototype/observe.js
+++ b/src/Ractive.prototype/observe.js
@@ -34,7 +34,7 @@
observer = new Observer( root, keypath, callback, options );
if ( !options || options.init !== false ) {
- ... | force observer init for cases where initial value is undefined | ractivejs_ractive | train | js |
79636c1cdbb2ef70c16118fa35a1ed9021cde90f | diff --git a/lib/rspreedly/subscriber.rb b/lib/rspreedly/subscriber.rb
index <HASH>..<HASH> 100644
--- a/lib/rspreedly/subscriber.rb
+++ b/lib/rspreedly/subscriber.rb
@@ -19,6 +19,7 @@ module RSpreedly
:on_trial,
:payment_method,
:ready_to_renew,
+ ... | Added ready_to_renew_since to Subscriber attributes | rlivsey_rspreedly | train | rb |
63a56dadd2d65d1cbc707c36bbe0014ddae7fbdf | diff --git a/nion/swift/DocumentController.py b/nion/swift/DocumentController.py
index <HASH>..<HASH> 100755
--- a/nion/swift/DocumentController.py
+++ b/nion/swift/DocumentController.py
@@ -780,10 +780,11 @@ class DocumentController(Window.Window):
match_items.update(display_item.data_items)
... | Show computations with extended display items as inputs too. | nion-software_nionswift | train | py |
47cb53bd8be5aa880ddb20cca4571ad3430bd33f | diff --git a/domain.go b/domain.go
index <HASH>..<HASH> 100644
--- a/domain.go
+++ b/domain.go
@@ -1087,6 +1087,7 @@ type DomainGraphic struct {
type DomainVideoAccel struct {
Accel3D string `xml:"accel3d,attr,omitempty"`
+ Accel2D string `xml:"accel2d,attr,omitempty"`
}
type DomainVideoModel struct {
diff --g... | Add accel2d attribute support for video devices | libvirt_libvirt-go-xml | train | go,go |
6e5690031a750aab61ff43a93d0d8034cf69465f | diff --git a/lib/action_kit_api/page.rb b/lib/action_kit_api/page.rb
index <HASH>..<HASH> 100644
--- a/lib/action_kit_api/page.rb
+++ b/lib/action_kit_api/page.rb
@@ -7,8 +7,6 @@ module ActionKitApi
# class. Please refer to the ActionKit API documentation for more
# information about pages
class Page < ApiData... | Made Page class unsearchable, this might have caused issues with the searchability of sub-types and the Page parent really shouldn't be used most of the time | Democracy-for-America_ActionKitApi | train | rb |
fb8f3270c6d669a7cd19344385bb0da0c4c051c0 | diff --git a/lib/maxminddb.rb b/lib/maxminddb.rb
index <HASH>..<HASH> 100644
--- a/lib/maxminddb.rb
+++ b/lib/maxminddb.rb
@@ -184,7 +184,7 @@ module MaxMindDB
return ip_or_hostname if RUBY_VERSION.to_f >= 2.4 && klass == Integer
addr = IPAddr.new(ip_or_hostname)
- addr = addr.ipv4_compat if addr.i... | Prefer the IPv4-Mapped IPv6 Address
- This form is not deprecated
- Ruby commit which deprecated the method, in <I>
<URL> | yhirose_maxminddb | train | rb |
e7d9754da697cf801fa7610205c5b85e30cafc39 | diff --git a/flask_user/user_manager__settings.py b/flask_user/user_manager__settings.py
index <HASH>..<HASH> 100644
--- a/flask_user/user_manager__settings.py
+++ b/flask_user/user_manager__settings.py
@@ -60,6 +60,7 @@ class UserManager__Settings(object):
#: The application name displayed in email templates an... | Update user_manager__settings.py | lingthio_Flask-User | train | py |
8f2b3e0f614b5ca29f779dd8346d372fb6aaf404 | diff --git a/aws_lambda/aws_lambda.py b/aws_lambda/aws_lambda.py
index <HASH>..<HASH> 100755
--- a/aws_lambda/aws_lambda.py
+++ b/aws_lambda/aws_lambda.py
@@ -173,6 +173,9 @@ def pip_install_to_target(path):
"""
print('Gathering pip packages')
for r in pip.operations.freeze.freeze():
+ if r.starts... | don't try to install python with Pip | nficano_python-lambda | train | py |
f2dbbdd0c6306980b65d194781c8b98f19ef779d | diff --git a/aws/resource_aws_iot_thing_test.go b/aws/resource_aws_iot_thing_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_iot_thing_test.go
+++ b/aws/resource_aws_iot_thing_test.go
@@ -19,6 +19,7 @@ func TestAccAWSIotThing_basic(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
PreCheck: ... | tests/r/iot_thing: Add ErrorCheck | terraform-providers_terraform-provider-aws | train | go |
83dbbf2629619a7162d1137c879f9f685d93a8ca | diff --git a/src/Common/Model/Base.php b/src/Common/Model/Base.php
index <HASH>..<HASH> 100644
--- a/src/Common/Model/Base.php
+++ b/src/Common/Model/Base.php
@@ -449,7 +449,7 @@ abstract class Base
*/
public function update($iId, array $aData = []): bool
{
- $this->triggerEvent(static::EVENT_UPD... | Pass ID to the model `EVENT_UPDATING` event | nails_common | train | php |
21a4172ab6cbbdbb1f89664d51e1553f04e5b37e | diff --git a/ext/nio4r/org/nio4r/Selector.java b/ext/nio4r/org/nio4r/Selector.java
index <HASH>..<HASH> 100644
--- a/ext/nio4r/org/nio4r/Selector.java
+++ b/ext/nio4r/org/nio4r/Selector.java
@@ -7,6 +7,7 @@ import java.io.IOException;
import java.nio.channels.Channel;
import java.nio.channels.SelectableChannel;
impo... | preventing CancelledKeyException, which randomly happens when selector selects an already closed key | socketry_nio4r | train | java |
83eb320dbfb1c4353f5cd381c8704dd2145d1c57 | diff --git a/ginga/util/plots.py b/ginga/util/plots.py
index <HASH>..<HASH> 100644
--- a/ginga/util/plots.py
+++ b/ginga/util/plots.py
@@ -342,7 +342,8 @@ class ContourPlot(Plot):
lbl.set(rotation=45, horizontalalignment='right')
# Set the pan and zoom position & redraw
- self... | Fixes for recent changes to matplotlib
- fixes some plotting errors for contour and surface plots in
ginga.util.plots that cropped up with the recent matplotlib changes | ejeschke_ginga | train | py |
56ffd806a017969d76ac77fe657688335103c4c9 | diff --git a/build_tools/compiler/template_processor.rb b/build_tools/compiler/template_processor.rb
index <HASH>..<HASH> 100644
--- a/build_tools/compiler/template_processor.rb
+++ b/build_tools/compiler/template_processor.rb
@@ -9,6 +9,8 @@ module Compiler
end
def process
+ # The block supplied to re... | Describe the magic block passed to ERB | alphagov_govuk_template | train | rb,rb |
f0f4ad21ccab9c85686a8b513613bcee92e03d39 | diff --git a/serf/events.go b/serf/events.go
index <HASH>..<HASH> 100644
--- a/serf/events.go
+++ b/serf/events.go
@@ -127,6 +127,7 @@ func (s *Serf) nodeJoin(n *memberlist.Node) {
Status: StatusAlive,
}
s.memberMap[n.Name] = mem
+ s.members = append(s.members, mem)
} else {
oldStatus = mem.Status
me... | Herp derp level <I>. Add member to array. | hashicorp_serf | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.