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 |
|---|---|---|---|---|---|
232e2d1d6107757734b74fd68f775c6acbef78fa | diff --git a/lib/moped/query.rb b/lib/moped/query.rb
index <HASH>..<HASH> 100644
--- a/lib/moped/query.rb
+++ b/lib/moped/query.rb
@@ -99,7 +99,16 @@ module Moped
# @return [Hash] the first document that matches the selector.
def first
- limit(-1).each.first
+ reply = session.context.query(
+ ... | Query#first uses session context for query | mongoid_moped | train | rb |
e86fefa709965ccaf67cef371ca2041786161b17 | diff --git a/src/Symfony/Component/DependencyInjection/ContainerBuilder.php b/src/Symfony/Component/DependencyInjection/ContainerBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/DependencyInjection/ContainerBuilder.php
+++ b/src/Symfony/Component/DependencyInjection/ContainerBuilder.php
@@ -350,7 +35... | Unset loading[$id] in ContainerBuilder on exception | symfony_symfony | train | php |
78e6e1e53e77158d2dadb9ffd7e739a71a915fed | diff --git a/src/test/java/software/coolstuff/springframework/owncloud/service/AbstractOwncloudResourceServiceTest.java b/src/test/java/software/coolstuff/springframework/owncloud/service/AbstractOwncloudResourceServiceTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/software/coolstuff/springframework/owncloud... | test call close() on SynchronizedPiped*Stream twice | coolstuffsoftware_owncloud-spring-boot-starter | train | java |
ff9187e9fa3c4d523227e00bef4a99acc2fb56c5 | diff --git a/lib/sass/script/parser.rb b/lib/sass/script/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/script/parser.rb
+++ b/lib/sass/script/parser.rb
@@ -295,11 +295,26 @@ RUBY
end
def arglist
+ if kw_args = keyword_arglist
+ return [kw_args]
+ end
return unless ... | Parse mixin includes with keyword style argument lists | sass_ruby-sass | train | rb |
893efd6fcd4488ba9ce07279765380746e69f423 | diff --git a/spec/support/rollbar_api.rb b/spec/support/rollbar_api.rb
index <HASH>..<HASH> 100644
--- a/spec/support/rollbar_api.rb
+++ b/spec/support/rollbar_api.rb
@@ -1,10 +1,15 @@
require 'rack/request'
class RollbarAPI
+
+ UNAUTHORIZED_ACCESS_TOKEN = 'unauthorized'
+
def call(env)
request = Rack::Req... | <I>: add support for unauthorized access token simulation | rollbar_rollbar-gem | train | rb |
2c00a6a647a402084bf59d1c9ebf7728c2492944 | diff --git a/lib/cide/cli.rb b/lib/cide/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/cide/cli.rb
+++ b/lib/cide/cli.rb
@@ -69,7 +69,7 @@ module CIDE
create_tmp_file DOCKERFILE, config.to_dockerfile
- docker :build, '--force-rm', '-t', tag, '.'
+ docker :build, '--force-rm', '-f', DOCKERFILE, '-t', ... | Avoid name clashes with projects who have a Dockerfile already | pusher_cide | train | rb,rb |
e70de9ce4db46cf3a4c0eb8d6a3a3e80ebe47aa7 | diff --git a/metrique/client/cubes/basesql.py b/metrique/client/cubes/basesql.py
index <HASH>..<HASH> 100644
--- a/metrique/client/cubes/basesql.py
+++ b/metrique/client/cubes/basesql.py
@@ -322,7 +322,7 @@ class BaseSql(BaseCube):
'''
if id_delta:
if type(id_delta) is list:
- ... | id_delta should be distinct set of object ids | kejbaly2_metrique | train | py |
fd24072763fc98c5fde1c29c9af592ba23c66afd | diff --git a/refcycle/__init__.py b/refcycle/__init__.py
index <HASH>..<HASH> 100644
--- a/refcycle/__init__.py
+++ b/refcycle/__init__.py
@@ -116,7 +116,6 @@ def snapshot():
[
obj for obj in all_objects
if obj is not this_frame
- if obj is not all_objects
]
)... | Remove an unnecessary 'if' clause from 'snapshot'. | mdickinson_refcycle | train | py |
17dbe502e706c349412f12fd880669d99921269e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ setup(
'pytz==2015.7',
'python-dateutil==2.5.3',
'django-bootstrap-form==3.2.1',
- 'seed-services-client>=0.15.0',
+ 'seed-services-client>=0.17.0',
'go-http==0.... | New version of seed-services-client for inbound message listing | praekeltfoundation_seed-control-interface | train | py |
98b88ea25e8ba84ad5222b78ee598f32e4d72020 | diff --git a/Tests/Fixtures/FOSUser.php b/Tests/Fixtures/FOSUser.php
index <HASH>..<HASH> 100644
--- a/Tests/Fixtures/FOSUser.php
+++ b/Tests/Fixtures/FOSUser.php
@@ -56,7 +56,7 @@ class FOSUser extends BaseUser
public function getRoles()
{
- return [];
+ return ['ROLE_USER'];
}
pu... | Add roles in tests users
Symfony changed and now does not authorize users without roles. | hwi_HWIOAuthBundle | train | php,php |
09629b68d34f743f23430e3d6cccb05ac47d9b5d | diff --git a/src/config.js b/src/config.js
index <HASH>..<HASH> 100644
--- a/src/config.js
+++ b/src/config.js
@@ -21,7 +21,7 @@ var defaults = module.exports = {
styles: '$STYLES$',
strings: {
- button: 'Check Out with <img src="http://minicartjs.com/images/paypal_65x18.png" width="65" height="18" a... | Using cdnjs button image for HTTP/S support; #<I> | jeffharrell_minicart | train | js |
9f3acfc73658b59341f88f6a76b92f008b0a8cb2 | diff --git a/lib/merb-core/core_ext/hash.rb b/lib/merb-core/core_ext/hash.rb
index <HASH>..<HASH> 100644
--- a/lib/merb-core/core_ext/hash.rb
+++ b/lib/merb-core/core_ext/hash.rb
@@ -400,6 +400,18 @@ end
class ToHashParser # :nodoc:
def self.from_xml(xml)
+ if defined?(Hpricot)
+ # TODO: actually use Hpri... | Refactor ToHashParser#from_xml a bit to be able to use parser faster than REXML. It is planned to support Hpricot and fall back to REXML. | wycats_merb | train | rb |
f5e8998aaa80540aae94b39f2e7ad9ece4dd5c4a | diff --git a/xchange-cryptsy/src/main/java/com/xeiam/xchange/cryptsy/CryptsyAdapters.java b/xchange-cryptsy/src/main/java/com/xeiam/xchange/cryptsy/CryptsyAdapters.java
index <HASH>..<HASH> 100644
--- a/xchange-cryptsy/src/main/java/com/xeiam/xchange/cryptsy/CryptsyAdapters.java
+++ b/xchange-cryptsy/src/main/java/com/... | Change cryptsy public trade sorting back to by id. | knowm_XChange | train | java |
4e9848948a9fab30a538080081d8f61d0d7bba76 | diff --git a/jupytext/cli.py b/jupytext/cli.py
index <HASH>..<HASH> 100644
--- a/jupytext/cli.py
+++ b/jupytext/cli.py
@@ -416,7 +416,7 @@ def jupytext(args=None):
for pattern in args.notebooks:
if "*" in pattern or "?" in pattern:
# Exclude the .jupytext.py configuration file
- no... | feat: add recursive glob option (#<I>)
Sure that will be useful! Thank you @b4nst | mwouts_jupytext | train | py |
4ef429f47997e3f0558104659af54db89ba8d699 | diff --git a/lib/jenkins_api_client/client.rb b/lib/jenkins_api_client/client.rb
index <HASH>..<HASH> 100644
--- a/lib/jenkins_api_client/client.rb
+++ b/lib/jenkins_api_client/client.rb
@@ -35,7 +35,7 @@ require 'logger'
#
module JenkinsApi
# This is the client class that acts as the bridge between the subclasses... | Use the client timeout setting as http read_timeout | arangamani_jenkins_api_client | train | rb |
e3ac302ecb861958c372cff13a699090d79dfa9e | diff --git a/cmd/open.go b/cmd/open.go
index <HASH>..<HASH> 100644
--- a/cmd/open.go
+++ b/cmd/open.go
@@ -6,12 +6,37 @@
package cmd
-import "github.com/tsuru/tsuru/exec"
+import (
+ "fmt"
+ "strings"
+ "golang.org/x/sys/unix"
+ "github.com/tsuru/tsuru/exec"
+)
+
+func isWSL() bool {
+ var u unix.Utsname
+ err := ... | feat: Adding WSL2 oauth support | tsuru_tsuru | train | go |
54cb2370fdf39db1cb084a8bf4a1c92546eab6a4 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -5,6 +5,7 @@ var randomBytes = require('randombytes')
var unorm = require('unorm')
var DEFAULT_WORDLIST = require('./wordlists/en.json')
+var JAPANESE_WORDLIST = require('./wordlists/ja.json')
function mnemonicToSeed(mn... | Expose Japanese wordlist for use | bitcoinjs_bip39 | train | js |
7187bc3cf51d5c4db3982b44bb51c24574559484 | diff --git a/tests/unit/core/oxarticleTest.php b/tests/unit/core/oxarticleTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/core/oxarticleTest.php
+++ b/tests/unit/core/oxarticleTest.php
@@ -2103,6 +2103,25 @@ class Unit_Core_oxArticleTest extends OxidTestCase
$this->assertEquals(1, count($oAmPriceList));
... | Add unit test for PR #<I>
Add unit tests which checks if brutto and netto prices are set when loadAmountPriceInfo is called. | OXID-eSales_oxideshop_ce | train | php |
9ec7073febacc39ca9e3fdd02e401226218e0422 | diff --git a/abilian/web/admin/panels/login_sessions.py b/abilian/web/admin/panels/login_sessions.py
index <HASH>..<HASH> 100644
--- a/abilian/web/admin/panels/login_sessions.py
+++ b/abilian/web/admin/panels/login_sessions.py
@@ -25,7 +25,7 @@ class LoginSessionsPanel(AdminPanel):
for session in sessions:
... | admin panel login sessions: don't break when ip_address is unknown | abilian_abilian-core | train | py |
1ad1c08c4f7ee09fcdd3dca31f8f31db7cacd3b0 | diff --git a/androidsvg/src/main/java/com/caverock/androidsvg/utils/SVGParserImpl.java b/androidsvg/src/main/java/com/caverock/androidsvg/utils/SVGParserImpl.java
index <HASH>..<HASH> 100644
--- a/androidsvg/src/main/java/com/caverock/androidsvg/utils/SVGParserImpl.java
+++ b/androidsvg/src/main/java/com/caverock/andro... | Issue <I>
S/s and T/t path commands were not being handled correctly if they were preceded by a V/v or H/h command. The cause was due to the lastControlX/lastControlY variables not being updated correctly in the V/v/H/h command handling. | BigBadaboom_androidsvg | train | java |
47aeec301d9c28ff7ea53428fdd51a3f6a4cbbf8 | diff --git a/tasker/ui.js b/tasker/ui.js
index <HASH>..<HASH> 100644
--- a/tasker/ui.js
+++ b/tasker/ui.js
@@ -20,6 +20,7 @@ gulp.task('ui:compile', function (cb) {
cb();
});
+// DEPRECATED
gulp.task('ui:compileui', function (cb) {
utils.error('Task \'ui:compileui\' no longer exists. It has been replaced by `... | added "DEPRECATED" comment | electric-eloquence_fepper-npm | train | js |
467d7de4e5e1d2fab8c9dbce2ff48acea482ce8b | diff --git a/tests/unit/modules/pip_test.py b/tests/unit/modules/pip_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/pip_test.py
+++ b/tests/unit/modules/pip_test.py
@@ -345,6 +345,16 @@ class PipTestCase(TestCase):
cwd=None
)
+ def test_extra_index_url_argument_in_result... | Added a mocked test case for `--extra-index-url` passing to `pip install`. | saltstack_salt | train | py |
5c2b2fcf03a29fe3b351753be2162e438c540c10 | diff --git a/tools.py b/tools.py
index <HASH>..<HASH> 100644
--- a/tools.py
+++ b/tools.py
@@ -9,6 +9,17 @@ class Tool(object):
def __init__(self, command_executor):
self.executor = command_executor
+ def process_line(self, line):
+ return []
+
+ def get_file_extension(self):
+ """
+... | A maybe-start to a better API? | justinabrahms_imhotep | train | py |
d3b160010e220e7c95dde1f81428ed1654ff4570 | diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py
index <HASH>..<HASH> 100755
--- a/tools/run_tests/run_interop_tests.py
+++ b/tools/run_tests/run_interop_tests.py
@@ -687,6 +687,14 @@ def server_jobspec(language, docker_image, insecure=False, manual_cmd_log=None):
iterto... | add comments for health check docker flags | grpc_grpc | train | py |
b6a2c1c721507ac17aa68206c7adda363d7e9c3f | diff --git a/lib/lwm2m.js b/lib/lwm2m.js
index <HASH>..<HASH> 100644
--- a/lib/lwm2m.js
+++ b/lib/lwm2m.js
@@ -145,9 +145,6 @@ export default function(RED) {
});
if (self.internalEventBus.emit('resolveClientName', {
clientName: self.clientName,
- serverId: s... | Strip server host and port from event arguments as they're not correct when bootstrap is enabled | CANDY-LINE_node-red-contrib-lwm2m | train | js |
e9d0706f8d07c2e939bc064036012d5bd8e16a0c | diff --git a/src/Hal/Application/Config/Validator.php b/src/Hal/Application/Config/Validator.php
index <HASH>..<HASH> 100644
--- a/src/Hal/Application/Config/Validator.php
+++ b/src/Hal/Application/Config/Validator.php
@@ -36,7 +36,7 @@ class Validator
$config->set('exclude', array_filter(explode(',', $config-... | added the key --report-json to validator | phpmetrics_PhpMetrics | train | php |
55c8d4dff14b26291af62f86e96b324716f75e01 | diff --git a/tests/test_oauth_client.py b/tests/test_oauth_client.py
index <HASH>..<HASH> 100644
--- a/tests/test_oauth_client.py
+++ b/tests/test_oauth_client.py
@@ -68,7 +68,7 @@ class TestOAuthClient(unittest.TestCase):
c = OAuthClient(instance="test", client_id="test1", client_secret="test2",
... | Replaced assertIsInstance() with assertEqual() with isinstance for python <I> compatibility | rbw_pysnow | train | py |
dcb18134be75f4d815f369eadec8734c4f24b3a3 | diff --git a/server/cells.go b/server/cells.go
index <HASH>..<HASH> 100644
--- a/server/cells.go
+++ b/server/cells.go
@@ -45,7 +45,7 @@ func newCellResponse(dID chronograf.DashboardID, cell chronograf.DashboardCell)
for _, lbl := range []string{"x", "y", "y2"} {
if _, found := newAxes[lbl]; !found {
newAxes[... | make empty axes bounds [,] instead of [] | influxdata_influxdb | train | go |
567831a9c640914520e63896fbd9baf3ef63cf08 | diff --git a/lib/Slackbot_worker.js b/lib/Slackbot_worker.js
index <HASH>..<HASH> 100755
--- a/lib/Slackbot_worker.js
+++ b/lib/Slackbot_worker.js
@@ -163,6 +163,7 @@ module.exports = function(botkit, config) {
pingIntervalId = setInterval(function() {
if (lastPong && lastPong + 12... | Log the error when the ping/pong times out | howdyai_botkit | train | js |
765a015008774903d3b2210b00bf78567cfe5b79 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -16,6 +16,8 @@ module.exports = function (source, destination, methods) {
methods = Object.keys(source)
}
+ if (typeof source === 'function') destination = thenify(source)
+
methods.forEach(function (name) {
... | add check if `source` is function, then thenify it | thenables_thenify-all | train | js |
bc2cc00f3b181c02549edca0320ef1c53984091b | diff --git a/examples/active-links/app.js b/examples/active-links/app.js
index <HASH>..<HASH> 100644
--- a/examples/active-links/app.js
+++ b/examples/active-links/app.js
@@ -44,6 +44,7 @@ class Users extends React.Component {
return (
<div>
<h2>Users</h2>
+ {this.props.children}
</di... | Render user information when under user route
I find that when it match the route "/users/ryan", it should show the user's id, but it won't.
I think the "Users" should render its children node, so I add some code to achieve this. | taion_rrtr | train | js |
cd5a87de4d0240cd78b2f3e88258840862d92aaf | diff --git a/ceph_deploy/tests/unit/test_conf.py b/ceph_deploy/tests/unit/test_conf.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/tests/unit/test_conf.py
+++ b/ceph_deploy/tests/unit/test_conf.py
@@ -127,3 +127,21 @@ class TestConfGetList(object):
"""))
cfg.readfp(conf_file)
assert cfg.get... | add a few tests for the truthy default | ceph_ceph-deploy | train | py |
95e04984fc58c75b7c6dd1ceeab5aa0baf63cc18 | diff --git a/allauth/socialaccount/fields.py b/allauth/socialaccount/fields.py
index <HASH>..<HASH> 100644
--- a/allauth/socialaccount/fields.py
+++ b/allauth/socialaccount/fields.py
@@ -58,10 +58,3 @@ class JSONField(models.TextField):
def value_from_object(self, obj):
"""Return value dumped to string.""... | chore: Remove obsolete references to south (#<I>) | pennersr_django-allauth | train | py,py |
45132c3075fe09eae5fcbe4d4dc7938150f29272 | diff --git a/utils/htmlWriter.js b/utils/htmlWriter.js
index <HASH>..<HASH> 100644
--- a/utils/htmlWriter.js
+++ b/utils/htmlWriter.js
@@ -61,7 +61,9 @@ function writeResourceHtml (resource, endpoints) {
}
function writeEndpointHtml (endpoint) {
- var cssEndpoint = endpoint.endpoint.split('/').concat(endpoint.meth... | removing query params from endpoint when creating css endpoint class | Wolox_dictum.js | train | js |
c3ae56565bbe05c9809c5ad1192fcfc3ae717114 | diff --git a/util/errors/errors.go b/util/errors/errors.go
index <HASH>..<HASH> 100644
--- a/util/errors/errors.go
+++ b/util/errors/errors.go
@@ -16,6 +16,13 @@ import (
argoerrs "github.com/argoproj/argo-workflows/v3/errors"
)
+func IgnoreContainerNotFoundErr(err error) error {
+ if err != nil && strings.Contain... | fix: Do not log container not found (#<I>) | argoproj_argo | train | go,go |
ccfd2160b9342646df9d229d08617b68e2a49049 | diff --git a/db/migrate/20100321134138_base.rb b/db/migrate/20100321134138_base.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/20100321134138_base.rb
+++ b/db/migrate/20100321134138_base.rb
@@ -45,7 +45,7 @@ class Base < ActiveRecord::Migration
create_table :elements_text_element_translations do |t|
t.refe... | Fixed another migration issue
Arg - should run tests when playing with db migrate ;) | humpyard_humpyard | train | rb |
64cf5de06fa5c35f2df999ca9fa3e43ee88dc0fa | diff --git a/tiebreaker.js b/tiebreaker.js
index <HASH>..<HASH> 100644
--- a/tiebreaker.js
+++ b/tiebreaker.js
@@ -80,7 +80,9 @@ var updateSeedAry = function (seedAry, match) {
// Interface
//------------------------------------------------------------------
-function TieBreaker(oldRes, posAry, limit) {
+// TODO: o... | an idea that could make TieBreaker a very very general way to solve all this shit | clux_tiebreaker | train | js |
0206252c25e2ad90b6e6d76c39e28cfd9b0a9a78 | diff --git a/src/test/java/org/roaringbitmap/buffer/TestMemoryMapping.java b/src/test/java/org/roaringbitmap/buffer/TestMemoryMapping.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/roaringbitmap/buffer/TestMemoryMapping.java
+++ b/src/test/java/org/roaringbitmap/buffer/TestMemoryMapping.java
@@ -269,9 +269,8 ... | Rewrote unit test slightly differently to reduce memory usage. | RoaringBitmap_RoaringBitmap | train | java |
17130cddf31c4eeec5f63845f22f9b7313599a01 | diff --git a/lib/fake_web.rb b/lib/fake_web.rb
index <HASH>..<HASH> 100644
--- a/lib/fake_web.rb
+++ b/lib/fake_web.rb
@@ -110,11 +110,11 @@ module FakeWeb
# Passing <tt>:status</tt> as a two-value array will set the response code
# and message. The defaults are <tt>200</tt> and <tt>OK</tt>, respectively.
... | Update RDoc to use the non-deprecated #register_uri syntax | chrisk_fakeweb | train | rb |
c1f90fb1c005a417c0b75f1118b12945ba7a3f60 | diff --git a/lib/feed2email/feed_data_file.rb b/lib/feed2email/feed_data_file.rb
index <HASH>..<HASH> 100644
--- a/lib/feed2email/feed_data_file.rb
+++ b/lib/feed2email/feed_data_file.rb
@@ -32,7 +32,7 @@ module Feed2Email
end
def path
- @path ||= File.join(CONFIG_DIR, filename)
+ File.join(CONFIG... | Do not memoize path since @uri may change
This fixes a bug where @uri had changed and upon syncing, data was
written to the old (memoized) path. | agorf_feed2email | train | rb |
0d61dae945844c8487c12bc424e888c75079aed3 | diff --git a/modules/isPrefixedProperty.js b/modules/isPrefixedProperty.js
index <HASH>..<HASH> 100644
--- a/modules/isPrefixedProperty.js
+++ b/modules/isPrefixedProperty.js
@@ -2,5 +2,5 @@
const regex = /^(Webkit|Moz|O|ms)/
export default function isPrefixedProperty(property: string): boolean {
- return property... | Use regex.test(str) instead of str.match(regex)
In both of these places, we really care about a boolean regex match so
we can use the much faster regex.test instead of str.match.
<URL> | rofrischmann_css-in-js-utils | train | js,js |
306bf45f9961f8e8bb8799d91ea54c0080ecc99f | diff --git a/src/Google/Service/CloudMonitoring.php b/src/Google/Service/CloudMonitoring.php
index <HASH>..<HASH> 100644
--- a/src/Google/Service/CloudMonitoring.php
+++ b/src/Google/Service/CloudMonitoring.php
@@ -353,7 +353,7 @@ class Google_Service_CloudMonitoring_Timeseries_Resource extends Google_Service_
* be... | Updated CloudMonitoring.php
This change has been generated by a script that has detected changes in the
discovery doc of the API.
Check <URL> | googleapis_google-api-php-client | train | php |
d07d98b67f6273ac2a6991f4de07046699d623c9 | diff --git a/lib/riemann/tools.rb b/lib/riemann/tools.rb
index <HASH>..<HASH> 100644
--- a/lib/riemann/tools.rb
+++ b/lib/riemann/tools.rb
@@ -28,6 +28,7 @@ module Riemann
opt :host, "Riemann host", :default => '127.0.0.1'
opt :port, "Riemann port", :default => 5555
+ opt :event_host,... | Allow the event host to be set on the command line
Useful when trying `riemann-health` on a box to which you don't
have access to change the hostname—like Heroku where `hostname`
returns a GUID that's meaningless to you. | riemann_riemann-tools | train | rb |
c923b297c3328b11c14a7f5b58466d09ff42653b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,15 +19,15 @@ except Exception as e:
tests_require = [
'coverage==4.2',
- 'flake8==2.5.4',
+ 'flake8==3.2.0',
'hypothesis==3.6.0',
'hypothesis-pytest==0.19.0',
'py==1.4.31',
- 'pydocstyle==1.... | upgrade to latest flake8, pydocstyle, pytest-cov, and sphinx dependencies | jab_bidict | train | py |
f70ccdb4d299542cdabfbae6eeef11db996006eb | diff --git a/api/catalog.go b/api/catalog.go
index <HASH>..<HASH> 100644
--- a/api/catalog.go
+++ b/api/catalog.go
@@ -6,12 +6,13 @@ type Node struct {
}
type CatalogService struct {
- Node string
- Address string
- ServiceID string
- ServiceName string
- ServiceTags []string
- ServicePort int
+ Node ... | Add 'ServiceAddress' field to 'CatalogService's truct | hashicorp_consul | train | go |
593a06d0e09d9e493ba36aaf0ec6296eeb349e1a | diff --git a/components/auth/iframe-flow.js b/components/auth/iframe-flow.js
index <HASH>..<HASH> 100644
--- a/components/auth/iframe-flow.js
+++ b/components/auth/iframe-flow.js
@@ -23,7 +23,7 @@ export default class IFrameFlow {
const authRequest = await this._requestBuilder.prepareAuthRequest(
// eslint-... | JPS-<I> fix infinite loading when logging in via Google or Github
This error caused by "nonRedirect" param. But it is OK to have it "false" and even redirect in iframe because it will actually close as soon as token get into localStorage | JetBrains_ring-ui | train | js |
0e4cf8bdddfd791bb456f4cf242561290148f048 | diff --git a/pyhomematic/devicetypes/misc.py b/pyhomematic/devicetypes/misc.py
index <HASH>..<HASH> 100644
--- a/pyhomematic/devicetypes/misc.py
+++ b/pyhomematic/devicetypes/misc.py
@@ -142,14 +142,14 @@ DEVICETYPES = {
"HmIP-BRC2": Remote,
"HmIP-WRC6": RemoteBatteryIP,
"HmIP-WRCD": RemoteBatteryIP,
- ... | Switch type for some HmIP remotes to RemoteBatteryIP (#<I>) | danielperna84_pyhomematic | train | py |
e3516c2185c195a0e9f6e6a94e4e6120fe4afaf1 | diff --git a/src/Models/AssetUploader.php b/src/Models/AssetUploader.php
index <HASH>..<HASH> 100644
--- a/src/Models/AssetUploader.php
+++ b/src/Models/AssetUploader.php
@@ -51,7 +51,7 @@ class AssetUploader extends Model
* Uploads the file/files or asset by creating the
* asset that is needed to upload th... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | thinktomorrow_assetlibrary | train | php,php |
0317c218b7be110bced878e6da353ca82ddc27e3 | diff --git a/Library/Installation/Updater/Updater021200.php b/Library/Installation/Updater/Updater021200.php
index <HASH>..<HASH> 100644
--- a/Library/Installation/Updater/Updater021200.php
+++ b/Library/Installation/Updater/Updater021200.php
@@ -76,14 +76,23 @@ class Updater021200
/** @var \CLaroline\CoreBund... | [CoreBundle] Add log on the updater that assign public url to users | claroline_Distribution | train | php |
13ac57c3f41bea4e29257cd762844154ce66ac94 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,14 +22,16 @@ long_description = read('README.md', 'CHANGES.md')
try:
import pypandoc
- long_description = pypandoc.convert('README.md', 'rst')\
- + pypandoc.convert('CHANGES.md', 'rst')
+ long_descript... | Added a new line between readme and changelog in the long description. | YavorPaunov_time2words | train | py |
c6a98c9ff6ceb47f427fb1df0423fc8a3980f2e5 | diff --git a/src/main/java/org/takes/facets/fork/FkTypes.java b/src/main/java/org/takes/facets/fork/FkTypes.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/takes/facets/fork/FkTypes.java
+++ b/src/main/java/org/takes/facets/fork/FkTypes.java
@@ -84,10 +84,13 @@ public final class FkTypes implements Fork {
... | #<I> FkTypes fixed | yegor256_takes | train | java |
43d0f5505960b8f5e73e7ea281581046fe5a5cff | diff --git a/lib/gemsmith/cli.rb b/lib/gemsmith/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/gemsmith/cli.rb
+++ b/lib/gemsmith/cli.rb
@@ -54,7 +54,7 @@ module Gemsmith
rails: "5.1"
},
generate: {
- bundler_audit: false,
+ bundler_audit: true,
circle_ci: false,
... | Updated Bundler Audit option to be enabled by default.
Ensures good security practices are in place for gem dependencies. | bkuhlmann_gemsmith | train | rb,rb |
0f7bf40587ba5fc983d0772fc65628e00f2855c7 | diff --git a/src/ScrollWatch.js b/src/ScrollWatch.js
index <HASH>..<HASH> 100644
--- a/src/ScrollWatch.js
+++ b/src/ScrollWatch.js
@@ -270,7 +270,7 @@ var checkElements = function(eventType) {
} else {
- if (el.classList.contains(inViewClass)) {
+ if (el.classList.contains(inViewClass) || eventType === initE... | Call onElementOutOfView during initialization | edull24_ScrollWatch | train | js |
6c36336e9fc45048ad43e4ff494c9d1ffc14fc49 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -2,9 +2,9 @@
# -*- coding: utf-8 -*-
extensions = [
- 'sphinx.ext.autodoc',
- 'jaraco.packaging.sphinx',
- 'rst.linker',
+ 'sphinx.ext.autodoc',
+ 'jaraco.packaging.sphinx',
+ 'rst.linker',
]
m... | Normalize indentation in docs/conf.py | yougov_vr.runners | train | py |
3d2a1b8b2912017282408d03afd537e73cc35ab0 | diff --git a/static/term.js b/static/term.js
index <HASH>..<HASH> 100644
--- a/static/term.js
+++ b/static/term.js
@@ -565,13 +565,13 @@ Term.prototype.write = function(str) {
// CSI Ps F
// Cursor Preceding Line Ps Times (default = 1) (CNL).
- case 69:
+ case 70:
... | fix csi F and G | IonicaBizau_web-term | train | js |
5606b91ee3ecdd559ec629a61279123f5cae596e | diff --git a/djcelery/admin.py b/djcelery/admin.py
index <HASH>..<HASH> 100644
--- a/djcelery/admin.py
+++ b/djcelery/admin.py
@@ -16,7 +16,7 @@ from celery import current_app
from celery import states
from celery import registry
from celery.task.control import broadcast, revoke, rate_limit
-from celery.utils import... | Fixes import error
Import turns out to be broken since commit f5f8b<I>d<I> in celery | celery_django-celery | train | py |
2eaeaf3130c307fee052c845be8d585512e46dce | diff --git a/parler/tests/test_forms.py b/parler/tests/test_forms.py
index <HASH>..<HASH> 100644
--- a/parler/tests/test_forms.py
+++ b/parler/tests/test_forms.py
@@ -158,7 +158,7 @@ class FormTests(AppTestCase):
r1 = RegularModel.objects.create(original_field='r1')
a = ForeignKeyTranslationModel.obje... | docs: Fix simple typo, swich -> switch
There is a small typo in parler/tests/test_forms.py.
Should read `switch` rather than `swich`. | django-parler_django-parler | train | py |
e944854e173f14fcacff21349babe5bd9cf9b1f2 | diff --git a/lib/hydra_attribute/version.rb b/lib/hydra_attribute/version.rb
index <HASH>..<HASH> 100644
--- a/lib/hydra_attribute/version.rb
+++ b/lib/hydra_attribute/version.rb
@@ -1,3 +1,3 @@
module HydraAttribute
- VERSION = '0.5.0.beta'
+ VERSION = '0.5.0.rc1'
end | Set version to <I>.rc1 | kostyantyn_hydra_attribute | train | rb |
9305f06e03403132feb1ea73629305cd7bab49b2 | diff --git a/controller/jobs/src/Controller/Jobs/Media/Scale/Standard.php b/controller/jobs/src/Controller/Jobs/Media/Scale/Standard.php
index <HASH>..<HASH> 100644
--- a/controller/jobs/src/Controller/Jobs/Media/Scale/Standard.php
+++ b/controller/jobs/src/Controller/Jobs/Media/Scale/Standard.php
@@ -74,7 +74,9 @@ cla... | Don't start new processes without items available | aimeos_ai-controller-jobs | train | php |
2f6713fde2ec2d402dad84b93258950b13c892c9 | diff --git a/pmagpy/ipmag.py b/pmagpy/ipmag.py
index <HASH>..<HASH> 100755
--- a/pmagpy/ipmag.py
+++ b/pmagpy/ipmag.py
@@ -4656,7 +4656,7 @@ is the percent cooling rate factor to apply to specimens from this sample, DA-CR
else:
MagRec[key] = ""
- # the following keys are cab be de... | fix another commit that was munched by <I>a1b<I>ae<I>bfabccab4bb3ffdf<I>d3ab | PmagPy_PmagPy | train | py |
9ee8e2be12dd5d2d648e62918fcb40f6a597cd34 | diff --git a/activity_monitor/signals.py b/activity_monitor/signals.py
index <HASH>..<HASH> 100755
--- a/activity_monitor/signals.py
+++ b/activity_monitor/signals.py
@@ -8,7 +8,7 @@ def create_or_update(sender, **kwargs):
"""
Create or update an Activity Monitor item from some instance.
"""
- now = d... | timezone's gonna go stink up the joint? | tBaxter_activity-monitor | train | py |
8481f1c2a614f920f10859fcf5a44fd0d08e0ed8 | diff --git a/src/QueryBuilder.php b/src/QueryBuilder.php
index <HASH>..<HASH> 100644
--- a/src/QueryBuilder.php
+++ b/src/QueryBuilder.php
@@ -2,17 +2,17 @@
namespace UniMapper;
-use UniMapper\Mapper,
- UniMapper\Reflection,
+use UniMapper\Reflection,
UniMapper\Exceptions\QueryBuilderException;
/**
- * ... | QueryBuilder: docblock update | unimapper_unimapper | train | php |
0a68d5efd84714035030ae891fea165a1497e898 | diff --git a/lib/Doctrine/DBAL/Platforms/OraclePlatform.php b/lib/Doctrine/DBAL/Platforms/OraclePlatform.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/DBAL/Platforms/OraclePlatform.php
+++ b/lib/Doctrine/DBAL/Platforms/OraclePlatform.php
@@ -754,8 +754,10 @@ LEFT JOIN all_cons_columns r_cols
'long' ... | DBAL-<I> - Add oracle raw/long-raw support (for legacy databases) | doctrine_dbal | train | php |
4637586b90c2ac524e25c4738a07d384ae317dea | diff --git a/app/models/build.rb b/app/models/build.rb
index <HASH>..<HASH> 100644
--- a/app/models/build.rb
+++ b/app/models/build.rb
@@ -19,6 +19,8 @@ class Build < ActiveRecord::Base
after_create { update_incremental_id }
+ validate :one_job_cannot_have_more_than_two_builds, on: :create
+
paginates_per 10... | Keep a job has only 1 build
Close #4. | r7kamura_altria | train | rb |
e88ecbbbfdb2ae39f7ee1632d8f037733afc683d | diff --git a/src/Symfony/Component/Form/AbstractType.php b/src/Symfony/Component/Form/AbstractType.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Form/AbstractType.php
+++ b/src/Symfony/Component/Form/AbstractType.php
@@ -24,7 +24,7 @@ abstract class AbstractType implements FormTypeInterface
/**
... | [Form] Fixed a typo in AbstractType phpdoc | symfony_symfony | train | php |
88bb08fa4e25e596d8665f1ed9647578d93c42a0 | diff --git a/tests/Nsautoload/Tests/CacheTest.php b/tests/Nsautoload/Tests/CacheTest.php
index <HASH>..<HASH> 100644
--- a/tests/Nsautoload/Tests/CacheTest.php
+++ b/tests/Nsautoload/Tests/CacheTest.php
@@ -13,6 +13,12 @@ class CacheTest extends \PHPUnit_Framework_TestCase
if (!class_exists('Symfony\Component\... | Check if apc is enabled during test setup | korstiaan_nsautoload | train | php |
0f75cf85f98286865ce36362129b8e1231716ed6 | diff --git a/model.js b/model.js
index <HASH>..<HASH> 100644
--- a/model.js
+++ b/model.js
@@ -94,12 +94,11 @@ module.exports = Backbone.Model.extend({
}
function makeNested(obj, key, level) {
- var attrs = level || _.has(obj, key) ? obj : attributes;
+ var attrs = (level || _.has(obj, key) ? obj : attribut... | Fixed unflatten for dotNotation with level > 2. | thecodebureau_ridge | train | js |
b278146f5f0859c932e18f94a78411bc7460d2b9 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -260,7 +260,7 @@ def get_version_info():
# If this is a release or another kind of source distribution of PyCBC
except:
- version = '1.6.6'
+ version = '1.6.7'
release = 'True'
date ... | Set for <I> release (#<I>) | gwastro_pycbc | train | py |
32166f4becd4e950d691755cf9790a456fbfb865 | diff --git a/src/Tomahawk/HttpKernel/Kernel.php b/src/Tomahawk/HttpKernel/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Tomahawk/HttpKernel/Kernel.php
+++ b/src/Tomahawk/HttpKernel/Kernel.php
@@ -41,12 +41,12 @@ abstract class Kernel implements KernelInterface, TerminableInterface
protected $paths = array();
... | Update kernel to version <I>-a1 | tomahawkphp_framework | train | php |
9141812b47f11096e840b376388fa528110e0e05 | diff --git a/ui/webpack/devConfig.js b/ui/webpack/devConfig.js
index <HASH>..<HASH> 100644
--- a/ui/webpack/devConfig.js
+++ b/ui/webpack/devConfig.js
@@ -25,6 +25,15 @@ module.exports = {
},
},
module: {
+ noParse: [
+ path.resolve(
+ __dirname,
+ '..',
+ 'node_modules',
+ ... | Fix prebuilt warning with webpacks noParse | influxdata_influxdb | train | js |
89ea3ff62b937ec6b376eb815eb91937e626afe6 | diff --git a/estnltk/__init__.py b/estnltk/__init__.py
index <HASH>..<HASH> 100644
--- a/estnltk/__init__.py
+++ b/estnltk/__init__.py
@@ -8,3 +8,5 @@ from estnltk.layer.enveloping_span import EnvelopingSpan
from estnltk.layer.layer import SpanList
from estnltk.layer.layer import Layer
from estnltk.text import Text
... | added Tagger to estnltk main imports | estnltk_estnltk | train | py |
e3a761de0559c3d5f1f6d5965a5191053e5efeaa | diff --git a/core-bundle/contao/library/Contao/Controller.php b/core-bundle/contao/library/Contao/Controller.php
index <HASH>..<HASH> 100644
--- a/core-bundle/contao/library/Contao/Controller.php
+++ b/core-bundle/contao/library/Contao/Controller.php
@@ -761,6 +761,11 @@ abstract class Controller extends \System
... | [Core] Add the "br" insert tag to insert line breaks (see #<I>) | contao_contao | train | php |
000b9333ce91ddbb87b12f15694ad8cd0561855c | diff --git a/app/assets/javascripts/comfortable_mexican_sofa/application.js b/app/assets/javascripts/comfortable_mexican_sofa/application.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/comfortable_mexican_sofa/application.js
+++ b/app/assets/javascripts/comfortable_mexican_sofa/application.js
@@ -195,7 +19... | handling file.type as well as file.content_type when ajax uploading files | comfy_comfortable-mexican-sofa | train | js |
f64cfabddd2337274098c638c8e440a1094ca410 | diff --git a/lib/prepare.js b/lib/prepare.js
index <HASH>..<HASH> 100644
--- a/lib/prepare.js
+++ b/lib/prepare.js
@@ -26,7 +26,7 @@ module.exports = function (assetsOrigin) {
var pkg = pkgs[pkgName];
pkg.name = pkgName;
- var option = util.merge(optionGlobal, util.extend({
+ var option = util.merge(c... | Fix: prevent global option from changing when merging | arrowrowe_tam | train | js |
af3825d9d9208de9b140973e2f8424c6049ab751 | diff --git a/src/Event/MailListenerTrait.php b/src/Event/MailListenerTrait.php
index <HASH>..<HASH> 100644
--- a/src/Event/MailListenerTrait.php
+++ b/src/Event/MailListenerTrait.php
@@ -11,7 +11,10 @@ trait MailListenerTrait
{
use ListenerAggregateTrait;
- public function attach(EventManagerInterface $event... | Fixed return typehint removed by mistake | acelaya_ZF-AcMailer | train | php |
3ebc79b166b66db7261f311144a0971f7d0cb94b | diff --git a/src/Term_Meta_Command.php b/src/Term_Meta_Command.php
index <HASH>..<HASH> 100644
--- a/src/Term_Meta_Command.php
+++ b/src/Term_Meta_Command.php
@@ -1,7 +1,7 @@
<?php
/**
- * Manage term custom fields.
+ * Adds, updates, deletes, and lists term custom fields.
*
* ## EXAMPLES
* | Use a more descriptive base summary for what actions are possible for term meta subcommands. | wp-cli_entity-command | train | php |
6a5784350ac73a67076e0f8a0834f5dc6c032592 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -2471,7 +2471,7 @@ function Monoxide() {
}
// }}}
// Apply map {{{
- if (_.isFunction(settings.map)) {
+ if (!err && _.isFunction(settings.map)) {
rows = rows.map(settings.map);
}
// }}} | BUGFIX: Yet more halting behaviour when there is an internal Mongo error | hash-bang_Monoxide | train | js |
e5e0dc3fae3e36c729fb20960a47a505d245ec83 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name="tensor",
- version='0.3.4',
+ version='0.3.5',
url='http://github.com/calston/tensor',
license='MIT',
description="A Twisted ba... | We should bump the minor version if we're changing the way the Event API works | calston_tensor | train | py |
7b2f164b3b0053ccd54d106bdb1a3d0d7a66afd3 | diff --git a/code/libraries/joomlatools/library/dispatcher/authenticator/origin.php b/code/libraries/joomlatools/library/dispatcher/authenticator/origin.php
index <HASH>..<HASH> 100644
--- a/code/libraries/joomlatools/library/dispatcher/authenticator/origin.php
+++ b/code/libraries/joomlatools/library/dispatcher/authen... | #<I> - Do not allow subdomain origin targets | joomlatools_joomlatools-framework | train | php |
d1b77fb8924f809b257440e8dd7541d9e8f2532b | diff --git a/lib/Thelia/Core/DependencyInjection/Compiler/RegisterCommandPass.php b/lib/Thelia/Core/DependencyInjection/Compiler/RegisterCommandPass.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/Core/DependencyInjection/Compiler/RegisterCommandPass.php
+++ b/lib/Thelia/Core/DependencyInjection/Compiler/RegisterComma... | Add base symfony commands and Bundles command to compiler pass | thelia_core | train | php |
34f7a14f388cadbbf38271f8cbef50c2d3e3796d | diff --git a/gio/handler.go b/gio/handler.go
index <HASH>..<HASH> 100644
--- a/gio/handler.go
+++ b/gio/handler.go
@@ -7,6 +7,7 @@ import (
"os"
"strconv"
"strings"
+ "sync"
)
type MapperId string
@@ -29,8 +30,10 @@ func init() {
}
var (
- mappers map[string]Mapper
- reducers map[string]Reducer
+ mappers... | just in case any race condition during init() | chrislusf_gleam | train | go |
212c6b3a4154c13c8d7800aae3010c54090bea99 | diff --git a/window.go b/window.go
index <HASH>..<HASH> 100644
--- a/window.go
+++ b/window.go
@@ -226,9 +226,13 @@ func (c *Window) ProcessEvent(ev Event) bool {
}
return true
case EventKey:
- if ev.Key == term.KeyTab {
+ if ev.Key == term.KeyTab || ev.Key == term.KeyArrowUp || ev.Key == term.KeyArrowDown {
... | clui: control selection
Implements the control selection with keyUp and keyDown besides the
KeyTab selection. | VladimirMarkelov_clui | train | go |
8dc8b2a0003a054af9a1a09887dd4461d6885b12 | diff --git a/src/test/java/com/couchbase/client/CouchbasePropertiesTest.java b/src/test/java/com/couchbase/client/CouchbasePropertiesTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/couchbase/client/CouchbasePropertiesTest.java
+++ b/src/test/java/com/couchbase/client/CouchbasePropertiesTest.java
@@ -22,6 ... | Reset system properties before running the PropertyTests.
Change-Id: I<I>a8bb4db3fd5b6f<I>e2d<I>fa3e9cf<I>c
Reviewed-on: <URL> | couchbase_couchbase-java-client | train | java |
d32a8610dd499f73c5eecd0d8735d39db674af90 | diff --git a/lib/puppet/gettext/config.rb b/lib/puppet/gettext/config.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/gettext/config.rb
+++ b/lib/puppet/gettext/config.rb
@@ -4,7 +4,7 @@ require 'puppet/file_system'
module Puppet::GettextConfig
LOCAL_PATH = File.absolute_path('../../../locales', File.dirname(__FILE... | (PA-<I>) Update Windows locale path
In puppet6, install paths for puppet agent are updated to build all
all of the agent components with the same prefix, instead of giving each
one its own directory. This adjusts the search path for locale files so
that it matches the new structure. | puppetlabs_puppet | train | rb |
224d818877154e671d89932ebde52a91671f171d | diff --git a/plugin/src/android/EstimoteBeacons.java b/plugin/src/android/EstimoteBeacons.java
index <HASH>..<HASH> 100644
--- a/plugin/src/android/EstimoteBeacons.java
+++ b/plugin/src/android/EstimoteBeacons.java
@@ -30,7 +30,10 @@ public class EstimoteBeacons extends CordovaPlugin
private static final String ESTIM... | Fixed bug related to reloading code on Android when using Evothings Studio, ranging and monitoring are now cleaned up on resetting the plugin. | evothings_phonegap-estimotebeacons | train | java |
1494bb68e6f78f4af1af99f3482fcbf2aafbad16 | diff --git a/umap/umap_.py b/umap/umap_.py
index <HASH>..<HASH> 100644
--- a/umap/umap_.py
+++ b/umap/umap_.py
@@ -1210,6 +1210,7 @@ class UMAP(BaseEstimator):
target_metric_kwds=None,
target_weight=0.5,
transform_seed=42,
+ force_approximation_algorithm=False,
verbose=False,
... | Allow user to force approximation algorithm even for small data (useful for testing) | lmcinnes_umap | train | py |
84d0afae3b6e2bdd9659cbef19bda1fede14957e | diff --git a/eZ/Publish/Core/FieldType/Keyword/KeywordStorage/Gateway/LegacyStorage.php b/eZ/Publish/Core/FieldType/Keyword/KeywordStorage/Gateway/LegacyStorage.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/FieldType/Keyword/KeywordStorage/Gateway/LegacyStorage.php
+++ b/eZ/Publish/Core/FieldType/Keyword/Keywor... | Added TODO reminder for some time in future | ezsystems_ezpublish-kernel | train | php |
949d6c5d78f31cfb9f0a957ede934e2303acc159 | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -3,7 +3,7 @@
* This file is part of the Bruery Platform.
*
* (c) Viktore Zara <viktore.zara@gmail.com>
-... | Added dependecy for bruery-platform. | bruery_doctrine-orm-admin-bundle | train | php |
a75b0422703fc313ac496af39da089eb5de12dc8 | diff --git a/pymatgen/io/vaspio/vasp_input.py b/pymatgen/io/vaspio/vasp_input.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/vaspio/vasp_input.py
+++ b/pymatgen/io/vaspio/vasp_input.py
@@ -312,7 +312,9 @@ class Poscar(PMGSONable):
selective_dynamics.append([tok.upper()[0] == "T"
... | Make the arguments to Poscar structure generation explicit for clarity.
Former-commit-id: <I>aa<I>ac<I>df8b<I>d<I>cf<I>f [formerly abbe<I>a<I>cc<I>ffd<I>c<I>ce<I>e4fb]
Former-commit-id: cde<I>cf<I>d<I>d<I>e | materialsproject_pymatgen | train | py |
9fd3c9164baa71f7f72a6f0dba36ee632608a2d9 | diff --git a/packages/wpcom.js/example/index.js b/packages/wpcom.js/example/index.js
index <HASH>..<HASH> 100644
--- a/packages/wpcom.js/example/index.js
+++ b/packages/wpcom.js/example/index.js
@@ -12,6 +12,15 @@ var WPCONN = require('../');
var wpapp = require('../test/data');
+/**
+ * Create a WPCONN instance
+... | core: get posts and info from blog | Automattic_wp-calypso | train | js |
3f39f6c83d1ccda902e021785dd3ee1ea54cd3ef | diff --git a/cmd/xurls/main.go b/cmd/xurls/main.go
index <HASH>..<HASH> 100644
--- a/cmd/xurls/main.go
+++ b/cmd/xurls/main.go
@@ -23,6 +23,7 @@ func main() {
re = xurls.Email
}
scanner := bufio.NewScanner(os.Stdin)
+ scanner.Split(bufio.ScanWords)
for scanner.Scan() {
line := scanner.Text()
matches := r... | Split input by words, not lines
Urls will never contain spaces, so reading line by line instead of word by
word doesn't make much sense. This way we also don't have to worry about very
long lines that contain many words. | mvdan_xurls | train | go |
f20038b9c81c05258d7fc3d8ee0fd8a4c399014b | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -29,7 +29,7 @@ return array(
'label' => 'Delivery Management',
'description' => 'Manages deliveries using the ontology',
'license' => 'GPL-2.0',
- 'version' => '8.6.0',
+ 'version' ... | TTD-<I> changed major version | oat-sa_extension-tao-delivery-rdf | train | php,php |
4cbf04d029c3c478313c1ce3613523475c473b4c | diff --git a/src/ol/control/FullScreen.js b/src/ol/control/FullScreen.js
index <HASH>..<HASH> 100644
--- a/src/ol/control/FullScreen.js
+++ b/src/ol/control/FullScreen.js
@@ -52,7 +52,6 @@ const FullScreenEventType = {
* when full-screen is active.
* @property {string} [inactiveClassName=className + '-false'] CSS c... | Update typeDefs for Fullscreen Options
Remove line stating that a 'span' is also a valid inactiveClassName value. | openlayers_openlayers | train | js |
1ba1bf009bd8f3e69ca391a8e2179f535c9c9a11 | diff --git a/sqlbridge/scripts/basicrouter.py b/sqlbridge/scripts/basicrouter.py
index <HASH>..<HASH> 100644
--- a/sqlbridge/scripts/basicrouter.py
+++ b/sqlbridge/scripts/basicrouter.py
@@ -96,7 +96,7 @@ connection.onopen = function (session) {
connection.onclose = function (details) {
console.log('Session to ... | using details.will_rety, doesn't seem to work? | lgfausak_sqlbridge | train | py |
78438fb6e379def506e7da1dfc5b09793416d997 | diff --git a/wallace/heroku/clock.py b/wallace/heroku/clock.py
index <HASH>..<HASH> 100644
--- a/wallace/heroku/clock.py
+++ b/wallace/heroku/clock.py
@@ -34,7 +34,7 @@ session = db.session
scheduler = BlockingScheduler()
-@scheduler.scheduled_job('interval', minutes=0.25)
+@scheduler.scheduled_job('interval', min... | change clock to run every <I>s | berkeley-cocosci_Wallace | train | py |
e9e966a84e9b41c3112d697b2e8a762b19c9566b | diff --git a/concrete/src/Editor/EditorServiceProvider.php b/concrete/src/Editor/EditorServiceProvider.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Editor/EditorServiceProvider.php
+++ b/concrete/src/Editor/EditorServiceProvider.php
@@ -21,7 +21,15 @@ class EditorServiceProvider extends ServiceProvider
... | Fix error where EditorServiceProvider was complaining about array_merge not being a valid array | concrete5_concrete5 | train | php |
5698ac431974abcbdaa51f030eba6a7145f0a79a | diff --git a/lib/sfn/planner/aws.rb b/lib/sfn/planner/aws.rb
index <HASH>..<HASH> 100644
--- a/lib/sfn/planner/aws.rb
+++ b/lib/sfn/planner/aws.rb
@@ -169,7 +169,12 @@ module Sfn
# @param value [Array<String,Array<String>>]
# @return [String]
def fn_join(value)
- value.last.join(valu... | Only split and join in planner if value is not an array | sparkleformation_sfn | train | rb |
8c07f49647cb1929b69f1aa9a8d27a0509188030 | diff --git a/tests/test-json-users-controller.php b/tests/test-json-users-controller.php
index <HASH>..<HASH> 100644
--- a/tests/test-json-users-controller.php
+++ b/tests/test-json-users-controller.php
@@ -87,6 +87,19 @@ class WP_Test_JSON_Users_Controller extends WP_Test_JSON_Controller_Testcase {
$this->assertErr... | Basic details should be exposed about published authors | WP-API_WP-API | train | php |
1c973330c68e0c653a19f4408a373741107eb0e3 | diff --git a/src/core/services/theming/theming.js b/src/core/services/theming/theming.js
index <HASH>..<HASH> 100644
--- a/src/core/services/theming/theming.js
+++ b/src/core/services/theming/theming.js
@@ -439,6 +439,10 @@ function generateThemes($injector) {
THEME_COLOR_TYPES.forEach(function(colorType) {
... | feat(theming): warn for same palette as primary and accent
closes #<I> | angular_material | train | js |
60b3b2e290b165848d8333efd784aecea1b33412 | diff --git a/svtplay_dl.py b/svtplay_dl.py
index <HASH>..<HASH> 100755
--- a/svtplay_dl.py
+++ b/svtplay_dl.py
@@ -25,7 +25,7 @@ import struct
import binascii
from datetime import timedelta
-__version__ = "0.9.2013.02.22"
+__version__ = "0.9.2013.02.26"
class Options:
"""
@@ -404,7 +404,7 @@ def download_hl... | download_hls: we are checking for http and not ttp. | spaam_svtplay-dl | train | py |
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.