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 |
|---|---|---|---|---|---|
1f04a3e7bcd17e720aea215abae97a25fbea2c4d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
"""cookiecutter distutils configuration."""
from setuptools import setup
-version = "2.0.0"
+version = "2.0.3.dev0"
with open('README.md', encoding='utf-8') as readme_file:
readme = readme_file.read()
... | update troove classifiers, version and required python version | audreyr_cookiecutter | train | py |
87c9d6a9f5d28277e9d2dbc7cef6702f9196d735 | diff --git a/lib/sinatra/showexceptions.rb b/lib/sinatra/showexceptions.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra/showexceptions.rb
+++ b/lib/sinatra/showexceptions.rb
@@ -22,7 +22,7 @@ module Sinatra
rescue Exception => e
errors, env["rack.errors"] = env["rack.errors"], @@eats_errors
- if res... | Added plain text stack trace output if a cURL user agent is detected. | sinatra_sinatra | train | rb |
0866d484b142eb4c7e305e21f4a00594135a66df | diff --git a/src/Illuminate/Database/DetectsLostConnections.php b/src/Illuminate/Database/DetectsLostConnections.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/DetectsLostConnections.php
+++ b/src/Illuminate/Database/DetectsLostConnections.php
@@ -42,6 +42,7 @@ trait DetectsLostConnections
'... | Add 'The connection is broken and recovery is not possible.' thrown by Microsoft ODBC Driver to the list of causedByLostConnection error messages (#<I>) | laravel_framework | train | php |
b1cd925c0f8c503932ef88d3b90e821d23402be9 | diff --git a/src/main/java/org/msgpack/MessagePack.java b/src/main/java/org/msgpack/MessagePack.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/msgpack/MessagePack.java
+++ b/src/main/java/org/msgpack/MessagePack.java
@@ -47,7 +47,6 @@ public class MessagePack {
registry = new TemplateRegistry(msgpack... | deleted dead codes in MessagePack.java | msgpack_msgpack-java | train | java |
2088e635d1274a3ac4c5f76699c731a1a1a47d32 | diff --git a/src/components/__tests__/pagination.js b/src/components/__tests__/pagination.js
index <HASH>..<HASH> 100644
--- a/src/components/__tests__/pagination.js
+++ b/src/components/__tests__/pagination.js
@@ -89,3 +89,27 @@ test('it should be hidden if there are no results in the current context', () =>
expe... | test(pagination): test that page-change event is emitted | algolia_vue-instantsearch | train | js |
e49b59897d02295022060cca8b4271fbcd523b8d | diff --git a/ipwhois/asn.py b/ipwhois/asn.py
index <HASH>..<HASH> 100644
--- a/ipwhois/asn.py
+++ b/ipwhois/asn.py
@@ -600,7 +600,7 @@ class ASNOrigin:
net_start (:obj:`int`): The starting point of the network (if
parsing multiple networks). Defaults to None.
net_end (:obj:`in... | docstring typo fix (#<I>) | secynic_ipwhois | train | py |
18c71ab57c18e1c4ed2098eef10624dbbd6f7745 | diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index <HASH>..<HASH> 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -139,7 +139,7 @@ class Bot(GroupMixin, discord.Client):
self.extra_events = {}
self.cogs = {}
self.extensions = {}
- ... | [commands] Fix issue where Bot would raise if not given a description. | Rapptz_discord.py | train | py |
4505818a47964a24bdfc42e58bb56f6a3b01d08c | diff --git a/jest.config.js b/jest.config.js
index <HASH>..<HASH> 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -4,6 +4,7 @@ const commonConfig = {
setupFilesAfterEnv: [
'<rootDir>/packages/cozy-stack-client/src/__tests__/setup.js'
],
+ watchPathIgnorePatterns: ['node_modules'],
modulePathIgnorePat... | fix: Prevent Too many open files error
Do not watch node_modules since there are too many files
in there | cozy_cozy-client | train | js |
f15882f507a7ac1296c4606e3e46f6bbfdf63a37 | diff --git a/pkg/cmd/grafana-cli/commands/commands.go b/pkg/cmd/grafana-cli/commands/commands.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/grafana-cli/commands/commands.go
+++ b/pkg/cmd/grafana-cli/commands/commands.go
@@ -57,7 +57,7 @@ func runPluginCommand(command func(commandLine utils.CommandLine) error) func(co
... | Update logger message to be more generic (#<I>) | grafana_grafana | train | go |
0fbcef60036482315d3b8e2785bdc6a72b74213d | diff --git a/Model/ContactTopic.php b/Model/ContactTopic.php
index <HASH>..<HASH> 100644
--- a/Model/ContactTopic.php
+++ b/Model/ContactTopic.php
@@ -56,5 +56,4 @@ class ContactTopic implements ContactTopicInterface
{
return $this->title;
}
-
-}
\ No newline at end of file
+}
\ No newline at end of... | Removed new lines at the end of files | Sylius_Contact | train | php,php,php |
41ce00c3e3a6bc6cfc337a44674014e1e4591ace | diff --git a/lib/tinymce/rails/helper.rb b/lib/tinymce/rails/helper.rb
index <HASH>..<HASH> 100644
--- a/lib/tinymce/rails/helper.rb
+++ b/lib/tinymce/rails/helper.rb
@@ -59,5 +59,6 @@ module TinyMCE::Rails
# Allow methods to be called as module functions:
# e.g. TinyMCE::Rails.tinymce_javascript
module... | Ensure that helper methods are public | spohlenz_tinymce-rails | train | rb |
0fe570370cd58b58597017eb7395651946e67693 | diff --git a/compara/reconstruct.py b/compara/reconstruct.py
index <HASH>..<HASH> 100644
--- a/compara/reconstruct.py
+++ b/compara/reconstruct.py
@@ -76,14 +76,17 @@ def fuse(args):
logging.debug("Total families: {}, Gene members: {}"\
.format(len(families), len(allowed)))
+ # TODO: Use C++ ... | [compara] Write edges in reconstruct.fuse() | tanghaibao_jcvi | train | py |
ffef548f7c141aaae451e251e174f12e3a8364ed | diff --git a/dxm/src/main/java/io/pcp/parfait/dxm/semantics/UnitMapping.java b/dxm/src/main/java/io/pcp/parfait/dxm/semantics/UnitMapping.java
index <HASH>..<HASH> 100644
--- a/dxm/src/main/java/io/pcp/parfait/dxm/semantics/UnitMapping.java
+++ b/dxm/src/main/java/io/pcp/parfait/dxm/semantics/UnitMapping.java
@@ -76,7 ... | Resolve a type issue found by Coverity scanning
We were using Unit.NONE instead of Dimension.NONE
in one call site by accident. In practice not an
issue, by good fortune, but may as well fix it up. | performancecopilot_parfait | train | java |
87e9db9fd41d45018875b3459eb70b13c30f0108 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ def readme():
setup(
name="quilt",
- version="2.5.0",
+ version="2.5.1",
packages=find_packages(),
description='Quilt is an open-source data frame registry',
long_description=readme(... | Updating version to <I> (#<I>) | quiltdata_quilt | train | py |
7c2e9d2432cf80190322b91b2f5d5cf782e368a3 | diff --git a/confuse.py b/confuse.py
index <HASH>..<HASH> 100644
--- a/confuse.py
+++ b/confuse.py
@@ -1246,7 +1246,7 @@ class Choice(Template):
except ValueError:
self.fail(
u'must be one of {0}, not {1}'.format(
- repr(c.value for c in self.cho... | fixed bug in exception message and added another test case | sampsyo_confuse | train | py,py |
0e0bdb5ccaf3c99288d55c98ba7f807ec5fe300c | diff --git a/src/Factory/SwiftMessageFactory.php b/src/Factory/SwiftMessageFactory.php
index <HASH>..<HASH> 100644
--- a/src/Factory/SwiftMessageFactory.php
+++ b/src/Factory/SwiftMessageFactory.php
@@ -23,6 +23,6 @@ class SwiftMessageFactory
*/
public function create()
{
- return \Swift_Message:... | Update Swiftmailer to <I> as 2.x has security risks | damien-carcel_UserBundle | train | php |
c77a79d0f09b423942e21f844dda7bcb81e59975 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -23,7 +23,7 @@ async function run(req, res, fn, onError) {
const val = await fn(req, res)
// return a non-null value -> send with 200
- if (null != val) {
+ if (null !== val && undefined !== v... | Use !== instead of !=
This seems to conflict with the project's styleguide. | zeit_micro | train | js |
fe9439579ce444577d49ab2b76a1e6c1c6b43079 | diff --git a/landez/tiles.py b/landez/tiles.py
index <HASH>..<HASH> 100644
--- a/landez/tiles.py
+++ b/landez/tiles.py
@@ -242,12 +242,11 @@ class MBTilesBuilder(object):
try:
image = urllib.URLopener()
image.retrieve(url, output)
- break
+ re... | Small refactor of retry loop | makinacorpus_landez | train | py |
cf0ae578f54d4278875880ef81fb9a1cd8335d2f | diff --git a/test/cli-parse.js b/test/cli-parse.js
index <HASH>..<HASH> 100644
--- a/test/cli-parse.js
+++ b/test/cli-parse.js
@@ -189,7 +189,7 @@ test('cli-parse: scripts arguments: *', async (t) => {
t.end();
});
-test('cli-parse: scripts arguments: *', async (t) => {
+test('cli-parse: scripts arguments: simp... | test(redrun) get rid of duplicates | coderaiser_redrun | train | js,js |
27d9c7771499639cfaf6da32b4b02622492e315b | diff --git a/aiidalab_widgets_base/structures.py b/aiidalab_widgets_base/structures.py
index <HASH>..<HASH> 100644
--- a/aiidalab_widgets_base/structures.py
+++ b/aiidalab_widgets_base/structures.py
@@ -259,12 +259,11 @@ class StructureUploadWidget(ipw.VBox):
def _on_file_upload(self, change=None):
"""Whe... | Fix StructureUploadWidget (#<I>)
Currently we are using different file readers for cif files and all
the other file types. CifFile reader expect to recieve a bytes like
object, while ASE reader expects a string-like. This PR introduces
this distinction. | aiidalab_aiidalab-widgets-base | train | py |
1db59132e095e3d5a7cf33175c9e96f82b4c9901 | diff --git a/pystache/parsed.py b/pystache/parsed.py
index <HASH>..<HASH> 100644
--- a/pystache/parsed.py
+++ b/pystache/parsed.py
@@ -37,7 +37,11 @@ class ParsedTemplate(object):
Returns: a string of type unicode.
"""
- get_unicode = lambda val: val(context) if callable(val) else val
+ ... | Removed another use of the ternary operator for Python <I> support. | defunkt_pystache | train | py |
b179fb5ed1e9539b35bc38386b3ef5ab41c800fc | diff --git a/test/middleware_stack_test.rb b/test/middleware_stack_test.rb
index <HASH>..<HASH> 100644
--- a/test/middleware_stack_test.rb
+++ b/test/middleware_stack_test.rb
@@ -138,7 +138,8 @@ class MiddlewareStackTest < Faraday::TestCase
err = assert_raises RuntimeError do
@conn.get('/')
end
- as... | don't try to predict exact load error messages for various rubies | lostisland_faraday | train | rb |
ac4ff0776daf61582b8a3c134925c7baee5ccbe2 | diff --git a/lib/sbsm/redirector.rb b/lib/sbsm/redirector.rb
index <HASH>..<HASH> 100644
--- a/lib/sbsm/redirector.rb
+++ b/lib/sbsm/redirector.rb
@@ -14,7 +14,12 @@ module SBSM
end
end
def redirect?
- @state.direct_event && @request_method != 'GET'
+ #return @state.direct_event && @request_m... | Redirector: redirect everything except the direct event and :sort | zdavatz_sbsm | train | rb,rb |
49abfa367c0bcdad51b5be88c82a2babca5dcfd8 | diff --git a/transport/http/src/main/java/org/kaazing/gateway/transport/http/HttpConnector.java b/transport/http/src/main/java/org/kaazing/gateway/transport/http/HttpConnector.java
index <HASH>..<HASH> 100644
--- a/transport/http/src/main/java/org/kaazing/gateway/transport/http/HttpConnector.java
+++ b/transport/http/s... | Removed unneeded throws from HttpConnector#doRedirectReceived | kaazing_gateway | train | java |
34af011a12296b974f978cf642b082163855eb6f | diff --git a/core/src/main/java/com/savoirtech/eos/pattern/whiteboard/KeyedWhiteboard.java b/core/src/main/java/com/savoirtech/eos/pattern/whiteboard/KeyedWhiteboard.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/savoirtech/eos/pattern/whiteboard/KeyedWhiteboard.java
+++ b/core/src/main/java/com/savoirte... | Fixing KeyedWhiteboard's duplicate detection logic. | savoirtech_eos | train | java |
27b3d61e9d06f671348f0aecba91a5e2811fe4f5 | diff --git a/shared/fetcher.js b/shared/fetcher.js
index <HASH>..<HASH> 100644
--- a/shared/fetcher.js
+++ b/shared/fetcher.js
@@ -212,7 +212,9 @@ Fetcher.prototype.isMissingKeys = function(modelData, keys) {
};
Fetcher.prototype.fetchFromApi = function(spec, callback) {
- var model = this.getModelOrCollectionForS... | Another out-of-context-this left behind enemy lines. | rendrjs_rendr | train | js |
f156ddb66e54ff7227d7c58de494e006357e0f39 | diff --git a/ratings/models.py b/ratings/models.py
index <HASH>..<HASH> 100644
--- a/ratings/models.py
+++ b/ratings/models.py
@@ -5,7 +5,7 @@ from django.db import models, IntegrityError
from django.template.defaultfilters import slugify
from django.utils.hashcompat import sha_constructor
-from ratings.utils impor... | Adding recommended items method to the RatingsDescriptor | django-de_django-simple-ratings | train | py |
95f0fd96f0d4a90a398908224f37940e8c669d98 | diff --git a/descriptor/qsaratomic/src/main/java/org/openscience/cdk/qsar/descriptors/atomic/RDFProtonDescriptor_G3R.java b/descriptor/qsaratomic/src/main/java/org/openscience/cdk/qsar/descriptors/atomic/RDFProtonDescriptor_G3R.java
index <HASH>..<HASH> 100644
--- a/descriptor/qsaratomic/src/main/java/org/openscience/c... | Add a comment explaining this descriptor only applies to certain protons. | cdk_cdk | train | java |
cd5a9f43b3d3aa72443e9d210533bc6e97d2060e | diff --git a/src/sap.ui.mdc/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js b/src/sap.ui.mdc/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.mdc/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js
+++ b/src/sap.ui.mdc/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js
@@ -2,8 +2,12 @@
... | [INTERNAL][FIX] sap.ui.mdc: Mark changes as not applicable if property already exists
Change-Id: I6b<I>f9fb1be8b2e<I>d5e<I>ae9a<I>faf6f<I>c
BCP: <I> | SAP_openui5 | train | js |
d3860137fe236b9c8d92ef7be7147ac976b9c545 | diff --git a/test/specs/scale.logarithmic.tests.js b/test/specs/scale.logarithmic.tests.js
index <HASH>..<HASH> 100644
--- a/test/specs/scale.logarithmic.tests.js
+++ b/test/specs/scale.logarithmic.tests.js
@@ -749,7 +749,7 @@ describe('Logarithmic Scale tests', function() {
}
});
- expect(chart.scales.yScale... | Fix logarighmic test to use correct scale (#<I>) | chartjs_Chart.js | train | js |
6fad103535ac845781338ee988bb0d6398f97559 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,8 +4,6 @@ from setuptools import setup
with codecs_open('README.md', 'r', 'utf-8') as f:
README = f.read()
-with codecs_open('CHANGELOG.md', 'r', 'utf-8') as f:
- CHANGELOG = f.read()
setup(
author='Beau ... | Remove unnecessary lines from setup.py | bcb_jsonrpcclient | train | py |
473d276147b758be5225a4be998f553f1e31deb4 | diff --git a/lib/Doctrine/Common/Cache/ChainCache.php b/lib/Doctrine/Common/Cache/ChainCache.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/Common/Cache/ChainCache.php
+++ b/lib/Doctrine/Common/Cache/ChainCache.php
@@ -15,6 +15,9 @@ class ChainCache extends CacheProvider
/** @var CacheProvider[] */
privat... | Allow to indicate default TTL for downstream CacheProviders | doctrine_cache | train | php |
e2c948782b942d79911cec09c8862de0948b31e4 | diff --git a/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java b/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java
index <HASH>..<HASH> 100755
--- a/transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java
+++ b/transport/src/main/java/io/netty/channel... | Fix a problem where flush future is set more than once | netty_netty | train | java |
b7549cf3169305e606fc8ba64d87cf718f7ac299 | diff --git a/h2o-algos/src/main/java/hex/tree/SharedTreeModel.java b/h2o-algos/src/main/java/hex/tree/SharedTreeModel.java
index <HASH>..<HASH> 100755
--- a/h2o-algos/src/main/java/hex/tree/SharedTreeModel.java
+++ b/h2o-algos/src/main/java/hex/tree/SharedTreeModel.java
@@ -126,6 +126,20 @@ public abstract class Shared... | Added a 'preview' flag to GET Model so the browser can tell the backend when
it's requesting a java pojo. Don't render the full thing if it's huge and
will kill the browser. | h2oai_h2o-3 | train | java |
77181e765ee9e75c9c50ea83d8836b70041d0e35 | diff --git a/NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/NavigationBarView.java b/NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/NavigationBarView.java
index <HASH>..<HASH> 100644
--- a/NavigationReactNative/src/android/app/src/main/java/com/navigation/... | Tested out scroll flags and they work! | grahammendick_navigation | train | java |
02ddaad5d985186eed94dea4105a57fa21ba24db | diff --git a/docker/docker.go b/docker/docker.go
index <HASH>..<HASH> 100644
--- a/docker/docker.go
+++ b/docker/docker.go
@@ -86,7 +86,9 @@ func main() {
log.Fatal(err)
}
// Serve api
- if err := eng.Job("serveapi", flHosts...).Run(); err != nil {
+ job := eng.Job("serveapi", flHosts...)
+ job.Setenv("Log... | Engine: optional environment variable 'Logging' in 'serveapi' | moby_moby | train | go,go |
5c74a486b766f65310173011efde191894d0144d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ author = "Chris Sinchok"
author_email = "csinchok@theonion.com"
license = "BSD"
requires = [
- "Django>=1.8",
+ "Django>=1.8,<1.9",
"django-betty-cropper>=0.2.0",
"djangorestframework==3.1.1",... | We can't upgrade to Django==<I>, yet | theonion_django-bulbs | train | py |
72eeeb4abfc8fd1bf3d35e09a070ada3fffdbcc0 | diff --git a/src/resolvedpos.js b/src/resolvedpos.js
index <HASH>..<HASH> 100644
--- a/src/resolvedpos.js
+++ b/src/resolvedpos.js
@@ -71,7 +71,7 @@ class ResolvedPos {
// :: (?number) → number
// The (absolute) position directly before the node at the given
- // level, or, when `level` is `this.level + 1`, th... | Fix confused property name in doc comments | ProseMirror_prosemirror-model | train | js |
7ef5c7087ce6da85134214655ab97022dda60f03 | diff --git a/src/Zephyrus/Utilities/FileSystem/File.php b/src/Zephyrus/Utilities/FileSystem/File.php
index <HASH>..<HASH> 100644
--- a/src/Zephyrus/Utilities/FileSystem/File.php
+++ b/src/Zephyrus/Utilities/FileSystem/File.php
@@ -197,6 +197,17 @@ class File extends FileSystemNode
}
/**
+ * Obtains the ... | Added method to get last access time of file | dadajuice_zephyrus | train | php |
967c1879f41800c39314543173dd374415097e76 | diff --git a/lib/dynamic_paperclip/attachment.rb b/lib/dynamic_paperclip/attachment.rb
index <HASH>..<HASH> 100644
--- a/lib/dynamic_paperclip/attachment.rb
+++ b/lib/dynamic_paperclip/attachment.rb
@@ -42,7 +42,7 @@ module DynamicPaperclip
url = url(style_name)
- delimiter_char = url.match(/\?.+=/) ? '... | Fix to support the paperclip timestamp param which doesn't have a value. | room118solutions_dynamic_paperclip | train | rb |
eca51b42ec5361b36183fa44356e0f1db9fbc896 | diff --git a/lib/templates/client/service.js b/lib/templates/client/service.js
index <HASH>..<HASH> 100644
--- a/lib/templates/client/service.js
+++ b/lib/templates/client/service.js
@@ -3,11 +3,11 @@
angular
.module('mean.__pkgName__')
- .factory(__pkgName__);
+ .factory(__class__);
- __pkgName__.$i... | Updated to __class__ which seems to have proper capitalization | linnovate_mean-cli | train | js |
5fb30308455b9935df5baec183e5883aab282e5d | diff --git a/asn1crypto/x509.py b/asn1crypto/x509.py
index <HASH>..<HASH> 100644
--- a/asn1crypto/x509.py
+++ b/asn1crypto/x509.py
@@ -363,7 +363,7 @@ class RelativeDistinguishedName(SetOf):
"""
output = []
- values = self._get_values()
+ values = self._get_values(self)
for ke... | Fix generating the hashable version of an x<I>.RelativeDistinguishedName | wbond_asn1crypto | train | py |
f56903805a23241db141bb2696f107b9ce6f09de | diff --git a/pyjfuzz.py b/pyjfuzz.py
index <HASH>..<HASH> 100644
--- a/pyjfuzz.py
+++ b/pyjfuzz.py
@@ -353,6 +353,11 @@ class JSONFactory:
self.behavior[_kind] -= 0.1
else:
self.behavior[_kind] = 0
+ else:
+ if self.behavior[_kind]+0.1... | Added behavior based fuzzing & better performance | mseclab_PyJFuzz | train | py |
bcf10c93993ea53fe31b35ae2d05817f933ae554 | diff --git a/pyt/cfg.py b/pyt/cfg.py
index <HASH>..<HASH> 100644
--- a/pyt/cfg.py
+++ b/pyt/cfg.py
@@ -600,8 +600,10 @@ class CFG(ast.NodeVisitor):
for n, successor in zip(restore_nodes, restore_nodes[1:]):
n.connect(successor)
- self.nodes[-1].connect(restore_nodes[0])
- self.node... | Fixed if no nodes have to be restored | python-security_pyt | train | py |
8a409f0eaa5dfab2bcee5901b305ec5894ffc0db | diff --git a/oort/cmdctrl.go b/oort/cmdctrl.go
index <HASH>..<HASH> 100644
--- a/oort/cmdctrl.go
+++ b/oort/cmdctrl.go
@@ -69,6 +69,7 @@ func (o *Server) Start() error {
o.ch = make(chan bool)
o.backend.Start()
go o.serve()
+ o.stopped = false
return nil
}
@@ -85,9 +86,11 @@ func (o *Server) Restart() error ... | Actually mark service as stopped/notstopped | pandemicsyn_oort | train | go |
035f444a121162cfdbe6afa98cec047fc60e7b73 | diff --git a/rest_social_auth/views.py b/rest_social_auth/views.py
index <HASH>..<HASH> 100644
--- a/rest_social_auth/views.py
+++ b/rest_social_auth/views.py
@@ -114,8 +114,9 @@ class BaseSocialAuthView(GenericAPIView):
return Response(resp_data.data)
def get_object(self):
+ auth_data = self.req... | Fix for Queryset immutable error on making post from frontend | st4lk_django-rest-social-auth | train | py |
06408934fe9e79982669d24cb751db8a17878771 | diff --git a/class/AbstractMachine.php b/class/AbstractMachine.php
index <HASH>..<HASH> 100644
--- a/class/AbstractMachine.php
+++ b/class/AbstractMachine.php
@@ -495,7 +495,7 @@ abstract class AbstractMachine
* Invoke state machine transition. State machine is not instance of
* this class, but it is represented ... | AbstractMachine: $new_id_callback must be callable | smalldb_libSmalldb | train | php |
b37e23b5819abbc03049124bc3a29120f91aeb8c | diff --git a/scripts/release/build-experimental-typescript.js b/scripts/release/build-experimental-typescript.js
index <HASH>..<HASH> 100755
--- a/scripts/release/build-experimental-typescript.js
+++ b/scripts/release/build-experimental-typescript.js
@@ -19,5 +19,11 @@ fs.writeFileSync(
`export default '${newVersion... | fix(build): ensure build fails when types building fails (#<I>)
* fix(build): ensure build fails when types building fails
* Apply suggestions from code review | algolia_instantsearch.js | train | js |
fb4fcd049ca0abcc2b627ec728392bc12657f5d6 | diff --git a/src/effector/__tests__/forward.test.js b/src/effector/__tests__/forward.test.js
index <HASH>..<HASH> 100644
--- a/src/effector/__tests__/forward.test.js
+++ b/src/effector/__tests__/forward.test.js
@@ -1,6 +1,6 @@
//@flow
-import {forward, createEvent, createStore} from 'effector'
+import {forward, crea... | add tests for forward support for Node | zerobias_effector | train | js |
8274ac2e5ad9248c4bd32a6808ad0f0ddad13de8 | diff --git a/checkport_test.go b/checkport_test.go
index <HASH>..<HASH> 100644
--- a/checkport_test.go
+++ b/checkport_test.go
@@ -23,12 +23,13 @@ import (
"testing"
)
+// Tests for port availability logic written for server startup sequence.
func TestCheckPortAvailability(t *testing.T) {
tests := []struct {
... | tests: Make sure we try tests on free ports. (#<I>)
Fixes #<I> | minio_minio | train | go |
408be40bdc8f174738774552914cc5ec98e501e7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -262,10 +262,8 @@ Handler.prototype.getUsed = function(author, url, req, res, cb) {
debug("user load", resource.key || resource.url, "with stall", opts.stall);
page.load(resource.url, opts);
h.processMw(page, re... | Always wait idle before outputing user page | kapouer_express-dom | train | js |
1611fcc0f326b92aa575810fb88f9ba72aaa42c3 | diff --git a/apps/loggregator.go b/apps/loggregator.go
index <HASH>..<HASH> 100644
--- a/apps/loggregator.go
+++ b/apps/loggregator.go
@@ -73,7 +73,7 @@ var _ = AppsDescribe("loggregator", func() {
It("exercises basic loggregator behavior", func() {
Eventually(func() string {
- return helpers.CurlApp(Config... | Fix the loggregator basic streaming logs test
- Setting the app to log every 1/<I>th of a second appears to overload
log-cache and prevents the CLI from being able to stream logs
- This change may be reverted after talking to the CLI team to see if
this is actually an issue that should be fixed in their codebase | cloudfoundry_cf-acceptance-tests | train | go |
97d77ac07902b2a15cf561fd636fc1aa96d8067a | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -90,14 +90,18 @@ class Configuration implements ConfigurationInterface
*/
private function addApple... | Test for existence of info method before calling it
We get the benefits of <I> but retain compatibility with <I> | richsage_RMSPushNotificationsBundle | train | php |
a9a0cb530cf6fcb379a44ff95ce15aeff401e609 | diff --git a/examples/py/coinone-markets.py b/examples/py/coinone-markets.py
index <HASH>..<HASH> 100644
--- a/examples/py/coinone-markets.py
+++ b/examples/py/coinone-markets.py
@@ -10,7 +10,7 @@ sys.path.append(root + '/python')
import ccxt # noqa: E402
exchange = ccxt.coinone({
- 'enableRateLimit': true,
+ ... | Fix a typo in examples/py/coinone-markets.py | ccxt_ccxt | train | py |
09ed0e911e530e9b907ac92f2892248b6af245fa | diff --git a/vcr/errors.py b/vcr/errors.py
index <HASH>..<HASH> 100644
--- a/vcr/errors.py
+++ b/vcr/errors.py
@@ -1,5 +1,7 @@
class CannotOverwriteExistingCassetteException(Exception):
def __init__(self, *args, **kwargs):
+ self.cassette = kwargs["cassette"]
+ self.failed_request = kwargs["failed_r... | Add cassette and failed request as properties of thrown CannotOverwriteCassetteException | kevin1024_vcrpy | train | py |
872b62253fff3c8ce3401d70f580cfe39ccaf137 | diff --git a/source/src/main/java/com/linkedin/uif/source/extractor/extract/QueryBasedExtractor.java b/source/src/main/java/com/linkedin/uif/source/extractor/extract/QueryBasedExtractor.java
index <HASH>..<HASH> 100644
--- a/source/src/main/java/com/linkedin/uif/source/extractor/extract/QueryBasedExtractor.java
+++ b/s... | Updating high watermark of the current run to max value of partition range if there are no records in the current run
RB=<I>
R=stakiar
A=stakiar | apache_incubator-gobblin | train | java |
dca90a304a4c8f2c9e79f31b2f0146d630ce30ca | diff --git a/spatialist/raster.py b/spatialist/raster.py
index <HASH>..<HASH> 100644
--- a/spatialist/raster.py
+++ b/spatialist/raster.py
@@ -63,8 +63,8 @@ class Raster(object):
list_separate: bool
treat a list of files as separate layers or otherwise as a single layer? The former is intended for single
... | [Raster] optionally pass a function as timestamps argument to convert bandnames to time stamps | johntruckenbrodt_spatialist | train | py |
3505ef046d6e9340b3ee258f452e7e5ddbeb212b | diff --git a/system/src/Grav/Common/Data/Blueprint.php b/system/src/Grav/Common/Data/Blueprint.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Data/Blueprint.php
+++ b/system/src/Grav/Common/Data/Blueprint.php
@@ -72,12 +72,15 @@ class Blueprint
{
// Initialize data
$this->fields();
... | Added a translation for "Validation failed:" text
The English term "Validation failed:" was hard coded on line <I>. Instead, I created a translation and placed this at /system/languages/en.yaml. It will need to be translated into other languages by others. | getgrav_grav | train | php |
e7a1f1a928bef5107798e3d349755935bef9455a | diff --git a/annis-service/src/main/java/annis/administration/SchemeFixer.java b/annis-service/src/main/java/annis/administration/SchemeFixer.java
index <HASH>..<HASH> 100644
--- a/annis-service/src/main/java/annis/administration/SchemeFixer.java
+++ b/annis-service/src/main/java/annis/administration/SchemeFixer.java
@... | close resources in finally and not in the catch block | korpling_ANNIS | train | java |
774c59ddcdcb462f1fb6c22aa82e05a4bcd302e8 | diff --git a/utils/relationship.js b/utils/relationship.js
index <HASH>..<HASH> 100644
--- a/utils/relationship.js
+++ b/utils/relationship.js
@@ -264,7 +264,7 @@ function relationshipToReference(entity, relationship, pathPrefix = []) {
nameCapitalized: collection ? relationship.relationshipNameCapitalizedPlur... | Fix idReferences. | jhipster_generator-jhipster | train | js |
27dc48d6960a1d048803dc6c2375b6606c898fbe | diff --git a/test/integration/generated_regress_test.rb b/test/integration/generated_regress_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/generated_regress_test.rb
+++ b/test/integration/generated_regress_test.rb
@@ -200,6 +200,13 @@ class GeneratedRegressTest < MiniTest::Spec
end
end
... | Add integration test for GObject::Object#get_property. | mvz_gir_ffi | train | rb |
26eeed371759909fbec43ddb9134b09997b43658 | diff --git a/tests/fastpath-test.js b/tests/fastpath-test.js
index <HASH>..<HASH> 100644
--- a/tests/fastpath-test.js
+++ b/tests/fastpath-test.js
@@ -799,8 +799,6 @@ test('fastpath-tests', function (t) {
}
},
tr = fastpath(pattern);
-
- console.info('tr,', tr);
... | Implementation of evaluating nested pattern specs | pvenkatakrishnan_fastPath | train | js |
775a565bbb2d43538bff8d1fd7585c1ce308d867 | diff --git a/examples/clear-space.py b/examples/clear-space.py
index <HASH>..<HASH> 100755
--- a/examples/clear-space.py
+++ b/examples/clear-space.py
@@ -104,7 +104,7 @@ def main(argv=None):
print('Camera has %.1f%% free space' % (
100.0 * float(si.freekbytes) / float(si.capacitykbytes)))
... | Exit loop if no files left to delete | jim-easterbrook_python-gphoto2 | train | py |
bfc5e1e745afabeca4b6f1f94f2cb1db26214095 | diff --git a/make/release.js b/make/release.js
index <HASH>..<HASH> 100644
--- a/make/release.js
+++ b/make/release.js
@@ -166,7 +166,9 @@ inquirer.prompt([{
).join("\n")
);
fs.writeFileSync("README.md", readmeLines.join("\n"));
+ return noBuild ? 0 : spawnGrunt("jsdoc:public");
... | Doc is generated once README has been updated (#<I>) | ArnaudBuchholz_gpf-js | train | js |
0c3b98ec23c1a7d0aa39cf9cd9b9ef0b8e31e240 | diff --git a/lib/graphql/relay/mutation.rb b/lib/graphql/relay/mutation.rb
index <HASH>..<HASH> 100644
--- a/lib/graphql/relay/mutation.rb
+++ b/lib/graphql/relay/mutation.rb
@@ -17,7 +17,7 @@ module GraphQL
# input_field :name, !types.String
# input_field :itemId, !types.ID
#
- # return_f... | return_field argument should be a Type, confusing in example | rmosolgo_graphql-ruby | train | rb |
d0850f118e277f861ae4ce89cae5bb4b4eba5b40 | diff --git a/lib/perfectqueue/multiprocess/child_process.rb b/lib/perfectqueue/multiprocess/child_process.rb
index <HASH>..<HASH> 100644
--- a/lib/perfectqueue/multiprocess/child_process.rb
+++ b/lib/perfectqueue/multiprocess/child_process.rb
@@ -27,6 +27,7 @@ module PerfectQueue
def initialize(runner, config, w... | 'process' type multiprocessor supports max_request_per_child option | treasure-data_perfectqueue | train | rb |
ae73dbd340cd914ddff6cab9f5291314e69c9946 | diff --git a/storage/rethinkdb/bootstrap.go b/storage/rethinkdb/bootstrap.go
index <HASH>..<HASH> 100644
--- a/storage/rethinkdb/bootstrap.go
+++ b/storage/rethinkdb/bootstrap.go
@@ -47,6 +47,16 @@ func (t Table) wait(session *gorethink.Session, dbName string) error {
resp.Close()
}
+ if err != nil {
+ return e... | Wait for indexes in rethink table.wait | theupdateframework_notary | train | go |
606b796a9bd49a4ff5fa7f6f44977db0c57e6803 | diff --git a/fost_authn_debug/tests/test_middleware.py b/fost_authn_debug/tests/test_middleware.py
index <HASH>..<HASH> 100644
--- a/fost_authn_debug/tests/test_middleware.py
+++ b/fost_authn_debug/tests/test_middleware.py
@@ -44,7 +44,7 @@ class InvalidHeader(TestCase):
def _do_test(self, header, gets_user=Fals... | process_request doesn't return anything. | Felspar_django-fost-authn | train | py |
c7873ebf2bdec713e9c73613af3a6e350e84be9d | diff --git a/lib/cantango/api/common.rb b/lib/cantango/api/common.rb
index <HASH>..<HASH> 100644
--- a/lib/cantango/api/common.rb
+++ b/lib/cantango/api/common.rb
@@ -11,7 +11,7 @@ module CanTango::Api
protected
def execution_modes
- CanTango.config.ability.modes.registered || [:no_cache]
+ CanTan... | better can-account spec | kristianmandrup_cantango-api | train | rb,rb |
edbc0d23b59dfeadd1397c621dd8b4ad6bd89e56 | diff --git a/lib/parameters/parameters.rb b/lib/parameters/parameters.rb
index <HASH>..<HASH> 100644
--- a/lib/parameters/parameters.rb
+++ b/lib/parameters/parameters.rb
@@ -25,7 +25,7 @@ module Parameters
#
def self.extended(object)
each_param do |param|
- object.params[param.n... | Pass the extending object to the new InstanceParam. | postmodern_parameters | train | rb |
8f2dac0a4aba1cc58a6cd646b3989e0bd6a66f75 | diff --git a/api/src/main/java/org/commonjava/indy/model/galley/CacheOnlyLocation.java b/api/src/main/java/org/commonjava/indy/model/galley/CacheOnlyLocation.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/org/commonjava/indy/model/galley/CacheOnlyLocation.java
+++ b/api/src/main/java/org/commonjava/indy/model... | prevent NPE in CacheOnlyLocation allowsStoring | Commonjava_indy | train | java |
6a3a5480687de721221ccde3084580881e9d0635 | diff --git a/tasks/defs.js b/tasks/defs.js
index <HASH>..<HASH> 100644
--- a/tasks/defs.js
+++ b/tasks/defs.js
@@ -18,7 +18,8 @@ module.exports = function (grunt) {
'Static scope analysis and transpilation of ES6 block scoped const and let variables, to ES3.',
function () {
- var validRun... | log currently generated file (and its source) | EE_grunt-defs | train | js |
17a97751f9bccb85194cb2f24a5e952893aed652 | diff --git a/chi.go b/chi.go
index <HASH>..<HASH> 100644
--- a/chi.go
+++ b/chi.go
@@ -77,6 +77,10 @@ type Router interface {
// NotFound defines a handler to respond whenever a route could
// not be found.
NotFound(h http.HandlerFunc)
+
+ // MethodNotAllowed defines a handler to respond whenever a method is
+ //... | Fix missing MethodNotAllowed in Router interface | go-chi_chi | train | go |
df5dda2ee8824a7f3196bfb18ac4255ec55793b8 | diff --git a/lib/codesake/dawn/engine.rb b/lib/codesake/dawn/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/codesake/dawn/engine.rb
+++ b/lib/codesake/dawn/engine.rb
@@ -217,15 +217,20 @@ module Codesake
@vulnerabilities
end
- def is_vulnerable_to?(name)
+ def find_vulnerability_by_name(nam... | Added a find_vulnerability_by_name to retrieve a vulnerability and
changed is_vulnerable_to? to use it | thesp0nge_dawnscanner | train | rb |
a559de63dd8d8719e29ae334a172d43c26bcfc15 | diff --git a/agent/consul/server_overview.go b/agent/consul/server_overview.go
index <HASH>..<HASH> 100644
--- a/agent/consul/server_overview.go
+++ b/agent/consul/server_overview.go
@@ -170,13 +170,13 @@ func getCatalogOverview(catalog *structs.CatalogContents) *structs.CatalogSummar
summarySort := func(slice []st... | Sort by partition/ns/servicename instead of the reverse | hashicorp_consul | train | go |
9520ab9c9252caecdc0651bc7b8ddfa9ab9e8f8c | diff --git a/proctor-store-svn/src/main/java/com/indeed/proctor/store/SvnProctor.java b/proctor-store-svn/src/main/java/com/indeed/proctor/store/SvnProctor.java
index <HASH>..<HASH> 100644
--- a/proctor-store-svn/src/main/java/com/indeed/proctor/store/SvnProctor.java
+++ b/proctor-store-svn/src/main/java/com/indeed/pro... | PROC-<I>: use class name instead of a static string. | indeedeng_proctor | train | java |
c364187d19107d51311188a7d7a2f897c2fb84f2 | diff --git a/lib/sidekiq-spy/app.rb b/lib/sidekiq-spy/app.rb
index <HASH>..<HASH> 100644
--- a/lib/sidekiq-spy/app.rb
+++ b/lib/sidekiq-spy/app.rb
@@ -50,6 +50,7 @@ module SidekiqSpy
def configure_sidekiq
Sidekiq.configure_client do |sidekiq_config|
+ sidekiq_config.logger = nil
sideki... | Disable Sidekiq logger.
Completely disable the Sidekiq logger; we have nowhere to display the log
messages, anyway! ;) | tiredpixel_sidekiq-spy | train | rb |
45c3cbe91140fc78165914cb4438aeb8b049b0da | diff --git a/core/server/src/main/java/alluxio/master/file/meta/Inode.java b/core/server/src/main/java/alluxio/master/file/meta/Inode.java
index <HASH>..<HASH> 100644
--- a/core/server/src/main/java/alluxio/master/file/meta/Inode.java
+++ b/core/server/src/main/java/alluxio/master/file/meta/Inode.java
@@ -471,7 +471,7 ... | Rename mTtlAction to TtlAction | Alluxio_alluxio | train | java |
36f9705d1c5c924cdc01a7040b8820345786a974 | diff --git a/lxd/instance/drivers/load.go b/lxd/instance/drivers/load.go
index <HASH>..<HASH> 100644
--- a/lxd/instance/drivers/load.go
+++ b/lxd/instance/drivers/load.go
@@ -66,7 +66,8 @@ func validDevices(state *state.State, cluster *db.Cluster, instanceType instance
}
// Check each device individually using th... | lxd/instance/drivers/load: Pass copy of device config to device.Validate
Ensures a copy of the instance's device config is passed to device.Validate to ensure devices cannot modify the source config map.
This way any internal modifications a device may make to its config map are not reflected outside of the device.
... | lxc_lxd | train | go |
fbf6aa65f83abd7c62310a7cc9cb6fd39077b109 | diff --git a/linguist/apps.py b/linguist/apps.py
index <HASH>..<HASH> 100644
--- a/linguist/apps.py
+++ b/linguist/apps.py
@@ -8,4 +8,3 @@ class LinguistConfig(AppConfig):
def ready(self):
super(LinguistConfig, self).ready()
- self.module.autodiscover() | Remove autodiscover from linguist/apps. | ulule_django-linguist | train | py |
2932a949ba3d8814a4aca1bb995e1bed68f9f12a | diff --git a/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueFinalMethodsTest.java b/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueFinalMethodsTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/google/errorprone/bugpatterns/AutoValueFinalMethodsTest.java
+++ b/core/src/test... | Add test for Diagnostic String with multiple method matches for AutoValueFinalMethods check
RELNOTES: N/A
-------------
Created by MOE: <URL> | google_error-prone | train | java |
48586eda4b1e16c573eace31c546d6e7ec866862 | diff --git a/tests/FiniteStateMachine/VerifyLogTest.php b/tests/FiniteStateMachine/VerifyLogTest.php
index <HASH>..<HASH> 100644
--- a/tests/FiniteStateMachine/VerifyLogTest.php
+++ b/tests/FiniteStateMachine/VerifyLogTest.php
@@ -263,23 +263,6 @@ class Fsm_VerifyLogTest extends FsmTestCase
$this->assertExcept... | #<I>: Fsm_VerifyLogTest::_provideLogsWithSpecificValues() has been eliminated | tourman_fsm | train | php |
3e842559427746eb9051ce5ee3cd36caeff303a3 | diff --git a/activerecord/lib/active_record/attribute_methods/before_type_cast.rb b/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/attribute_methods/before_type_cast.rb
+++ b/activerecord/lib/active_record/attribute_methods/before_ty... | attributes_before_type_cast are just the value of @attributes | rails_rails | train | rb |
a01c9e0742425c7a68a09aedcc970f202bcdb0ef | diff --git a/lib/cloudstack-nagios/commands/system_vm.rb b/lib/cloudstack-nagios/commands/system_vm.rb
index <HASH>..<HASH> 100644
--- a/lib/cloudstack-nagios/commands/system_vm.rb
+++ b/lib/cloudstack-nagios/commands/system_vm.rb
@@ -180,6 +180,30 @@ class SystemVm < CloudstackNagios::Base
end
end
+ desc "u... | add feature check uptime (#6) | swisstxt_cloudstack-nagios | train | rb |
268954629358ff540fa2dbef19a0fd88fa503515 | diff --git a/spec/functional/mongoid/criterion/inclusion_spec.rb b/spec/functional/mongoid/criterion/inclusion_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/functional/mongoid/criterion/inclusion_spec.rb
+++ b/spec/functional/mongoid/criterion/inclusion_spec.rb
@@ -26,6 +26,36 @@ describe Mongoid::Criterion::Inclusion... | Include provided spec with #<I> to show behaviour is correct. Closes #<I>. | mongodb_mongoid | train | rb |
2aff1d8d273ca0ec329f80feb4f23eca97d2157d | diff --git a/src/uncss.js b/src/uncss.js
index <HASH>..<HASH> 100644
--- a/src/uncss.js
+++ b/src/uncss.js
@@ -215,7 +215,7 @@ function init(files, options, callback) {
options
);
- process(options).then(([css, report]) => callback(null, css, report), callback);
+ return process(options).then(([cs... | Return the promises to the caller (#<I>) | uncss_uncss | train | js |
e989d8ffd0261a5263b9d91dc37efcb33f5d862c | diff --git a/azkaban-common/src/main/java/azkaban/project/ProjectManager.java b/azkaban-common/src/main/java/azkaban/project/ProjectManager.java
index <HASH>..<HASH> 100644
--- a/azkaban-common/src/main/java/azkaban/project/ProjectManager.java
+++ b/azkaban-common/src/main/java/azkaban/project/ProjectManager.java
@@ -8... | Validate the configurations of the validator plugins when the Azkaban web server starts. | azkaban_azkaban | train | java |
d0a55852a48326ae0547a43c5a54cd3c33f3c5ed | diff --git a/src/org/zaproxy/zap/extension/api/API.java b/src/org/zaproxy/zap/extension/api/API.java
index <HASH>..<HASH> 100644
--- a/src/org/zaproxy/zap/extension/api/API.java
+++ b/src/org/zaproxy/zap/extension/api/API.java
@@ -303,7 +303,7 @@ public class API {
List<String> mandatoryParams = other.getMandat... | Issue <I> - JSONException while calling an API "other" without the required parameter(s)
Changed to check if the parameter exists (instead of getting it). | zaproxy_zaproxy | train | java |
c9756c8f930a0671097336a6c5dfc7f79410b8a3 | diff --git a/js/ascendex.js b/js/ascendex.js
index <HASH>..<HASH> 100644
--- a/js/ascendex.js
+++ b/js/ascendex.js
@@ -2295,7 +2295,6 @@ module.exports = class ascendex extends Exchange {
'notionalCap': this.safeNumber (bracket, 'positionNotionalUpperBound'),
'm... | removed maintenanceAmount from fetchLeverageTiers | ccxt_ccxt | train | js |
e15549fca5e0edbb40a61b1b08329e6232672192 | diff --git a/example/test-coverage.js b/example/test-coverage.js
index <HASH>..<HASH> 100755
--- a/example/test-coverage.js
+++ b/example/test-coverage.js
@@ -20,5 +20,9 @@ exec(sprintf('NODE_PATH=lib-cov %s/bin/whiskey --tests %s/example/test-success-w
process.exit(5);
}
+ if (err && err.code !== 0) {... | Exit with non-zero if Whiskey exists with non-zero. | cloudkick_whiskey | train | js |
540512ce26ad2eb9a9da6d6b7eed3b77e89d5639 | diff --git a/tests/instancemethods_test.py b/tests/instancemethods_test.py
index <HASH>..<HASH> 100644
--- a/tests/instancemethods_test.py
+++ b/tests/instancemethods_test.py
@@ -259,6 +259,22 @@ class TestEnsureStubsAreUsed:
verifyStubbedInvocationsAreUsed(dog)
+ @pytest.mark.xfail(reason='Not ... | Stash two xfail tests around `verifyStubbedInvocationsAreUsed` | kaste_mockito-python | train | py |
05cf61c1a9043f6f37e89ac1dbd58d8fe779328b | diff --git a/dagobah/core/core.py b/dagobah/core/core.py
index <HASH>..<HASH> 100644
--- a/dagobah/core/core.py
+++ b/dagobah/core/core.py
@@ -116,6 +116,9 @@ class Dagobah(object):
for to_node in to_nodes:
job.add_dependency(from_node, to_node)
+ if job_json.get('notes', None):
+... | Fixing dagobahd restart error where notes were not re-loaded from the DB | thieman_dagobah | train | py,py |
f4fdc769827b92d0a25d5103813e184eca415380 | diff --git a/bin/tag.js b/bin/tag.js
index <HASH>..<HASH> 100644
--- a/bin/tag.js
+++ b/bin/tag.js
@@ -24,7 +24,14 @@ module.exports = function (callback) {
}
exec('git push --tags', function (err) {
- return callback(err);
+ if(err) {
+ return callback(err);
+ }
+
+... | npm publish after successful git tag | addthis_fluxthis | train | js |
3368cf56616f9126dfd6636c59678378e2ae846e | diff --git a/datanommer.models/tests/test_model.py b/datanommer.models/tests/test_model.py
index <HASH>..<HASH> 100644
--- a/datanommer.models/tests/test_model.py
+++ b/datanommer.models/tests/test_model.py
@@ -168,17 +168,22 @@ class TestModels(unittest.TestCase):
def test_add_empty(self):
datanommer.mod... | update tests to account for more flexible message formats
Since we now supply defaults for some fedmsg-specific fields, tests that
were previously expected to fail are now succeeding. Update the tests
to be consistent with the way we now process messages. | fedora-infra_datanommer | train | py |
a076345c68b20546f45dda0de7e25e7b947dc9ac | diff --git a/pymc/distributions.py b/pymc/distributions.py
index <HASH>..<HASH> 100755
--- a/pymc/distributions.py
+++ b/pymc/distributions.py
@@ -202,11 +202,11 @@ def new_dist_class(*new_class_args):
pv = [np.shape(value(v)) for v in parents.values()]
biggest_parent = np.argm... | Re-rendered metastability and mixing figures as pdfs
git-svn-id: <URL> | pymc-devs_pymc | train | py |
45348c119fd06b92f5e103b77465b87d1f7adedf | diff --git a/salt/grains/core.py b/salt/grains/core.py
index <HASH>..<HASH> 100644
--- a/salt/grains/core.py
+++ b/salt/grains/core.py
@@ -1332,7 +1332,14 @@ def os_data():
if os.path.exists('/proc/1/cmdline'):
with salt.utils.fopen('/proc/1/cmdline') as fhr:
init_cmdl... | Catch a possible error, especially trigered in unit tests | saltstack_salt | train | py |
a5836e73ba42259103f122c3dde4d9b72786223a | diff --git a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityScheduler.java b/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityScheduler.java
index <HASH>..<HASH> 100644
--- a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularitySchedul... | still add to lb cleanup queue in the case where task is not found | HubSpot_Singularity | train | java |
f9ae1d5e72d14343e057534f128deb5656e738d4 | diff --git a/lib/gcli/types/date.js b/lib/gcli/types/date.js
index <HASH>..<HASH> 100644
--- a/lib/gcli/types/date.js
+++ b/lib/gcli/types/date.js
@@ -111,9 +111,7 @@ DateType.prototype.decrement = function(value) {
};
DateType.prototype.increment = function(value) {
- console.log('increment!');
if (!this._isVa... | date-<I>: Remove two console.log used for debugging | joewalker_gcli | train | js |
9ccd95e120961f505408ba234a52e77cd995cfc0 | diff --git a/test/integration/imagechange_buildtrigger_test.go b/test/integration/imagechange_buildtrigger_test.go
index <HASH>..<HASH> 100644
--- a/test/integration/imagechange_buildtrigger_test.go
+++ b/test/integration/imagechange_buildtrigger_test.go
@@ -1,6 +1,8 @@
package integration
import (
+ "testing"
+
... | Add logging to imagechange build trigger | openshift_origin | train | go |
dfaa60155d2d7b20d5e9648feb59319c030856af | diff --git a/lxd/project/permissions.go b/lxd/project/permissions.go
index <HASH>..<HASH> 100644
--- a/lxd/project/permissions.go
+++ b/lxd/project/permissions.go
@@ -134,6 +134,37 @@ func checkRestrictionsOnVolatileConfig(project *api.Project, instanceType instan
return nil
}
+// AllowVolumeCreation returns an er... | lxd/project: Add AllowVolumeCreation() to check limits upon volume creation | lxc_lxd | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.