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 |
|---|---|---|---|---|---|
9ac050168e1e766efcf0f93c80ce323addc933f7 | diff --git a/sqlg-test/src/main/java/org/umlg/sqlg/test/schema/TestMultiThread.java b/sqlg-test/src/main/java/org/umlg/sqlg/test/schema/TestMultiThread.java
index <HASH>..<HASH> 100644
--- a/sqlg-test/src/main/java/org/umlg/sqlg/test/schema/TestMultiThread.java
+++ b/sqlg-test/src/main/java/org/umlg/sqlg/test/schema/Te... | reduce number of graphs to make the test pass with <I> postgres max
number of connections | pietermartin_sqlg | train | java |
4ed371fcf92bdc4dc00fac5f122bf348d22505a9 | diff --git a/phoebe/frontend/bundle.py b/phoebe/frontend/bundle.py
index <HASH>..<HASH> 100644
--- a/phoebe/frontend/bundle.py
+++ b/phoebe/frontend/bundle.py
@@ -2123,6 +2123,13 @@ class Bundle(ParameterSet):
default_unit=lhs.default_unit,
... | raise error if trying to constrain already constrained parameter
(previously an error was only raised if the conflict resulted from flip_constraint, now its checked both at add_constraint and flip_constraint) | phoebe-project_phoebe2 | train | py |
0bcbd05a24490578dceb2246be26c3ae5205d4e4 | diff --git a/src/Moxl/Xec/Action/Roster/AddItem.php b/src/Moxl/Xec/Action/Roster/AddItem.php
index <HASH>..<HASH> 100644
--- a/src/Moxl/Xec/Action/Roster/AddItem.php
+++ b/src/Moxl/Xec/Action/Roster/AddItem.php
@@ -31,11 +31,13 @@ class AddItem extends Action
{
private $_to;
private $_from;
+ private $_na... | Add name and group for Roster::addItem | movim_moxl | train | php |
2966a1fc6b1b54848c8ff848289c589da323aed2 | diff --git a/source/TabBar/Item.js b/source/TabBar/Item.js
index <HASH>..<HASH> 100644
--- a/source/TabBar/Item.js
+++ b/source/TabBar/Item.js
@@ -54,9 +54,11 @@ enyo.kind (
}
);
this.addClass('active');
+ this.$.dissolve.addClass('active');
}
else {
this.removeClass('active');
+ ... | ENYO-<I>: also toggle activate on dissolve div | enyojs_onyx | train | js |
15cd3f539a192e5c163ef26d17e34b990da237c2 | diff --git a/spyder/utils/code_analysis/lsp_client.py b/spyder/utils/code_analysis/lsp_client.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/code_analysis/lsp_client.py
+++ b/spyder/utils/code_analysis/lsp_client.py
@@ -164,10 +164,10 @@ class LSPClient(QObject, LSPMethodProviderMixIn):
self.notifier.ac... | Disable Ctrl+Break event on Windows | spyder-ide_spyder | train | py,py |
bf271b227191b4c8c4e147e90e8ca84afad08a91 | diff --git a/lib/model/activityobject.js b/lib/model/activityobject.js
index <HASH>..<HASH> 100644
--- a/lib/model/activityobject.js
+++ b/lib/model/activityobject.js
@@ -78,12 +78,13 @@ ActivityObject.prototype.afterUpdate =
ActivityObject.prototype.afterSave =
ActivityObject.prototype.afterCreate =
ActivityObjec... | Wrong 'this' when expanding author | pump-io_pump.io | train | js |
700c74cb7e745f713f406babfca27bb75a78cb17 | diff --git a/libcontainer/factory_linux.go b/libcontainer/factory_linux.go
index <HASH>..<HASH> 100644
--- a/libcontainer/factory_linux.go
+++ b/libcontainer/factory_linux.go
@@ -27,10 +27,7 @@ const (
execFifoFilename = "exec.fifo"
)
-var (
- idRegex = regexp.MustCompile(`^[\w+-\.]+$`)
- maxIdLen = 1024
-)
+var ... | Issue #<I> : Removing check for id string length | opencontainers_runc | train | go |
b74ee19b10f461558d38582eedc09a27cd4739e6 | diff --git a/src/test/java/fr/pilato/elasticsearch/crawler/fs/test/integration/FsCrawlerImplAllParametersIT.java b/src/test/java/fr/pilato/elasticsearch/crawler/fs/test/integration/FsCrawlerImplAllParametersIT.java
index <HASH>..<HASH> 100644
--- a/src/test/java/fr/pilato/elasticsearch/crawler/fs/test/integration/FsCra... | Fix previous commit: Simplify default test | dadoonet_fscrawler | train | java |
ea0de787c314ffbd847a05029168958f50e7df72 | diff --git a/plugins/readme.js b/plugins/readme.js
index <HASH>..<HASH> 100644
--- a/plugins/readme.js
+++ b/plugins/readme.js
@@ -10,7 +10,9 @@ exports.cli = function (db, config) {
console.log('sorry, readme file not found.')
else
console.log(data.readme)
+
cb(null, data.readme || data... | return true to indicate that command was matched | dominictarr_npmd | train | js |
65e1cc2033b3188ca0fc473fedf235d9d1f94e63 | diff --git a/trackhub/upload.py b/trackhub/upload.py
index <HASH>..<HASH> 100644
--- a/trackhub/upload.py
+++ b/trackhub/upload.py
@@ -89,4 +89,8 @@ def upload_track(host, user, track, port=22, rsync_options='-azvr --progress',
kwargs['remote_fn'] += '.bai'
results.extend(upload_file(**kwargs))
+ ... | if vcftabix, upload the .tbi as well | daler_trackhub | train | py |
87eb2b04ec59248b4f76c398e8450a437e38f765 | diff --git a/common/lib/common/exceptions.rb b/common/lib/common/exceptions.rb
index <HASH>..<HASH> 100644
--- a/common/lib/common/exceptions.rb
+++ b/common/lib/common/exceptions.rb
@@ -20,7 +20,16 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEAL... | Make it optional to have the 'chef' gem installed to load RightLink so that core side code can reuse RightLink code. | rightscale_right_link | train | rb,rb |
0429cc75c10a6b9db7c4681ac2a942262351e76b | diff --git a/safe/gis/vector/clip.py b/safe/gis/vector/clip.py
index <HASH>..<HASH> 100644
--- a/safe/gis/vector/clip.py
+++ b/safe/gis/vector/clip.py
@@ -149,7 +149,8 @@ def clip(layer_to_clip, mask_layer, callback=None):
out_feat = QgsFeature()
out_feat.setGeometry(new_geom)
... | allow only the same geometry type in the output layer | inasafe_inasafe | train | py |
b840f6bbe493e8c46c1f4621175ad06e1d857567 | diff --git a/src/js/DataSourceAggregator.js b/src/js/DataSourceAggregator.js
index <HASH>..<HASH> 100644
--- a/src/js/DataSourceAggregator.js
+++ b/src/js/DataSourceAggregator.js
@@ -22,6 +22,12 @@ var DataSourceAggregator = Base.extend('DataSourceAggregator', {
/**
* @memberOf DataSourceAggregator... | Stump of aggregations post core extraction | fin-hypergrid_hyper-analytics | train | js |
cc69b3dad6efdca0503e90577945d2b6bd4afc5a | diff --git a/gutenberg/corpus.py b/gutenberg/corpus.py
index <HASH>..<HASH> 100644
--- a/gutenberg/corpus.py
+++ b/gutenberg/corpus.py
@@ -17,6 +17,7 @@ class SqliteCorpus(api.Corpus):
def __init__(self, *args, **kwargs):
api.Corpus.__init__(self, *args, **kwargs)
self._index = os.path.join(self.... | Initialize SqliteCorpus on construction | c-w_gutenberg | train | py |
89b2b2c97a8cdb84261f2629803c94c1595fdd1a | diff --git a/src/test/java/com/cronutils/Issue404Test.java b/src/test/java/com/cronutils/Issue404Test.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/cronutils/Issue404Test.java
+++ b/src/test/java/com/cronutils/Issue404Test.java
@@ -34,7 +34,7 @@ import com.cronutils.parser.CronParser;
*/
public class Issu... | #<I>: No longer ignore passing test. | jmrozanec_cron-utils | train | java |
5b8dc8c57a39198e59ee25555a43fb165bcfc645 | diff --git a/src/ofxstatement/statement.py b/src/ofxstatement/statement.py
index <HASH>..<HASH> 100644
--- a/src/ofxstatement/statement.py
+++ b/src/ofxstatement/statement.py
@@ -4,6 +4,7 @@ from datetime import datetime
from decimal import Decimal as D
from hashlib import sha1
from pprint import pformat
+from math ... | Fixed naive float comparison that would make ending balance check fail often | kedder_ofxstatement | train | py |
99f9664956e574caf677c5c0102fc195b8558ec2 | diff --git a/concrete/controllers/single_page/dashboard/system/seo/bulk.php b/concrete/controllers/single_page/dashboard/system/seo/bulk.php
index <HASH>..<HASH> 100644
--- a/concrete/controllers/single_page/dashboard/system/seo/bulk.php
+++ b/concrete/controllers/single_page/dashboard/system/seo/bulk.php
@@ -137,6 +13... | Filter bulk seo PageList by site when filtering by all levels
refs #<I> | concrete5_concrete5 | train | php |
cdb550a131a0904508fecdb56d214af24927c549 | diff --git a/spec/farmstead_spec.rb b/spec/farmstead_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/farmstead_spec.rb
+++ b/spec/farmstead_spec.rb
@@ -3,10 +3,6 @@ RSpec.describe Farmstead do
expect(Farmstead::VERSION).not_to be nil
end
- it "has Environment Variables" do
- expect(Farmstead::ENVIRONMENT).... | Removed environment test for defunct constant | mastermindg_farmstead | train | rb |
aa4d36f02a43986be52a230e77e2142bf97fa090 | diff --git a/selectable/static/js/jquery.dj.selectable.js b/selectable/static/js/jquery.dj.selectable.js
index <HASH>..<HASH> 100644
--- a/selectable/static/js/jquery.dj.selectable.js
+++ b/selectable/static/js/jquery.dj.selectable.js
@@ -69,7 +69,7 @@
source: dataSource,
change: funct... | Remove the error state if the input field is empty. | mlavin_django-selectable | train | js |
efa6db14223a14a9d7cd8bfd252b44981d87ace2 | diff --git a/tests/unit/states/test_boto_cloudtrail.py b/tests/unit/states/test_boto_cloudtrail.py
index <HASH>..<HASH> 100644
--- a/tests/unit/states/test_boto_cloudtrail.py
+++ b/tests/unit/states/test_boto_cloudtrail.py
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-from __future__ import absolute_import, print_function,... | Drop Py2 and six on tests/unit/states/test_boto_cloudtrail.py | saltstack_salt | train | py |
c4a81b8f9066fb421a13094349013b10476a8660 | diff --git a/core/polyaxon/connections/gcp/gcs.py b/core/polyaxon/connections/gcp/gcs.py
index <HASH>..<HASH> 100644
--- a/core/polyaxon/connections/gcp/gcs.py
+++ b/core/polyaxon/connections/gcp/gcs.py
@@ -229,7 +229,7 @@ class GCSService(GCPService, StoreMixin):
blob = append_basename(blob, dirname)
... | GCS: Slightly speedup `upload_dir` | polyaxon_polyaxon | train | py |
d67d413c4f312fd29448686c078f48685dced0d9 | diff --git a/lib/helper/AdminListHelper.php b/lib/helper/AdminListHelper.php
index <HASH>..<HASH> 100644
--- a/lib/helper/AdminListHelper.php
+++ b/lib/helper/AdminListHelper.php
@@ -222,7 +222,8 @@ abstract class AdminListHelper extends AdminBaseHelper
$filteredIDs[] = IntVal($id);
}
$this->groupActions($... | fix remove action, action_button | DigitalWand_digitalwand.admin_helper | train | php |
50e730268a7b97290fc83961ee30ddd2975e1a05 | diff --git a/zetta.js b/zetta.js
index <HASH>..<HASH> 100644
--- a/zetta.js
+++ b/zetta.js
@@ -21,8 +21,8 @@ var Zetta = module.exports = function(opts) {
opts = opts || {};
- this.id = uuid.v4(); // unique id of server
this._name = os.hostname(); // optional name, defaults to OS hostname
+ this.id = this._... | Using name for id now | zettajs_zetta | train | js |
7ec3c5ee25447ec14acc80612522fbfd971ff65b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -122,7 +122,7 @@ Logsene.prototype.log = function (level, message, fields, callback) {
msg['@timestamp'] = new Date(msg['@timestamp'])
}
this.bulkReq += JSON.stringify({'index': {'_index': this.token, '_type': type ... | Fixed bug with not returning the function of the safeCycles (would result in empty string). | sematext_logsene-js | train | js |
fe466379fe1c09766cf2d66f881d6c3f1d727117 | diff --git a/autofit/optimize/non_linear/non_linear.py b/autofit/optimize/non_linear/non_linear.py
index <HASH>..<HASH> 100644
--- a/autofit/optimize/non_linear/non_linear.py
+++ b/autofit/optimize/non_linear/non_linear.py
@@ -272,7 +272,7 @@ class NonLinearOptimizer(object):
self.result = Result(insta... | Removed uncessary image path | rhayes777_PyAutoFit | train | py |
4d111e5402f2b9edfd0e4ad8bbddf23521813a20 | diff --git a/src/components/markdown-render/inlineCode.js b/src/components/markdown-render/inlineCode.js
index <HASH>..<HASH> 100644
--- a/src/components/markdown-render/inlineCode.js
+++ b/src/components/markdown-render/inlineCode.js
@@ -1,6 +1,6 @@
import React from 'react';
import Highlight, { defaultProps } from ... | Change inline code to Github prism theme | sparkdesignsystem_spark-design-system | train | js |
8f808a69f6f64c7d92571989b72da1d1801a1c86 | diff --git a/horizon/static/horizon/js/horizon.modals.js b/horizon/static/horizon/js/horizon.modals.js
index <HASH>..<HASH> 100644
--- a/horizon/static/horizon/js/horizon.modals.js
+++ b/horizon/static/horizon/js/horizon.modals.js
@@ -41,7 +41,6 @@ horizon.modals.create = function (title, body, confirm, cancel) {
hori... | Show validation errors in modal forms
Selector '.modal span.help-block' is the exact one for the
validation messages. It might have been used for some
other purpose previously, but now it breaks the things.
Change-Id: Ibb<I>f<I>a<I>fc<I>a6bdac9b<I>b7e<I>dd1
Closes-Bug: #<I> | openstack_horizon | train | js |
3220760395db2fa03fe8116cd920c8db7b0bfbc3 | diff --git a/lib/spawnGPG.js b/lib/spawnGPG.js
index <HASH>..<HASH> 100644
--- a/lib/spawnGPG.js
+++ b/lib/spawnGPG.js
@@ -96,7 +96,7 @@ module.exports.streaming = function(options, args, cb) {
// Wrapper around spawn. Catches error events and passed global args.
function spawnIt(args, fn) {
- var gpg = spawn('gpg... | Fixed command line arguments
- GPG is sensitive to arguments order; this enables gpg.call to decrypt files | drudge_node-gpg | train | js |
4a43fbd1ecef86f4fa2f377b7567b19070b1c3e3 | diff --git a/lexers/p/prolog.go b/lexers/p/prolog.go
index <HASH>..<HASH> 100644
--- a/lexers/p/prolog.go
+++ b/lexers/p/prolog.go
@@ -15,7 +15,6 @@ var Prolog = internal.Register(MustNewLexer(
},
Rules{
"root": {
- {`^#.*`, CommentSingle, nil},
{`/\*`, CommentMultiline, Push("nested-comment")},
{`%.*`... | Removed # as a comment character | alecthomas_chroma | train | go |
6fc206d182cb199120cb24095b080334b9e22408 | diff --git a/bokeh/server/server.py b/bokeh/server/server.py
index <HASH>..<HASH> 100644
--- a/bokeh/server/server.py
+++ b/bokeh/server/server.py
@@ -112,16 +112,14 @@ class Server(object):
documentation in the standard lib for more details).
new (str, optional) : window or tab (default... | Comments/docs cleanups to Server.show, suggested by Bryan | bokeh_bokeh | train | py |
41158044eb9d7abdd2ba7a1d127bb26e34ef1630 | diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3189,12 +3189,12 @@ def _make_and(e1, e2):
Nones equate to 'y'.
Note: returns None if e1 == e2 == None."""
- if e1 == "n" or e2 == "n":
- return "n"
if e1 is None or e1 == "y":
... | Put the most common case first in _make_and().
Measured with line_profiler on the x<I> Kconfigs. | ulfalizer_Kconfiglib | train | py |
a8319181957f09e91243e0e76b1f5a49a3c78792 | diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py
index <HASH>..<HASH> 100644
--- a/dvc/command/data_sync.py
+++ b/dvc/command/data_sync.py
@@ -116,7 +116,8 @@ def shared_parent_parser():
"targets",
nargs="*",
default=None,
- help="Limit the scope to these DVC-files. Wit... | fixed: splited helper text in data sync | iterative_dvc | train | py |
b3ecf39e458ba2d85bd639cd55b194fff9c3a2a8 | diff --git a/lib/github/ldap/instrumentation.rb b/lib/github/ldap/instrumentation.rb
index <HASH>..<HASH> 100644
--- a/lib/github/ldap/instrumentation.rb
+++ b/lib/github/ldap/instrumentation.rb
@@ -13,6 +13,7 @@ module GitHub
#
# Returns the return value of the block.
def instrument(event, payload... | Ensure payload is distinct from what's passed in
This is because we modify what comes in (with, at the very least,
:result). | github_github-ldap | train | rb |
e3646249e5c34bcec13918cad8ea01c101999394 | diff --git a/openquake/engine/calculators/hazard/scenario/core.py b/openquake/engine/calculators/hazard/scenario/core.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/hazard/scenario/core.py
+++ b/openquake/engine/calculators/hazard/scenario/core.py
@@ -68,7 +68,7 @@ def compute_gmfs(job_id, sites, rup... | Updated another docstring
Former-commit-id: <I>a7a<I>fc<I>f<I>df8ebd<I>fb<I>b8c | gem_oq-engine | train | py |
0641d4a9ee8ff2bb4e60a45e42b9c9f46f8a26f4 | diff --git a/src/Http/Url.php b/src/Http/Url.php
index <HASH>..<HASH> 100644
--- a/src/Http/Url.php
+++ b/src/Http/Url.php
@@ -654,6 +654,10 @@ class Url
throw new \InvalidArgumentException('Malformed URL: ' . $url);
}
+ if (empty($parts['scheme']) || !in_array($parts['scheme'], ['http', ... | allow only http/https url schemes | oscarotero_Embed | train | php |
e798c269df6f456bccf6a1e755015ea1e7631117 | diff --git a/lib/plugins/create/templates/tencent-go/index.go b/lib/plugins/create/templates/tencent-go/index.go
index <HASH>..<HASH> 100644
--- a/lib/plugins/create/templates/tencent-go/index.go
+++ b/lib/plugins/create/templates/tencent-go/index.go
@@ -14,7 +14,7 @@ type DefineEvent struct {
func hello(ctx context.C... | refactor(Templates): Remove unnecessary `fmt.Sprintf` in `tencent-go` | serverless_serverless | train | go |
776993d47b862b82ea5a3b78f3b199b7747cd7be | diff --git a/geoviews/operation/projection.py b/geoviews/operation/projection.py
index <HASH>..<HASH> 100644
--- a/geoviews/operation/projection.py
+++ b/geoviews/operation/projection.py
@@ -182,7 +182,6 @@ class project_points(_project_operation):
crs=self.p.projection, datatype=datatype)... | Ensure that projecting QuadMesh does not drop options | pyviz_geoviews | train | py |
3a50987a50bb1fcd90c4965089d22b9d90846f15 | diff --git a/sos/report/plugins/sar.py b/sos/report/plugins/sar.py
index <HASH>..<HASH> 100644
--- a/sos/report/plugins/sar.py
+++ b/sos/report/plugins/sar.py
@@ -50,7 +50,7 @@ class Sar(Plugin,):
if sar_filename not in dir_list:
sar_cmd = 'sh -c "sar -A -f %s"' % sa_data_path
... | [sar] Extend command sadf to get more data out of sar
Currently, the sadf command translates to a XML
file the content of the CPU data captured in sar.
With this patch, all the data captured via sar
is translated into the XML file.
Resolves: #<I> | sosreport_sos | train | py |
952035b2f6bd818134c9dbc3b1266ab25b80767d | diff --git a/lib/reporters/base.js b/lib/reporters/base.js
index <HASH>..<HASH> 100644
--- a/lib/reporters/base.js
+++ b/lib/reporters/base.js
@@ -128,8 +128,8 @@ exports.list = function(failures){
// msg
var err = test.err
- , stack = err.stack || err.message
, message = err.message || ''
+ ... | [reporters/base] fixed max call stack error hndlng | mochajs_mocha | train | js |
551995ac67215d70a15064c1a07a126b31c2961b | diff --git a/clay/core.py b/clay/core.py
index <HASH>..<HASH> 100644
--- a/clay/core.py
+++ b/clay/core.py
@@ -264,7 +264,7 @@ class Clay(object):
if real_ext == u'.html':
content = self._post_process(content)
return views.append([relpath_in, path_out, content])
- ... | filter non html files out of _index.html | lucuma_Clay | train | py |
23d7e1047daae272bee9760942c697a3ed9b5f8b | diff --git a/src/main/java/com/semanticcms/openfile/servlet/ajax/AjaxInitializer.java b/src/main/java/com/semanticcms/openfile/servlet/ajax/AjaxInitializer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/semanticcms/openfile/servlet/ajax/AjaxInitializer.java
+++ b/src/main/java/com/semanticcms/openfile/servlet... | Upgraded jquery, d3js, and dagre-d3.
jquery from <I> to <I>.
d3js from <I> to <I>.
dagre-d3 from <I> to <I>. | aoindustries_semanticcms-openfile-servlet | train | java |
dc18c5fb8ea3caeacdf94fe7cc0e3d9c4e95c245 | diff --git a/classes/Pods.php b/classes/Pods.php
index <HASH>..<HASH> 100644
--- a/classes/Pods.php
+++ b/classes/Pods.php
@@ -686,10 +686,10 @@ class Pods implements Iterator {
if ( null !== $params->single )
$params->single = (boolean) $params->single;
- if ( is_array( $params->name ) || strlen( trim( $para... | Don't call trim twice
Micro-optimization, won't do a whole lot | pods-framework_pods | train | php |
1185293e717e13dcf74190fe878cd08d0955ec53 | diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Example.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Example.java
index <HASH>..<HASH> 100755
--- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/mod... | Re-arranged code
(<I>) | springfox_springfox | train | java |
4c587ffc458586add7c0f25a3bf6645fd56011fb | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -588,6 +588,11 @@ module Discordrb
event = MentionEvent.new(message, self)
raise_event(event)
end
+
+ if message.channel.private?
+ ... | Raise the PrivateMessageEvent when a PM is received | meew0_discordrb | train | rb |
1ef7d10722afa89dcda7fe35ce73b512a56eb3ae | diff --git a/ddoc.js b/ddoc.js
index <HASH>..<HASH> 100644
--- a/ddoc.js
+++ b/ddoc.js
@@ -179,11 +179,11 @@ DDoc.prototype.copy_template = function() {
DDoc.prototype.add_browser = function(callback) {
var counter = 0
- ;['browser.min.js']
+ ;['cqs.min.js', 'showlist.js', 'index.html']
.forEach(function(nam... | upload all file in add_browser | jhs_cqs | train | js |
defa809ba019f35b1c2ff86d2bc2d98b2aa2e430 | diff --git a/aiohttp/web_protocol.py b/aiohttp/web_protocol.py
index <HASH>..<HASH> 100644
--- a/aiohttp/web_protocol.py
+++ b/aiohttp/web_protocol.py
@@ -463,10 +463,6 @@ class RequestHandler(BaseProtocol):
# notify server about keep-alive
self._keepalive = bool(resp.keep_alive)
- ... | [<I>] Don't write to access log twice per request. (#<I>) | aio-libs_aiohttp | train | py |
47f7c736cb4872be272f978b9bfade33bff3f0f1 | diff --git a/eth/filters/api.go b/eth/filters/api.go
index <HASH>..<HASH> 100644
--- a/eth/filters/api.go
+++ b/eth/filters/api.go
@@ -78,6 +78,7 @@ func NewPublicFilterAPI(backend Backend, lightMode bool) *PublicFilterAPI {
// Tt is started when the api is created.
func (api *PublicFilterAPI) timeoutLoop() {
ticke... | eth/filters: add missing Ticker.Stop call (#<I>) | ethereum_go-ethereum | train | go |
6dd0220e08705457179973f1d69370e0b96a92d6 | diff --git a/classes/fields/slug.php b/classes/fields/slug.php
index <HASH>..<HASH> 100644
--- a/classes/fields/slug.php
+++ b/classes/fields/slug.php
@@ -118,11 +118,12 @@ class PodsField_Slug extends PodsField {
* @since 2.0.0
*/
public function validate ( &$value, $name = null, $options = null, $fie... | Permalink fix, don't show error if the index doesn't exist as a field | pods-framework_pods | train | php |
d60cb70768aee6f635f45a3678dd4e08b1898dac | diff --git a/lago/ssh.py b/lago/ssh.py
index <HASH>..<HASH> 100644
--- a/lago/ssh.py
+++ b/lago/ssh.py
@@ -366,6 +366,8 @@ def get_ssh_client(
host_name,
err,
)
+ except EOFError as err:
+ LOGGER.debug('EOFError connecting to %s: %s', ... | ssh: catch EOFError
paramiko.Transport.start_client can raise EOFError directly, in that
case we should still normally retry getting a connection.
This was apparent in debian, where this exception might get thrown on
the first attempts. | lago-project_lago | train | py |
e4e62fbdc63374f9475d6768a2b4c3b3747d6362 | diff --git a/activemodel/lib/active_model/attributes.rb b/activemodel/lib/active_model/attributes.rb
index <HASH>..<HASH> 100644
--- a/activemodel/lib/active_model/attributes.rb
+++ b/activemodel/lib/active_model/attributes.rb
@@ -115,7 +115,7 @@ module ActiveModel
end
def freeze
- @attributes = @attri... | ActiveModel::Model can be frozen again | rails_rails | train | rb,rb |
94544647cb0871616359294c81f947743318df3d | diff --git a/scarlet/cms/models.py b/scarlet/cms/models.py
index <HASH>..<HASH> 100644
--- a/scarlet/cms/models.py
+++ b/scarlet/cms/models.py
@@ -37,3 +37,6 @@ class CMSLog(models.Model):
user_name = models.CharField(max_length=255)
when = models.DateTimeField(default=timezone.now)
+
+ class Meta:
+ ... | Avoiding RemovedInDjango<I>Warning message for app-label models | ff0000_scarlet | train | py,py |
9fbc4bce183f466f6447a8b127bfad202728fb77 | diff --git a/php/WP_CLI/Formatter.php b/php/WP_CLI/Formatter.php
index <HASH>..<HASH> 100644
--- a/php/WP_CLI/Formatter.php
+++ b/php/WP_CLI/Formatter.php
@@ -37,8 +37,8 @@ class Formatter {
if ( $this->args['field'] ) {
$this->show_single_field( $items, $this->args['field'] );
} else {
- $item = ! empty( $... | Accommodate array iterators, which can be passed to `display_items()` | wp-cli_export-command | train | php |
fa76d55dc678fd6163724ddab552797a4936a6ce | diff --git a/spec/bolt/notifier_spec.rb b/spec/bolt/notifier_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/bolt/notifier_spec.rb
+++ b/spec/bolt/notifier_spec.rb
@@ -1,6 +1,10 @@
# frozen_string_literal: true
require 'spec_helper'
+require 'concurrent/executor/immediate_executor'
+require 'bolt/notifier'
+require ... | (maint) Add missing requires to specs | puppetlabs_bolt | train | rb |
4974f920f8f1adcede6b6ae864ef6e6f3a38c83c | diff --git a/master/buildbot/util/service.py b/master/buildbot/util/service.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/util/service.py
+++ b/master/buildbot/util/service.py
@@ -529,3 +529,8 @@ class BuildbotServiceManager(AsyncMultiService, config.ConfiguredMixin,
yield svc.disownServiceParen... | util: Improve error messages when services fail to be reconfigured
This will make issues like
<URL> | buildbot_buildbot | train | py |
5d72de7f2483a9caaa040b9140cc58f5ec195286 | diff --git a/simulator/src/main/java/com/hazelcast/simulator/agent/Agent.java b/simulator/src/main/java/com/hazelcast/simulator/agent/Agent.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/agent/Agent.java
+++ b/simulator/src/main/java/com/hazelcast/simulator/agent/Agent.java
@@ -1... | Fixed shutdown message during startup due to instant creation of shutdown thread via shutdown hook. | hazelcast_hazelcast-simulator | train | java,java |
644c07b5a3d17e21f04ca6657ea187edf6b2ef39 | diff --git a/test-complete/src/test/java/com/marklogic/client/functionaltest/TestStandaloneQuery.java b/test-complete/src/test/java/com/marklogic/client/functionaltest/TestStandaloneQuery.java
index <HASH>..<HASH> 100644
--- a/test-complete/src/test/java/com/marklogic/client/functionaltest/TestStandaloneQuery.java
+++ ... | Setup changed to enable stemming. refer to Bug Track Issue <I>. | marklogic_java-client-api | train | java |
49d546d8f0d7a06ba4633d680b88e3ba948c191f | diff --git a/scarlet/cms/item.py b/scarlet/cms/item.py
index <HASH>..<HASH> 100644
--- a/scarlet/cms/item.py
+++ b/scarlet/cms/item.py
@@ -193,7 +193,7 @@ class FormView(ModelCMSMixin, ModelFormMixin, ModelCMSView):
getattr(self.form_class.Meta, 'fields', None)):
fields = self.form... | preventing errors when attempting to remove readonly fields | ff0000_scarlet | train | py |
fa7eb6df676c12436a74e75a3d7fd16e9645fcff | diff --git a/sjk-core/src/main/java/org/gridkit/jvmtool/cmd/MxProxyCmd.java b/sjk-core/src/main/java/org/gridkit/jvmtool/cmd/MxProxyCmd.java
index <HASH>..<HASH> 100644
--- a/sjk-core/src/main/java/org/gridkit/jvmtool/cmd/MxProxyCmd.java
+++ b/sjk-core/src/main/java/org/gridkit/jvmtool/cmd/MxProxyCmd.java
@@ -117,6 +11... | [MPRX] Autoconfigure RMI host | aragozin_jvm-tools | train | java |
b7e57fe8260403153620bcd4c6b89477ef6fd29e | diff --git a/vaadin-signaturefield/src/main/grunt/signaturefield/Gruntfile.js b/vaadin-signaturefield/src/main/grunt/signaturefield/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/vaadin-signaturefield/src/main/grunt/signaturefield/Gruntfile.js
+++ b/vaadin-signaturefield/src/main/grunt/signaturefield/Gruntfile.js
@@ -7... | Add signature_pads license to minified js file | maxschuster_Vaadin-SignatureField | train | js |
a36b9e7815c0cd9455757a2042287f34a209233d | diff --git a/pylint_django/augmentations/__init__.py b/pylint_django/augmentations/__init__.py
index <HASH>..<HASH> 100644
--- a/pylint_django/augmentations/__init__.py
+++ b/pylint_django/augmentations/__init__.py
@@ -645,13 +645,18 @@ def is_model_test_case_subclass(node):
return node_is_subclass(node, "django.t... | <I> - Converted local function using closure to be callable class | PyCQA_pylint-django | train | py |
3699d87cc41b1e0ae1cbc2b71a4f308c62690525 | diff --git a/test/chai-angular.js b/test/chai-angular.js
index <HASH>..<HASH> 100644
--- a/test/chai-angular.js
+++ b/test/chai-angular.js
@@ -9,9 +9,16 @@ chai.should();
var expect = chai.expect;
-function Resource() {}
-Resource.prototype.$promise = {};
-Resource.prototype.$resolved = {};
+function Resource() {
... | Update mock Resource object to match Angular <I> | peferron_chai-angular | train | js |
bea72fad0db54c2497123ea52adb8d41ffedb267 | diff --git a/Front-end/predDB_srcV3.js b/Front-end/predDB_srcV3.js
index <HASH>..<HASH> 100644
--- a/Front-end/predDB_srcV3.js
+++ b/Front-end/predDB_srcV3.js
@@ -21,7 +21,7 @@ function parse_infer_result(infer_return) {
for(var i=0; i<infer_return.length; i++) {
infer_return_i = infer_return[i]
coordinates = ... | BUGFIX: parse_infer_result: index into array properly to get value | probcomp_crosscat | train | js |
d21961d3fe3743521bf89c600ebb05bb1f573bb9 | diff --git a/livejson.py b/livejson.py
index <HASH>..<HASH> 100644
--- a/livejson.py
+++ b/livejson.py
@@ -45,7 +45,7 @@ class _ObjectBase(object):
newPathInData = pathInData + [key]
# If it's the top level database, use self for top level database
toplevel = self.basedb if hasatt... | Fix NestedDict type
It was _NestedBase before by accident | controversial_livejson | train | py |
89ba35b87242140c90290c0d9cdf2643e69a23b6 | diff --git a/lxd/device/nic_routed.go b/lxd/device/nic_routed.go
index <HASH>..<HASH> 100644
--- a/lxd/device/nic_routed.go
+++ b/lxd/device/nic_routed.go
@@ -34,7 +34,7 @@ type nicRouted struct {
// CanHotPlug returns whether the device can be managed whilst the instance is running.
func (d *nicRouted) CanHotPlug(... | lxd/device/nic/routed: Make routed NIC hotpluggable
Now that routed NIC is implemented with LXD created veth pairs we can hotplug. | lxc_lxd | train | go |
30764dcec716fd5e6aad01200412d40cd4d132e1 | diff --git a/pages/spec/support/refinery/pages/caching_helpers.rb b/pages/spec/support/refinery/pages/caching_helpers.rb
index <HASH>..<HASH> 100644
--- a/pages/spec/support/refinery/pages/caching_helpers.rb
+++ b/pages/spec/support/refinery/pages/caching_helpers.rb
@@ -13,10 +13,10 @@ module CachingHelpers
Refiner... | Fix warning regarding putting a space before parentheses. | refinery_refinerycms | train | rb |
9f2a345bbe649996d598ca22ce9a94146cb6ca02 | diff --git a/tests/test_yum.rb b/tests/test_yum.rb
index <HASH>..<HASH> 100644
--- a/tests/test_yum.rb
+++ b/tests/test_yum.rb
@@ -23,6 +23,9 @@ class TestYum < CiscoTestCase
@@pkg = 'n9000_sample'
@@pkg_ver = '1.0.0-7.0.3'
@@pkg_filename = 'n9000_sample-1.0.0-7.0.3.x86_64.rpm'
+ @@incompatible_rpm_msg =
+ ... | Add exception messages for tests with sample rpm. | cisco_cisco-network-node-utils | train | rb |
5e2d7cc8daaaea718abdc0bf6c0cb7ce09cb42c9 | diff --git a/test/unit/voldemort/store/bdb/BdbStorageEngineTest.java b/test/unit/voldemort/store/bdb/BdbStorageEngineTest.java
index <HASH>..<HASH> 100644
--- a/test/unit/voldemort/store/bdb/BdbStorageEngineTest.java
+++ b/test/unit/voldemort/store/bdb/BdbStorageEngineTest.java
@@ -18,13 +18,12 @@ package voldemort.sto... | Remove random field, it's never used. | voldemort_voldemort | train | java |
e5986abddf00a42acd7a391297ee9e9ed92aa110 | diff --git a/lib/clamp/help.rb b/lib/clamp/help.rb
index <HASH>..<HASH> 100644
--- a/lib/clamp/help.rb
+++ b/lib/clamp/help.rb
@@ -36,8 +36,8 @@ module Clamp
declared_usage_descriptions || [derived_usage_description]
end
- def help(invocation_path)
- help = Builder.new
+ def help(invocation_pat... | Allow inject you own help Builder
If you want to customize help output, e.g. when you have advanced
options that you don't want to display by default you can change your
Clamp::Command.help method to set yor own help builder. | mdub_clamp | train | rb |
c9e9f1d4bc33e6ffae933ea14a2209d5083259b6 | diff --git a/stimela/cargo/cab/autoflagger/src/run.py b/stimela/cargo/cab/autoflagger/src/run.py
index <HASH>..<HASH> 100644
--- a/stimela/cargo/cab/autoflagger/src/run.py
+++ b/stimela/cargo/cab/autoflagger/src/run.py
@@ -20,7 +20,7 @@ msname = " ".join( ["%s/%s"%(MSDIR , ms) for ms in msname] )
strategy = jdict.pop... | Fixes autoflagger cab
Removes double "input" directory prefixed to path of strategy | SpheMakh_Stimela | train | py |
407ad81e6a9f9a0138a1e01321b65d23ddd8e9ba | diff --git a/lib/tco/palette.rb b/lib/tco/palette.rb
index <HASH>..<HASH> 100644
--- a/lib/tco/palette.rb
+++ b/lib/tco/palette.rb
@@ -551,8 +551,7 @@ module Tco
colour_index = distances.each_with_index.min[1]
# TODO: No cache eviction is currently in place
- # It's not that much of a problem... | palette: Minor comments rewording | pazdera_tco | train | rb |
20de52366cff54c76b6fe179562258bd9e61981b | diff --git a/salt/fileserver/s3fs.py b/salt/fileserver/s3fs.py
index <HASH>..<HASH> 100644
--- a/salt/fileserver/s3fs.py
+++ b/salt/fileserver/s3fs.py
@@ -500,9 +500,9 @@ def _find_dirs(metadata):
for path in [k['Key'] for k in data]:
prefix = ''
for part in path.split('/')[:-1]:
- ... | fileserver.s3fs: avoid shadowing dir() built-in | saltstack_salt | train | py |
6a878e7b2362600096a2ce149ffd1a267cbd3bb3 | diff --git a/src/main/java/org/jpy/PyObject.java b/src/main/java/org/jpy/PyObject.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jpy/PyObject.java
+++ b/src/main/java/org/jpy/PyObject.java
@@ -19,6 +19,7 @@ package org.jpy;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;
import ... | Ensure that the 'name' argument is non-null, for preventing a JVM crash. | bcdev_jpy | train | java |
dd875b80b3ee9f5863ff5378ab19917ae975ed92 | diff --git a/pypika/terms.py b/pypika/terms.py
index <HASH>..<HASH> 100644
--- a/pypika/terms.py
+++ b/pypika/terms.py
@@ -654,17 +654,17 @@ class Case(Term):
@property
def tables_(self):
- tables = []
+ tables = {}
if self._cases:
- tables += [table
+ tables &= ... | Fixed impl of tables_ in BasicCriterion to return a set | kayak_pypika | train | py |
e111d355ba2413002e8ba45dbd96ae55c667ab5e | diff --git a/rollup.config.js b/rollup.config.js
index <HASH>..<HASH> 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -145,7 +145,8 @@ export default () => {
external: ['vue'],
output: {
format: 'esm',
- file: 'dist/buefy.esm.js'
+ file: '... | Add copyright on esm for browsers (#<I>) | buefy_buefy | train | js |
9a1c15338bbdfa8e9563bebc1e654d3c05173cd2 | diff --git a/openstack_dashboard/test/test_data/nova_data.py b/openstack_dashboard/test/test_data/nova_data.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/test/test_data/nova_data.py
+++ b/openstack_dashboard/test/test_data/nova_data.py
@@ -420,6 +420,8 @@ def data(TEST):
'q... | Fixes KeyError in floating ip unit test
Patch <I> introduced security group create buttons respecting quotas. This
unit test needs to have the security group quota available for quotas to
avoid the KeyError.
Change-Id: I<I>fa1e<I>b<I>ac2bb<I>e<I>d<I>d<I>acd<I>
Closes-bug: <I> | openstack_horizon | train | py |
53e0095a0b33171dbb00e1fbde7394fc0553f677 | diff --git a/Application/Debugger.php b/Application/Debugger.php
index <HASH>..<HASH> 100644
--- a/Application/Debugger.php
+++ b/Application/Debugger.php
@@ -12,6 +12,11 @@ class sb_Application_Debugger{
* @param integer $line The line the error occurred on
*/
public static function error_handler($cod... | new sb_Application_Debugger allows for use of @ to surppress errors such as GD error for jpeg with extra chars before marker | surebert_surebert-framework | train | php |
744564fcf806311fdc88fb1d8b4097560d514ad7 | diff --git a/test/req.ip.js b/test/req.ip.js
index <HASH>..<HASH> 100644
--- a/test/req.ip.js
+++ b/test/req.ip.js
@@ -21,7 +21,7 @@ describe('req', function(){
.expect('client', done);
})
- it('should return the addr after trusted proxy', function(done){
+ it('should return the addr... | tests: add test for multiple ips in "trust proxy" | expressjs_express | train | js |
905c68cdd3a8f665e2c98dd700e36e9f54fb63e8 | diff --git a/javascript/webpack.hmr.config.js b/javascript/webpack.hmr.config.js
index <HASH>..<HASH> 100644
--- a/javascript/webpack.hmr.config.js
+++ b/javascript/webpack.hmr.config.js
@@ -2,12 +2,9 @@
var webpackConfig = require('./webpack.shared.config');
var webpack = require('webpack');
-webpackConfig.entry =... | Add dev entry points instead of replacing them for webpack hot reloading | Graylog2_graylog2-server | train | js |
9d6663846f123c8ec3091baa5074866a52d8ba27 | diff --git a/src/lib/baseClient.js b/src/lib/baseClient.js
index <HASH>..<HASH> 100644
--- a/src/lib/baseClient.js
+++ b/src/lib/baseClient.js
@@ -607,7 +607,8 @@ define([
// which places a very tight limit due to constraints enforced by browsers
// and the necessity of base64 encoding binary data.
//
- ... | BaseClient#getListing: fetch listing from remote, if no force is set on directory or parent | remotestorage_remotestorage.js | train | js |
3c1400811cf1a9eeb7700d79ea9c328f92909a54 | diff --git a/lib/stackup/stack.rb b/lib/stackup/stack.rb
index <HASH>..<HASH> 100644
--- a/lib/stackup/stack.rb
+++ b/lib/stackup/stack.rb
@@ -85,9 +85,9 @@ module Stackup
def wait_for_events
loop do
display_new_events
- status = stack_status
+ status = stack.stack_status
ret... | Fix broken reference to stack status Pair: Matt
Fix broken reference to stack status Pair: Matt | realestate-com-au_stackup | train | rb |
ac5bdd3df1fc97bdce2678b1972d2670128fcbe5 | diff --git a/src/main/java/org/nlpcn/es4sql/query/maker/Maker.java b/src/main/java/org/nlpcn/es4sql/query/maker/Maker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/nlpcn/es4sql/query/maker/Maker.java
+++ b/src/main/java/org/nlpcn/es4sql/query/maker/Maker.java
@@ -21,7 +21,7 @@ import org.nlpcn.es4sql.spatial... | Fixed "NOT LIKE" so it works properly now. | NLPchina_elasticsearch-sql | train | java |
60ef0726fd54e9b5b8309d41f79cee0bca6db6cc | diff --git a/src/middleware/api.js b/src/middleware/api.js
index <HASH>..<HASH> 100644
--- a/src/middleware/api.js
+++ b/src/middleware/api.js
@@ -1,4 +1,5 @@
import queryString from 'qs';
+import { decamelize } from 'humps';
import * as apiActions from '../modules/api';
function getDefaultHeaders() {
@@ -36,7 +37... | Decamelize resource type before creating url | andyhite_redux-jsonapi | train | js |
cb1dc6d1569fc98b7f3aec110f0a205cba29ad1d | diff --git a/trepan/version.py b/trepan/version.py
index <HASH>..<HASH> 100644
--- a/trepan/version.py
+++ b/trepan/version.py
@@ -4,4 +4,4 @@
# This file should define a variable __version__ which we use as the
# debugger version number.
-__version__="1.2.3" # noqa
+__version__="1.2.4" # noqa | Get ready for release <I> | rocky_python3-trepan | train | py |
58675c1a4577a85dd44e860db13f1b75c6f4db0d | diff --git a/core/src/main/java/lucee/runtime/tag/Directory.java b/core/src/main/java/lucee/runtime/tag/Directory.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/lucee/runtime/tag/Directory.java
+++ b/core/src/main/java/lucee/runtime/tag/Directory.java
@@ -731,6 +731,10 @@ public final class Directory extends... | Added a correction in error message to directory delete for LDEV-<I> (#<I>) | lucee_Lucee | train | java |
3b7aa940bf920ece5cd76043c04ebab58ad20e23 | diff --git a/plugins/UsersManager/API.php b/plugins/UsersManager/API.php
index <HASH>..<HASH> 100644
--- a/plugins/UsersManager/API.php
+++ b/plugins/UsersManager/API.php
@@ -125,7 +125,9 @@ class API extends \Piwik\Plugin\API
if ($optionValue === false) {
$defaultValue = $this->getDefaultUserPref... | refs #<I> set a user preference only if there is actually a site | matomo-org_matomo | train | php |
f1db916b027841868e24761e9186b2bf457f2334 | diff --git a/bettercache/tests/test_middleware.py b/bettercache/tests/test_middleware.py
index <HASH>..<HASH> 100644
--- a/bettercache/tests/test_middleware.py
+++ b/bettercache/tests/test_middleware.py
@@ -20,7 +20,3 @@ class TestMiddleware(TestCase):
CM.get_cache.return_value = (None, None,)
self.as... | [CMSPERF-<I>] cleaned out some commented out code | ironfroggy_django-better-cache | train | py,py |
69af8d7691a2515a5c405bd5d949f7d19baa0bc1 | diff --git a/tests/TestCase.php b/tests/TestCase.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -1,23 +1,10 @@
<?php
+
namespace Scheb\Tombstone\Tests;
-abstract class TestCase extends \PHPUnit_Framework_TestCase
+use PHPUnit\Framework\TestCase as PHPUnitTestCase;
+
+abstract c... | Change test base class to PHPUnit\Framework\TestCase | scheb_tombstone | train | php |
f574dc72baca399f4e239a720622efd669f9d4b7 | diff --git a/lib/flipper/adapters/rollout.rb b/lib/flipper/adapters/rollout.rb
index <HASH>..<HASH> 100644
--- a/lib/flipper/adapters/rollout.rb
+++ b/lib/flipper/adapters/rollout.rb
@@ -1,3 +1,5 @@
+require "flipper/errors"
+
module Flipper
module Adapters
class Rollout | Ensure flipper/errors is required for Flipper::Error in rollout adapter | jnunemaker_flipper | train | rb |
3304de69062a8f30e1095de11d738c8b4c6bd408 | diff --git a/lib/simple_record/attributes.rb b/lib/simple_record/attributes.rb
index <HASH>..<HASH> 100644
--- a/lib/simple_record/attributes.rb
+++ b/lib/simple_record/attributes.rb
@@ -353,7 +353,7 @@ module SimpleRecord
ret = @lobs[name]
SimpleRecord.stats.s3... | Returns nil if s3 bucket does not exist on a get. Was raising before.
(cherry picked from commit 3e<I>fd<I>fd0cde6cc<I>b<I>fbc<I>f9f6f3e<I>) | appoxy_simple_record | train | rb |
2444e4e1dc80d709dd700baf0bd53d7c63f48c70 | diff --git a/pkg/kubecfg/kubecfg.go b/pkg/kubecfg/kubecfg.go
index <HASH>..<HASH> 100644
--- a/pkg/kubecfg/kubecfg.go
+++ b/pkg/kubecfg/kubecfg.go
@@ -168,7 +168,7 @@ func RunController(image, name string, replicas int, client client.Interface, po
DesiredState: api.ReplicationControllerState{
Replicas: replicas,... | Simplify labels for `kubecfg run`
We created a name=<controller name> label on each object we created. This was confusing. Instead, piggyback on `replicationController` label and use that as the selector. | kubernetes_kubernetes | train | go |
bc227e1faf5b727272b451d9231fb22bf73cde0b | diff --git a/test/serial/raw/from.js b/test/serial/raw/from.js
index <HASH>..<HASH> 100644
--- a/test/serial/raw/from.js
+++ b/test/serial/raw/from.js
@@ -86,11 +86,11 @@ describe("serial/raw/from", function () {
/*jshint validthis:true*/
assert(this === a); //eslint-disable-line no-in... | DeepScan fix (#<I>) | ArnaudBuchholz_gpf-js | train | js |
a6aef29e055ba67cdf3147c6d046a4c627039825 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -26,27 +26,27 @@ function Accepts(req) {
* Examples:
*
* // Accept: text/html
- * this.accepts('html');
+ * this.types('html');
* // => "html"
*
* // Accept: text/*, application/json
- * thi... | docs: fix typos in accept.types examples
The examples for accept.types uses the presumably old API method name
`this.accepts` instead of `this.types`.
closes #3 | jshttp_accepts | train | js |
023ce1151a52af298619c7cd1b764b3399215887 | diff --git a/app/models/simpleblog/category.rb b/app/models/simpleblog/category.rb
index <HASH>..<HASH> 100644
--- a/app/models/simpleblog/category.rb
+++ b/app/models/simpleblog/category.rb
@@ -3,5 +3,7 @@ module Simpleblog
has_and_belongs_to_many :posts
+ validates :title, uniqueness: true
+
end
end | validating uniqueness of title in categories | deanpcmad_blogr | train | rb |
aad7109ed4d4534e7f027e853b2fa615564e4f8c | diff --git a/salt/pillar/django_orm.py b/salt/pillar/django_orm.py
index <HASH>..<HASH> 100644
--- a/salt/pillar/django_orm.py
+++ b/salt/pillar/django_orm.py
@@ -82,7 +82,6 @@ log = logging.getLogger(__name__)
def __virtual__():
if not HAS_VIRTUALENV:
- log.warn('virtualenv not installed, please install... | Never post logs in the virtual function!!!!
Doing this can seriously flood the logs of the MANY users not intending
to use the module | saltstack_salt | train | py |
4c6636e2070e98220d5a767e5c7144368cb61c32 | diff --git a/api/deploy_test.go b/api/deploy_test.go
index <HASH>..<HASH> 100644
--- a/api/deploy_test.go
+++ b/api/deploy_test.go
@@ -391,6 +391,7 @@ func (s *DeploySuite) TestDeployList(c *check.C) {
c.Assert(recorder.Code, check.Equals, http.StatusOK)
err = json.Unmarshal(recorder.Body.Bytes(), &result)
c.Asse... | api: make sure deploy result length is correct in tests | tsuru_tsuru | train | go |
91cf6370310e71aa3943edbd83418f5ff4c7d605 | diff --git a/bootstrap/app.php b/bootstrap/app.php
index <HASH>..<HASH> 100644
--- a/bootstrap/app.php
+++ b/bootstrap/app.php
@@ -99,7 +99,6 @@ array_map(
// Add file names of files to auto-load from the `/app` folder.
// Classes are auto-loaded, so we only need this for functions-files.
[
- 'class-registry',
... | Remove call to `class-registry.php`. | justintadlock_hybrid-core | train | php |
8071f0da0e4dd58186508a4a0211212590d708b3 | diff --git a/chef/spec/unit/api_client_spec.rb b/chef/spec/unit/api_client_spec.rb
index <HASH>..<HASH> 100644
--- a/chef/spec/unit/api_client_spec.rb
+++ b/chef/spec/unit/api_client_spec.rb
@@ -193,8 +193,9 @@ describe Chef::ApiClient do
@http_client.should_receive(:get).with("clients/lost-my-key").and_rais... | [CHEF-<I>] fix spec for ruby <I>
Can only expect exception class, not an instance. | chef_chef | train | rb |
efff0cefbcab81fcb476792294b76b22fdf617e9 | diff --git a/exercises/error_handling/exercise.js b/exercises/error_handling/exercise.js
index <HASH>..<HASH> 100644
--- a/exercises/error_handling/exercise.js
+++ b/exercises/error_handling/exercise.js
@@ -3,11 +3,11 @@ var exercise = require('../../exercise');
module.exports = exercise
.push('/', function (data, ... | Small typo fix, it's "request" and not "requset". | koajs_kick-off-koa | train | js |
4bdd1e0d650274ed68c47d71df611acba5a760c5 | diff --git a/eZ/Publish/Core/Repository/UserService.php b/eZ/Publish/Core/Repository/UserService.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/Repository/UserService.php
+++ b/eZ/Publish/Core/Repository/UserService.php
@@ -439,7 +439,7 @@ class UserService implements UserServiceInterface
$this-... | Correct name of the property in user service | ezsystems_ezpublish-kernel | train | php |
0a4e26b4671feb6ad2adb67ce4af72931d047dfc | diff --git a/lib/chargify_api_ares.rb b/lib/chargify_api_ares.rb
index <HASH>..<HASH> 100644
--- a/lib/chargify_api_ares.rb
+++ b/lib/chargify_api_ares.rb
@@ -61,7 +61,7 @@ module Chargify
Base.password = 'X'
Base.timeout = timeout unless (timeout.blank?)
- self.site ||= "https://#{subdomain}.ch... | Ensure that config changes are honored. | chargify_chargify_api_ares | train | rb,rb |
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.