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 |
|---|---|---|---|---|---|
eae5ee852c2d480f531a8ef420b0041d49334b10 | diff --git a/lib/erector/widget.rb b/lib/erector/widget.rb
index <HASH>..<HASH> 100644
--- a/lib/erector/widget.rb
+++ b/lib/erector/widget.rb
@@ -584,7 +584,7 @@ module Erector
protected
def jquery_ready(txt)
rawtext "\n"
- rawtext "jQuery(document).ready(function(){\n"
+ rawtext "jQuery(doc... | Make compatible with jQuery.noConflict() | erector_erector | train | rb |
4d9bc460664b2ba7c7af8a4eb75fcb8a054c3bdb | diff --git a/pysat/instruments/methods/testing.py b/pysat/instruments/methods/testing.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/methods/testing.py
+++ b/pysat/instruments/methods/testing.py
@@ -181,6 +181,8 @@ def initialize_test_meta(epoch_name, data_keys):
for var in meta.keys():
if var not... | BUG: make sure to drop higher order meta | rstoneback_pysat | train | py |
c5e14d1a57c872e446371335b1373d756f1ca14f | diff --git a/calysto/graphics.py b/calysto/graphics.py
index <HASH>..<HASH> 100644
--- a/calysto/graphics.py
+++ b/calysto/graphics.py
@@ -348,6 +348,9 @@ class Color(object):
else:
return "#" + h(self.red) + h(self.green) + h(self.blue)
+ def __getitem__(self, pos):
+ return [self.red... | Get rgb from color by color[position] | Calysto_calysto | train | py |
1c0fd96b5e2463b7015cd3625ac276db520c69fe | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ from distutils.errors import DistutilsArgError
this_dir = os.path.realpath(os.path.dirname(__file__))
-VERSION = '1.1.6'
+VERSION = '1.1.7'
def main(): | [build] bumping version to <I> | openvenues_pypostal | train | py |
ece2f44ef63ba111f601dc1ba3069874af2eb5d9 | diff --git a/vault/router.go b/vault/router.go
index <HASH>..<HASH> 100644
--- a/vault/router.go
+++ b/vault/router.go
@@ -79,6 +79,17 @@ func (r *Router) Mount(backend logical.Backend, prefix string, mountEntry *Mount
loginPaths: pathsToRadix(paths.Unauthenticated),
}
+ switch {
+ case prefix == "":
+ return ... | Input validation for router mount (#<I>)
* Added input validation for router mount
* Add path and type in returned errors | hashicorp_vault | train | go |
e46988e876466221b1175edee3f6a8893fbf6c9e | diff --git a/shared/actions/chat.js b/shared/actions/chat.js
index <HASH>..<HASH> 100644
--- a/shared/actions/chat.js
+++ b/shared/actions/chat.js
@@ -1,7 +1,7 @@
// @flow
import * as Constants from '../constants/chat'
import HiddenString from '../util/hidden-string'
-import _, {clamp} from 'lodash'
+import _ from '... | Update attachment size clamping to support 2x previews | keybase_client | train | js |
3a0e19debbe7fd66d62fb6a92cb5a9fb2bece269 | diff --git a/salt/modules/ssh.py b/salt/modules/ssh.py
index <HASH>..<HASH> 100644
--- a/salt/modules/ssh.py
+++ b/salt/modules/ssh.py
@@ -919,7 +919,7 @@ def set_known_host(user=None,
if key:
remote_host = {'hostname': hostname, 'enc': enc, 'key': key}
- if hash_known_hosts or port == DEFAULT_SSH_PO... | Prevent adding port twice when adding entry in known hosts
Check hostname value inside remote_host dictionary to find out ':'. In that case don't append port | saltstack_salt | train | py |
5a630626d02cba5ba59a55f1480a2e310b14157f | diff --git a/src/sandbox/http/pretty-print-route.js b/src/sandbox/http/pretty-print-route.js
index <HASH>..<HASH> 100644
--- a/src/sandbox/http/pretty-print-route.js
+++ b/src/sandbox/http/pretty-print-route.js
@@ -5,7 +5,7 @@ var chalk = require('chalk')
*/
module.exports = function log(params) {
var {verb, rout... | Fix up pretty printing in sandbox start | architect_architect | train | js |
9129dc5106258f3f5927539e2de900ecda6f5246 | diff --git a/www/src/py_utils.js b/www/src/py_utils.js
index <HASH>..<HASH> 100644
--- a/www/src/py_utils.js
+++ b/www/src/py_utils.js
@@ -454,6 +454,11 @@ $B.$check_def = function(name, value){
return value
}else if(_b_[name] !== undefined){ // issue 1133
return _b_[name]
+ }else{
+ va... | Fixes bug in name resolution for builtin names such as __name__ inside a function | brython-dev_brython | train | js |
8567b06085bb2d7da4e5b8e7504997e2aaf1e586 | diff --git a/linode/api.py b/linode/api.py
index <HASH>..<HASH> 100644
--- a/linode/api.py
+++ b/linode/api.py
@@ -33,4 +33,6 @@ def get_objects(endpoint, prop, model=None):
if not prop in json:
return False
- return mappings.make_paginated_list(json, prop)
+ if 'total_pages' in json:
+ ret... | Non-paging services work again, cleanup | linode_linode_api4-python | train | py,py |
ca2e3b7940e74daba15e4aede66c7eece3108462 | diff --git a/src/Rocketeer/ConnectionsHandler.php b/src/Rocketeer/ConnectionsHandler.php
index <HASH>..<HASH> 100644
--- a/src/Rocketeer/ConnectionsHandler.php
+++ b/src/Rocketeer/ConnectionsHandler.php
@@ -325,7 +325,8 @@ class ConnectionsHandler
public function getRepositoryBranch()
{
exec($this->scm->currentB... | Fix when current repository is not a Git repo | rocketeers_rocketeer | train | php |
77acc56a1e8730e0890edbf128400cc00854c4a2 | diff --git a/src/js/select2/selection/multiple.js b/src/js/select2/selection/multiple.js
index <HASH>..<HASH> 100644
--- a/src/js/select2/selection/multiple.js
+++ b/src/js/select2/selection/multiple.js
@@ -55,7 +55,9 @@ define([
};
MultipleSelection.prototype.clear = function () {
- this.$selection.find('.s... | fix line length to keep jslint happy | select2_select2 | train | js |
be130c1bdd887b532f76ed6b0c7ce9009907304a | diff --git a/elemmakepkg.go b/elemmakepkg.go
index <HASH>..<HASH> 100644
--- a/elemmakepkg.go
+++ b/elemmakepkg.go
@@ -282,13 +282,7 @@ func (me *ComplexType) makePkg(bag *PkgBag) {
}
}
if ctBaseType = bag.resolveQnameRef(ctBaseType, "T", nil); len(ctBaseType) > 0 {
- if strings.HasPrefix(ctBaseType, "xsdt."... | [autopush] «Anything is good if it's made of chocolate.» | metaleap_go-xsd | train | go |
cf08f85413488242e3c98e9cec4e538268af43bd | diff --git a/api/tasks_test.go b/api/tasks_test.go
index <HASH>..<HASH> 100644
--- a/api/tasks_test.go
+++ b/api/tasks_test.go
@@ -1,6 +1,7 @@
package api
import (
+ "path/filepath"
"reflect"
"testing"
"time"
@@ -364,7 +365,7 @@ func TestTask_Artifact(t *testing.T) {
if *a.GetterMode != "file" {
t.Errorf... | api: Validate the slash variant of a given path
This validates the slash variant of a RelativeDest, rather than the
platform native version, to support test execution on windows. | hashicorp_nomad | train | go |
7ed89b9a1385308c42609786b4e377767c6e66bf | diff --git a/Access/Gate.php b/Access/Gate.php
index <HASH>..<HASH> 100644
--- a/Access/Gate.php
+++ b/Access/Gate.php
@@ -808,7 +808,7 @@ class Gate implements GateContract
*/
protected function formatAbilityToMethod($ability)
{
- return strpos($ability, '-') !== false ? Str::camel($ability) : $... | Replace strpos with str_contains and str_starts_with (#<I>) | illuminate_auth | train | php |
c51be7270351e2b69bc755861dad58a2053283be | diff --git a/src/module-elasticsuite-catalog/Block/Plugin/Adminhtml/Product/Attribute/Edit/Tab/FrontPlugin.php b/src/module-elasticsuite-catalog/Block/Plugin/Adminhtml/Product/Attribute/Edit/Tab/FrontPlugin.php
index <HASH>..<HASH> 100644
--- a/src/module-elasticsuite-catalog/Block/Plugin/Adminhtml/Product/Attribute/Ed... | REFACTOR: `around` plugins should be avoided at any price | Smile-SA_elasticsuite | train | php |
635f11d7fb8e7382314f5484d924b755a1e91be6 | diff --git a/lib/arel/algebra/attributes/attribute.rb b/lib/arel/algebra/attributes/attribute.rb
index <HASH>..<HASH> 100644
--- a/lib/arel/algebra/attributes/attribute.rb
+++ b/lib/arel/algebra/attributes/attribute.rb
@@ -29,6 +29,8 @@ module Arel
@ancestor == other.ancestor
end
+ alias :eql? :==
+... | no need for a lambda | rails_rails | train | rb,rb |
85aa85a1a856702350c79bfc9c49da750c36f53a | diff --git a/lib/lita/builder.rb b/lib/lita/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/lita/builder.rb
+++ b/lib/lita/builder.rb
@@ -17,7 +17,7 @@ module Lita
# Constructs a {Lita::Handler} from the provided block.
def build_handler
handler = create_plugin(Handler)
- handler.instance_exec(&@... | Use class_exec when building a handler for better semantics. | litaio_lita | train | rb |
6b963a7d8036584c716181ee7f67258449712fde | diff --git a/api.php b/api.php
index <HASH>..<HASH> 100644
--- a/api.php
+++ b/api.php
@@ -45,7 +45,8 @@ class MySQL_CRUD_API extends REST_CRUD_API {
k2."TABLE_NAME", k2."COLUMN_NAME",
k2."REFERENCED_TABLE_NAME", k2."REFERENCED_COLUMN_NAME"
FROM
- "INFORMATION_SCHEMA"."KEY_COLUMN_USAGE" k1, "INFORM... | Refactor: Explicit constructor | mevdschee_php-crud-api | train | php |
dc59d189c2c729265598c3f7984713af882a0f8e | diff --git a/src/models/StyledComponent.js b/src/models/StyledComponent.js
index <HASH>..<HASH> 100644
--- a/src/models/StyledComponent.js
+++ b/src/models/StyledComponent.js
@@ -28,7 +28,7 @@ export default (ComponentStyle: Function) => {
constructor() {
super()
this.state = {
- theme... | Fix re-render with theme from default props and re-render caused by theme updated directly in props | styled-components_styled-components | train | js |
40071acb374d1cc3d8f246d493f881850d7d9dbd | diff --git a/insane/cli.py b/insane/cli.py
index <HASH>..<HASH> 100644
--- a/insane/cli.py
+++ b/insane/cli.py
@@ -37,10 +37,10 @@ OPTIONS = simopt.Options([
"""
Periodic boundary conditions
If -d is given, set up PBC according to -pbc such that no periodic
- images are closer than the value given... | Updated help text for -d | Tsjerk_Insane | train | py |
06f0cb6e86479cdd05f1846a69fb73d55c9a8e7d | diff --git a/src/core/graphics/canvas/CanvasGraphicsRenderer.js b/src/core/graphics/canvas/CanvasGraphicsRenderer.js
index <HASH>..<HASH> 100644
--- a/src/core/graphics/canvas/CanvasGraphicsRenderer.js
+++ b/src/core/graphics/canvas/CanvasGraphicsRenderer.js
@@ -10,7 +10,7 @@ import { SHAPES } from '../../const';
* n... | Updated link #<I> (#<I>) | pixijs_pixi.js | train | js |
e6a623de424ce02a63eaf0404afdca5f62dc5b7f | diff --git a/client/js/azure/rest/put-block-list.js b/client/js/azure/rest/put-block-list.js
index <HASH>..<HASH> 100644
--- a/client/js/azure/rest/put-block-list.js
+++ b/client/js/azure/rest/put-block-list.js
@@ -9,7 +9,7 @@ qq.azure.PutBlockList = function(o) {
method = "PUT",
blockIds = {},
... | fix(azure/rest/put-block-list.js): another typo #<I> | FineUploader_fine-uploader | train | js |
3ddf1b88dba642a9d0339f84b7fd040c507dc222 | diff --git a/value/src/org/immutables/value/Value.java b/value/src/org/immutables/value/Value.java
index <HASH>..<HASH> 100644
--- a/value/src/org/immutables/value/Value.java
+++ b/value/src/org/immutables/value/Value.java
@@ -714,7 +714,7 @@ public @interface Value {
* Exception to throw when an immutable object... | changing to runtime exception as there will be error in generated code
if you use non-runtime exception #<I> | immutables_immutables | train | java |
88e61e5816ea4cf03ecca26d34dfe70cb27530e0 | diff --git a/lib/validate_website/crawl.rb b/lib/validate_website/crawl.rb
index <HASH>..<HASH> 100644
--- a/lib/validate_website/crawl.rb
+++ b/lib/validate_website/crawl.rb
@@ -44,7 +44,7 @@ module ValidateWebsite
crawler.cookies[@host] = default_cookies if options[:cookies]
on_every_css_page(crawle... | Call method only on :not_found enabled | spk_validate-website | train | rb |
2bb298ed4de5f4128f1eb7896c08f590afda87cd | diff --git a/logback-android/src/main/java/ch/qos/logback/core/subst/Parser.java b/logback-android/src/main/java/ch/qos/logback/core/subst/Parser.java
index <HASH>..<HASH> 100644
--- a/logback-android/src/main/java/ch/qos/logback/core/subst/Parser.java
+++ b/logback-android/src/main/java/ch/qos/logback/core/subst/Parse... | prefer to catch empty token list sooner than later - LOGBACK-<I> | tony19_logback-android | train | java |
2a7a954f62186d09273f635f6115bf280284aeeb | diff --git a/src/Composer/Repository/ComposerRepository.php b/src/Composer/Repository/ComposerRepository.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Repository/ComposerRepository.php
+++ b/src/Composer/Repository/ComposerRepository.php
@@ -220,9 +220,11 @@ class ComposerRepository extends ArrayRepository impleme... | Handle multiple urls in package transport options | mothership-ec_composer | train | php |
4a20104456bed089ea489d3ad6cd55c46c3348a8 | diff --git a/docs/js/doc.js b/docs/js/doc.js
index <HASH>..<HASH> 100644
--- a/docs/js/doc.js
+++ b/docs/js/doc.js
@@ -53,7 +53,7 @@ $(function()
var $this = $(this);
var href = $this.attr('href');
var target = href.substring(href.indexOf('#'), href.length);
- $this.att... | * fixed path for navbar of document. | easysoft_zui | train | js |
a0e9d5912995a0d811b644aeeeefa7aa7182bc37 | diff --git a/lib/classes/Swift/Message.php b/lib/classes/Swift/Message.php
index <HASH>..<HASH> 100644
--- a/lib/classes/Swift/Message.php
+++ b/lib/classes/Swift/Message.php
@@ -55,7 +55,7 @@ class Swift_Message extends Swift_Mime_SimpleMessage
* @param string $contentType
* @param string $charset
*
... | Update lib/classes/Swift/Message.php | swiftmailer_swiftmailer | train | php |
6bd6dd342dee54dc45e433aefda9c9ac6b9ec8f9 | diff --git a/api/models/app.go b/api/models/app.go
index <HASH>..<HASH> 100644
--- a/api/models/app.go
+++ b/api/models/app.go
@@ -1,6 +1,9 @@
package models
-import "errors"
+import (
+ "errors"
+ "fmt"
+)
type Apps []*App
@@ -19,13 +22,27 @@ type App struct {
Routes Routes `json:"routes,omitempty"`
}
+co... | Restrict app name
App name must match the regular expression: [\w\-]{1, <I>} | iron-io_functions | train | go |
7f30ab5124618c5b11eebf9c6d69bcfd8a47adc3 | diff --git a/openstack_dashboard/dashboards/admin/aggregates/tables.py b/openstack_dashboard/dashboards/admin/aggregates/tables.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/admin/aggregates/tables.py
+++ b/openstack_dashboard/dashboards/admin/aggregates/tables.py
@@ -84,8 +84,10 @@ def get_availa... | Check host is not none in host aggregate page
Check that host is not none before trying to parse
the services that are up in each availability zone
Change-Id: I<I>f<I>ca2fa<I>da<I>b<I>c1c<I>bf3e8fb8
Closes-Bug: #<I> | openstack_horizon | train | py |
8153c3b201a614264a8aebbdc9d9675269d8a607 | diff --git a/src/Uri.php b/src/Uri.php
index <HASH>..<HASH> 100644
--- a/src/Uri.php
+++ b/src/Uri.php
@@ -576,7 +576,7 @@ class Uri implements UriInterface
return preg_replace_callback(
'/(?:[^' . self::$charUnreserved . ':@&=\+\$,\/;%]+|%(?![A-Fa-f0-9]{2}))/',
- function ($match) { ... | No longer creating a new closure each call | guzzle_psr7 | train | php |
c3c32e097692cee4308515f9ca9ac8b5d6742f4c | diff --git a/rest_pandas/renderers.py b/rest_pandas/renderers.py
index <HASH>..<HASH> 100644
--- a/rest_pandas/renderers.py
+++ b/rest_pandas/renderers.py
@@ -60,7 +60,7 @@ class PandasFileRenderer(PandasBaseRenderer):
def init_output(self):
file, filename = mkstemp(suffix='.' + self.format)
self... | fix close usage (see #<I>) | wq_django-rest-pandas | train | py |
25d08c0e417cf0a7c3b4347d09b2d3bd28e384c2 | diff --git a/intervaltree/intervaltree.py b/intervaltree/intervaltree.py
index <HASH>..<HASH> 100644
--- a/intervaltree/intervaltree.py
+++ b/intervaltree/intervaltree.py
@@ -630,7 +630,7 @@ class IntervalTree(collections.MutableSet):
self.__init__(new_ivs)
- def merge_overlaps(self):
+ def merge_ove... | merge_overlaps can receive a function to merge the interval values | chaimleib_intervaltree | train | py |
d42523848cf2c718b179054fd6865dbc87813798 | diff --git a/src/main/java/com/xtremelabs/robolectric/shadows/ShadowSparseBooleanArray.java b/src/main/java/com/xtremelabs/robolectric/shadows/ShadowSparseBooleanArray.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/xtremelabs/robolectric/shadows/ShadowSparseBooleanArray.java
+++ b/src/main/java/com/xtremelabs... | Removing superfluous methods from ShadowSparseBooleanArray | robolectric_robolectric | train | java |
a6031db202c7ff2d50469de7865d7f2ba779add0 | diff --git a/adapter/src/main/java/nl/meandi/apns/SocketFactory.java b/adapter/src/main/java/nl/meandi/apns/SocketFactory.java
index <HASH>..<HASH> 100644
--- a/adapter/src/main/java/nl/meandi/apns/SocketFactory.java
+++ b/adapter/src/main/java/nl/meandi/apns/SocketFactory.java
@@ -12,7 +12,7 @@ class SocketFactory {
... | Fixed the common name prefix for APNS production certificates | marcelk_apns | train | java |
8f3e3bfdc5d604d45115733cc5cd330d8fa58a38 | diff --git a/blockstack_client/backend/registrar.py b/blockstack_client/backend/registrar.py
index <HASH>..<HASH> 100644
--- a/blockstack_client/backend/registrar.py
+++ b/blockstack_client/backend/registrar.py
@@ -720,7 +720,7 @@ class RegistrarWorker(threading.Thread):
log.debug("{} updated, curr... | transfer_address may be None | blockstack_blockstack-core | train | py |
84d20251b7f450bcae48058f2c973e5dd1fd583f | diff --git a/widgets/FormBuilder.php b/widgets/FormBuilder.php
index <HASH>..<HASH> 100644
--- a/widgets/FormBuilder.php
+++ b/widgets/FormBuilder.php
@@ -142,14 +142,22 @@ JavaScript;
}
}
- $createRoute = !$allowCreate ? null : [
- $route . '/update',
- 'hide' ... | better handle composite pks in create url in FormBuilder | netis-pl_yii2-crud | train | php |
1cefc4ddc6c3fa7d92a12f5ca58c498e187d5bdd | diff --git a/core-bundle/src/Controller/BackendController.php b/core-bundle/src/Controller/BackendController.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Controller/BackendController.php
+++ b/core-bundle/src/Controller/BackendController.php
@@ -60,7 +60,7 @@ class BackendController extends Controller
... | [Core] Redirect to the back end if a user is fully authenticated upon login. | contao_contao | train | php |
63dd60210078549de90da091838bde8e08d4bef9 | diff --git a/wafer/users/urls.py b/wafer/users/urls.py
index <HASH>..<HASH> 100644
--- a/wafer/users/urls.py
+++ b/wafer/users/urls.py
@@ -13,7 +13,7 @@ urlpatterns = patterns(
url(r'^$', UsersView.as_view(),
name='wafer_users'),
url(r'^api/', include(router.urls)),
- url(r'^page/(?P<page>\d+)$', ... | Give pages a trailing slash, so the static site gets a .html file | CTPUG_wafer | train | py |
8a9affa04d44de1604d472c3918dee38e6aea6f3 | diff --git a/intranet/apps/eighth/views/attendance.py b/intranet/apps/eighth/views/attendance.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/eighth/views/attendance.py
+++ b/intranet/apps/eighth/views/attendance.py
@@ -300,7 +300,7 @@ def take_attendance_view(request, scheduled_activity_id):
present_user... | fix(eighth): fix bug preventing regular attendance
Introduced in 5c7b<I>c<I>e1eb8b<I>bfa<I>d<I>bafbd<I>eba | tjcsl_ion | train | py |
69d974c5cbdb3c20fd9eef1674f7fc8d7eae17b6 | diff --git a/lib/pymoc/moc.py b/lib/pymoc/moc.py
index <HASH>..<HASH> 100644
--- a/lib/pymoc/moc.py
+++ b/lib/pymoc/moc.py
@@ -166,6 +166,14 @@ class MOC(object):
return True
+ def __ne__(self, other):
+ """Inequality test operator.
+
+ Implemented via __eq__.
+ """
+
+ retur... | Implement __ne__ method of MOC class
This just calls self.__eq__ and applies the not operator.
Not defining __ne__ was causing the doctests to fail when run with
Sphinx running on Python 2. They passed with Sphinx on Python 3,
even though the Python 3 documentation also mysteriously says that
__ne__ should be define... | grahambell_pymoc | train | py |
83db131bbfb7b27b4c513d03062c1ef545a404de | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ with open(path.join(here, 'requirements.txt'), 'r', encoding='utf-8') as f:
setup(
name='sphinx-jekyll-builder',
- version='0.1.4',
+ version='0.1.5',
description='sphinx builder that output... | Fixed open for python 2 | codejamninja_sphinx-jekyll-builder | train | py,py |
cb660bc790ecc4facb00220c618756d615121741 | diff --git a/src/sortable.js b/src/sortable.js
index <HASH>..<HASH> 100644
--- a/src/sortable.js
+++ b/src/sortable.js
@@ -11,7 +11,7 @@ angular.module('ui.sortable', []).value('uiSortableConfig',{}).directive('uiSort
var onReceive, onRemove, onStart, onStop, onUpdate, opts = {};
attrs.$observe('ui-... | fix: slight tweak to $observe code | angular-ui_ui-sortable | train | js |
78e9df6703b22853f73b9eb7d40ee5bec4597fb7 | diff --git a/lib/maximus/git_control.rb b/lib/maximus/git_control.rb
index <HASH>..<HASH> 100644
--- a/lib/maximus/git_control.rb
+++ b/lib/maximus/git_control.rb
@@ -37,7 +37,7 @@ module Maximus
last_commit = @g.gcommit(`git -C #{@settings[:root_dir]} rev-parse #{commit_sha.to_s}^`.strip!)
end
- ... | reverse git diff order to be old to new | wearefine_maximus | train | rb |
9246c1443f7954d28ab11aea9c53cbe0e63798bd | diff --git a/lib/gollum/frontend/app.rb b/lib/gollum/frontend/app.rb
index <HASH>..<HASH> 100644
--- a/lib/gollum/frontend/app.rb
+++ b/lib/gollum/frontend/app.rb
@@ -13,9 +13,8 @@ module Precious
dir = File.dirname(File.expand_path(__FILE__))
# We want to serve public assets for now
-
- set :public, ... | set :public_folder in frontend app
:public is no longer used to avoid overloading
Module#public, use :public_folder instead | gollum_gollum-lib | train | rb |
2340fb6e090f85b9acb3929343db961a03ff5a74 | diff --git a/lib/xcode/install.rb b/lib/xcode/install.rb
index <HASH>..<HASH> 100644
--- a/lib/xcode/install.rb
+++ b/lib/xcode/install.rb
@@ -223,7 +223,7 @@ HELP
end
def parse_seedlist(seedlist)
- seeds = seedlist['downloads'].select do |t|
+ seeds = Array(seedlist['downloads']).select do |t|
... | [Install] Dont crash when not using a developer account | xcpretty_xcode-install | train | rb |
bb5c0724c533dd0d506afd234dc881e6dd875325 | diff --git a/src/main/java/org/jdbdt/DBAssert.java b/src/main/java/org/jdbdt/DBAssert.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jdbdt/DBAssert.java
+++ b/src/main/java/org/jdbdt/DBAssert.java
@@ -84,10 +84,14 @@ final class DBAssert {
*/
static void dataSetAssertion(CallInfo callInfo, DataSet expe... | DBAssert: state assertions should also set the dirty status for the data source | JDBDT_jdbdt | train | java |
033d598562fd2f4649ae1508d5d9adca8e361231 | diff --git a/troposphere/__init__.py b/troposphere/__init__.py
index <HASH>..<HASH> 100644
--- a/troposphere/__init__.py
+++ b/troposphere/__init__.py
@@ -273,6 +273,16 @@ class BaseAWSObject(object):
class AWSObject(BaseAWSObject):
dictname = 'Properties'
+ def ref(self):
+ return Ref(self)
+
+ Re... | Added .Ref & .GetAtt helper methods (#<I>)
* Added .Ref & .GetAtt helper methods
This is so common I figured it might be worth just attaching the
behavior to the base AWSObject. Would mean a couple less imports, and
it feels more pythonic.
* Make aliases for more pythonic methods | cloudtools_troposphere | train | py |
89b70c7d7a324c9d4bc0d0876ac4fbacf8c1445d | diff --git a/src/Console/RunScheduledCommand.php b/src/Console/RunScheduledCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/RunScheduledCommand.php
+++ b/src/Console/RunScheduledCommand.php
@@ -11,12 +11,15 @@
namespace App\Cron\Console;
use App\Cron\Libs\JobSchedule;
+use Infuse\HasApp;
use Symfony\Compo... | bugfix: make DI available to console command | infusephp_cron | train | php |
54102f87b4608bc673a363c60e4fdf878cedc57d | diff --git a/clustering/jgroups/extension/src/main/java/org/jboss/as/clustering/jgroups/subsystem/JGroupsModel.java b/clustering/jgroups/extension/src/main/java/org/jboss/as/clustering/jgroups/subsystem/JGroupsModel.java
index <HASH>..<HASH> 100644
--- a/clustering/jgroups/extension/src/main/java/org/jboss/as/clusterin... | WFLY-<I> JGroupsModel#VERSION1_3_0 is missing; no transformations happen for EAP <I>.x
introduced by <URL> | wildfly_wildfly | train | java |
8bc0dd277d38aca3535959409cc3f083eb136108 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,12 +2,12 @@ from distutils.core import setup
setup(
name = "pylru",
- version = "1.0.7",
+ version = "1.0.8",
py_modules=['pylru'],
description = "A least recently used (LRU) cache implementation",
... | Moved version to <I> | jlhutch_pylru | train | py |
86c7abcc0e0b606027c88fc930224196d01ee8bf | diff --git a/django_productline/context.py b/django_productline/context.py
index <HASH>..<HASH> 100644
--- a/django_productline/context.py
+++ b/django_productline/context.py
@@ -63,6 +63,7 @@ def bind_context(context_filename):
except ValueError as e:
raise ContextParseError('Error parsin... | Added product equation filename to context | henzk_django-productline | train | py |
6c46f481840d4efbf18bafebcd9adc70b9ea6abb | diff --git a/tests/filters.test.js b/tests/filters.test.js
index <HASH>..<HASH> 100644
--- a/tests/filters.test.js
+++ b/tests/filters.test.js
@@ -123,9 +123,9 @@ exports.date = function (test) {
test.strictEqual('05', filters.date(input, "i"), 'format: i http://www.php.net/date');
test.strictEqual('02', filt... | correction, four tests will fail outside of PDT. Hrm. Crap. | Thunf_swiger | train | js |
fc03bdb57824b3440aa13f4ff7d4bddf91fb9b87 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -43,6 +43,8 @@ setup_cfg = dict(conf.items('metadata'))
# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.1'
+del intersphinx_mapping['h5py']
+
intersphinx_mapping['... | Remove h5py from intersphinx ... not needed | zblz_naima | train | py |
5aead0bb9174af42382b7d71df62011930745dc8 | diff --git a/python/ray/data/read_api.py b/python/ray/data/read_api.py
index <HASH>..<HASH> 100644
--- a/python/ray/data/read_api.py
+++ b/python/ray/data/read_api.py
@@ -242,6 +242,16 @@ def read_datasource(
)
)
+ if len(read_tasks) < parallelism and (
+ len(read_tasks) < ray.availabl... | Warn if the dataset's parallelism is limited by the number of files (#<I>)
A common user confusion is that their dataset parallelism is limited by the number of files. Add a warning if the available parallelism is much less than the specified parallelism, and tell the user to repartition() in that case. | ray-project_ray | train | py |
ebf202a41e44559e857a87b9e2cfe4fb95fa352f | diff --git a/test/formatSpec.js b/test/formatSpec.js
index <HASH>..<HASH> 100644
--- a/test/formatSpec.js
+++ b/test/formatSpec.js
@@ -37,8 +37,17 @@ describe("Method as.text", function () {
it("must correctly convert any text", function () {
expect(pgp.as.text()).toBe("null");
+
+ expect(functio... | adding tests for raw-text variables. | vitaly-t_pg-promise | train | js |
237211ad5321edd07d20a35715438e5145f01302 | diff --git a/packages/antd/src/widgets/SelectWidget/index.js b/packages/antd/src/widgets/SelectWidget/index.js
index <HASH>..<HASH> 100644
--- a/packages/antd/src/widgets/SelectWidget/index.js
+++ b/packages/antd/src/widgets/SelectWidget/index.js
@@ -94,7 +94,7 @@ const SelectWidget = ({
>
{enumOptions.map(... | Fixed ui:disabled option for antd selects (#<I>) | mozilla-services_react-jsonschema-form | train | js |
21908798243f43f5713ada1fe749741d3db9113c | diff --git a/plugin/index.js b/plugin/index.js
index <HASH>..<HASH> 100644
--- a/plugin/index.js
+++ b/plugin/index.js
@@ -11,20 +11,6 @@ let seenJSFiles = new Set()
export default ({ types: t, template }) => ({
manipulateOptions({ resolveModuleSource, plugins }) {
resolve = resolveModuleSource || defaultResol... | Continue fixing compatibility with Babel 6 | detrohutt_babel-plugin-import-graphql | train | js |
3120cffb8f9b960c6aa5d7c42c8c815e868daf90 | diff --git a/lib/draper/decorator.rb b/lib/draper/decorator.rb
index <HASH>..<HASH> 100755
--- a/lib/draper/decorator.rb
+++ b/lib/draper/decorator.rb
@@ -90,7 +90,7 @@ module Draper
end
# Specifies a black list of methods which may *not* be proxied to
- # to the wrapped object.
+ # the wrapped object... | Remove 'to to' from docs | drapergem_draper | train | rb |
6248dac06d38d2ea32e85805233f8b7c3d1d4253 | diff --git a/assets/js/document.js b/assets/js/document.js
index <HASH>..<HASH> 100644
--- a/assets/js/document.js
+++ b/assets/js/document.js
@@ -106,7 +106,7 @@ function refLink() {
.insertAfter($this)
.click(function () {
var id = $this.val() || 'new';
- var refType = $this.... | Update RefWidget to use modelName, not label, in the popups. | node4good_formage | train | js |
ac7a82e5cd7983972f6e98d8a30b9a25b29e75cc | diff --git a/Neos.Neos/Classes/Domain/Service/UserService.php b/Neos.Neos/Classes/Domain/Service/UserService.php
index <HASH>..<HASH> 100644
--- a/Neos.Neos/Classes/Domain/Service/UserService.php
+++ b/Neos.Neos/Classes/Domain/Service/UserService.php
@@ -310,7 +310,10 @@ class UserService
public function deleteUse... | BUGFIX: Deletion of backend users
Backend users can now be deleted, even if they have a private workspace. | neos_neos-development-collection | train | php |
43284b3e07c62275f67b5eac7c8fc55073150580 | diff --git a/app/assets/javascripts/cocoon.js b/app/assets/javascripts/cocoon.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/cocoon.js
+++ b/app/assets/javascripts/cocoon.js
@@ -132,7 +132,7 @@
});
- $(document).on("ready page:load turbolinks:load", function() {
+ $(document).on("ready page:load t... | Add event listener for @hotwired/turbo | nathanvda_cocoon | train | js |
ba72b45c89933c2cc9edec67f3151d86eea4e50e | diff --git a/multiurl.py b/multiurl.py
index <HASH>..<HASH> 100644
--- a/multiurl.py
+++ b/multiurl.py
@@ -55,12 +55,13 @@ class MultiRegexURLResolver(urlresolvers.URLResolver):
class MultiResolverMatch(object):
- def __init__(self, matches, exceptions, patterns_matched, path, route=''):
+ def __init__(self,... | support for django <I> | raiderrobert_django-multiurl | train | py |
656a1f8734086cecdc489c9e2a03c212040d55cc | diff --git a/addon/-private/apollo/query-manager.js b/addon/-private/apollo/query-manager.js
index <HASH>..<HASH> 100644
--- a/addon/-private/apollo/query-manager.js
+++ b/addon/-private/apollo/query-manager.js
@@ -155,7 +155,6 @@ export default class QueryManager {
*
* @method unsubscribeAll
* @param {Bool... | fix documentation for unsubscribeAll(onlyStale)
it doesn't return anything (void) | ember-graphql_ember-apollo-client | train | js |
e530ef072d5f67f04e5f6bac254681ca0f6fdc0b | diff --git a/synapse/daemon.py b/synapse/daemon.py
index <HASH>..<HASH> 100644
--- a/synapse/daemon.py
+++ b/synapse/daemon.py
@@ -378,10 +378,11 @@ class Daemon(EventBus):
items = list(link.get('dmon:items').values())
for item in items:
- try:
- ... | Don't try to fini objects without fini() | vertexproject_synapse | train | py |
3b3adc70b7be7379bb751259a30b373ee4a28566 | diff --git a/src/Http/Composers/CharacterLayout.php b/src/Http/Composers/CharacterLayout.php
index <HASH>..<HASH> 100644
--- a/src/Http/Composers/CharacterLayout.php
+++ b/src/Http/Composers/CharacterLayout.php
@@ -55,6 +55,10 @@ class CharacterLayout
if (! RefreshToken::where('character_id', $this->request-... | fix(characters): ensure character view don't throw a null exception
avoid null exception when user attempt to show a character for which no token is registered. | eveseat_web | train | php |
adb79c0a14c2b347c5289e79379a1acfe34bf388 | diff --git a/lib/cookiejar/cookie_validation.rb b/lib/cookiejar/cookie_validation.rb
index <HASH>..<HASH> 100644
--- a/lib/cookiejar/cookie_validation.rb
+++ b/lib/cookiejar/cookie_validation.rb
@@ -321,6 +321,8 @@ module CookieJar
args[:secure] = true
when :httponly
args[:http_only... | Add support to `samesite` cookie | dwaite_cookiejar | train | rb |
a9eac775bd8d283af8b47f2021fbfb0ac03bb8ab | diff --git a/lib/simpletest/testrss.php b/lib/simpletest/testrss.php
index <HASH>..<HASH> 100644
--- a/lib/simpletest/testrss.php
+++ b/lib/simpletest/testrss.php
@@ -91,7 +91,7 @@ EOD;
* Test retrieving a url which doesn't exist
*/
function test_failurl() {
- $feed = new moodle_simplepie(moodle... | MDL-<I> prevent logging of intentional errors when fetching feeds | moodle_moodle | train | php |
ae855bd4ba0da5667e6ba43b59d457e62e4c0d99 | diff --git a/tests/util.py b/tests/util.py
index <HASH>..<HASH> 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -31,6 +31,7 @@ def must_fail(fn):
"""
This checks if every expectation in a test fails.
"""
+
def test_decorated(self, *args, **kwargs):
Base.match = new_match
fn(self,... | [r] Make must_fail fully compatible with nose
Originally, whenever you run a must_fail test alone and directly
with nose, you would get this error message:
'ValueError: no such test method in <test reference>: test_decorated' | vesln_robber.py | train | py |
140f4ea781000ad723fa8aa0b3ef31b2fad89cfb | diff --git a/bosh-dev/lib/bosh/dev/bat/runner.rb b/bosh-dev/lib/bosh/dev/bat/runner.rb
index <HASH>..<HASH> 100644
--- a/bosh-dev/lib/bosh/dev/bat/runner.rb
+++ b/bosh-dev/lib/bosh/dev/bat/runner.rb
@@ -13,6 +13,7 @@ module Bosh::Dev::Bat
microbosh_deployment_manifest,
bat_deployment_manifest
)
+ ... | move rubocop guard closer to the problem | cloudfoundry_bosh | train | rb |
c43d1f562090f2832d4a69292b7f7b50527ba512 | diff --git a/test_path.py b/test_path.py
index <HASH>..<HASH> 100644
--- a/test_path.py
+++ b/test_path.py
@@ -1223,6 +1223,7 @@ class TestMultiPath:
assert path == input
+@pytest.mark.xfail('path.PY2', reason="Python 2 has no __future__")
def test_no_dependencies():
"""
Path.py guarantees that ... | Mark test as xfail on Python <I> | jaraco_path.py | train | py |
f8857ebe93387a3e843a823f322566c1c4c9891e | diff --git a/test/test_time_extensions.rb b/test/test_time_extensions.rb
index <HASH>..<HASH> 100644
--- a/test/test_time_extensions.rb
+++ b/test/test_time_extensions.rb
@@ -86,9 +86,9 @@ class TestTimeExtensions < Test::Unit::TestCase
assert_equal time_b.business_time_until(time_a), -(6 * duration_of_working_day... | fixing a unit test. the problem was in the test because counterintuitively, when rolloing over on a weekend it rolls forward to Monday 9 am | bokmann_business_time | train | rb |
ed820955a8ab39fb1e791a625a8e301175f7fc6a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@ setup(
include_package_data=True,
platforms='any',
install_requires=[
- 'Flask-Security>=1.6.2',
+ 'Flask-Security>=1.6.3',
'Flask-OAuth>=0.12'
],
test_suite='nose... | Update flaks-security dependency to handle mongoengine import issue | mattupstate_flask-social | train | py |
cb7dee7fa1c6cb5d75381ec1f374c08aadfb58a3 | diff --git a/angr/analyses/cfg/cfg_fast.py b/angr/analyses/cfg/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg/cfg_fast.py
+++ b/angr/analyses/cfg/cfg_fast.py
@@ -1362,8 +1362,6 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method
self._insert_job(job)
... | CFGFast: Mark a function as returning as early as possible. (#<I>)
* CFGFast: Mark a function as returning as early as possible.
* Only call clean_pending_exits() after analyzing the returning of all functions. | angr_angr | train | py |
543daf106d9d01163c3afa6ae39110d4e66a78d8 | diff --git a/agent/exec/containerd/controller.go b/agent/exec/containerd/controller.go
index <HASH>..<HASH> 100644
--- a/agent/exec/containerd/controller.go
+++ b/agent/exec/containerd/controller.go
@@ -147,7 +147,7 @@ func (r *controller) Start(ctx context.Context) error {
return errors.Wrap(err, "starting containe... | containerd: Fix a typo in a comment. | docker_swarmkit | train | go |
c060ae67c47cc173e62c86a06d91730ca37b7b76 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,18 +12,17 @@ from distutils.extension import Extension
# Third-party
import numpy as np
from Cython.Distutils import build_ext
+from Cython.Build import cythonize
# Get numpy path
numpy_base_path = os.path.split(np.... | use glob to get all pyx | adrn_gala | train | py |
8f711a6bf7b14712a3ee3c5ebfd68c2d50f353f0 | diff --git a/lib/viiite.rb b/lib/viiite.rb
index <HASH>..<HASH> 100644
--- a/lib/viiite.rb
+++ b/lib/viiite.rb
@@ -1,16 +1,20 @@
require "viiite/version"
require "viiite/loader"
require "viiite/errors"
-require "viiite/tms"
-require "viiite/benchmark"
-require "viiite/command"
-require "viiite/bdb"
#
# Benchmark... | Add Boolean and Coercions to Viiite. | blambeau_viiite | train | rb |
1c36800a4d9937d94e0f8c00bd09b706a2ebeb95 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ requires = []
setup(
name='skosprovider',
- version='0.1.3',
+ version='0.1.4dev',
description='Abstraction layer for SKOS vocabularies.',
long_description=open('README.rst').read() + '\n... | Bump to version <I>dev. | koenedaele_skosprovider | train | py |
b72e77d9a2778df3c834be29dbfa13e629cd668d | diff --git a/openquake/risklib/asset.py b/openquake/risklib/asset.py
index <HASH>..<HASH> 100644
--- a/openquake/risklib/asset.py
+++ b/openquake/risklib/asset.py
@@ -305,6 +305,9 @@ class TagCollection(object):
# fill missing tagvalues with "?", raise an error for unknown tagnames
idxs = []
... | Fixed a small bug with multi-exposure [skip CI]
Former-commit-id: b8d<I>ab<I>ea<I>d8a<I>bea<I>b3 | gem_oq-engine | train | py |
f5538e7fd126ffd1eb08f9a3daff611851eaf1ee | diff --git a/transaction.go b/transaction.go
index <HASH>..<HASH> 100644
--- a/transaction.go
+++ b/transaction.go
@@ -493,6 +493,14 @@ func ComposeTransaction(name string) ([]byte, error) {
func SendTransaction(name string) (*Transaction, error) {
params := transactionRequest{Name: name}
+ tx, err := GetTmpTransa... | added error handeling for submitting unsigned transactions | FactomProject_factom | train | go |
d54abb599392f158de8da0826a26ea0513ae36f3 | diff --git a/ginga/rv/plugins/LineProfile.py b/ginga/rv/plugins/LineProfile.py
index <HASH>..<HASH> 100644
--- a/ginga/rv/plugins/LineProfile.py
+++ b/ginga/rv/plugins/LineProfile.py
@@ -309,11 +309,8 @@ class LineProfile(GingaPlugin.LocalPlugin):
data = mddata
# Broadcast region mask to 3... | Speed up LineProfile calculation by getting rid of Numpy masked array overhead | ejeschke_ginga | train | py |
8a3465d80d86aca7b31c00baa8704b3428fd4410 | diff --git a/lib/cf/cli/app/start.rb b/lib/cf/cli/app/start.rb
index <HASH>..<HASH> 100644
--- a/lib/cf/cli/app/start.rb
+++ b/lib/cf/cli/app/start.rb
@@ -100,6 +100,7 @@ module CF::App
while true
if any_instance_flapping?(instances) || seconds == APP_CHECK_LIMIT
err "Push unsuccessful.... | Add tips for successful and unsuccessful app pushes.
[Finishes #<I>] | cloudfoundry-attic_cf | train | rb |
495caaf7e87922f5ba365c0018aaac41929cc3d9 | diff --git a/coordinates/classes.py b/coordinates/classes.py
index <HASH>..<HASH> 100644
--- a/coordinates/classes.py
+++ b/coordinates/classes.py
@@ -144,13 +144,16 @@ class Coordinate(MathDict):
If the class has no ``default_order`` and no ``order`` kwarg is given, order will be set as reverse
lex... | fix pypy bug, improve instantiation docstrings | clbarnes_coordinates | train | py |
014af46759e693252c0bf1a7b3a800549bc7050d | diff --git a/__tests__/src/elementType-test.js b/__tests__/src/elementType-test.js
index <HASH>..<HASH> 100644
--- a/__tests__/src/elementType-test.js
+++ b/__tests__/src/elementType-test.js
@@ -1,6 +1,6 @@
/* eslint-env mocha */
import assert from 'assert';
-import { getOpeningElement, setParserName } from '../helpe... | [Tests] skip failing fragment test in node 4 | evcohen_jsx-ast-utils | train | js |
2ccdf0352313f7e06eee602e06d7dafb07581194 | diff --git a/source/rafcon/statemachine/state_machine.py b/source/rafcon/statemachine/state_machine.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/statemachine/state_machine.py
+++ b/source/rafcon/statemachine/state_machine.py
@@ -117,12 +117,12 @@ class StateMachine(Observable, JSONObject, Hashable):
self... | modify modifiction lock behavior of state machine
the blocking paramter of the aquire call is forwarded now | DLR-RM_RAFCON | train | py |
660b121a184502536c8f7c8c7581189d041dada4 | diff --git a/Classes/Backend/class.user_filterlist.php b/Classes/Backend/class.user_filterlist.php
index <HASH>..<HASH> 100644
--- a/Classes/Backend/class.user_filterlist.php
+++ b/Classes/Backend/class.user_filterlist.php
@@ -80,12 +80,7 @@ class user_filterlist {
if ($config['table'] == 'pages') {
$currentPid... | fix filterStorage configuration option for indexerconfig records (make it work again). | teaminmedias-pluswerk_ke_search | train | php |
c5962f10772a39668349f2aa83a82d77e53706db | diff --git a/master/setup.py b/master/setup.py
index <HASH>..<HASH> 100755
--- a/master/setup.py
+++ b/master/setup.py
@@ -527,7 +527,7 @@ setup_args['extras_require'] = {
],
'docs': [
'docutils<0.13.0',
- 'sphinx>1.4.0',
+ 'sphinx>1.4.0,<2.1.0',
'sphinxcontrib-blockdiag',
... | requirements: Don't update to sphinx <I> or newer | buildbot_buildbot | train | py |
8e9e775ac0c6c5e72d3126f4938e0cdf5ccb9816 | diff --git a/ext/extconf.rb b/ext/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -4,7 +4,16 @@ require "mkmf"
File::unlink("Makefile") if (File::exist?("Makefile"))
-%w{7.29 7.28 7.27 7.26 7.24 7.23 7.22 7.20}.each{|x| break if pkg_config("vips-#{x}")}
+found = false
+%w{7.29 7... | fail sooner if no vips found
Thanks Pierre | libvips_ruby-vips | train | rb |
2d11551c53b2feb0a59560a21ba5e74580c7c944 | diff --git a/commands/hugo.go b/commands/hugo.go
index <HASH>..<HASH> 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -711,7 +711,15 @@ func NewWatcher(port int) error {
for _, ev := range evs {
ext := filepath.Ext(ev.Name)
- istemp := strings.HasSuffix(ext, "~") || (ext == ".swp") || (ext == "... | Ignore temporary file "<I>" created by Vim | gohugoio_hugo | train | go |
2a359ae75e637322e9467a6e9bcc718fd655ff3c | diff --git a/src/org/opencms/file/types/CmsResourceTypeXmlContent.java b/src/org/opencms/file/types/CmsResourceTypeXmlContent.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/file/types/CmsResourceTypeXmlContent.java
+++ b/src/org/opencms/file/types/CmsResourceTypeXmlContent.java
@@ -46,7 +46,6 @@ import org.open... | Fixed issue when updating module containing nested XSDs referenced by
other modules fail. | alkacon_opencms-core | train | java |
51c3e6ca593c72ce818f0eb5a97ead66fb5ac78b | diff --git a/src/DataTable/DisplayOptions.js b/src/DataTable/DisplayOptions.js
index <HASH>..<HASH> 100644
--- a/src/DataTable/DisplayOptions.js
+++ b/src/DataTable/DisplayOptions.js
@@ -18,14 +18,15 @@ export default class PagingTool extends React.Component {
<Popover
content={
<div style={{... | add margin to display options title and change onClick to onChange to get rid of checkbox warning | TeselaGen_teselagen-react-components | train | js |
4f9317a9e24c56bbd0bf7bfc5b8466c34a6bfa9b | diff --git a/bokeh/models/graphs.py b/bokeh/models/graphs.py
index <HASH>..<HASH> 100644
--- a/bokeh/models/graphs.py
+++ b/bokeh/models/graphs.py
@@ -53,9 +53,11 @@ def from_networkx(graph, layout_function, **kwargs):
# inline import to prevent circular imports
from ..models.renderers import GraphRen... | Updated to handle networkx <I> Views (#<I>)
* Updated to handle networkx <I> Views
This is not backward compatible Views were added in nx <I>
* Added handling for nx 1.x and 2.x
* Changes to handling for nx 1 and 2
Wrap graph nodes and edges in list for conversion to CDS(s)
* Handle nx <I> and <I> | bokeh_bokeh | train | py |
e98da060a59210f180958428c73047b665ec5b2a | diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -250,9 +250,9 @@ import salt.utils.templates
from salt.exceptions import CommandExecutionError
from salt.utils.serializers import yaml as yaml_serializer
from salt.utils.serialize... | Replaced module six in file /salt/states/file.py | saltstack_salt | train | py |
c72aa28148227c15a9db8e40f511a4ac9655a5fb | diff --git a/trunk/mlcp/src/main/java/com/marklogic/contentpump/SplitDelimitedTextReader.java b/trunk/mlcp/src/main/java/com/marklogic/contentpump/SplitDelimitedTextReader.java
index <HASH>..<HASH> 100644
--- a/trunk/mlcp/src/main/java/com/marklogic/contentpump/SplitDelimitedTextReader.java
+++ b/trunk/mlcp/src/main/ja... | Bug:<I> When split_input, don't report line number | marklogic_marklogic-contentpump | train | java |
9e29692f4dffb25c1030eaa086752929710a9a59 | diff --git a/packages/openneuro-server/graphql/resolvers/dataset.js b/packages/openneuro-server/graphql/resolvers/dataset.js
index <HASH>..<HASH> 100644
--- a/packages/openneuro-server/graphql/resolvers/dataset.js
+++ b/packages/openneuro-server/graphql/resolvers/dataset.js
@@ -61,7 +61,8 @@ export const updateFiles = ... | draftFilesUpdated called on file tree updates / deletes | OpenNeuroOrg_openneuro | train | js |
efd288ce1c08e4acce20793cd65f9b97e5964207 | diff --git a/climber.py b/climber.py
index <HASH>..<HASH> 100644
--- a/climber.py
+++ b/climber.py
@@ -44,16 +44,16 @@ def chossy():
class Bolt():
def __init__(self, text):
- self.contexts = {}
+ self.contexts = {}
self.text = text
# Add context to bolt.
def belay(self, conte... | changed the numbered cotext levels to strings, next step is to map the images in climb images and include a call to it in climb/ make it its own thing. | TheSighing_climber | train | py |
a202859c48fc77d7f80e3e4d2293565b40332adf | diff --git a/test/integration/test_speech_to_text_v1.rb b/test/integration/test_speech_to_text_v1.rb
index <HASH>..<HASH> 100644
--- a/test/integration/test_speech_to_text_v1.rb
+++ b/test/integration/test_speech_to_text_v1.rb
@@ -20,7 +20,7 @@ class MyRecognizeCallback < RecognizeCallback
end
def on_inactivity... | fix(websockets test): Attempt to fix websocket timeout test | watson-developer-cloud_ruby-sdk | train | rb |
0e63b98ec54141daeac3af1cdc83e86f28630d3a | diff --git a/babel/index.js b/babel/index.js
index <HASH>..<HASH> 100644
--- a/babel/index.js
+++ b/babel/index.js
@@ -10,7 +10,7 @@ var isTest = (process.env.BABEL_ENV || process.env.NODE_ENV) === "test";
var defaultBrowserList = ["> 1%", "last 2 versions", "IE >= 9"];
// preact-cli babel configs
-var babelConfigs... | correct relative path to babel-config | developit_preact-cli | train | js |
6158948099a110a346f23fb41ff6b2e5fa7bdde3 | diff --git a/gargoyle/models.py b/gargoyle/models.py
index <HASH>..<HASH> 100644
--- a/gargoyle/models.py
+++ b/gargoyle/models.py
@@ -216,6 +216,9 @@ class SwitchProxy(object):
class SwitchManager(ModelDict):
_registry = {}
+ def __repr__(self):
+ return "<%s: %s (%s)>" % (self.__class__.__name__... | Better repr for Gargoyle's custom ModelDict | disqus_gargoyle | 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.