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 |
|---|---|---|---|---|---|
27e9d81737ee92eb1f9951abaface84d95d30ff8 | diff --git a/jquery.nette-ajax.js b/jquery.nette-ajax.js
index <HASH>..<HASH> 100644
--- a/jquery.nette-ajax.js
+++ b/jquery.nette-ajax.js
@@ -70,10 +70,12 @@ var nette = function () {
this.init = function (load, loadContext) {
if (typeof load == 'function') {
+ this.ext('n:init', null);
this.ext('n:init',... | Calling init() with callbacks overrides automatic behavior (exception) | vojtech-dobes_nette.ajax.js | train | js |
6cd53cbc39cb7eabc50c5538e6cf620c9a5450ab | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,14 +9,13 @@ if not on_rtd:
"numpy",
"pyicu",
"fuzzywuzzy",
- "sphinxcontrib-napoleon",
"python-Levenshtein",
# Remove this if colormath bug #51 is resolved
"netwo... | packaging: Remove 'napoleon' dependency
As of <I>, 'napoleon' is included in Sphinx itself. | solute_python-tint | train | py |
cd637c2ee41572c8a5708c40dcf62656a4da813a | diff --git a/bika/lims/browser/batch.py b/bika/lims/browser/batch.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/batch.py
+++ b/bika/lims/browser/batch.py
@@ -45,4 +45,19 @@ class BatchAnalysisRequestsView(AnalysisRequestsView):
class BatchSamplesView(SamplesView):
def __init__(self, context, request):
... | Batch: Show correct list of samples in batch samples view | senaite_senaite.core | train | py |
ee4e0010f77c149b015364af3e8688bcab50219f | diff --git a/lib/nodejs/sclang.js b/lib/nodejs/sclang.js
index <HASH>..<HASH> 100644
--- a/lib/nodejs/sclang.js
+++ b/lib/nodejs/sclang.js
@@ -273,8 +273,8 @@ SCLang.prototype.initInterpreter = function() {
this.once('interpreterLoaded', function() {
deferred.resolve(self);
});
- this.write('thisProcess.int... | fix interpret for <I>.x which always requires a \n | crucialfelix_supercolliderjs | train | js |
fb6635868f7ce521fa80bcfdc999275f665aba6f | diff --git a/aeron-cluster/src/main/java/io/aeron/cluster/service/ClientSession.java b/aeron-cluster/src/main/java/io/aeron/cluster/service/ClientSession.java
index <HASH>..<HASH> 100644
--- a/aeron-cluster/src/main/java/io/aeron/cluster/service/ClientSession.java
+++ b/aeron-cluster/src/main/java/io/aeron/cluster/serv... | [Java] Reset closing status on client session in service on role change to leader so they can be closed in new term if the attempt happened just before leadership change. | real-logic_aeron | train | java,java |
076e5c80a573e2ec9f38d20177761b2b0900c13e | diff --git a/src/Node/Directory.php b/src/Node/Directory.php
index <HASH>..<HASH> 100644
--- a/src/Node/Directory.php
+++ b/src/Node/Directory.php
@@ -11,7 +11,7 @@ use React\Filesystem\ObjectStreamSink;
use React\Promise\Deferred;
use React\Promise\FulfilledPromise;
-class Directory implements DirectoryInterface, ... | Moved GenericOperationInterface implements to NodeInterface | reactphp_filesystem | train | php,php,php |
fd7bdf791436c912783a53bd235d409e226c5e75 | diff --git a/libs/Gustav/Cache/Filesystem/Cache.php b/libs/Gustav/Cache/Filesystem/Cache.php
index <HASH>..<HASH> 100755
--- a/libs/Gustav/Cache/Filesystem/Cache.php
+++ b/libs/Gustav/Cache/Filesystem/Cache.php
@@ -237,7 +237,7 @@ class Cache implements ICache {
if($this->_deleted === true) {
thro... | Fixed bug with ignoring saving process of changed cache files | GustavSoftware_Cache | train | php |
bb3b928d0db5b9f0a54133c812d5d5d5d53bd4b6 | diff --git a/openquake/db/models.py b/openquake/db/models.py
index <HASH>..<HASH> 100644
--- a/openquake/db/models.py
+++ b/openquake/db/models.py
@@ -642,6 +642,9 @@ class ModelContent(djm.Model):
content_type = djm.TextField()
last_update = djm.DateTimeField(editable=False, default=datetime.utcnow)
+ c... | Added missing site_model schema declaration | gem_oq-engine | train | py |
15e78453c74ded0b0ea12022172250d8acbe9aea | diff --git a/insights/client/data_collector.py b/insights/client/data_collector.py
index <HASH>..<HASH> 100644
--- a/insights/client/data_collector.py
+++ b/insights/client/data_collector.py
@@ -204,7 +204,7 @@ class DataCollector(object):
raise LookupError
logger.warn("WARNING: Sk... | messaging fixes for blacklist (#<I>)
* messaging fixes for blacklist | RedHatInsights_insights-core | train | py |
bac069dc32928bb87dc8a802404851579ac9d540 | diff --git a/lib/chamber/version.rb b/lib/chamber/version.rb
index <HASH>..<HASH> 100644
--- a/lib/chamber/version.rb
+++ b/lib/chamber/version.rb
@@ -1,3 +1,3 @@
class Chamber
- VERSION = '1.0.0'
+ VERSION = '1.0.1'
end | Version Bump to <I> | thekompanee_chamber | train | rb |
ed2cf8c1949ee5e1e8edb8813c02eb9b58dbe641 | diff --git a/yandextank/aggregator/tank_aggregator.py b/yandextank/aggregator/tank_aggregator.py
index <HASH>..<HASH> 100644
--- a/yandextank/aggregator/tank_aggregator.py
+++ b/yandextank/aggregator/tank_aggregator.py
@@ -79,9 +79,7 @@ class TankAggregator(object):
self.stats)
self.stats_... | fix autoclean: no exception when generator not found | yandex_yandex-tank | train | py,py |
f9840d58c80b635b6ff08b2bae3d0180a1e9beaf | diff --git a/__init__.py b/__init__.py
index <HASH>..<HASH> 100755
--- a/__init__.py
+++ b/__init__.py
@@ -20,7 +20,7 @@ class SculptDebugMiddleware(object):
if settings.SCULPT_DUMP_SQL or settings.SCULPT_DUMP_SESSION or settings.SCULPT_DUMP_REQUESTS:
if self.date_request_started != None:
... | Fix for Django's dumb test server which doesn't set all ENV variables. | damienjones_sculpt-debug | train | py |
1fbb39601931d4f72f59b06e4ca3771c2a36125f | diff --git a/app/models/manager_refresh/inventory_collection.rb b/app/models/manager_refresh/inventory_collection.rb
index <HASH>..<HASH> 100644
--- a/app/models/manager_refresh/inventory_collection.rb
+++ b/app/models/manager_refresh/inventory_collection.rb
@@ -308,7 +308,7 @@ module ManagerRefresh
@builder_par... | Reformulate the exception to contain a pointer to the IC object
Reformulate the exception to contain a pointer to the IC object
(transferred from ManageIQ/manageiq@<I>ffe<I>ba<I>ccb7cc5ded3a<I>a1eca<I>fa) | ManageIQ_inventory_refresh | train | rb |
eb4a8e13c0cf81b6ebc4087e01cd22af4680a165 | diff --git a/app/SymfonyStandard/RootPackageInstallSubscriber.php b/app/SymfonyStandard/RootPackageInstallSubscriber.php
index <HASH>..<HASH> 100644
--- a/app/SymfonyStandard/RootPackageInstallSubscriber.php
+++ b/app/SymfonyStandard/RootPackageInstallSubscriber.php
@@ -18,11 +18,6 @@ use Sensio\Bundle\DistributionBund... | Removed AcmeDemoBundle | symfony_symfony-standard | train | php |
8c44ecdea6e1debe1c3ae7eade3d08f2ea9d608c | diff --git a/lib/rjr/messages/response.rb b/lib/rjr/messages/response.rb
index <HASH>..<HASH> 100644
--- a/lib/rjr/messages/response.rb
+++ b/lib/rjr/messages/response.rb
@@ -78,7 +78,7 @@ class Response
def parse_headers(request)
request.keys.select { |k|
- !['jsonrpc', 'id', 'method', 'params'].include... | Fix json fields ignored in response header analysis
Recent refactoring exposed a bug where response headers
were not being set properly | movitto_rjr | train | rb |
046e1aacd140b59c81fce7cd11565303357503e8 | diff --git a/src/components/widgets/DateTimePicker.js b/src/components/widgets/DateTimePicker.js
index <HASH>..<HASH> 100644
--- a/src/components/widgets/DateTimePicker.js
+++ b/src/components/widgets/DateTimePicker.js
@@ -140,11 +140,11 @@ export default class DateTimePicker extends Component {
});
}
- onTi... | make onTimeUpdate code follow what onDateUpdate does | plotly_react-chart-editor | train | js |
adb6166b5570e567fa31ea98d623fc0892be9bf5 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -441,10 +441,14 @@ module.exports.NULL = binding.types.Null.NULL;
* TODO: remove for 4.0
*/
+function processSassDeprecationMessage() {
+ console.log('Deprecation warning: `process.sass` is an undocument... | Ouptut a deprecation warning to stdout when using process.sass
This is an undocumented internal API that will be removed. Access
`process.sass` will produce the following warning.
>Deprecation warning: `process.sass` is an undocumented internal
that will be removed in future versions of Node Sass. | sass_node-sass | train | js |
46c122d45c9d62261b8e29dcf315740d39b752b9 | diff --git a/server/src/test/java/org/cloudfoundry/identity/uaa/test/HoneycombAuditEventTestListener.java b/server/src/test/java/org/cloudfoundry/identity/uaa/test/HoneycombAuditEventTestListener.java
index <HASH>..<HASH> 100644
--- a/server/src/test/java/org/cloudfoundry/identity/uaa/test/HoneycombAuditEventTestListen... | Allow tests to run without having to provide honeycomb environment params | cloudfoundry_uaa | train | java |
6078fba9410918baa486ca008cc9e3ba066c03ec | diff --git a/pandas/core/series.py b/pandas/core/series.py
index <HASH>..<HASH> 100644
--- a/pandas/core/series.py
+++ b/pandas/core/series.py
@@ -2310,7 +2310,9 @@ copy : boolean, default False
df = DataFrame.from_csv(path, header=header, index_col=index_col,
sep=sep, parse_da... | BUG: return nameless Series and index from from_csv | pandas-dev_pandas | train | py,py |
f8cb49130e100e91807962b5db53872c33019097 | diff --git a/temperusb/cli.py b/temperusb/cli.py
index <HASH>..<HASH> 100644
--- a/temperusb/cli.py
+++ b/temperusb/cli.py
@@ -24,8 +24,11 @@ def parse_args():
default='1')
args = parser.parse_args()
- args.sensor_ids = list(range(args.sensor_count)) if args.sensor_ids == 'all' \
- ... | Break-out inline conditional to multiple lines (more obvious) | padelt_temper-python | train | py |
a5268cb89d1d2a0515052b7765b10ac2e523a0dd | diff --git a/lib/levels/nested.js b/lib/levels/nested.js
index <HASH>..<HASH> 100644
--- a/lib/levels/nested.js
+++ b/lib/levels/nested.js
@@ -1,3 +1,5 @@
+'use strict';
+
var INHERIT = require('inherit'),
PATH = require('../path'),
Level = require('../level').Level,
diff --git a/lib/levels/project.js b/lib/... | Fix jshint errors in lib/levels/ | bem-archive_bem-tools | train | js,js,js |
009ede7b56a901f07c69c3613e540415f367f0aa | diff --git a/holoviews/streams.py b/holoviews/streams.py
index <HASH>..<HASH> 100644
--- a/holoviews/streams.py
+++ b/holoviews/streams.py
@@ -314,7 +314,7 @@ class Selection1D(Stream):
A stream representing a 1D selection of objects by their index.
"""
- index = param.List(default=[], doc="""
+ index... | Declared index parameter of Selection1D stream as constant | pyviz_holoviews | train | py |
cfab34852103f5a6ed6c08e7146838de4de30e23 | diff --git a/grails-plugin-controllers/src/main/groovy/org/codehaus/groovy/grails/plugins/web/api/ControllersApi.java b/grails-plugin-controllers/src/main/groovy/org/codehaus/groovy/grails/plugins/web/api/ControllersApi.java
index <HASH>..<HASH> 100644
--- a/grails-plugin-controllers/src/main/groovy/org/codehaus/groovy... | fix for GPWEBFLOW-<I> "putting a command object in flow scope causes NotSerializableException, even when command object is Serializable" | grails_grails-core | train | java |
15eb069195f67978c70b219f87c95886201a0f3b | diff --git a/lib/fog/vcloud/compute.rb b/lib/fog/vcloud/compute.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/vcloud/compute.rb
+++ b/lib/fog/vcloud/compute.rb
@@ -300,7 +300,7 @@ module Fog
# Use this to set the Authorization header for login
def authorization_header
- "Basic #{Base64.encod... | Use strict base encoding otherwise breaks for very large org names. | fog_fog | train | rb |
9d2f3fbc27fe11d8dd2e7bc1b27249c7f8f007ee | diff --git a/lib/bson/ordered_hash.rb b/lib/bson/ordered_hash.rb
index <HASH>..<HASH> 100644
--- a/lib/bson/ordered_hash.rb
+++ b/lib/bson/ordered_hash.rb
@@ -30,7 +30,7 @@ module BSON
when BSON::OrderedHash
keys == other.keys && values == other.values
else
- !other.nil? && keys.s... | Call super in BSON::OrderedHash#== instead of doing the comparison in Ruby.
This has a notable performance impact for large hashes. | mongodb_mongo-ruby-driver | train | rb |
2ed35e287d7f8ba59d35e0edc503216146df2c18 | diff --git a/Swat/SwatTextareaEditor.php b/Swat/SwatTextareaEditor.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatTextareaEditor.php
+++ b/Swat/SwatTextareaEditor.php
@@ -18,9 +18,12 @@ require_once 'Swat/SwatYUI.php';
*/
class SwatTextareaEditor extends SwatTextarea
{
+ // {{{ class constants
+
const MODE_VISUAL... | Add folding and use a separate container class name for visual editor container.
svn commit r<I> | silverorange_swat | train | php |
d25af75cbf7a9cc7c46a62ed6960a9005eba0af6 | diff --git a/app/models/fae/option.rb b/app/models/fae/option.rb
index <HASH>..<HASH> 100644
--- a/app/models/fae/option.rb
+++ b/app/models/fae/option.rb
@@ -18,7 +18,7 @@ module Fae
def self.instance
# there will be only one row, and its ID must be '1'
begin
- find(1)
+ first
r... | fixed Singleton instance check to accomidate the case where Option with the id
of 1 is deleted. | wearefine_fae | train | rb |
fc5910ffe770eca0f5faf16f4dad5cf9517e7e6f | diff --git a/lib/deliver/app_metadata_screenshots.rb b/lib/deliver/app_metadata_screenshots.rb
index <HASH>..<HASH> 100644
--- a/lib/deliver/app_metadata_screenshots.rb
+++ b/lib/deliver/app_metadata_screenshots.rb
@@ -119,8 +119,12 @@ module Deliver
self.clear_all_screenshots(language)
Dir.glob... | Fixed not detecting Watch screenshots when frameit <I> is activated | fastlane_fastlane | train | rb |
1e6ca70575e36766226cc7168cb93a360c2a48d3 | diff --git a/troposphere/ec2.py b/troposphere/ec2.py
index <HASH>..<HASH> 100644
--- a/troposphere/ec2.py
+++ b/troposphere/ec2.py
@@ -1308,10 +1308,12 @@ class ClientVpnEndpoint(AWSObject):
'ConnectionLogOptions': (ConnectionLogOptions, True),
'Description': (basestring, False),
'DnsServers'... | adding AWS::EC2::ClientVpnEndpoint properties, per March <I>, <I> update | cloudtools_troposphere | train | py |
189c3de1ef7438e27153cdb0f4e6aeced6f8616f | diff --git a/moment.js b/moment.js
index <HASH>..<HASH> 100644
--- a/moment.js
+++ b/moment.js
@@ -1059,7 +1059,7 @@
},
toJSON : function () {
- return this.utc().format('YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
+ return moment(this).utc().format('YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
... | Fixed missing cloning of moment in toJSON method | moment_moment | train | js |
7dd2d4c497fd17366ff689f3d8a7ef08e87b4fc4 | diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py
index <HASH>..<HASH> 100644
--- a/sos/policies/redhat.py
+++ b/sos/policies/redhat.py
@@ -297,6 +297,8 @@ support representative.
return 6
elif pkgname[0] == "7":
return 7
+ elif pkgname[0] == "8":
+ ... | [redhat] Update policy to identify RHEL 8
Now that RHEL 8 Beta is out, update the redhat policy dist_version to be
able to properly set the version.
Resolves: #<I> | sosreport_sos | train | py |
f9f4f8e8c63956e5a73501500ae5c57625391b8d | diff --git a/tests/pychimeratest.py b/tests/pychimeratest.py
index <HASH>..<HASH> 100644
--- a/tests/pychimeratest.py
+++ b/tests/pychimeratest.py
@@ -3,10 +3,11 @@
import os
import sys
+from glob import glob
import pytest
from pychimera import patch_environ, enable_chimera
if __name__ == '__main__':
patc... | tests: windows cmd does not process wildcards so glob it in Python always | insilichem_pychimera | train | py |
6b7fd29a344b1ddaa02ebd5319a3bb6877ed14e7 | diff --git a/ui/src/components/img/QImg.js b/ui/src/components/img/QImg.js
index <HASH>..<HASH> 100644
--- a/ui/src/components/img/QImg.js
+++ b/ui/src/components/img/QImg.js
@@ -64,6 +64,14 @@ export default Vue.extend({
url () {
return this.currentSrc || this.placeholderSrc || void 0
+ },
+
+ attr... | fix(QImg): always render "role" attribute | quasarframework_quasar | train | js |
7fe361ee06b2dc5ef06a574a57bd5a7c8227f14e | diff --git a/test/label.js b/test/label.js
index <HASH>..<HASH> 100644
--- a/test/label.js
+++ b/test/label.js
@@ -147,4 +147,23 @@ describe('seraph#label', function() {
done();
});
});
+
+ it('should delete a label from a node', function(done) {
+ var label = uniqn();
+ db.save({ name: 'Jon' }, f... | labels: added test for removing a label from a node | brikteknologier_seraph | train | js |
e114e060285556e9927c78bbc96229b5beac4054 | diff --git a/empire/pkg/awsutil/awsutil.go b/empire/pkg/awsutil/awsutil.go
index <HASH>..<HASH> 100644
--- a/empire/pkg/awsutil/awsutil.go
+++ b/empire/pkg/awsutil/awsutil.go
@@ -4,6 +4,7 @@ import (
"encoding/json"
"fmt"
"io"
+ "io/ioutil"
"net/http"
"strings"
)
@@ -17,7 +18,7 @@ type Request struct {
func... | Allow awsutil.Handler to fallback to raw io unable to json parse | remind101_empire | train | go |
9785349d702c5173cc80591b8461758635fb9b72 | diff --git a/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTest.php b/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTest.php
index <HASH>..<HASH> 100644
--- a/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTest.php
+++ b/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTe... | Minor docblock fixes/clarifications | Ocramius_ProxyManager | train | php |
3abe2b78699b9c31c9442ed1202c8a5dc1a0041d | diff --git a/lib/Seafile/Resource/Directory.class.php b/lib/Seafile/Resource/Directory.class.php
index <HASH>..<HASH> 100644
--- a/lib/Seafile/Resource/Directory.class.php
+++ b/lib/Seafile/Resource/Directory.class.php
@@ -131,4 +131,30 @@ class Directory extends AbstractResource
return $response->getStatusC... | Added rmdir function to remove directories. | rene-s_Seafile-PHP-SDK | train | php |
7bf5fb07ad8ab1c6202614283b59ccf4e8ec37d2 | diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb
index <HASH>..<HASH> 100644
--- a/actionmailer/lib/action_mailer/base.rb
+++ b/actionmailer/lib/action_mailer/base.rb
@@ -17,6 +17,7 @@ module ActionMailer #:nodoc:
# class Notifier < ActionMailer::Base
# def signup_n... | ActionMailer::Base - add example of multiple recipients and make the format of addresses obvious | rails_rails | train | rb |
5b66b14214798910b96e87c280ed6c2ad04bcdba | diff --git a/cert/lib/cert/version.rb b/cert/lib/cert/version.rb
index <HASH>..<HASH> 100644
--- a/cert/lib/cert/version.rb
+++ b/cert/lib/cert/version.rb
@@ -1,3 +1,3 @@
module Cert
- VERSION = "1.4.4"
+ VERSION = "1.4.5"
end | [cert] Version bump to <I> (#<I>) | fastlane_fastlane | train | rb |
2c2116193d829e7dafc471fdb41e435b0f602801 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -159,7 +159,8 @@ setup(
'Sphinx<=1.6.7',
'nbsphinx',
'numpydoc',
- 'recommonmark'
+ 'recommonmark',
+ 'seaborn'
]},
python_requires='>=2.7', | adding seaborn as extra 'dev' dependency (since examples are used in docs). Fixes #<I> | econ-ark_HARK | train | py |
a941c4869a081151c051c05ec8e64c1fb4c438a7 | diff --git a/machina/apps/feeds/feeds.py b/machina/apps/feeds/feeds.py
index <HASH>..<HASH> 100644
--- a/machina/apps/feeds/feeds.py
+++ b/machina/apps/feeds/feeds.py
@@ -43,7 +43,7 @@ class LastTopicsFeed(Feed):
Forum.objects.all(), request.user)
def items(self):
- return Topic.objects.f... | Topics feed updated to not embed non-approved topics | ellmetha_django-machina | train | py |
2259474f2a35a3fec1e224720b1edb63b3692e96 | diff --git a/pypsa/io.py b/pypsa/io.py
index <HASH>..<HASH> 100644
--- a/pypsa/io.py
+++ b/pypsa/io.py
@@ -597,10 +597,11 @@ def _import_from_importer(network, importer, basename, skip_time=False):
##https://docs.python.org/3/tutorial/datastructures.html#comparing-sequences-and-other-types
if pypsa_version is... | Include both current and imported network file PyPSA version for convenience. (#<I>) | PyPSA_PyPSA | train | py |
53ee8f569a703138344d29351e5387490850374a | diff --git a/classes/Routing/RoutingProvider.php b/classes/Routing/RoutingProvider.php
index <HASH>..<HASH> 100644
--- a/classes/Routing/RoutingProvider.php
+++ b/classes/Routing/RoutingProvider.php
@@ -33,7 +33,8 @@ class RoutingProvider extends AbstractProvider
? $container->resolve($eventDispatcher) : null;
... | don't cache routes if app.debug is true | autarky_framework | train | php |
f558a399b84a1cb47fd9a4b91e257c87621b3be2 | diff --git a/lib/qipowl/core/bowler.rb b/lib/qipowl/core/bowler.rb
index <HASH>..<HASH> 100644
--- a/lib/qipowl/core/bowler.rb
+++ b/lib/qipowl/core/bowler.rb
@@ -119,6 +119,7 @@ module Qipowl::Bowlers
curr_sect.delete key
self.class.const_get("ENCLOSURES_TAGS").delete key
+ self.class.const_... | Weird bug in previous commit(s): entity removal now works. | mudasobwa_qipowl | train | rb |
e54c61e8529f3f5d84ae888a6d3e7d49862d7098 | diff --git a/lib/heroku/command/buildpacks.rb b/lib/heroku/command/buildpacks.rb
index <HASH>..<HASH> 100644
--- a/lib/heroku/command/buildpacks.rb
+++ b/lib/heroku/command/buildpacks.rb
@@ -25,7 +25,7 @@ module Heroku::Command
display("#{app} has no Buildpack URL set.")
else
styled_header("#{a... | Improved indentation of buildpacks output | heroku_legacy-cli | train | rb |
bc797bda6bc8b5116203314b1acc5455e9e5aa1a | diff --git a/mod/jodd-wot/src/jodd/lagarto/adapter/htmlstapler/HtmlStaplerBundlesManager.java b/mod/jodd-wot/src/jodd/lagarto/adapter/htmlstapler/HtmlStaplerBundlesManager.java
index <HASH>..<HASH> 100644
--- a/mod/jodd-wot/src/jodd/lagarto/adapter/htmlstapler/HtmlStaplerBundlesManager.java
+++ b/mod/jodd-wot/src/jodd/... | fixing bug when local resource file has parameters | oblac_jodd | train | java |
e4be08a955c393516ffe0f47ca09cc8233d98108 | diff --git a/lib/Importer.js b/lib/Importer.js
index <HASH>..<HASH> 100644
--- a/lib/Importer.js
+++ b/lib/Importer.js
@@ -349,19 +349,21 @@ class Importer {
].join(' ');
const command = `${findCommand} | ${egrepCommand}`;
- // TODO switch from spawnSync to spawn so we can start processing the
- ... | Temporarily switch to execSync when finding files
spawnSync was failing with a ENOENT error every time. I didn't have time
to dig in to this, so I'm just switching to execSync that I know works
in the meantime. | Galooshi_import-js | train | js |
0c3b35da42777c7bdfe6be5f0d084ce40a4c1d15 | diff --git a/src/js/pannellum.js b/src/js/pannellum.js
index <HASH>..<HASH> 100644
--- a/src/js/pannellum.js
+++ b/src/js/pannellum.js
@@ -2051,7 +2051,7 @@ function loadScene(sceneId, targetPitch, targetYaw, targetHfov, fadeDone) {
if (workingHfov !== undefined) {
config.hfov = workingHfov;
}
- f... | Send the sceneId to 'scenechange' event | mpetroff_pannellum | train | js |
2e4ae9fcfb572bb8f94932d45cb40468fc00d478 | diff --git a/interfaces/Stringable.php b/interfaces/Stringable.php
index <HASH>..<HASH> 100644
--- a/interfaces/Stringable.php
+++ b/interfaces/Stringable.php
@@ -10,7 +10,8 @@
* but not necessarily the format of the string.
*
* The preferred method to use is the explicit {@see self::toString()}. Implementations ... | [Core] Stringable: Implicit __toString() must not throw exceptions, while the explicit toString() may throw them. | unyx_core | train | php |
b5609cd9ca7dc2910e24df915537a60c51509028 | diff --git a/lib/smart_paginate/version.rb b/lib/smart_paginate/version.rb
index <HASH>..<HASH> 100644
--- a/lib/smart_paginate/version.rb
+++ b/lib/smart_paginate/version.rb
@@ -1,3 +1,3 @@
module SmartPaginate
- VERSION = "0.2.1".freeze
+ VERSION = "0.2.2".freeze
end | Update version to <I>. | ppostma_smart_paginate | train | rb |
18e5a088eecf371bf06c7ff61e08cafcccbd7d27 | diff --git a/tests/test_ls.py b/tests/test_ls.py
index <HASH>..<HASH> 100644
--- a/tests/test_ls.py
+++ b/tests/test_ls.py
@@ -1,4 +1,5 @@
from pathlib import Path
+import re
from pew._utils import invoke_pew as invoke
@@ -17,7 +18,7 @@ def test_get_site_packages_dir(workon_home):
def test_lssitepackages(workon_... | Replace easy_install with setuptools in test_lssitepackages
The easy_install top-level model and the easy_install console script
have been removed in setuptools <I>+:
<URL> | berdario_pew | train | py |
f50f9cb2785c3a1076a35c1fc5986417d4075406 | diff --git a/plugins/database/cassandra/cassandra_test.go b/plugins/database/cassandra/cassandra_test.go
index <HASH>..<HASH> 100644
--- a/plugins/database/cassandra/cassandra_test.go
+++ b/plugins/database/cassandra/cassandra_test.go
@@ -253,6 +253,9 @@ func TestCassandra_RevokeUser(t *testing.T) {
}
func TestCass... | only run cassandra RotateRootCred test when in Travis (#<I>) | hashicorp_vault | train | go |
69d18539fb4f394ca45d1116a521084c83ea21b5 | diff --git a/icekit_events/migrations/0012_auto_20160706_1606.py b/icekit_events/migrations/0012_auto_20160706_1606.py
index <HASH>..<HASH> 100644
--- a/icekit_events/migrations/0012_auto_20160706_1606.py
+++ b/icekit_events/migrations/0012_auto_20160706_1606.py
@@ -24,6 +24,6 @@ class Migration(migrations.Migration):
... | Make migration reverse no-op a valid SQL query
When using a PostgreSQL database with Django <I> empty reverse query
statements in DB migrations cause an error, so we replace the empty
no-op statement with a valid query that still does nothing so the
reverse migration will work in this case.
This problem doesn't seem ... | ic-labs_django-icekit | train | py |
98406fbe52f6f2998d17b1096ef8f28e982b1521 | diff --git a/src/store.js b/src/store.js
index <HASH>..<HASH> 100644
--- a/src/store.js
+++ b/src/store.js
@@ -53,6 +53,8 @@ export class Store {
this._highlightPreTag = '<em>';
this._highlightPostTag = '</em>';
+ this._cacheEnabled = true;
+
this.algoliaHelper = helper;
}
@@ -355,11 +357,25 @@... | feat(store): add methods to interact with cache
Closes: #<I> | algolia_vue-instantsearch | train | js |
aae06c476a8362a632ec400f8fd817e7a2192f71 | diff --git a/output/recorder.go b/output/recorder.go
index <HASH>..<HASH> 100644
--- a/output/recorder.go
+++ b/output/recorder.go
@@ -172,7 +172,7 @@ func (r *Recorder) doSave(msg *models.Message) {
}
}
-func (r *Recorder) close(msg *models.Message) error {
+func (r *Recorder) close() {
r.session.Close()
r.se... | trying harder to get more stability in recorder | cswank_gogadgets | train | go |
b776411b50b805737e874575172c87937169fb14 | diff --git a/bin/release.py b/bin/release.py
index <HASH>..<HASH> 100755
--- a/bin/release.py
+++ b/bin/release.py
@@ -374,6 +374,7 @@ def release():
# Step 2: Update version in tagged files
prettyprint("Step 2: Updating version number in source files", Levels.INFO)
+ maven_clean()
update_versions(version... | Updated build to clean before changing the POMs | ModeShape_modeshape | train | py,py |
103798878752a45a337413ce0b8f42961583f34c | diff --git a/admin/index.php b/admin/index.php
index <HASH>..<HASH> 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -52,6 +52,13 @@
error("The PHP server variable 'file_uploads' is not turned On - $documentationlink");
}
+ if (empty($CFG->prefix) && $CFG->dbtype != 'mysql') { //Enforce prefixe... | Now admin/index.php checks for proper prefixes (MDL-<I>)
Merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
a64914de4c41473c4bfecec1c69cfc931ccb6281 | diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/http/url.rb
+++ b/actionpack/lib/action_dispatch/http/url.rb
@@ -75,10 +75,11 @@ module ActionDispatch
def build_host_url(options)
pro... | pull the port out of the options hash once | rails_rails | train | rb |
38b88e3936773a638baaf4faa0c2e6f6c35ea54e | diff --git a/src/Expose/Filter.php b/src/Expose/Filter.php
index <HASH>..<HASH> 100644
--- a/src/Expose/Filter.php
+++ b/src/Expose/Filter.php
@@ -26,7 +26,7 @@ class Filter
* Filter tag set
* @var array
*/
- private $tags = null;
+ private $tags = array();
/**
* Filter impact ratin... | fixing the "tags" value to no longer use the weird object stuff | enygma_expose | train | php |
c8eab0c3d64688d7c068904dd6a5cdab06ebabf5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -4,9 +4,20 @@ from setuptools import setup # type: ignore
__version__ = "1.1.3"
+
+def get_long_description():
+ """
+ Return the README.
+ """
+ with open("README.md", encoding="utf8") as f:
+ return ... | Add long description to setup.py | jeffbuttars_cowpy | train | py |
fef91767a6e77ce5762067ea0436e3ad798edbc9 | diff --git a/src/bezier/_geometric_intersection.py b/src/bezier/_geometric_intersection.py
index <HASH>..<HASH> 100644
--- a/src/bezier/_geometric_intersection.py
+++ b/src/bezier/_geometric_intersection.py
@@ -27,6 +27,7 @@ or the speedup.
"""
+import atexit
import itertools
import numpy as np
@@ -1199,4 +120... | Adding `atexit` hook for `free_all_intersections_workspace()`. | dhermes_bezier | train | py |
b6590f6a046a1a8fd4e1068dc511a4db29430c36 | diff --git a/Tests/Functional/Entity/User.php b/Tests/Functional/Entity/User.php
index <HASH>..<HASH> 100644
--- a/Tests/Functional/Entity/User.php
+++ b/Tests/Functional/Entity/User.php
@@ -72,11 +72,16 @@ class User implements UserInterface
$this->email = $email;
}
+ public function getUserIdentifi... | Update User class to support UserInterface | hackzilla_TicketBundle | train | php |
6fd0f1136f89ff1172c532a4acbdf5790600ce00 | diff --git a/lib/cloudstack-cli/commands/volume.rb b/lib/cloudstack-cli/commands/volume.rb
index <HASH>..<HASH> 100644
--- a/lib/cloudstack-cli/commands/volume.rb
+++ b/lib/cloudstack-cli/commands/volume.rb
@@ -82,15 +82,25 @@ class Volume < CloudstackCli::Base
end
say "Creating volume #{name} "
- client... | attach volume after creation if vm instance is provided | niwo_cloudstack-cli | train | rb |
ffaa1743cbbb0460130a232cfec3bb427f27a8e7 | diff --git a/pyemma/_base/progress/reporter.py b/pyemma/_base/progress/reporter.py
index <HASH>..<HASH> 100644
--- a/pyemma/_base/progress/reporter.py
+++ b/pyemma/_base/progress/reporter.py
@@ -205,3 +205,7 @@ class ProgressReporter(object):
pg._eta.eta_epoch = 0
_show_progressbar(pg, description=sel... | [progress repoter] do not save state | markovmodel_PyEMMA | train | py |
610cf9da96726605f6bef7f276bcd7a97f4939e7 | diff --git a/actionpack/test/controller/spec_type_test.rb b/actionpack/test/controller/spec_type_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/controller/spec_type_test.rb
+++ b/actionpack/test/controller/spec_type_test.rb
@@ -3,7 +3,7 @@ require "abstract_unit"
class ApplicationController < ActionControll... | remove method redefinition warnings
actionpack/test/template/spec_type_test.rb:<I>: warning: method redefined; discarding old test_spec_type_wont_match_non_space_characters
actionpack/test/controller/spec_type_test.rb:<I>: warning: previous definition of test_spec_type_wont_match_non_space_characters was here | rails_rails | train | rb,rb |
c3aa0dfe9f541954bd748cf42fd203f009048e7d | diff --git a/packages/zefir/lib/router/define-match.js b/packages/zefir/lib/router/define-match.js
index <HASH>..<HASH> 100644
--- a/packages/zefir/lib/router/define-match.js
+++ b/packages/zefir/lib/router/define-match.js
@@ -2,18 +2,21 @@ import React from 'react'
import {Redirect, Route} from 'react-router-dom'
im... | refactor(router): clean up props | eyedea-io_zefir | train | js |
ecb0a68afe1b872a8e2639cfe4d3294005056e0b | diff --git a/ipmitool_test.go b/ipmitool_test.go
index <HASH>..<HASH> 100644
--- a/ipmitool_test.go
+++ b/ipmitool_test.go
@@ -58,7 +58,7 @@ func newToolMock(output string, rc int) *toolMock {
panic(err)
}
// just enough to test exec related code paths
- file.WriteString("#!/bin/bash\n")
+ file.WriteString("#!/u... | Make ipmitool_test.go work on NixOS | vmware_goipmi | train | go |
9f60b950c3d2a254d2eb431bc8609f326f42e80d | diff --git a/lib/Sabre/DAV/Property/ResponseList.php b/lib/Sabre/DAV/Property/ResponseList.php
index <HASH>..<HASH> 100644
--- a/lib/Sabre/DAV/Property/ResponseList.php
+++ b/lib/Sabre/DAV/Property/ResponseList.php
@@ -115,8 +115,10 @@ class ResponseList extends DAV\Property {
list(,$statusCode,) = e... | Applied change for Issue #<I> on master branch. | sabre-io_dav | train | php |
ee3bfa82bb8ab018ab864aeb38df0a0245771797 | diff --git a/src/main/java/org/dasein/cloud/aws/platform/RDS.java b/src/main/java/org/dasein/cloud/aws/platform/RDS.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/dasein/cloud/aws/platform/RDS.java
+++ b/src/main/java/org/dasein/cloud/aws/platform/RDS.java
@@ -1674,6 +1674,8 @@ public class RDS extends Abstra... | FB#<I> – Removing database firewalls | dasein-cloud_dasein-cloud-aws | train | java |
39b5c534abb1ae3b6903345f15a1eafafb8c6dca | diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go
index <HASH>..<HASH> 100644
--- a/cmd/minikube/cmd/start.go
+++ b/cmd/minikube/cmd/start.go
@@ -453,8 +453,18 @@ func selectDriver(existing *config.ClusterConfig) registry.DriverState {
}
// Default to looking at the new driver parameter
- if vipe... | Add warning if both vm-driver and driver are specified | kubernetes_minikube | train | go |
1b2e201d7f77a8e4b1f992e20494e3a2b991f0ba | diff --git a/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/RedisBackend.php b/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/RedisBackend.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/RedisBackend.php
+++ b/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/RedisBackend.php
@@ -147,7 +147,9 @@ c... | BUGFIX: Adjust has() to phpredis >= <I>
The `exists()` method returned TRUE or FALSE in phpredis versions < <I>, now it
returns the number of keys tested that do exist. | neos_flow-development-collection | train | php |
376ebef91b14dfb1bd403f3ae4032acda568b517 | diff --git a/code/formfields/EventInvitationField.php b/code/formfields/EventInvitationField.php
index <HASH>..<HASH> 100644
--- a/code/formfields/EventInvitationField.php
+++ b/code/formfields/EventInvitationField.php
@@ -216,6 +216,8 @@ class EventInvitationField extends FormField {
);
}
+ Requirements::cle... | bugfix - ajax request to loadfromtime() and loadfromgroup() was getting Requirements js which breaks the invitations popup when in livemode | registripe_registripe-core | train | php |
6736b3b32de38404447a4839b305dc6b6f7c0d2c | diff --git a/tests/test_bulk.py b/tests/test_bulk.py
index <HASH>..<HASH> 100644
--- a/tests/test_bulk.py
+++ b/tests/test_bulk.py
@@ -16,27 +16,6 @@ class LocalizedBulkTestCase(TestCase):
@staticmethod
def test_localized_bulk_insert():
- """Tests that bulk inserts work properly when using
- a... | Simplify test case for bulk_create | SectorLabs_django-localized-fields | train | py |
de478b90392cb7fbb4bdb0aeff6f94d61847531a | diff --git a/src/ExceptionHandler.php b/src/ExceptionHandler.php
index <HASH>..<HASH> 100644
--- a/src/ExceptionHandler.php
+++ b/src/ExceptionHandler.php
@@ -26,6 +26,20 @@ class ExceptionHandler extends Handler
use ExceptionHandlerTrait;
/**
+ * The exception config.
+ *
+ * @var array
+ *... | Added the needed properties to the L5 handler | GrahamCampbell_Laravel-Exceptions | train | php |
da107a99fcacf1a56605b2332d49eb5507630b75 | diff --git a/TYPO3.Flow/Classes/Core/Bootstrap.php b/TYPO3.Flow/Classes/Core/Bootstrap.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/Core/Bootstrap.php
+++ b/TYPO3.Flow/Classes/Core/Bootstrap.php
@@ -191,7 +191,7 @@ final class Bootstrap {
$this->initializeObjectManager();
$this->initializeSystemLogger... | [-FEATURE] FLOW3 (Core): For now disabled the Lock Manager which caused too much hassle for the developers in Development context. Will enable it again once it is more mature.
Original-Commit-Hash: e9a0f4de<I>a7a<I>c<I>d<I>f<I>e<I>fc0d | neos_flow-development-collection | train | php |
73e6ba84899eff92e8393bac0e5491a7ecf1c9f7 | diff --git a/packages/core/lib/segments/attributes/aws.js b/packages/core/lib/segments/attributes/aws.js
index <HASH>..<HASH> 100644
--- a/packages/core/lib/segments/attributes/aws.js
+++ b/packages/core/lib/segments/attributes/aws.js
@@ -31,7 +31,7 @@ Aws.prototype.init = function init(res, serviceName) {
this.id... | Translate service name to lower case (#<I>) | aws_aws-xray-sdk-node | train | js |
da5f181c7e9c21e5a370e880f1a32d0a18c0b824 | diff --git a/src/main/java/com/ecwid/consul/v1/catalog/model/CatalogRegistration.java b/src/main/java/com/ecwid/consul/v1/catalog/model/CatalogRegistration.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/ecwid/consul/v1/catalog/model/CatalogRegistration.java
+++ b/src/main/java/com/ecwid/consul/v1/catalog/mode... | #<I> Add SkipNodeUpdate support | Ecwid_consul-api | train | java |
c46103d2188b6460b51a448831577875473bb4e8 | diff --git a/hwd/wrapper.py b/hwd/wrapper.py
index <HASH>..<HASH> 100644
--- a/hwd/wrapper.py
+++ b/hwd/wrapper.py
@@ -29,3 +29,38 @@ class Wrapper:
@property
def system_path(self):
return self.device.sys_path
+
+ @property
+ def devid(self):
+ d = self.device
+ vend_id = d.get('I... | Added properties for accessing common device data | Othernet-Project_hwd | train | py |
8149a4826c7bfbd5714c9da68b46124979569647 | diff --git a/models/classes/task/migration/service/QueueMigrationService.php b/models/classes/task/migration/service/QueueMigrationService.php
index <HASH>..<HASH> 100644
--- a/models/classes/task/migration/service/QueueMigrationService.php
+++ b/models/classes/task/migration/service/QueueMigrationService.php
@@ -50,7 ... | fix broken QueueMigrationService by changing to spawnService | oat-sa_tao-core | train | php |
db1fab1692e2763d77da6b3413fdf577ba93a577 | diff --git a/geomdl/operations.py b/geomdl/operations.py
index <HASH>..<HASH> 100644
--- a/geomdl/operations.py
+++ b/geomdl/operations.py
@@ -610,9 +610,10 @@ def split_curve(obj, param, **kwargs):
for _ in range(0, temp_obj.degree + 1):
curve2_kv.insert(0, param)
- # Control points (use private var... | Use getters instead of private vars in split curve | orbingol_NURBS-Python | train | py |
ce5625f51ab02ead7c7d7807bbd93cf1d2b88e05 | diff --git a/lib/declarative/heritage.rb b/lib/declarative/heritage.rb
index <HASH>..<HASH> 100644
--- a/lib/declarative/heritage.rb
+++ b/lib/declarative/heritage.rb
@@ -1,3 +1,5 @@
+require "declarative/deep_dup"
+
module Declarative
class Heritage < Array
# Record inheritable assignments for replay in an in... | Fix warning about circular require
```
declarative-<I>/lib/declarative.rb:5:
warning: loading in progress, circular require considered harmful
``` | apotonick_declarative | train | rb,rb |
d2327196bf28b3f0e0590f8bfdd9e8314c515a90 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -4,9 +4,10 @@ module.exports = function(source) {
this.cacheable(false);
if (markoCompiler.compileForBrowser) {
- return markoCompiler.compileForBrowser(source, this.resourcePath, {
+ ... | Updated to latest compileForBrowser API | marko-js_marko-loader | train | js |
b49e830e3a1c04ed194500506dc63de0912e728d | diff --git a/src/Leevel/Http/Response.php b/src/Leevel/Http/Response.php
index <HASH>..<HASH> 100644
--- a/src/Leevel/Http/Response.php
+++ b/src/Leevel/Http/Response.php
@@ -107,14 +107,6 @@ class Response extends BaseResponse
}
/**
- * 获取 COOKIE.
- */
- public function getCookies(): array
- ... | refactor(http): refactor response | hunzhiwange_framework | train | php |
adef6bd2e33447f0297938afa111cfca8f2e8dc1 | diff --git a/lib/core/src/client/preview/start.js b/lib/core/src/client/preview/start.js
index <HASH>..<HASH> 100644
--- a/lib/core/src/client/preview/start.js
+++ b/lib/core/src/client/preview/start.js
@@ -316,9 +316,8 @@ export default function start(render, { decorateStory } = {}) {
reqs = [loadable];
}
... | Core: Make load by function more strict with warning | storybooks_storybook | train | js |
e596703bf7c732658b858baa0cd10fc599e48bb3 | diff --git a/client/assets/scripts/services/search.js b/client/assets/scripts/services/search.js
index <HASH>..<HASH> 100644
--- a/client/assets/scripts/services/search.js
+++ b/client/assets/scripts/services/search.js
@@ -146,7 +146,7 @@ module.exports = [
}
// Prioritize exact match
- if (c... | Exact match should work with "name" field only | rakuten-frontend_bower-browser | train | js |
68bd2738f9917ce43a6b132df63c6832dbf4ff77 | diff --git a/pandas/core/tools/datetimes.py b/pandas/core/tools/datetimes.py
index <HASH>..<HASH> 100644
--- a/pandas/core/tools/datetimes.py
+++ b/pandas/core/tools/datetimes.py
@@ -762,7 +762,9 @@ def to_datetime(
If parsing succeeded.
Return type depends on input:
- - list-like: DatetimeIn... | Updated the return type section of to_datetime (#<I>)
* Updated the return type section of to_datetime to include list-like mixed timezone inputs
* updated the Returns section
* updated the Return section as suggested by mroeschke
* removed the extra line in my previous commit
* Update pandas/core/tools/d... | pandas-dev_pandas | train | py |
f74aba99b0d40207cf41798242c483e891172f35 | diff --git a/grimoire/ocean/elastic.py b/grimoire/ocean/elastic.py
index <HASH>..<HASH> 100644
--- a/grimoire/ocean/elastic.py
+++ b/grimoire/ocean/elastic.py
@@ -224,17 +224,20 @@ class ElasticOcean(object):
}
''' % (date_field, from_date)
+ order_field = 'metadata__u... | [enrich] Get raw items ordered by update_time to enrich them
so incremental enrichment works
when enrichment process fails and it is restarted. | chaoss_grimoirelab-elk | train | py |
180ae24a2e2de2c6042cd8fbf7d5c0535b85c7aa | diff --git a/src/mol.js b/src/mol.js
index <HASH>..<HASH> 100644
--- a/src/mol.js
+++ b/src/mol.js
@@ -786,7 +786,7 @@ function shouldIntroduceTraceBreak(aaStretch, prevResidue, thisResidue) {
}
function addNonEmptyTrace(traces, trace) {
- if (trace.length() === 0) {
+ if (trace.length() < 2) {
return;
}
... | only add traces longer than one residue | biasmv_pv | train | js |
e7d6a7ce81057187d81118a3bbf593fe3b4d3fbf | diff --git a/spec/unit/plugins/aix/virtualization_spec.rb b/spec/unit/plugins/aix/virtualization_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/plugins/aix/virtualization_spec.rb
+++ b/spec/unit/plugins/aix/virtualization_spec.rb
@@ -15,7 +15,7 @@
# See the License for the specific language governing permissions ... | Use spec_helper directly rather than long relative pathname | chef_ohai | train | rb |
5ca56b00970af1bdac0b29fdc24a81ee388b7843 | diff --git a/src/main/java/org/nlpcn/es4sql/query/AggregationQuery.java b/src/main/java/org/nlpcn/es4sql/query/AggregationQuery.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/nlpcn/es4sql/query/AggregationQuery.java
+++ b/src/main/java/org/nlpcn/es4sql/query/AggregationQuery.java
@@ -7,6 +7,7 @@ import org.el... | use filtered query insead of aggregation filter when using WHERE and GROUP BY | NLPchina_elasticsearch-sql | train | java |
4a56c56857596a4735a2a4def4df306d70290acc | diff --git a/src/Commands/RunCommand.php b/src/Commands/RunCommand.php
index <HASH>..<HASH> 100644
--- a/src/Commands/RunCommand.php
+++ b/src/Commands/RunCommand.php
@@ -58,14 +58,14 @@ class RunCommand extends Command
$options = collect($this->option('option') ?? [])
->mapWithKeys(function ($v... | Set a limit on explode() (#<I>) | tenancy_multi-tenant | train | php |
53fe4b7a0927c28851c0edb74284ce474e30a265 | diff --git a/dockermap/map/action/simple.py b/dockermap/map/action/simple.py
index <HASH>..<HASH> 100644
--- a/dockermap/map/action/simple.py
+++ b/dockermap/map/action/simple.py
@@ -218,10 +218,11 @@ class SignalActionGenerator(AbstractActionGenerator):
class ImagePullActionGenerator(AbstractActionGenerator):
+ ... | Added option for pulling all images unconditionally. | merll_docker-map | train | py |
65c92f169653b69ad240d2acb2b479e183b3626e | diff --git a/spyder/plugins/ipythonconsole.py b/spyder/plugins/ipythonconsole.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/ipythonconsole.py
+++ b/spyder/plugins/ipythonconsole.py
@@ -72,7 +72,7 @@ QTCONSOLE_REQVER = ">=4.2.0"
dependencies.add("qtconsole", _("Integrate the IPython console"),
... | Added ipython dependency >=<I>;<<I> for python2 | spyder-ide_spyder | train | py |
e4fe2ed93d6a715b9545a95b5e8002c003c48599 | diff --git a/runcommands/config.py b/runcommands/config.py
index <HASH>..<HASH> 100644
--- a/runcommands/config.py
+++ b/runcommands/config.py
@@ -197,15 +197,12 @@ class RawConfig(OrderedDict):
def _iter_dotted(self, root=''):
for k in self:
- v = self[k]
+ v = super().__getitem__... | Improve iteration over dotted config keys
- Skip interpolation of values
- Use `yield from` to simplify recursive calls
- Simplify branching and remove some duplication | wylee_runcommands | train | py |
f0c24d9c287973b3be53d8b62f77b783266100c7 | diff --git a/index.php b/index.php
index <HASH>..<HASH> 100644
--- a/index.php
+++ b/index.php
@@ -1,3 +1,3 @@
<?php
-require_once __DIR__ . '/vendor' . '/autoload.php';
\ No newline at end of file
+require_once __DIR__ . '/vendor' . '/autoload.php'; | add newline at end of index.php | aliyun_aliyun-oss-php-sdk | train | php |
6566b02d546375dc0b2f3ddbaa5f4eb17aa07b53 | diff --git a/views/default/toolbar.php b/views/default/toolbar.php
index <HASH>..<HASH> 100644
--- a/views/default/toolbar.php
+++ b/views/default/toolbar.php
@@ -23,7 +23,8 @@ if (window.localStorage) {
}
EOD;
-$url = $panels['request']->getUrl();
+$firstPanel = reset($panels);
+$url = $firstPanel->getUrl();
?>
... | use the url of the first panel as link, when toolbar is minimized | yiisoft_yii2-debug | train | php |
70b0a7e3d07ec1dfd21cff1b3e6262f92a5d5422 | diff --git a/plan/optimizer.go b/plan/optimizer.go
index <HASH>..<HASH> 100644
--- a/plan/optimizer.go
+++ b/plan/optimizer.go
@@ -30,7 +30,7 @@ func Optimize(ctx context.Context, node ast.Node, sb SubQueryBuilder, is infosch
if err := InferType(node); err != nil {
return nil, errors.Trace(err)
}
- if !UseNewPla... | let update/delete do old logicOptimize (#<I>) | pingcap_tidb | train | go |
3e43789928cfdacfa699c4196f589d68b9b199b9 | diff --git a/py/nupic/encoders/base.py b/py/nupic/encoders/base.py
index <HASH>..<HASH> 100644
--- a/py/nupic/encoders/base.py
+++ b/py/nupic/encoders/base.py
@@ -205,14 +205,21 @@ class Encoder(object):
pass
############################################################################
- def _getInputValue(se... | Better error from base encoder for bad fields.
If a field name that is not within the input fields is attempted to be
retreived, an exception is raised instead of a KeyError resulting. | numenta_nupic | train | py |
18eb4218c81fb70bffb99c737f4ad5e148d40bd7 | diff --git a/allennlp/modules/seq2seq_encoders/intra_sentence_attention.py b/allennlp/modules/seq2seq_encoders/intra_sentence_attention.py
index <HASH>..<HASH> 100644
--- a/allennlp/modules/seq2seq_encoders/intra_sentence_attention.py
+++ b/allennlp/modules/seq2seq_encoders/intra_sentence_attention.py
@@ -141,9 +141,11... | fix sentence encoder from params (#<I>) | allenai_allennlp | train | py |
59faf88024faa697647dec1ddda045db8038edab | diff --git a/cordova-lib/src/cordova/prepare.js b/cordova-lib/src/cordova/prepare.js
index <HASH>..<HASH> 100644
--- a/cordova-lib/src/cordova/prepare.js
+++ b/cordova-lib/src/cordova/prepare.js
@@ -21,6 +21,7 @@ var cordova_util = require('./util'),
ConfigParser = require('cordova-common').ConfigParser,... | CB-<I> Handle edit-config in config.xml on prepare
This closes #<I> | apache_cordova-lib | train | js |
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.